0 Replies Latest reply: Feb 12, 2012 4:33 PM by 916988 RSS

    websphere 7.0:java.lang.IllegalAccessError when triggering deployed service

    916988
      The service is deployed successfully on websphere 7.0 using jaxws thinclient, but when the service is triggered, below error received by the client.

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Body>
      <soapenv:Fault>
      <faultcode>soapenv:Server</faultcode>
      <faultstring>FILENAME.&lt;init>(Lorg/apache/log4j/Logger;)V</faultstring>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>


      (Linux)File directory is having 777 permisson.


      System.out of websphere server : WebSphere/AppServer/profiles/AppSrv01/logs/server1

      WebServiceExc E org.apache.axis2.jaxws.WebServiceExceptionLogger log A java.lang.IllegalAccessError throwable was caught. The detail message is: FILENAME.<init>(Lorg/apache/log4j/Logger;)V

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:599)
      at org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher.invokeTargetOperation(JavaDispatcher.java:76)
      at org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:96)
      at org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:108)
      at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:159)
      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:182)
      at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
      at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis2Servlet.java:1330)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
      at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)