try to remove xalan*.jar from $CATALINA_HOME\common\endorsed
I didn't remember exactly what, but it solved a lot of errors for me when I installed cocoon
Bye Arcadio
Isidro Vila Verde wrote:
Yes. Of course. I even try to copy it to comoon/lib but without results.
I also remove /usr/local/jakarta-tomcat-5.0.19/work/Catalina/ in order to force tomcat to install it again but without any success.
I had a supect about exist (xml database) because it also include a cocoon
stuff. But I try tomcat in another location without exist installed and the
problem persist.
I start tomcat with this script:
JAVA_HOME=/usr/java/j2sdk1.4.2_04 CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.19 DAEMON_HOME=$CATALINA_HOME TOMCAT_USER=jvv TMP_DIR=/var/tmp CATALINA_OPTS= CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar
case "$1" in start) # # Start Tomcat # $DAEMON_HOME/bin/jsvc \ -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '&1' \ $CATALINA_OPTS \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap # # To get a verbose JVM #-verbose \ # To get a debug of jsvc. #-debug \ ;;
stop) # # Stop Tomcat # PID=`cat /var/run/jsvc.pid` kill $PID ;;
*) echo "Usage tomcat.sh start/stop" exit 1;; esac
Isidro
-> -----Mensagem original-----
-> De: Antonio Gallardo [mailto:[EMAIL PROTECTED] -> Enviada: quarta-feira, 14 de Abril de 2004 12:44
-> Para: [EMAIL PROTECTED]
-> Assunto: RE: tomcat 5.0.19 and coccon 2.1.4
-> -> Isidro Vila Verde dijo:
-> > Thanks Antonio for the advice. I don't knew it. I had some -> supects but...
-> > only that.
-> >
-> > Meanwhile I have the same problem with woody examples:
-> >
-> > -> "file:/usr/local/jakarta-tomcat-5.0.19/webapps/cocoon/samples
-> /woody/fl
-> > ow/woo dy_flow_example.js", line 1: uncaught JavaScript -> exception: at -> > top-level script -> > -> (file:/usr/local/jakarta-tomcat-5.0.19/webapps/cocoon/samples
-> /woody/fl
-> > ow/woo dy_flow_example.js, Line 1): java.io.FileNotFoundException:
-> > -> /usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/coco
-> on/loader
-> > /org/a pache/cocoon/woody/flow/javascript/woody2.js
-> >
-> > Does any bosdy know if I can use tomact 5.0.19 or I need to do a -> > downgrade or even use another servelt container? Jetty?
-> -> Hi:
-> -> Tomcat 5.0.19 is OK. I am using with CForms.
-> -> The exception is weird. I need more info about your -> environment. Seems like a tipical "jar hell" problem, but no sure.
-> -> I guess you already copied the xalan*.jar, xerces*.jar and -> xml-api*.jar to your $TOMCAT_HOME/common/endorsed dir, right?
-> -> Best Regards,
-> -> Antonio Gallardo
-> -> >
-> > Isidro
-> >
-> >
-> > -> -----Mensagem original-----
-> > -> De: Antonio Gallardo [mailto:[EMAIL PROTECTED]
-> > -> Enviada: quarta-feira, 14 de Abril de 2004 03:30
-> > -> Para: [EMAIL PROTECTED]
-> > -> Assunto: Re: tomcat 5.0.19 and coccon 2.1.4
-> > ->
-> > -> Hi Isidro:
-> > ->
-> > -> If you are starting with Cocoon better look for Woody. -> Woody in the -> > -> next release 2.1.5 are renamed to "Forms". "Forms"
-> > -> will be the flag ship for form management in Cocoon -> 2.1.5 and later.
-> > ->
-> > -> I would not recommend you to use JXForms. JXForms are -> deprecated. -> > -> An
-> > ->
-> > -> Best Regards,
-> > ->
-> > -> Antonio Gallardo
-> -> -> ---------------------------------------------------------------------
-> To unsubscribe, e-mail: [EMAIL PROTECTED]
-> For additional commands, e-mail: [EMAIL PROTECTED]
-> -> -> ---
-> Incoming mail is certified Virus Free.
-> Checked by AVG anti-virus system (http://www.grisoft.com).
-> Version: 6.0.656 / Virus Database: 421 - Release Date: 09-04-2004
-> ->
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.656 / Virus Database: 421 - Release Date: 09-04-2004
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
