You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by raj <ra...@clarologic.com> on 2001/10/26 11:46:09 UTC
Is something wrong with the Catalina 4.0.1 distribution?
To enable JDBC realm I added my jar file (weblogic4.jar)
to CATALINA_HOME/common/lib.
I find that the driver is not being found/read (obviously not being
added to classpath, also true if added to CATALINA_HOME/lib).
I forced this jar in, by adding it to the line (shown below) in
catalina.bat:
set
CP=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME\common\lib\weblogic4.jar
When I do this the JDBC realm works but,
I get the following error in "localhost_examples_log.2001-10-26.txt"
2001-10-26 10:39:34 StandardContext[/examples]: Servlet /examples threw
load() exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
...
...
----- Root Cause -----
java.lang.NoSuchMethodError
at
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202)
at
org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:139)
...
...
Similarly in the file "localhost_log.2001-10-26.txt"
2001-10-26 10:39:35 StandardContext[/manager]: Servlet /manager threw
load() exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
...
...
----- Root Cause -----
java.lang.NoSuchMethodError
at
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202)
at
org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:139)
...
...
Looking at "jasper-compiler.jar" I notice that the class
"TldLocationsCache" is in the package
org.apache.jasper.compiler
and not
org.apache.jasper.compiler.TldLocationsCache.processJars
as it seems to be looking for from the above exceptions.
Any light shone would be welcome.
Cheers
-raj
Tomcat 4.0 and Poolman 2.1b1
Posted by Fabio Mengue <fa...@ccuec.unicamp.br>.
Hello,
I'm having a problem using Poolman. I wonder if anybody has the same problem...
I have a server (PIII 800, 256Mb RAM) with Linux (kernel 2.4.5). Using Sun JDK 1.3.1_1, and binary
Tomcat 4.0 for Linux.
Tomcat runs fine out of the box (ie, standalone, no connection with Apache. I just tar xvzf
jakarta-tomcat-4.0 and <TOMCAT>/bin/startup).
I stopped the server, added poolman to /webapps (cp -R <POOLMAN>/poolman-webapp/ <TOMCAT>/webapps),
and <TOMCAT>/bin/startup.
On <TOMCAT>/logs/localhost_log:
2001-10-26 11:48:16 StandardHost[localhost]: Installing web application at context path /poolman from URL
file:/usr/local/jakarta-tomcat-4.0/webapps/poolman
... (adding JAR's to context) ...
2001-10-26 11:48:16 StandardManager[/poolman]: Seeding random number generator class
java.security.SecureRandom
2001-10-26 11:48:16 StandardManager[/poolman]: Seeding of random number generator has been completed
2001-10-26 11:48:17 StandardWrapper[/poolman:default]: Loading container servlet default
2001-10-26 11:48:17 default: init
2001-10-26 11:48:17 poolman-velocity: init
And Tomcat core dumps.
No error message on the log files (catalina.out, catalina_log, localhost_log).
I configured poolman.xml, and followed the instructions (just cody the poolman-webapp to tomcat
webapps directory).
Is there a way to find out what is wrong ? Poolman did not work with TC 4.0 in his previous version
too...
Thanks a lot,
Fabio.
--
Fabio Mengue - Centro de Computacao - Unicamp
fabio@ccuec.unicamp.br fabio@unicamp.br
Vacum ad brejus mobilet