4 Replies Latest reply on Oct 28, 2005 9:50 AM by Thomas Diesler

    an InstantiationException during invocation on the new 4.0.3

    Alon Agmon Newbie

      as a matter of fact , this is a simple JSE endpoint
      worked on 4.0.2.

      after a sucessfull redeployment,
      on the first method invocation the following error and log entries are created:

      Error:

      
      {http://xml.apache.org/axis/}stackTrace: java.lang.InstantiationException: tests.editor.ws.IEditor
      


      Log Entries:
      2005-10-13 15:42:55,178 DEBUG [org.jboss.webservice.server.ServiceEndpointServletJSE] doGet: http://lap:8080/TestEjb3WS/WSEndpoint?wsdl
      2005-10-13 15:42:55,338 DEBUG [org.jboss.webservice.server.InvokerProvider] initServiceDesc: service=TestEjb3WS.war#WSEndpoint/IEditorPort
      2005-10-13 15:42:55,348 DEBUG [org.jboss.webservice.handler.HandlerChainBaseImpl] Create a handler chain for roles: []
      2005-10-13 15:42:55,348 DEBUG [org.jboss.webservice.handler.HandlerChainBaseImpl] init: [config=null]
      2005-10-13 15:42:55,358 DEBUG [org.jboss.webservice.server.ServiceEndpointServletJSE] Set transport.url=/TestEjb3WS/WSEndpoint
      2005-10-13 15:42:55,358 DEBUG [org.jboss.webservice.server.ServiceEndpointServletJSE] Process wsdl request
      
      
      2005-10-13 15:43:09,118 WARN [org.jboss.axis.encoding.DeserializationContextImpl] Ignoring invalid namespace mapping: [prefix=,uri=]
      2005-10-13 15:43:09,118 DEBUG [org.jboss.webservice.server.ServerEngine] invoke: org.jboss.axis.MessageContext@1f74864
      2005-10-13 15:43:09,118 DEBUG [org.jboss.webservice.server.ServerEngine] TransportHandler: http
      2005-10-13 15:43:09,128 DEBUG [org.jboss.webservice.server.InvokerProviderJSE] makeNewServiceObject: class=tests.editor.ws.IEditor
      2005-10-13 15:43:09,148 ERROR [org.jboss.webservice.server.ServerEngine] Server error: AxisFault
       faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
       faultSubcode:
       faultString: tests.editor.ws.IEditor
       faultActor:
       faultNode:
       faultDetail:
       {http://xml.apache.org/axis/}stackTrace: java.lang.InstantiationException: tests.editor.ws.IEditor
       at java.lang.Class.newInstance0(Class.java:335)
       at java.lang.Class.newInstance(Class.java:303)
       at org.jboss.axis.providers.java.JavaProvider.makeNewServiceObject(JavaProvider.java:620)
       at org.jboss.webservice.server.InvokerProviderJSE.makeNewServiceObject(InvokerProviderJSE.java:55)
       at org.jboss.axis.providers.java.JavaProvider.getNewServiceObject(JavaProvider.java:280)
       at org.jboss.axis.providers.java.JavaProvider.getServiceObject(JavaProvider.java:131)
       at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:335)
       at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
       at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
       at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
       at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
       at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
       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:81)
       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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       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:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       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)
      
      
      2005-10-13 15:43:09,148 INFO [org.jboss.axis.transport.http.AxisServlet] java.lang.InstantiationException: tests.editor.ws.IEditor
      
      


      Any ideas ?