tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Pierre ASTIER <jpast...@analogue-paris.com>
Subject Erreur : Could not initialize class com.sun.xml.ws.spi.ProviderImpl
Date Fri, 16 Oct 2009 12:39:38 GMT
Hello,
I use NetBeans 6.7, tomcat 5.5.27 Mac OS X 10.6.1 and my version of  
Java is build 1.6.0_15-b03-219.

I developed Web service on one of my machines and developed the web  
service client to connect on Web service.
Everything is OK and everything works.

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:

Oct 15, 2009 4:01:46 PM org.apache.catalina.core.StandardWrapperValve  
invoke
SEVERE: Servlet.service() for servlet myPhotothequeControleur threw  
exception
java.lang.NoClassDefFoundError: Could not initialize class  
com.sun.xml.ws.spi.ProviderImpl
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance 
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance 
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:36)
at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:95)
at javax.xml.ws.spi.Provider.provider(Provider.java:83)
at javax.xml.ws.Service.<init>(Service.java:56)
at com.maison.epstopng.webservice.EpstopngService.<init> 
(EpstopngService.java:46)
at com.maison.myphototheque.servlets.myPhotothequeControleur.service 
(myPhotothequeControleur.java:970)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.GeneratedMethodAccessor1398.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: 
244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 
276)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege 
(SecurityUtil.java:162)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter 
(ApplicationFilterChain.java:262)
at org.apache.catalina.core.ApplicationFilterChain.access$0 
(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain$1.run 
(ApplicationFilterChain.java:171)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter 
(ApplicationFilterChain.java:167)
at org.apache.catalina.core.StandardWrapperValve.invoke 
(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke 
(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke 
(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke 
(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke 
(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service 
(CoyoteAdapter.java:151)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection 
(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt 
(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run 
(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)


Would you have an idea of the problem?
Thank you
Jean-Pierre

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message