Subject | RE: [Firebird-Java] Firebird, JDBC and Tomcat |
---|---|
Author | David Aldrich |
Post date | 2003-02-13T17:31:13Z |
Hi
Today I tried a fresh install of Tomcat, Jaybird and Track+ as follows:
1) Install Tomcat 3.3 to C:\jakarta-tomcat-3.3.1a
set JAVA_HOME = C:\j2sdk1.4.1_01
set TOMCAT_HOME = C:\jakarta-tomcat-3.3.1a
Deleted CLASSPATH environment variable
Started Tomcat and ran Tomcat example webapps successfully. Shut down Tomcat.
2) Install Jaybird, by copying the following files to TOMCAT_HOME\lib\common:
firebirdjmx.jar
firebirdsql.jar
firebirdsql-test.jar
jaas.jar
log4j-core.jar
mini-concurrent.jar
mini-j2ee.jar
Started Tomcat ok and shut it down again.
3) Install Track+ as follows:
Copy track-203.war to TOMCAT_HOME\webapps
Started Tomcat and saw some errors of the form:
'log4j:ERROR setFile(null,true) call failed.'
Accessed http://localhost:8080/track-203 and saw on the browser:
Error: 500
Location: /track-203/logon.jsp
Internal Servlet Error:
java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: signature: ()V) Incompatible argument to function
at org.apache.log4j.Logger.getLogger(Logger.java:94)
at com.aurel.track.util.DetectBrowser.(DetectBrowser.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at java.beans.Beans.instantiate(Beans.java:204)
at java.beans.Beans.instantiate(Beans.java:48)
at logon_1._jspService(logon_1.java:265)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)
In the Tomcat window I saw:
EmbededTomcat: Init time 24715
2003-02-13 17:10:44 - Http10Interceptor: Starting on 8080
2003-02-13 17:10:44 - Ajp12Interceptor: Starting on 8007
2003-02-13 17:10:44 - Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time 220
2003-02-13 17:12:31 - Ctx(/track-203) : Compiling: /logon.jsp to logon_0
2003-02-13 17:13:17 - SessionIdGenerator: Created random class java.security.SecureRandom
2003-02-13 17:13:19 - Ctx(/track-203) : Exception in R( /track-203 + /logon.jsp + null) - java.lang.VerifyError: (class:
ment to function
at org.apache.log4j.Logger.getLogger(Logger.java:94)
at com.aurel.track.util.DetectBrowser.<init>(DetectBrowser.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
.
.
at java.lang.Thread.run(Thread.java:536)
Does this give a clue to where the problem lies? Have I used the wrong Jaybird jar files? Should I use an earlier version of the SDK?
Thank you
David
Telecom MODUS is an ISO9001/TickIT approved Company.
LRQA Certificate of Approval reference 0965133
************************************************************
THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL TO WHOM IT IS ADDRESSED AND CONTAINS INFORMATION THAT IS PRIVATE AND/OR PROPRIETARY.
If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please forward the whole message to admin@...
Company Registration No.3493954
Telephone Number +44 (0) 1372 381880
Fax Number +44 (0) 1372 381804
Email general@...
************************************************************