dims 01/06/12 05:59:49
Modified: xdocs installing.xml
Log:
Updated install doc for WebLogic 6.0Sp1
Revision Changes Path
1.8 +19 -63 xml-cocoon2/xdocs/installing.xml
Index: installing.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/installing.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- installing.xml 2001/06/12 12:18:38 1.7
+++ installing.xml 2001/06/12 12:59:46 1.8
@@ -241,79 +241,28 @@
<s2 title="Installing on BEA Weblogic 6.0">
- <p>This installs Cocoon 2 in an "open" configuration (that is, without
- the <em>war</em> file). This was successfully installed under Windows
2000;
- unix users will need to adjust appropriately.</p>
-
- <p>If you haven't done so already, build a domain and a server. In this
discussion,
- the name of the domain is 'mydomain' and the name of the server is
'myserver'.
- These are the BEA default names.</p>
+ <p>This installs Cocoon 2 using the cocoon.war file.
+ This was successfully installed under Windows 2000.
+ Unix users will need to adjust appropriately. If you haven't done so
already,
+ build a domain and a server. In this discussion, the name of the domain
+ is 'mydomain' and the name of the server is 'myserver'.
+ These are the BEA default names.
+ </p>
<ol>
-
- <li>
- In Windows Explorer, drag <em>COPY</em> (i.e. hold the ctrl key down) the
directory
-
- <em>C:\xml-cocoon2\webapp</em>
-
- to
-
- <em>c:\bea\wlserver6.0sp1\config\mydomain\applications</em>.
-
- (if in Unix, do the Unix equivalent.)
- </li>
- <li>
- Rename the newly created folder
-
- <em>c:\bea\wlserver6.0sp1\config\mydomain\applications\webapp</em>
-
- to
-
- <em>c:\bea\wlserver6.0sp1\config\mydomain\applications\cocoon</em>.
- </li>
- <li>
- Edit the file
-
- <em>C:\bea\wlserver6.0sp1\config\mydomain\startWebLogic.cmd</em>
-
- to modify the classpath with the following lines:
- <br/>
- set COCOON_ROOT=c:\xml-cocoon2
- <br/>
- set
COCOONCLASSPATH="%COCOON_ROOT%\lib\xerces_1_3_1.jar;%COCOON_ROOT%\lib\xalan-2.0.1.jar;%JA
VA_HOME%\lib\tools.jar;%COCOON_ROOT%\build\cocoon\cocoon.jar;%COCOON_ROOT%\lib\logkit.jar
;%COCOON_ROOT%\lib\w3c.jar;%COCOON_ROOT%\lib\fop-0_18_1.jar;%COCOON_ROOT%\lib\avalon-fram
ework.jar;%COCOON_ROOT%\lib\avalon-excalibur.jar;%COCOON_ROOT%\lib\bsf.jar;%COCOON_ROOT%\
lib\batik-all.jar;%COCOON_ROOT%\lib\hsqldb.jar;%COCOON_ROOT%\lib\jakarta-regexp-1.2.jar;%
COCOON_ROOT%\lib\javac.jar;%COCOON_ROOT%\lib\jimi-1.0.jar;%COCOON_ROOT%\lib\jstyle.jar;%C
OCOON_ROOT%\lib\xt.jar;%COCOON_ROOT%\lib\maybeupload.jar;%COCOON_ROOT%\lib\rhino.jar;%COC
OON_ROOT%\lib\Tidy.jar;%COCOON_ROOT%\lib\velocity-1.0.1-rc1.jar"
- <br/>
- set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
- <br/>
- set CLASSPATH=%COCOONCLASSPATH%;%CLASSPATH%
- </li>
-
- <li>
- Continue to edit the same file by inserting the following system property
into
- the java run command for Weblogic:
- <br/>
-
-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser
- <br/>
- In other words, after you modify the java run command, it should look
something like this:
- <br/>
- "%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -classpath
%CLASSPATH%
-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser
-Dweblogic.Domain=mydomain -Dweblogic.Name=myserver "-Dbea.home=C:\bea"
"-Djava.security.policy=C:\bea\wlserver6.0sp1/lib/weblogic.policy"
-Dweblogic.management.password=%WLS_PW% weblogic.Server
- <br/>
- </li>
-
- <li>
- Save <em>the startWebLogic.cmd</em> file.
+ <li>Copy <code>cocoon.war</code> into
<code>c:\bea\wlserver6.0sp1\config\mydomain\applications</code></li>
+ <li>Create a new directory named <code>ext</code> under
<code>c:\bea\jdk130\jre\lib</code></li>
+ <li>Copy the <code>xerces-XXX.jar</code> JAR file from
<code>xml-cocoon2/lib</code> to
+ <code>c:\bea\jdk130\jre\lib</code> directory
</li>
-
<li>
- Run the <em>startWebLogic.cmd</em> file.
+ Run weblogic using <code>startWebLogic.cmd</code> file in
<code>c:\bea\wlserver6.0sp1\config\mydomain</code> directory
</li>
-
<li>
Using a browser, link to your web site's cocoon page:
-
<br/>
http://<your machine name>:<port number>/cocoon/
<br/>
-
(Don't forget the final / in the link.)
</li>
@@ -321,6 +270,12 @@
Congratulations! (hopefully) you should see the Cocoon welcome page.
</li>
</ol>
+ <note>If you have problems with starting up cocoon, you can modify the
CLASSPATH in the .cmd files and
+ ensure that xerces-XXX.jar is picked up before any other jars.
+ <br/>
+ <code>set
CLASSPATH=.;c:\bea\jdk130\jre\lib\xerces-XXX.jar;.\lib\weblogic_sp.jar;.\lib\weblogic.jar</code>
+ <br/>
+ </note>
</s2>
<s2 title="Installing on ServletExec 3.1 (In Process with IIS)">
@@ -437,3 +392,4 @@
</body>
</document>
+
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]