Hi,
Are Tomcat 3.2 qnd Jonas 2.2.2 compatible?
I tried to launch Tomcat 3.2 with RMI_jonas.jar in its classpath and I
received the following exception :
Starting Tomcat
Exception in thread "main" java.lang.VerifyError: (class:
org/apache/tomcat/request/InvokerInterceptor, method: requestM
ap signature: (Lorg/apache/tomcat/core/Request;)I) Incompatible object
argument for function call
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:453)
at
org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:314)
at
org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:68)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at
org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:198)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
In fact, RMI_jonas.jar contains some "org.apache.tomcat" classes and I
thinl that they are not from the same version.
In fact, if I take care to set the TOMCAT jar before the JONAS jar in
the classpath, everything work.
I also think that it could be interesting to have 2 jars for JONAS. One
to launch the server and another one with
everything needed by a client application, no more. I think that it is
always better to stricktly control what is in an application
classpath.
Hope it will help.
Nicolas GANDRIAU
--
----------------------------------------------
Nicolas GANDRIAU
LIBELIS CANADA
300 St Sacrement
Bureau 420
H2Y 1X4, Montreal
tel : (1) 514 284 5432 (214)
fax : (1) 514 284 2342
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".