8 Replies Latest reply on Oct 3, 2011 5:37 PM by nikhil27.

    Remote ServiceInvoker Troubles -

    slimytadpole

      I have a set of services available in a JBoss ESB (4.8) deployment.  I use ServiceInvoker to inject messages on the ESB, and it workes without a hitch.  I also have a client application, run from a batch file in another VM, that must be able to send messages to those services.  It also uses ServiceInvoker.  Now, this used to work in JBoss 4 with an ancient version of JBossESB.

       

      I'm getting:

       

      {code}

      org.jboss.soa.esb.listeners.message.MessageDeliverException: 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 mil.af.rl.phoenix.ent.channel.esb.information.WSNDeliveryServiceInvokerInformationOutputChannel.connect(WSNDeliveryServiceInvokerInformationOutputChannel.java:109)
              at mil.af.rl.phoenix.service.channel.manager.BaseChannelManager.addOutputChannel(BaseChannelManager.java:174)
              at mil.af.rl.phoenix.service.channel.manager.BaseChannelManager.addOutputChannel(BaseChannelManager.java:137)
              at mil.af.rl.phoenix.ent.repository.service.EPhoenixRepositoryService.start(EPhoenixRepositoryService.java:88)
              at mil.af.rl.phoenix.service.managers.ServiceManager.start(ServiceManager.java:163)
              at mil.af.rl.phoenix.javaservicecontainer.JavaServiceContainer.startServices(JavaServiceContainer.java:289)
              at mil.af.rl.phoenix.ent.repository.Repository.initialize(Repository.java:167)
              at mil.af.rl.phoenix.ent.repository.RepositoryLauncher.main(RepositoryLauncher.java:41)
      Caused by: org.jboss.soa.esb.services.registry.RegistryException: javax.naming.NameNotFoundException: InquiryService not bound

      *SNIP!*

      {code}


      Now, this issue has been addressed a few time in these forums, but none of the solutions are working for me.  I've tried to address all of the ususal culprits.

       

      Here are the relevant sections of some of my configuration...

       

      jbossesb-properties.xml (client-side):

       

      {code:xml}
         <properties name="registry">
           <property name="org.jboss.soa.esb.scout.proxy.transportClass"
            value="org.apache.ws.scout.transport.RMITransport"/>
           <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.registry.queryManagerURI"      
            value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>

      <property name="org.jboss.soa.esb.registry.securityManagerURI"
        value="org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService#secure"/>
           <property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
           <property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
           <property name="org.jboss.soa.esb.registry.user" value="root"/>
           <property name="org.jboss.soa.esb.registry.password" value="root"/>
        <property name="org.jboss.soa.esb.scout.proxy.uddiVersion" value="3.0"/>
      <property name="org.jboss.soa.esb.scout.proxy.uddiNameSpace" value="urn:uddi-org:api_v3"/>

              <!-- specify the interceptors, in order -->
              <property name="org.jboss.soa.esb.registry.interceptors" value="org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor"/>

      {code}

       

       

      jbossesb-properties.xml (server-side):

       

      {code:xml}
      <properties name="registry">
           <property name="org.jboss.soa.esb.scout.proxy.transportClass"
        value="org.apache.ws.scout.transport.LocalTransport"/>
           <property name="org.jboss.soa.esb.registry.queryManagerURI"
        value="org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire"/>
           <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
        value="org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService#publish"/>
      <property name="org.jboss.soa.esb.registry.securityManagerURI"
        value="org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService#secure"/>

           <property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
           <property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
           <property name="org.jboss.soa.esb.registry.user" value="root"/>
           <property name="org.jboss.soa.esb.registry.password" value="root"/>
      <property name="org.jboss.soa.esb.scout.proxy.uddiVersion" value="3.0"/>
      <property name="org.jboss.soa.esb.scout.proxy.uddiNameSpace" value="urn:uddi-org:api_v3"/>

              <!-- specify the interceptors, in order -->
              <property name="org.jboss.soa.esb.registry.interceptors" value="org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor"/>

      {code}

       

       

      META-INF/uddi.xml (client-side):

       

      {code:xml}

      <uddi>
          <reloadDelay>5000</reloadDelay>
          <manager name="test-manager">
        <nodes>
         <node>
             <!-- required 'default' node -->
          <name>default</name>
          <description>Main jUDDI node</description>
          <properties>
           <property name="serverName" value="localhost" />
           <property name="serverPort" value="8880" />
          </properties>
          <!-- RMI Transport Settings -->
          <proxyTransport>org.jboss.internal.soa.esb.registry.client.JuddiRMITransport</proxyTransport>
          <custodyTransferUrl>/juddiv3/UDDICustodyTransferService</custodyTransferUrl>
          <inquiryUrl>/juddiv3/UDDIInquiryService</inquiryUrl>
                <publishUrl>/juddiv3/UDDIPublicationService</publishUrl>
                <securityUrl>/juddiv3/UDDISecurityService</securityUrl>
          <subscriptionUrl>/juddiv3/UDDISubscriptionService</subscriptionUrl>
          <subscriptionListenerUrl>/juddiv3/UDDISubscriptionListenerService</subscriptionListenerUrl>
          <juddiApiUrl>/juddiv3/JUDDIApiService</juddiApiUrl>
          <javaNamingFactoryInitial>org.jnp.interfaces.NamingContextFactory</javaNamingFactoryInitial>
          <javaNamingFactoryUrlPkgs>org.jboss.naming</javaNamingFactoryUrlPkgs>
          <javaNamingProviderUrl>jnp://localhost:1099</javaNamingProviderUrl>
         </node>
        </nodes>
      </manager>
      </uddi>

      {code}

       


      My classpath includes the following jars, taken from the "Configuration for a remote ServiceInvoker" section for the JBoss ESB 4.8 Programmers Guide.  However, that I had to make some substitutions.  Some specific jars, called for by the Programmer's Guide, were not included with JBoss.  So I substituted what I *think* are the correct jars for the recent version of JBoss.  Original jars (per the Programmer's Guide) are in parenthesis.

       

      {code}
      log4j.jar (log4j-1.2.14.jar)
      commons-codec-1.3.jar
      commons-configuration-1.5.jar
      commons-lang-2.3.jar
      commons-logging.jar (commons-logging-1.1.jar)
      dom4j.jar
      javassist.jar (javassist-3.6.0.GA.jar)
      jboss-aop-jdk50.jar (jboss-aop-jdk50-1.5.6.GA.jar)
      jbossesb-config-model-1.0.1.jar
      jbossesb-rosetta.jar
      jboss-messaging-client.jar
      jboss-remoting.jar
      jbossts-common.jar
      juddi-client-3.0.1.jar (juddi-client-3.0.1.aop.jar)
      juddi-core-3.0.1.jar
      scout.jar (scout-1.2.0.aop.jar)
      stax-api-1.0.1.jar
      stax-ex.jar (stax.jar)
      trove.jar
      uddi-ws-3.0.1.jar
      wstx-asl-3.2.8.jar (wstx-asl-3.2.0.jar)
      xbean-2.2.0.jar
      xercesImpl-2.8.0.jar
      jbossall-client.jar

      {code}


      Also, I have the above-mentioned META-INF/uddi.xml and jbossesb-properties.xml in the classpath.

       

      I *think* that's pretty much everything I have.  I can post client code, if need be, but I'd bet my lunch this is a configuration issue.

       

      Edit: Sorry for the lack of formatting.  My {code} markups don't seem to be working.

        • 1. Re: Remote ServiceInvoker Troubles -
          slimytadpole

          Solved it.

           

           

          It turns out the problem was with my classpath.  Since the JBoss ESB 4.8 Programmer's Guide is out of date (at least, the list in the section "Configuration for a remote ServiceInvoker), I was forced to make some assumptions about which jars to include.  The manual states that clients should include scout-1.2.0.aop.jar.  No such jar exists in the JBoss distribution.  However, in the <JBOSS_BASE>\client directory, scout.jar exists.  I'm creating a client, so it seemed like the logical choice.  Instead, I needed to use <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\scout-1.2.1.jar.

           

          To keep anyone else from flailing aroud like I did, I'm including the relevant JBoss jars I used in my classpath.  This list was constucted by dumping out the classpath from the Helloworld Quickstart, and comparing the jars in the Programmer's Guide to the classpath dump:

           

          <JBOSS_BASE>\client\javassist.jar

           

          <JBOSS_BASE>\client\jbossall-client.jar

          <JBOSS_BASE>\client\jboss-messaging-client.jar

          <JBOSS_BASE>\client\stax-ex.jar

          <JBOSS_BASE>\client\trove.jar

          <JBOSS_BASE>\common\lib\commons-collections.jar

          <JBOSS_BASE>\common\lib\commons-logging.jar

          <JBOSS_BASE>\common\lib\jboss-remoting.jar

          <JBOSS_BASE>\lib\dom4j.jar

          <JBOSS_BASE>\lib\jboss-aop.jar

          <JBOSS_BASE>\lib\endorsed\xercesImpl.jar

          <JBOSS_BASE>\server\default\deploy\jbossesb-registry.sar\juddi-core-3.0.1.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\commons-codec-1.3.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\commons-configuration-1.5.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\commons-lang-2.3.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\jbossesb-config-model-1.0.1.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\jbossesb-rosetta.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\jbossts-common.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\juddi-client-3.0.1.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\scout-1.2.1.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\stax-api-1.0.1.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\uddi-ws-3.0.1.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\wstx-asl-3.2.8.jar

          <JBOSS_BASE>\server\default\deployers\esb.deployer\lib\xbean-2.2.0.jar

           

           

          Note that some of these are un-versioned equivalents of what's listed in the guide, and others have different version numbers.

          • 2. Re: Remote ServiceInvoker Troubles -
            beve

            Hi,

             

            thanks for posting the correct jars to include. I'll try this out and update the ProgrammerGuide.

             

            Thanks,

             

            /Daniel

            • 3. Re: Remote ServiceInvoker Troubles -
              beve

              I've created the following jira for this issue: JBESB-3367

              • 4. Re: Remote ServiceInvoker Troubles -
                mail2thota

                Hi,

                 

                If you don't mind sharing your jbossesb-properties.xml and uddi.xml. I am facing the same problem but I would not able to solve the issue. Even after looking into your config. I am running jobss-esb server which contains ESB archive. I'm trying to connect a Spring application which is deployed on a Tomcat. Any help is appreciated.

                 

                Thanks in advance,

                Regards,

                -satya-

                • 5. Re: Remote ServiceInvoker Troubles -
                  slimytadpole

                  The jbossesb-properties.xml, and META-INF/uddi.xml files that I'm using were taken directly from the quickstarts.

                   

                  <quickstarts>\conf\registry\META-INF\uddi.xml

                  <quickstarts>\helloworld\jbossesb-properties.xml

                  • 6. Re: Remote ServiceInvoker Troubles -
                    nikhil27.

                    hi 

                     

                    i am having the following issue can u help me out with this, i am trying to invoke a service which is there on other laptop, from my desktop using service invoker , i am using quick strt helloworld example , and configured according to jboss esb programming  guide, my error is :

                     

                     

                    Exception in thread "main" java.lang.NoClassDefFoundError: org/uddi/api_v3/ObjectFactory

                        at org.apache.ws.scout.registry.RegistryV3Impl.<init>(RegistryV3Impl.java:143)

                        at org.apache.ws.scout.registry.ConnectionImpl.<init>(ConnectionImpl.java:81)

                        at org.apache.ws.scout.registry.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:102)

                        at org.jboss.internal.soa.esb.services.registry.JAXRConnectionFactory.getConnection(JAXRConnectionFactory.java:128)

                        at org.jboss.internal.soa.esb.services.registry.JAXRConnectionSingleton.getConnection(JAXRConnectionSingleton.java:60)

                        at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:325)

                        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)

                        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:56)

                    Caused by: java.lang.ClassNotFoundException: org.uddi.api_v3.ObjectFactory

                        at java.net.URLClassLoader$1.run(Unknown Source)

                        at java.security.AccessController.doPrivileged(Native Method)

                        at java.net.URLClassLoader.findClass(Unknown Source)

                        at java.lang.ClassLoader.loadClass(Unknown Source)

                        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

                        at java.lang.ClassLoader.loadClass(Unknown Source)

                        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

                     

                    how to configure my remote system (laptop in my case.)in the helloworld client ??

                     

                    thanks in advance

                    • 7. Re: Remote ServiceInvoker Troubles -
                      tcunning

                      The project Daniel references is here :

                       

                      https://anonsvn.jboss.org/repos/labs/labs/jbossesb/workspace/dbevenius/remote-service-invoker

                       

                      Try that out.     It should work with ESB 4.8.     If you are using 4.9 or 4.10, you probably want to use the version of the juddi JARs (and their dependencies) that shipped with 4.9 or 4.10.    

                       

                      If you are using 4.9 or 4.10 post back and maybe we can put together a similar project for the version you are using.

                      • 8. Re: Remote ServiceInvoker Troubles -
                        nikhil27.

                        **where exactly i need to configure my remote hosts ip adress??


                        hi tom thanks  very much for the reply

                        i tried running the code with above jar files, can u help me with remote host configuration in "jbossesb-properties.xml" and "uddi.xml"(i.e replacement of localhost). i am currently changed the configuration files like this ,this may be wrong, if wrong correct me.

                         

                         

                        my service is in the laptop ip adress is 172.26.28.195

                         

                        uddi.xml

                         

                        <?xml version="1.0" encoding="ISO-8859-1" ?>

                         

                        <uddi>

                            <reloadDelay>5000</reloadDelay>

                            <manager name="test-manager">

                                <nodes>

                                    <node>

                                        <!-- required 'default' node -->

                                        <name>default</name>

                                        <description>Main jUDDI node</description>

                                        <properties>

                                           <property name="serverName" value="172.26.28.195" />

                                            <property name="serverPort" value="8880" />

                                        </properties>

                                        <!-- JAX-WS Transport

                                        <proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>

                                        <custodyTransferUrl>http://${serverName}:${serverPort}/juddiv3/services/custody-transfer?wsdl</custodyTransferUrl>

                                        <inquiryUrl>http://${serverName}:${serverPort}/juddiv3/services/inquiry?wsdl</inquiryUrl>

                                        <publishUrl>http://${serverName}:${serverPort}/juddiv3/services/publish?wsdl</publishUrl>

                                        <securityUrl>http://${serverName}:${serverPort}/juddiv3/services/security?wsdl</securityUrl>

                                        <subscriptionUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription?wsdl</subscriptionUrl>

                                        <subscriptionListenerUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription-listener?wsdl</subscriptionListenerUrl>

                                        <juddiApiUrl>http://${serverName}:${serverPort}/juddiv3/services/juddi-api?wsdl</juddiApiUrl>

                                        -->

                                        <!-- In VM Transport Settings

                                        <proxyTransport>org.apache.juddi.v3.client.transport.InVMTransport</proxyTransport>

                                        <custodyTransferUrl>org.apache.juddi.api.impl.UDDICustodyTransferImpl</custodyTransferUrl>

                                        <inquiryUrl>org.apache.juddi.api.impl.UDDIInquiryImpl</inquiryUrl>

                                        <publishUrl>org.apache.juddi.api.impl.UDDIPublicationImpl</publishUrl>

                                        <securityUrl>org.apache.juddi.api.impl.UDDISecurityImpl</securityUrl>

                                        <subscriptionUrl>org.apache.juddi.api.impl.UDDISubscriptionImpl</subscriptionUrl>

                                        <subscriptionListenerUrl>org.apache.juddi.api.impl.UDDISubscriptionListenerImpl</subscriptionListenerUrl>

                                        <juddiApiUrl>org.apache.juddi.api.impl.JUDDIApiImpl</juddiApiUrl>

                                        -->

                                        <!-- RMI Transport Settings -->

                                        <proxyTransport>org.jboss.internal.soa.esb.registry.client.JuddiRMITransport</proxyTransport>

                                        <custodyTransferUrl>/juddiv3/UDDICustodyTransferService</custodyTransferUrl>

                                        <inquiryUrl>/juddiv3/UDDIInquiryService</inquiryUrl>

                                        <publishUrl>/juddiv3/UDDIPublicationService</publishUrl>

                                        <securityUrl>/juddiv3/UDDISecurityService</securityUrl>

                                        <subscriptionUrl>/juddiv3/UDDISubscriptionService</subscriptionUrl>

                                        <subscriptionListenerUrl>/juddiv3/UDDISubscriptionListenerService</subscriptionListenerUrl>

                                        <juddiApiUrl>/juddiv3/JUDDIApiService</juddiApiUrl>

                                        <javaNamingFactoryInitial>org.jnp.interfaces.NamingContextFactory</javaNamingFactoryInitial>

                                        <javaNamingFactoryUrlPkgs>org.jboss.naming</javaNamingFactoryUrlPkgs>

                                        <javaNamingProviderUrl>jnp://172.26.28.195:1099</javaNamingProviderUrl>

                                    </node>

                                </nodes>

                            </manager>

                        </uddi>

                         

                        jbossesb-properties.xml


                        <esb

                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                          xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">

                            <properties name="core">

                                <property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>

                                <property name="org.jboss.soa.esb.jndi.server.url" value="172.26.28.195"/>

                                <property name="org.jboss.soa.esb.persistence.connection.factory"     value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>

                                <property name="jboss.esb.invm.scope.default" value="NONE"/>

                            </properties>

                            <properties name="registry">     

                                <property name="org.jboss.soa.esb.registry.queryManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire"/>

                                <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService#publish"/>

                                <property name="org.jboss.soa.esb.registry.securityManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService#secure"/>

                                <property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>

                                <property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>

                                <property name="org.jboss.soa.esb.registry.user" value="root"/>

                                <property name="org.jboss.soa.esb.registry.password" value="root"/>

                                <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->

                                <property name="org.jboss.soa.esb.scout.proxy.transportClass" value="org.apache.ws.scout.transport.LocalTransport"/>

                                <property name="org.jboss.soa.esb.scout.proxy.uddiVersion" value="3.0"/>

                                <property name="org.jboss.soa.esb.scout.proxy.uddiNameSpace" value="urn:uddi-org:api_v3"/>

                                <!-- Organization Category to be used by this deployment. -->

                                <property name="org.jboss.soa.esb.registry.orgCategory" value="org.jboss.soa.esb.:category"/>

                            </properties>

                            <properties name="transports" depends="core">

                                <property name="org.jboss.soa.esb.mail.smtp.host" value="172.26.28.195"/>

                                <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>

                                <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>

                                <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>

                            </properties>

                            <properties name="connection">

                                <property name="min-pool-size" value="5"/>

                                <property name="max-pool-size" value="10"/>

                                <property name="blocking-timeout-millis" value="5000"/>

                                <property name="abandoned-connection-timeout" value="10000"/>

                                <property name="abandoned-connection-time-interval" value="30000"/>

                            </properties>

                            <properties name="dbstore">

                                <property name="org.jboss.soa.esb.persistence.db.connection.url"     value="jdbc:hsqldb:hsql://localhost:9001/"/>

                                <property name="org.jboss.soa.esb.persistence.db.jdbc.driver"         value="org.hsqldb.jdbcDriver"/>

                                <property name="org.jboss.soa.esb.persistence.db.user"             value="sa"/>

                                <property name="org.jboss.soa.esb.persistence.db.pwd"             value=""/>       

                                <property name="org.jboss.soa.esb.persistence.db.pool.initial.size"    value="2"/>

                                <property name="org.jboss.soa.esb.persistence.db.pool.min.size"    value="2"/>

                                <property name="org.jboss.soa.esb.persistence.db.pool.max.size"    value="5"/>

                                <!--table managed by pool to test for valid connections - created by pool automatically -->

                                <property name="org.jboss.soa.esb.persistence.db.pool.test.table"    value="pooltest"/>

                                <!-- # of milliseconds to timeout waiting for a connection from pool -->

                                <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis"    value="5000"/>

                                        <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>

                            </properties>

                            <properties name="messagerouting">

                                <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>

                            </properties>

                        </esb>

                         

                        myerror is

                        [main] DEBUG org.jboss.soa.esb.services.registry.RegistryFactory  - Going to load org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl

                        735 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  -

                        Request message:

                        <?xml version="1.0" encoding="UTF-8"?><find_tModel xmlns="urn:uddi-org:api_v3" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" maxRows="10"><findQualifiers><findQualifier>sortByNameAsc</findQualifier></findQualifiers><name>org.jboss.soa.esb.:category</name></find_tModel>

                        735 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  - Calling org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire locally

                        735 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  - Calling class="org".apache.juddi.v3.client.transport.wrapper.UDDIInquiryService

                        735 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  - Method=inquire

                        748 [main] DEBUG org.apache.juddi.v3.client.config.UDDIClientContainer  - Deprecated, please specify a manager name

                        821 [main] DEBUG org.apache.commons.configuration.ConfigurationUtils  - ConfigurationUtils.locate(): base is null, name is META-INF/uddi.xml

                        824 [main] DEBUG org.apache.commons.configuration.ConfigurationUtils  - Loading configuration from the context classpath (META-INF/uddi.xml)

                        831 [main] INFO org.apache.juddi.v3.client.config.ClientConfig  - Reading UDDI Client properties file file:/C:/Users/connkaja/workspace/remote-service-invoker/bin/META-INF/uddi.xml

                        845 [main] DEBUG org.apache.juddi.v3.client.config.ClientConfig  - Setting refreshDelay to 5000

                        846 [main] DEBUG org.apache.juddi.v3.client.config.ClientConfig  - node names=[Ljava.lang.String;@1295fe8

                        848 [main] DEBUG org.apache.juddi.v3.client.config.ClientConfig  - Property: name=serverName value=172.26.28.195

                        848 [main] DEBUG org.apache.juddi.v3.client.config.ClientConfig  - Property: name=serverPort value=8880

                        851 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: /juddiv3/UDDIInquiryService

                        851 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: /juddiv3/UDDIPublicationService

                        851 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: /juddiv3/UDDICustodyTransferService

                        851 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: /juddiv3/UDDISecurityService

                        852 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: /juddiv3/UDDISubscriptionService

                        852 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: /juddiv3/UDDISubscriptionListenerService

                        852 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: /juddiv3/JUDDIApiService

                        852 [main] DEBUG org.apache.juddi.v3.client.config.TokenResolver  - Data after token replacement: jnp://172.26.28.195:1099

                        852 [main] INFO org.apache.juddi.v3.client.config.ClientConfig  - XRegistration 0 servicebindingKeys

                        852 [main] INFO org.apache.juddi.v3.client.config.ClientConfig  - XRegistration 0 businessKeys

                        853 [Thread-1] DEBUG org.apache.juddi.v3.client.config.UDDIClerkManager  - test-manager already registered to the UDDIClientContainer.

                        855 [main] DEBUG org.apache.juddi.v3.client.config.UDDIClientContainer  - Deprecated, please specify a manager name

                        855 [main] DEBUG org.apache.juddi.v3.client.config.UDDIClientContainer  - Deprecated, please specify a manager name

                        855 [main] DEBUG org.jboss.internal.soa.esb.registry.client.JuddiRMITransport  - Looking up service=/juddiv3/UDDIInquiryService

                        873 [main] DEBUG org.jnp.interfaces.TimedSocketFactory  - createSocket, hostAddr: /172.26.28.195, port: 1099, localAddr: null, localPort: 0, timeout: 0

                        21878 [main] DEBUG org.jnp.interfaces.NamingContext  - Failed to connect to 172.26.28.195:1099

                        javax.naming.CommunicationException: Failed to connect to server /172.26.28.195:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server /172.26.28.195:1099 [Root exception is java.net.ConnectException: Connection timed out: connect]]

                            at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:335)

                            at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1734)

                            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693)

                            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)

                            at javax.naming.InitialContext.lookup(Unknown Source)

                            at org.jboss.internal.soa.esb.registry.client.JuddiRMITransport.lookupService(JuddiRMITransport.java:322)

                            at org.jboss.internal.soa.esb.registry.client.JuddiRMITransport.getUDDIInquiryService(JuddiRMITransport.java:180)

                            at org.apache.juddi.v3.client.transport.Transport.getUDDIInquiryService(Transport.java:40)

                            at org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService.inquire(UDDIInquiryService.java:89)

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

                            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                            at java.lang.reflect.Method.invoke(Unknown Source)

                            at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)

                            at org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:296)

                            at org.apache.ws.scout.registry.RegistryV3Impl.findTModel(RegistryV3Impl.java:828)

                            at org.apache.ws.scout.registry.BusinessQueryManagerV3Impl.findConcepts(BusinessQueryManagerV3Impl.java:521)

                            at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.getJBossESBTModel(JAXRRegistryImpl.java:795)

                            at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:327)

                            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)

                            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.esb.test.RemoteServiceInvoker.main(RemoteServiceInvoker.java:20)

                        Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server /172.26.28.195:1099 [Root exception is java.net.ConnectException: Connection timed out: connect]

                            at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:305)

                            ... 26 more

                        Caused by: java.net.ConnectException: Connection timed out: connect

                            at java.net.PlainSocketImpl.socketConnect(Native Method)

                            at java.net.PlainSocketImpl.doConnect(Unknown Source)

                            at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

                            at java.net.PlainSocketImpl.connect(Unknown Source)

                            at java.net.SocksSocketImpl.connect(Unknown Source)

                            at java.net.Socket.connect(Unknown Source)

                            at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)

                            at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)

                            at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:301)

                            ... 26 more

                        27383 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  -

                        Request message:

                        <?xml version="1.0" encoding="UTF-8"?><find_tModel xmlns="urn:uddi-org:api_v3" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" maxRows="10"><findQualifiers><findQualifier>sortByNameAsc</findQualifier></findQualifiers><name>org.jboss.soa.esb.:category</name></find_tModel>

                        27383 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  - Calling org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire locally

                        27383 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  - Calling class="org".apache.juddi.v3.client.transport.wrapper.UDDIInquiryService

                        27383 [main] DEBUG org.apache.ws.scout.transport.LocalTransport  - Method=inquire

                        27383 [main] DEBUG org.apache.juddi.v3.client.config.UDDIClientContainer  - Deprecated, please specify a manager name

                        27383 [main] DEBUG org.apache.juddi.v3.client.config.UDDIClientContainer  - Deprecated, please specify a manager name

                        27383 [main] DEBUG org.apache.juddi.v3.client.config.UDDIClientContainer  - Deprecated, please specify a manager name

                        27383 [main] DEBUG org.jboss.internal.soa.esb.registry.client.JuddiRMITransport  - Looking up service=/juddiv3/UDDIInquiryService

                        27383 [main] DEBUG org.jnp.interfaces.TimedSocketFactory  - createSocket, hostAddr: /172.26.28.195, port: 1099, localAddr: null, localPort: 0, timeout: 0

                        48386 [main] DEBUG org.jnp.interfaces.NamingContext  - Failed to connect to 172.26.28.195:1099