3 Replies Latest reply on Apr 2, 2010 9:06 AM by Scott Dawson

    ServiceInvoker Error: InquiryService not bound

    Alferd Zhang Newbie

      hi all, I'm new to jboss esb. sorry to disturb you.

       

      when i use ServiceInvoker in remote mode, i met these errors:

       

      Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: org.apache.ws.scout.transport.TransportException: javax.naming.NameNotFoundException: InquiryService not bound
      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 ServiceInvokerTest.main(ServiceInvokerTest.java:19)
      Caused by: org.jboss.soa.esb.services.registry.RegistryException: org.apache.ws.scout.transport.TransportException: javax.naming.NameNotFoundException: InquiryService not bound
      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:348)
      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: javax.naming.NameNotFoundException: InquiryService not bound
      at org.apache.ws.scout.registry.BusinessQueryManagerV3Impl.findConcepts(BusinessQueryManagerV3Impl.java:516)
      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.getJBossESBTModel(JAXRRegistryImpl.java:653)
      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:307)
      ... 8 more

      and my configuration is:

      jars:

        all the jars list in ProgrammersGuide - Configuration for a remote ServiceInvoker

       

      jbossesb-properties.xml

        copy from jbossesb.sar, and modify 3 lines:

           <property name="org.jboss.soa.esb.registry.queryManagerURI" value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>
           <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" value="jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish"/>
          <property name="org.jboss.soa.esb.scout.proxy.transportClass" value="org.apache.ws.scout.transport.RMITransport"/>

       

      uddi.xml

        copy from server/deploy/data, but seems useless

       

      jndi.properties

      juddi.properties

        copy from some post in this forum, but seems useless too

       

       

      so, can someone help me? thanx