![]() |
![]() |
|
|
Service Pack 2 Text File Changes
This section lists the text files that have changed for SP2 and the changes that have been made. To update your customized files, replace the information bracketed by ">OLD" with the information bracketed by ">NEW" for each file.
config.xml (of All Domains)
Change the capacityIncrement setting from 0 to 1.
stockportal/framework/hnav_bar.jsp
Diff 1: Add Variable
Iterator iterator = portalState.getPageStates();
int numPagesRendered = 0;
>>>>> NEW
boolean multipleRows = false;
<<<<< NEW
// While we have pages...
while (iterator.hasNext())
Diff 2: Fix Problems With Tab Display With Many Pages
>>>>> OLD
if (numPagesRendered > PAGES_PER_ROW )
<<<<< OLD
>>>>> NEW
if (numPagesRendered >= PAGES_PER_ROW )
<<<<< NEW
{
numPagesRendered = 0;
>>>>> NEW
multipleRows = true;
<<<<< NEW
%>
<td class="titlebar">
<img src="<%= transparentGIF %>" width="1" height="1" border="0">
</td>
>>>>> OLD
<td width="<%=LAST_COLUMN_WIDTH%>">
<<<<< OLD
>>>>> NEW
<td class="titlebar" width="<%=LAST_COLUMN_WIDTH%>">
<<<<< NEW
<img src="<%= transparentGIF %>" width="1" height="1" border="0">
</td>
</tr><tr>
<td class="titlebar" width="<%=FIRST_COLUMN_WIDTH%>">
<img src="<%= transparentGIF %>" width="1" height="1" border="0">
</td>
<td class="titlebar" width="4" height="1">
<img src="<%= transparentGIF %>" width="1" height="1" border="0">
</td>
<%
}
}
>>>>> NEW
// Fill out the last row with the extra cells necessary, so that it has the same number of cells as all previous rows.
if( multipleRows )
{
int extraCells = PAGES_PER_ROW - numPagesRendered;
for( int i = 0; i < extraCells; i ++ )
{
%>
<td class="titlebar">
<img src="<%= transparentGIF %>" width="1" height="1" border="0">
</td>
<%
}
}
<<<<< NEW
db/sybase/12/portal_create_triggers.sql
Diff 1: Correct the Trigger
create trigger TU_RESOURCE_GROUP_ADMIN
on RESOURCE_GROUP_ADMIN for UPDATE as
begin
>>>>> OLD
declare @id1 int
<<<<< OLD
>>>>> NEW
declare @id1 varchar, @id2 varchar
<<<<< NEW
select @id1 = RESOURCE_GROUP_TAXONOMY,
>>>>> OLD
@id2 = DELEGATED_TO_USER_NAME
<<<<< OLD
>>>>> NEW
@id2 = DELEGATED_TO_USER_NAME
<<<<< NEW
Diff 2: Correct the trigger
create trigger TU_P13N_LAYOUT
on PORTAL_P13N_LAYOUT for UPDATE as
begin
>>>>> OLD
declare @id1 int
<<<<< OLD
>>>>> NEW
declare @id1 int, @id2 int
<<<<< NEW
db/sybase/12/p13n_create_triggers.sql
Diff 1: Correct the trigger
create trigger TU_ENTL_RULESET
on ENTITLEMENT_RULESET for UPDATE as
begin
>>>>> OLD
declare @id1 int, @id2 int
<<<<< OLD
>>>>> NEW
declare @id1 varchar, @id2 varchar
<<<<< NEW
db/create_all.bat/sh
Diff 1: Added create_triggers invocation
>>>>> OLD
set CREATE_ACTIONS=create_tables create_fkeys create_indexes create_views
<<<<< OLD
>>>>> NEW
set CREATE_ACTIONS=create_tables create_fkeys create_indexes create_views create_triggers
<<<<< NEW
bin/set-environment.bat/sh
Diff 1: Added Thin Driver Strings
REM ----------- Specify which Database Driver to use -----------
SET DATABASE=CLOUDSCAPE
REM SET DATABASE=MSSQL
REM SET DATABASE=ORACLE_OCI
REM SET DATABASE=SYBASE_JCONNECT_52
REM SET DATABASE=DB2_TYPE2
>>>>> NEW
REM SET DATABASE=ORACLE_THIN
<<<<< NEW
REM -- Add WebLogic bin directories to the path --
SET PATH=%PATH%;%WEBLOGIC_HOME%\bin
if %DATABASE% EQU CLOUDSCAPE GOTO CLOUDSCAPE
if %DATABASE% EQU MSSQL GOTO MSSQL
if %DATABASE% EQU ORACLE_OCI GOTO ORACLE_OCI
if %DATABASE% EQU SYBASE_JCONNECT_52 GOTO SYBASE_JCONNECT_52
if %DATABASE% EQU DB2_TYPE2 GOTO DB2_TYPE2
>>>>> NEW
if %DATABASE% EQU ORACLE_THIN GOTO ORACLE_THIN
<<<<< NEW
Diff 2: Added Thin Driver Configuration
REM The Oracle OCI driver uses a BEA supplied shared library (in REM WLS) and the
REM Oracle OCI shared library to connect to the database. Because REM of this it
REM requires additional configuration on the Oracle client side. If you can't
REM connect via sqlplus then it's likely that your setup is
REM incomplete.
REM
>>>>> OLD
REM Oracle also has a type 4 driver that is not supported because of a continuing
REM problem with blobs over 4K in size.
<<<<< OLD
:ORACLE_OCI
SET DB_CLASSPATH=%BEA_HOME%
SET ORACLE_OCI_LIBPATH=%WEBLOGIC_HOME%\bin\oci817_8
SET PATH=%PATH%;%ORACLE_OCI_LIBPATH%;%WLCS_ORACLE_HOME%\bin
GOTO continue
>>>>> NEW
REM The Oracle Thin driver is a Type 4 Driver.
REM
:ORACLE_THIN
SET DB_CLASSPATH=%BEA_HOME%;%WEBLOGIC_HOME%\lib\weblogic.jar;
SET PATH=%PATH%;%WLCS_ORACLE_HOME%\bin
GOTO continue
<<<<< NEW
Diff 3: Remove weblogic_sp.jar From Classpath
>>>>> OLD
REM ----------- BEA WebLogic Personalization Server classes ------------
SET JAVA_CLASSPATH=%P13N_DIR%\lib\p13n_system.jar;%PORTAL_LIB%\portal_system.jar;%JDK_TOOLS%;%WEBLOGIC_HOME%\lib\weblogic_sp.jar;%WEBLOGIC_HOME%\lib\weblogic.jar;%WEBLOGIC_HOME%\lib\xmlx.jar
<<<<< OLD
>>>>> NEW
REM ----------- BEA WebLogic Personalization Server classes ------------
SET JAVA_CLASSPATH=%P13N_DIR%\lib\p13n_system.jar;%PORTAL_LIB%\portal_system.jar;%JDK_TOOLS%;%WEBLOGIC_HOME%\lib\weblogic.jar;%WEBLOGIC_HOME%\lib\xmlx.jar
<<<<< NEW
Diff 4: Remove patches.jar From Classpath
>>>>> OLD
REM ----------- WebLogic CLASSPATH -----------
SET CLASSPATH=%P13N_DIR%\lib\patches.jar;%JAVA_CLASSPATH%;%EXT_CLASSPATH%;%DB_CLASSPATH%
<<<<< OLD
>>>>> NEW
SET CLASSPATH=%JAVA_CLASSPATH%;%EXT_CLASSPATH%;%DB_CLASSPATH%
<<<<< NEW
![]() |
![]() |
![]() |
|
Copyright © 2002 BEA Systems, Inc. All rights reserved.
|