10 Replies Latest reply on Jan 25, 2010 4:24 AM by Denny Xu

    ESB ServiceInvoker does not work

    Denny Xu Newbie

      I tried to run JBoss ESB 4.7 quickstarts in SOA-p 5.0 which contains ESB4.7 runtime, if I try to send an ESB message to test the deployed esb service, it fail every time,  take *Helloworld *quickstart as an example,  after I deployed it to SOA-P 5.0 successfully, I tried to run SendJMSMessage, it work fine, but when I tried to  run SendESBMessage with serviceCategory=FirstServiceESB, serviceName=SimpleListener , it failed with the following excaption:

      Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException
          at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:545)
          at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:174)
          at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155)
          at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:197)
          at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:55)
      Caused by: org.jboss.soa.esb.services.registry.RegistryException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException
          at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:341)
          at org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.findEPRs(InVMRegistryInterceptor.java:85)
          at org.jboss.soa.esb.services.registry.RegistryFactory$HeadRegistryInterceptor.findEPRs(RegistryFactory.java:229)
          at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:226)
          at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:532)
          ... 4 more
      Caused by: javax.xml.registry.JAXRException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException
          at org.apache.ws.scout.registry.BusinessQueryManagerV3Impl.findConcepts(BusinessQueryManagerV3Impl.java:516)
          at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.getJBossESBTModel(JAXRRegistryImpl.java:646)
          at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:300)
          ... 8 more

       

      I also checked the ESB-console,  the service "FirstServiceESB:SimpleListener" list there, doesn't the ServiceInvoker work for ESB4.7 or SOA-P 5.0?

       

      Thanks, Denny