You
can try something like, for example,
"%CATALINA_HOME%\bin\tomcat.exe" -install "MyCocoon"
"%JAVA_HOME%\bin\hotspot\jvm.dll" -Djava.class.path="%JAVACLASSPATH%"
-Dcatalina.home="%CATALINA_HOME%" -Xrs -start
org.apache.catalina.startup.Bootstrap -params start -stop
org.apache.catalina.startup.Bootstrap -params stop -out
"%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log"
to
register your cocoon app as a win service. Make sure you set up those variables
correctly, This way you can specify your classpath explicitly I guess this might
help when the service starts up, it will pick up the correct xerces
first.
I am
only using tomcat 4.0.1 so not sure if it is the same for your tomcat but
hopefully this will give you a lead to continue.
This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. |
- Something else about Cocoon-2/Tomcat-4.1.18 Richard In Public
- Tsui, Alban