4 Replies Latest reply on Nov 20, 2013 11:28 AM by tcunning

    Problem with webservice_consumer1

    kazakov

      Good day! Yhis is my first question!

       

      I'm trying run sample webservice_consumer1 in JBoss ESB. In action soapui-client-action there is an Exception. In logs I find next:

       

      2013-10-13 16:31:48,587 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline

      javax.management.RuntimeErrorException

        at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:178)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.soa.esb.actions.soap.MBeanSoapUIInvoker.buildRequest(MBeanSoapUIInvoker.java:76)

        at org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:433)

        at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:667)

        at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:614)

        at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:442)

        at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:587)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:662)

      Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader

        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.load(WsdlContext.java:129)

        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importWsdl(WsdlImporter.java:85)

        at com.eviware.soapui.impl.wsdl.WsdlProject.importWsdl(WsdlProject.java:418)

        at com.eviware.soapui.impl.wsdl.WsdlProject.importWsdl(WsdlProject.java:402)

        at org.jboss.soa.esb.services.soapui.SoapUIClientService$WsdlInternalState.<init>(SoapUIClientService.java:1343)

        at org.jboss.soa.esb.services.soapui.SoapUIClientService$WsdlState.<init>(SoapUIClientService.java:1466)

        at org.jboss.soa.esb.services.soapui.SoapUIClientService$WsdlCache.createResource(SoapUIClientService.java:1636)

        at org.jboss.soa.esb.services.soapui.SoapUIClientService$WsdlCache.get(SoapUIClientService.java:1629)

        at org.jboss.soa.esb.services.soapui.SoapUIClientService.buildRequest(SoapUIClientService.java:347)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        ... 13 more

       

      I find the soapui-1.7.1.jar in %SERVER_HOME%/server/default/deploy/soapui-client.sar/lib/soapui-1.7.1.jar I don't know why classloader cann't find this class?

       

      I try put this jar in %SERVER_HOME%/server/default/deploy/jbossesb.sar/lib the result is the same Exception.

       

      Could you help me to resolve this problem. This is my first stems in JBoss ESB.