tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Worrall" <paul.worr...@apcentric.com>
Subject RE: JAXB and Tomcat Problem
Date Thu, 31 Jan 2002 12:18:06 GMT
Hey, me happy.  Fixed it.

I put the jaxb runtime jar in my war file WEB-INF/lib instead and it worked.

Help much appreciated.

-----Original Message-----
From: Lauer, Oliver [mailto:Oliver.Lauer@AXA.de]
Sent: 31 January 2002 11:53
To: 'Tomcat Users List'; 'paul.worrall@apcentric.com'
Subject: AW: JAXB and Tomcat Problem


I don't know anyway but how about debugging the statement:

java.net.URLClassLoader.defineClass(URLClassLoader.java:234)

and looking what's going on there ?

> 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: Oliver.Lauer@axa.de
> _____________________________
>


-----Ursprüngliche Nachricht-----
Von: Paul Worrall [mailto:paul.worrall@apcentric.com]
Gesendet: Donnerstag, 31. Januar 2002 12:47
An: Tomcat Users List
Betreff: RE: JAXB and Tomcat Problem


Yes, and I have just found that it works under the j2sdkee1.3 which is
Apache Tomcat/4.0-b4-dev so I must be going wrong somewhere.

Any idea what the "java.lang.SecurityException: sealing violation" might
mean ?  That might help me reach some conclusions.

Thanks Oliver.



-----Original Message-----
From: Lauer, Oliver [mailto:Oliver.Lauer@AXA.de]
Sent: 31 January 2002 10:43
To: 'Tomcat Users List'; 'paul.worrall@apcentric.com'
Subject: AW: JAXB and Tomcat Problem


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: Oliver.Lauer@axa.de
> _____________________________
>


-----Ursprüngliche Nachricht-----
Von: Paul Worrall [mailto:paul.worrall@apcentric.com]
Gesendet: Donnerstag, 31. Januar 2002 11:42
An: tomcat-user@jakarta.apache.org
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: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>


----------------------------------------------------------------------------
--
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: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>




--
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>


----------------------------------------------------------------------------
--
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: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