[opencms-dev] OpenCMS 5RC2 on Weblogic 7 & Oracle 8
David Tildesley (DSLWN)
DavidTi at datacom.co.nz
Fri Mar 7 04:26:09 CET 2003
FYI - I have successfully installed v5RC2 on WLS 7SP2 & Oracle 8i
(Warning - I have yet to stress/performance test this combo, and unlikely to
now due to lost opportunity).
WLS 7 comes with Java SDK/JRE 1.3 by default. Its easy enough to install
Java 1.4.x and have WLS use that instead (or use JRocket 1.4x which is
optimised for server performance).
There was a conflict of libraries - both use incompatible versions of Apache
ORO library (for regular expressions) that caused the setup to fail part way
through. This can be solved with the CLASSPATH directive in the WLS startup
file as below.
Do not select the Oracle database install scripts in ocsetup - use "Generic"
instead which in any case uses oracle thin driver.
To install OpenCMS, you need to unpack the WAR file manually (use winzip or
similar) and unpack in a directory (call it opencms) but put it one level up
from the WLS application directory (otherwise inconsistent problems occur
with the servlet mapping - don't know why). Use the WLS console to add the
web application (call it 'opencms') by selecting the directory where you
expanded the file.
These lines need to be modified in the startWLS.cmd (or .sh for unix/linux)
file:
set JAVA_HOME=C:\j2sdk1.4.1_01
set JAVA_OPTIONS=-Dfile.encoding=ISO-8859-1
CLASSPATH=\bea\user_projects\opencms\WEB-INF\lib\jakarta-oro-2_0_6.jar;%WL_H
OME%\server\ext\jdbc\oracle\920\classes12.zip;%WL_HOME%\server\ext\jdbc\orac
le\920\nls_charset12.zip%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblo
gic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%CLASSPATH%
Notice that the paths above are dependent on where you install BEA and
opencms. Also note that this is under a windows 2000 environment, although I
see no reason why this would not work in a Unix/Linux environment also.
regards,
David.
More information about the opencms-dev
mailing list