[jboss-user] [JBossWS] - JBoss 4.0.5--JAX-RPC has Issues?

russray do-not-reply at jboss.com
Mon Feb 12 17:55:18 EST 2007


I have a simple web service using JAX-RPC.  I have setup the service to make the web server think it is dealing with a servlet.  When I use Eclipse's Web Service Explored for testing the service, I receive this error on the server:


  | [13:29:42,196] [ERROR] [[WebServiceImpl]] [Servlet.service() for servlet WebServiceImpl threw exception] 
  | java.lang.ExceptionInInitializerError 
  |    at java.lang.Class.forName0(Native Method) 
  |    at java.lang.Class.forName(Class.java:164) 
  |    at org.jboss.ws.soap.attachment.ContentHandlerRegistry.<clinit>(ContentHandlerRegistry.java:51) 
  |    at org.jboss.ws.xop.XOPUnmarshallerImpl.<clinit>(XOPUnmarshallerImpl.java:59) 
  |    at org.jboss.ws.jaxrpc.encoding.SimpleDeserializer.deserialize(SimpleDeserializer.java:52) 
  |    at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235) 
  |    at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) 
  |    at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) 
  |    at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) 
  |    at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:94) 
  |    at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) 
  |    at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209) 
  |    at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) 
  |    at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) 
  |    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
  |    at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) 
  |    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
  |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 
  |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 
  |    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 
  |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 
  |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 
  |    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 
  |    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 
  |    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) 
  |    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 
  |    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 
  |    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
  |    at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) 
  |    at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) 
  |    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 
  |    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
  |    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 
  |    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 
  |    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 
  |    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 
  |    at java.lang.Thread.run(Thread.java:595) 
  | Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp 
  |    at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:292) 
  |    at javax.activation.ActivationDataFlavor.<init>(ActivationDataFlavor.java:81) 
  |    at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.java:77) 
  |    at org.jboss.ws.soap.attachment.ImageDataContentHandler.<clinit>(ImageDataContentHandler.java:63) 
  |    ... 37 more 
  | 

Any help in sheding some light on this issue would be greatly appreciated.  We have several people effected by this while one indidividual is not.  He's version of JBoss 4.0.5 is working without an issue although we have the same files and configurations.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015459#4015459

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015459



More information about the jboss-user mailing list