cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isidro Vila Verde" <...@serprest.pt>
Subject RE: tomcat 5.0.19 and coccon 2.1.4
Date Wed, 14 Apr 2004 13:09:35 GMT
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:agallardo@agssa.net] 
-> Enviada: quarta-feira, 14 de Abril de 2004 12:44
-> Para: users@cocoon.apache.org
-> 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:agallardo@agssa.net]
-> > -> Enviada: quarta-feira, 14 de Abril de 2004 03:30
-> > -> Para: users@cocoon.apache.org
-> > -> 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: users-unsubscribe@cocoon.apache.org
-> For additional commands, e-mail: users-help@cocoon.apache.org
-> 
-> 
-> ---
-> 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message