4 Replies Latest reply on Sep 7, 2012 12:10 AM by jboss_99

    JBoss ESB Quickstarts

      I'm working on an inherited believed to be properly configured JBoss ESB 4.4 installation.  When I attempt to run the Hello World quickstart I run into problems.  The deployment appears successful but when I runtest it fails.  I've copied the error below, any help / advice is appreciated.

       

      runtest:
           [echo] Runs Test JMS Sender
           [java] Exception in thread "main"
      javax.naming.NameNotFoundException: quickstart_helloworld_Request_gw
      not bound
           [java]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:581)
           [java]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:589)
           [java]     at org.jnp.server.NamingServer.getObject(NamingServer.java:595)
           [java]     at org.jnp.server.NamingServer.lookup(NamingServer.java:342)
           [java]     at org.jnp.server.NamingServer.lookup(NamingServer.java:316)
           [java]     at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
           [java]     at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [java]     at java.lang.reflect.Method.invoke(Method.java:616)
           [java]     at
      sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
           [java]     at sun.rmi.transport.Transport$1.run(Transport.java:177)
           [java]     at java.security.AccessController.doPrivileged(Native Method)
           [java]     at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
           [java]     at
      sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
           [java]     at
      sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
           [java]     at
      sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
           [java]     at
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
           [java]     at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
           [java]     at java.lang.Thread.run(Thread.java:636)
           [java]     at
      sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
           [java]     at
      sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
           [java]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
           [java]     at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
           [java]     at
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
           [java]     at
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
           [java]     at javax.naming.InitialContext.lookup(InitialContext.java:409)
           [java]     at
      org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage.setupConnection(SendJMSMessage.java:55)
           [java]     at
      org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage.main(SendJMSMessage.java:81)

      BUILD FAILED
      /h/COTS/jboss-soa-p.4.3.0/jboss-as/samples/quickstarts/helloworld/build.xml:14:
      Java returned: 1

      Total time: 3 seconds

       

       

      Thank you,

      jhenry

        • 1. Re: JBoss ESB Quickstarts
          beve

          Hi,

           

          When you deployed the quickstart did you see messages in the servers console? There would normally be a message about the JMS message queues being deployed.

           

          Regards,

           

          /Daniel

          • 2. Re: JBoss ESB Quickstarts
            The .esb wasn't getting deployed when it was an archive.  Making a folder named xxx.esb with the contents of the archive made it get deployed.
            • 3. Re: JBoss ESB Quickstarts
              izgur

              How exactly did you solve that ?

               

              Made a helloworld.esb folder with ??

              • 4. Re: JBoss ESB Quickstarts
                jboss_99

                You must start  your jboss server on window machine using "run.bat -c all", make sure that "all" is the server profile where esb deployemnt will take place.

                 

                You must check the server.log whether your esb and queues are deployed or not.

                 

                verify below log

                ---------------------------

                 

                 

                [EsbDeployment] Starting ESB Deployment 'Quickstart_helloworld.esb'

                --

                --

                09:32:51,999 INFO  [EsbDeployment] Starting ESB Deployment 'jbrules.esb'

                09:32:52,077 INFO  [EsbDeployment] Starting ESB Deployment 'slsb.esb'

                09:32:52,171 INFO  [EsbDeployment] Starting ESB Deployment 'smooks.esb'

                09:32:53,843 INFO  [EsbDeployment] Starting ESB Deployment 'soap.esb'

                09:32:58,186 INFO  [EsbDeployment] Starting ESB Deployment 'spring.esb'