tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Worrall" <paul.worr...@apcentric.com>
Subject JAXB and Tomcat Problem
Date Thu, 31 Jan 2002 10:42:00 GMT
Hi,

I have tried to use the JAXB 1.0 runtime library with Tomcat 4.0.1 and
horribly strange things start to happen.

Can anyone help?  Details below.

Solaris 8 with -->

java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

and --> jaxb-rt-1.0-ea.jar from JAXB Early Access Release 1.0 placed in
/usr/java/jre/lib/ext

and using Apache 1.4 as the web server.

jakarta-tomcat-4.0.1 starts without errors-->

$ ./bin/startup.sh
Guessing CATALINA_HOME from catalina.sh to ./bin/..
Setting CATALINA_HOME to ./bin/..
Using CLASSPATH:     ./bin/../bin/bootstrap.jar:/usr/java/lib/tools.jar
Using CATALINA_BASE: ./bin/..
Using CATALINA_HOME: ./bin/..
Using JAVA_HOME:     /usr/java

but produces-->

 WebApp: 500 (File: pr_warp.c Line: 271) Cannot open connection conn


and when attempt to shutdown get-->

$ ./bin/shutdown.sh
Guessing CATALINA_HOME from catalina.sh to ./bin/..
Setting CATALINA_HOME to ./bin/..
Using CLASSPATH:     ./bin/../bin/bootstrap.jar:/usr/java/lib/tools.jar
Using CATALINA_BASE: ./bin/..
Using CATALINA_HOME: ./bin/..
Using JAVA_HOME:     /usr/java
Catalina.stop: java.lang.SecurityException: sealing violation
java.lang.SecurityException: sealing violation
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at
org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader
.java:671)
        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:1090)
        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:989)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:154)
        at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:817)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Ant ideas ?
Architect|Evangelist|Director

Apcentric Limited
The Soft Science of J2EE Deployment

t: +44 (0) 20 7663 1600
m: +44 (0) 77 1133 0213
w: www.apcentric.com


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message