dims 01/06/12 06:06:00
Modified: targets/cocoon2 install.html
Log:
Added installation instructions for WebLogic 6.0SP1
Revision Changes Path
1.5 +18 -63 xml-site/targets/cocoon2/install.html
Index: install.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon2/install.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- install.html 2001/06/12 12:20:40 1.4
+++ install.html 2001/06/12 13:05:58 1.5
@@ -274,79 +274,28 @@
<DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="0"
width="95%"><TR><TD align="right" height="7" valign="bottom" width="9"><IMG
border="0" height="7" hspace="0" src="resources/bar-top-left.gif" vspace="0"
width="9"></TD><TD background="resources/bar-border-top.gif"><IMG border="0"
height="5" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD
align="left" height="7" valign="bottom" width="9"><IMG border="0" height="7"
hspace="0" src="resources/bar-top-right.gif" vspace="0"
width="9"></TD></TR><TR><TD background="resources/bar-border-left.gif"
width="9"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
vspace="0" width="9"></TD><TD bgcolor="#0086b2" width="100%"><FONT
color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="5"
hspace="0" src="resources/void.gif" vspace="0" width="5"><B>Installing on BEA
Weblogic 6.0</B></FONT></TD><TD background="resources/bar-border-right.gif"
width="9"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
vspace="0" width="9"></TD></TR><TR><TD align="right" height="12" valign="top"
width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-left.gif" vspace="0" width="9"></TD><TD
background="resources/bar-border-bottom.gif"><IMG border="0" height="12"
hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD align="left"
height="12" valign="top" width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-right.gif" vspace="0"
width="9"></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0"
width="95%"><TR><TD><FONT color="#000000" face="arial,helvetica,sanserif">
- <P align="justify">This installs Cocoon 2 in an "open"
configuration (that is, without
- the <I>war</I> file). This was successfully installed under
Windows 2000;
- unix users will need to adjust appropriately.</P>
+ <P align="justify">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>
- <P align="justify">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>
-
<BLOCKQUOTE><OL>
-
- <LI>
- In Windows Explorer, drag <I>COPY</I> (i.e. hold the ctrl key
down) the directory
-
- <I>C:\xml-cocoon2\webapp</I>
-
- to
-
- <I>c:\bea\wlserver6.0sp1\config\mydomain\applications</I>.
-
- (if in Unix, do the Unix equivalent.)
- </LI>
- <LI>
- Rename the newly created folder
-
-
<I>c:\bea\wlserver6.0sp1\config\mydomain\applications\webapp</I>
-
- to
-
-
<I>c:\bea\wlserver6.0sp1\config\mydomain\applications\cocoon</I>.
- </LI>
- <LI>
- Edit the file
-
- <I>C:\bea\wlserver6.0sp1\config\mydomain\startWebLogic.cmd</I>
-
- 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>Copy <CODE><FONT face="courier,
monospaced">cocoon.war</FONT></CODE> into <CODE><FONT face="courier,
monospaced">c:\bea\wlserver6.0sp1\config\mydomain\applications</FONT></CODE></LI>
+ <LI>Create a new directory named <CODE><FONT face="courier,
monospaced">ext</FONT></CODE> under <CODE><FONT face="courier,
monospaced">c:\bea\jdk130\jre\lib</FONT></CODE></LI>
+ <LI>Copy the <CODE><FONT face="courier,
monospaced">xerces-XXX.jar</FONT></CODE> JAR file from <CODE><FONT
face="courier, monospaced">xml-cocoon2/lib</FONT></CODE> to
+ <CODE><FONT face="courier,
monospaced">c:\bea\jdk130\jre\lib</FONT></CODE> directory
</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 <I>the startWebLogic.cmd</I> file.
+ Run weblogic using <CODE><FONT face="courier,
monospaced">startWebLogic.cmd</FONT></CODE> file in <CODE><FONT face="courier,
monospaced">c:\bea\wlserver6.0sp1\config\mydomain</FONT></CODE> directory
</LI>
-
- <LI>
- Run the <I>startWebLogic.cmd</I> file.
- </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>
@@ -354,6 +303,12 @@
Congratulations! (hopefully) you should see the Cocoon welcome
page.
</LI>
</OL></BLOCKQUOTE>
+ <P><TABLE border="0" cellpadding="0" cellspacing="3"
width="100%"><TR><TD valign="top" width="28"><IMG alt="Note" border="0"
height="29" hspace="0" src="resources/note.gif" vspace="0" width="28"></TD><TD
valign="top"><FONT color="#000000" face="arial,helvetica,sanserif"
size="-1"><I>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><FONT face="courier, monospaced">set
CLASSPATH=.;c:\bea\jdk130\jre\lib\xerces-XXX.jar;.\lib\weblogic_sp.jar;.\lib\weblogic.jar</FONT></CODE>
+ <BR>
+ </I></FONT></TD></TR></TABLE></P>
</FONT></TD></TR></TABLE></DIV><BR>
<DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="0"
width="95%"><TR><TD align="right" height="7" valign="bottom" width="9"><IMG
border="0" height="7" hspace="0" src="resources/bar-top-left.gif" vspace="0"
width="9"></TD><TD background="resources/bar-border-top.gif"><IMG border="0"
height="5" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD
align="left" height="7" valign="bottom" width="9"><IMG border="0" height="7"
hspace="0" src="resources/bar-top-right.gif" vspace="0"
width="9"></TD></TR><TR><TD background="resources/bar-border-left.gif"
width="9"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
vspace="0" width="9"></TD><TD bgcolor="#0086b2" width="100%"><FONT
color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="5"
hspace="0" src="resources/void.gif" vspace="0" width="5"><B>Installing on
ServletExec 3.1 (In Process with IIS)</B></FONT></TD><TD
background="resources/bar-border-right.gif" width="9"><IMG border="0"
height="1" hspace="0" src="resources/void.gif" vspace="0"
width="9"></TD></TR><TR><TD align="right" height="12" valign="top"
width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-left.gif" vspace="0" width="9"></TD><TD
background="resources/bar-border-bottom.gif"><IMG border="0" height="12"
hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD align="left"
height="12" valign="top" width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-right.gif" vspace="0"
width="9"></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0"
width="95%"><TR><TD><FONT color="#000000" face="arial,helvetica,sanserif">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]