Re: Tomcat, JAXB and SecurityManager

2002-08-12 Thread Cédric Viaud

Thanks, a lot for your help.

Yoav Shapira answer make me think about Tomcat version, and i've just tried
to run under Tomcat 4.0.4 LE (light edition) this morning. The problems has
gone away.

Thanks to all,

   Cédric

PS : Yoav, in fact when i have write despited i meant depressed (but i don't
speak English at all :-)

- Original Message -
From: Extance, Paul [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, August 09, 2002 10:42 PM
Subject: RE: Tomcat, JAXB and SecurityManager


 We have had a problem with JAXB under Tomcat 4.0.3, as it couldn't find
the
 jaxb-rt.jar in the WEB-INF/lib folder.

 We also put it in the %catalina_home%/common/lib, and it still couldn't
find
 it.
 We then put the jar in the %java_home%/jre/lib/ext and then it worked.

 We then upgraded to Tomcat 4.0.4 and the problem went away.

 So if your getting a 'ClassNotFound' exception this may help.

 PaulE

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 09, 2002 7:09 AM
 To: Tomcat Users List
 Subject: RE: Tomcat, JAXB and SecurityManager


 Bonjour! ;)

 If i launch it from a servlet, i failed.

 Can you please provide more details?  The stack trace would be helpful.
Any
 suspicious or error messages in the tomcat logs?

 One more point, if the same code is run under Tomcat 4.0.1, it work !!!

 Then I would look at the release notes for 4.0.3 to see what changes were
 made to the security manager between 4.0.1 and 4.0.3 ;)

  Cédric (very despited for two days).

 What does very despited mean?

 Yoav Shapira
 Millennium ChemInformatics

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat, JAXB and SecurityManager

2002-08-09 Thread Cédric Viaud

Hi,

i'm using JAXB and Tomcat 4.0.3 on NT 4.

I've got an application which generate HTML pages with XML and XSL-T. For some 
particular point i use classes generated by JAXB. If i test my code as a standard Java 
application (class with a main method), it works perfectly. If i launch it from a 
servlet, i failed.

It seems that there's a problem with the security manager.

Can anyone give me some pointers to security manager ?
Does someone got the same problem and solved it ?

One more point, if the same code is run under Tomcat 4.0.1, it work !!! Wasn't some 
security problems on this version ?

Thanks for help, regards,

 Cédric (very despited for two days).



RE: Tomcat, JAXB and SecurityManager

2002-08-09 Thread Shapira, Yoav

Bonjour! ;)

If i launch it from a servlet, i failed.

Can you please provide more details?  The stack trace would be helpful.  Any 
suspicious or error messages in the tomcat logs?

One more point, if the same code is run under Tomcat 4.0.1, it work !!!

Then I would look at the release notes for 4.0.3 to see what changes were made to the 
security manager between 4.0.1 and 4.0.3 ;)

 Cédric (very despited for two days).

What does very despited mean? 

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat, JAXB and SecurityManager

2002-08-09 Thread Extance, Paul

We have had a problem with JAXB under Tomcat 4.0.3, as it couldn't find the
jaxb-rt.jar in the WEB-INF/lib folder. 

We also put it in the %catalina_home%/common/lib, and it still couldn't find
it.
We then put the jar in the %java_home%/jre/lib/ext and then it worked.

We then upgraded to Tomcat 4.0.4 and the problem went away.

So if your getting a 'ClassNotFound' exception this may help.

PaulE

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 7:09 AM
To: Tomcat Users List
Subject: RE: Tomcat, JAXB and SecurityManager


Bonjour! ;)

If i launch it from a servlet, i failed.

Can you please provide more details?  The stack trace would be helpful.  Any
suspicious or error messages in the tomcat logs?

One more point, if the same code is run under Tomcat 4.0.1, it work !!!

Then I would look at the release notes for 4.0.3 to see what changes were
made to the security manager between 4.0.1 and 4.0.3 ;)

 Cédric (very despited for two days).

What does very despited mean? 

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]