Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 16090 invoked from network); 16 Oct 2009 14:34:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Oct 2009 14:34:25 -0000 Received: (qmail 39086 invoked by uid 500); 16 Oct 2009 14:34:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39007 invoked by uid 500); 16 Oct 2009 14:34:21 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 38990 invoked by uid 99); 16 Oct 2009 14:34:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 14:34:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.195.17.75] (HELO cmr.veepee.net) (217.195.17.75) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 14:34:11 +0000 Received: from localhost (localhost [127.0.0.1]) by cmr.veepee.net (Postfix) with ESMTP id 3301A1BBC70 for ; Fri, 16 Oct 2009 16:33:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cmr2.veepee.net Received: from cmr.veepee.net ([127.0.0.1]) by localhost (cmr2.veepee.priv [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l0baUPi5+Hb6 for ; Fri, 16 Oct 2009 16:33:43 +0200 (CEST) Received: from mail.janvier.fr (mail.janvier.fr [217.195.22.20]) by cmr.veepee.net (Postfix) with SMTP id 6AB151BBAC0 for ; Fri, 16 Oct 2009 16:33:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.janvier.fr (Postfix) with ESMTP id D1B5A1F862B9 for ; Fri, 16 Oct 2009 16:29:34 +0200 (CEST) Received: from mail.janvier.fr ([127.0.0.1]) by localhost (lan-dsl.145.rev.fr.colt.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01437-08 for ; Fri, 16 Oct 2009 16:29:31 +0200 (CEST) Received: from [192.168.3.105] (unknown [192.168.3.105]) by mail.janvier.fr (Postfix) with ESMTP id 041651F862A0 for ; Fri, 16 Oct 2009 16:29:31 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Erreur : Could not initialize class com.sun.xml.ws.spi.ProviderImpl From: Jean-Pierre ASTIER In-Reply-To: <99C8B2929B39C24493377AC7A121E21F840585432A@USEA-EXCH8.na.uis.unisys.com> Date: Fri, 16 Oct 2009 16:33:38 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <99C8B2929B39C24493377AC7A121E21F840585432A@USEA-EXCH8.na.uis.unisys.com> To: "Tomcat Users List" X-Mailer: Apple Mail (2.1076) X-Virus-Scanned: by amavisd-new at janvier.fr X-Virus-Checked: Checked by ClamAV on apache.org Hello, Thanks for your response. If I put the jax-ws-2.1 library in the WEB-INF/lib directory in my =20 webapp I've got this error : Oct 16, 2009 4:46:39 PM org.apache.catalina.core.StandardWrapperValve =20= invoke SEVERE: Servlet.service() for servlet myPhotothequeControleur threw =20 exception java.security.AccessControlException: access denied =20 (java.lang.RuntimePermission accessDeclaredMembers) at java.security.AccessControlContext.checkPermission=20 (AccessControlContext.java:323) at java.security.AccessController.checkPermission=20 (AccessController.java:546) at = java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at = java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:=20 1662) ..... When you speak about the shared/lib directory, is this the tomcat =20 shared/lib directory ? Because there is no shared/lib directory in my webapp. Le 16 oct. 2009 =E0 15:53, Caldarale, Charles R a =E9crit : >> From: Jean-Pierre ASTIER [mailto:jpastier@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. =20 > Try adding the copy from your Mac to the WEB-INF/lib directory of =20 > your webapp. There's a possibility it will need to be in shared/lib =20= > instead (but never in both places). > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE =20 > PROPRIETARY MATERIAL and is thus for use only by the intended =20 > recipient. If you received this in error, please contact the sender =20= > and delete the e-mail and its attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org