Hello,

Thanks for your response.
If I put the jax-ws-2.1 library in the WEB-INF/lib directory in my webapp I've got this error :

Oct 16, 2009 4:46:39 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet myPhotothequeControleur threw exception java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers) at java.security.AccessControlContext.checkPermission (AccessControlContext.java:323) at java.security.AccessController.checkPermission (AccessController.java:546)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java: 1662)
.....

When you speak about the shared/lib directory, is this the tomcat shared/lib directory ?
Because there is no shared/lib directory in my webapp.


Le 16 oct. 2009 à 15:53, Caldarale, Charles R a écrit :

From: Jean-Pierre ASTIER [mailto:jpast...@analogue-paris.com]
Subject: Erreur : Could not initialize class
com.sun.xml.ws.spi.ProviderImpl

But when I put the web service client on another machine Linux (Java
1.6.0_06-b02 tomcat 5.5) I obtain the following error:

java.lang.NoClassDefFoundError: Could not initialize class
com.sun.xml.ws.spi.ProviderImpl

Looks like you're missing the jax-ws*.jar on the second machine. Try adding the copy from your Mac to the WEB-INF/lib directory of your webapp. There's a possibility it will need to be in shared/lib instead (but never in both places).

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to