I'm using jaxb with TC4.0 and don't have any difficulties in using so but
I've placed the libs in common thus different apps could need that ! 
Oliver 

> AXA eSolutions GmbH
> AXA Konzern AG Germany
> Oliver Lauer 
> Web Architect
> W�rthstra�e 34
> D-50668 K�ln
> Germany
> Tel.: +49 221 148 31277
> Fax: +49 221 148 43963
> Mobil: +49 179 59 064 59
> e-Mail: [EMAIL PROTECTED]
> _____________________________
> 


-----Urspr�ngliche Nachricht-----
Von: Paul Worrall [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 31. Januar 2002 11:42
An: [EMAIL PROTECTED]
Betreff: JAXB and Tomcat Problem


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:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


------------------------------------------------------------------------------
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich 
mit dem Absender der E-Mail in Verbindung zu setzen.
----------------------------
For legal and security reasons the information provided in this e-mail is not legally 
binding. Upon request we would be pleased to provide you with a legally binding 
confirmation in written form. Any form of unauthorised use, publication, reproduction, 
copying or disclosure of the content of this e-mail is not permitted. This message is 
exclusively for the person addressed or their representative. If you are not the 
intended recipient of this message and its contents, please notify the sender 
immediately.

==============================================================================


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to