Re: Tomcat and endorsed libs
On 13.04.2004 12:27, Antonio Gallardo wrote: I just wanted to alert and see if anyone else had the same problem. Works for me with Tomcat 4.1.24 and 5.0.18. Did you try a specific page? I tried http://127.0.0.1:8080/cocoon-2.1/, clicked from the welcome page to http://127.0.0.1:8080/cocoon-2.1/samples/blocks/forms/form1.flow and submitted it once. Joerg
Re: Tomcat and endorsed libs
Joerg Heinicke dijo: On 13.04.2004 12:27, Antonio Gallardo wrote: I just wanted to alert and see if anyone else had the same problem. Works for me with Tomcat 4.1.24 and 5.0.18. Did you try a specific page? I tried http://127.0.0.1:8080/cocoon-2.1/, clicked from the welcome page to http://127.0.0.1:8080/cocoon-2.1/samples/blocks/forms/form1.flow and submitted it once. I tried our own applications that worked fine before. Anyway I will retest it. Best Regards, Antonio Gallardo
Re: Tomcat and endorsed libs
Antonio Gallardo agallardo at agssa.net writes: After the unbundling jars in Xalan: http://marc.theaimsgroup.com/?t=10806895191r=1w=2 Now we need to include inside the $TOMCAT_HOME/common/endorsed the following files: jakarta-bcel-20040329.jar jakarta-regexp-1.3.jar Why? Jakarta bcel and regexp are not included in the JDK and can so not be loaded before the normal classpath entries, what would make the endorsed dirs necessary. Joerg
Re: Tomcat and endorsed libs
Joerg Heinicke dijo: Antonio Gallardo agallardo at agssa.net writes: After the unbundling jars in Xalan: http://marc.theaimsgroup.com/?t=10806895191r=1w=2 Now we need to include inside the $TOMCAT_HOME/common/endorsed the following files: jakarta-bcel-20040329.jar jakarta-regexp-1.3.jar Why? Jakarta bcel and regexp are not included in the JDK and can so not be loaded before the normal classpath entries, what would make the endorsed dirs necessary. Not sure why, but looks like once xalan is in endorsed it search for the other libs in the same dir. I tried also restarting tomcat without the jakarta-*.jar and it throws errors. Can you try it? Best Regards, Antonio Gallardo
Re: Tomcat and endorsed libs
On Tue, Apr 13, 2004 at 04:20:01AM -0600, Antonio Gallardo wrote: Joerg Heinicke dijo: Antonio Gallardo agallardo at agssa.net writes: After the unbundling jars in Xalan: http://marc.theaimsgroup.com/?t=10806895191r=1w=2 Now we need to include inside the $TOMCAT_HOME/common/endorsed the following files: jakarta-bcel-20040329.jar jakarta-regexp-1.3.jar Why? Jakarta bcel and regexp are not included in the JDK and can so not be loaded before the normal classpath entries, what would make the endorsed dirs necessary. Not sure why, but looks like once xalan is in endorsed it search for the other libs in the same dir. I tried also restarting tomcat without the jakarta-*.jar and it throws errors. Can you try it? I have been already using Jetty with the stripped down xalan and I did not have a problem (full Jetty - not the one from CVS) lg -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(501)720812 / // \\ \ \\ // recursive: adj; see recursive | \__/ |
Re: Tomcat and endorsed libs
Leszek Gawron dijo: On Tue, Apr 13, 2004 at 04:20:01AM -0600, Antonio Gallardo wrote: Joerg Heinicke dijo: Antonio Gallardo agallardo at agssa.net writes: After the unbundling jars in Xalan: http://marc.theaimsgroup.com/?t=10806895191r=1w=2 Now we need to include inside the $TOMCAT_HOME/common/endorsed the following files: jakarta-bcel-20040329.jar jakarta-regexp-1.3.jar Why? Jakarta bcel and regexp are not included in the JDK and can so not be loaded before the normal classpath entries, what would make the endorsed dirs necessary. Not sure why, but looks like once xalan is in endorsed it search for the other libs in the same dir. I tried also restarting tomcat without the jakarta-*.jar and it throws errors. Can you try it? I have been already using Jetty with the stripped down xalan and I did not have a problem (full Jetty - not the one from CVS) I just wanted to alert and see if anyone else had the same problem. In the same tomcat instalation I have 4 cocoon app deployed. Each one has diferent custom building. Not sure if this can work if I have just one cocoon app in Tomcat. BTW, I am not using ParanoidCocoon loader. Best Regards, Antonio Gallardo