0 Replies Latest reply on Dec 10, 2009 7:57 AM by Younes Yahyaoui

    Error when executing a jbossesb project

    Younes Yahyaoui Novice

      hi,

      i have implemented a simple ESB project, in which a client sends a message to a chain of services. Each service signs the recieved message and relays it to the next service in the chain.

      At first was the executin problem-free (the client used a loop of 100). But whenn the loop was modified to Integer.MAX_VALUE was the execution first of all good. Then an Error was occured.

      At the client console is displayed:

      
      Exception in thread "main" javax.naming.NameNotFoundException: quickstart_helloworld_Request_gw_DataImporter not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
       at sun.rmi.transport.Transport$1.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Unknown Source)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
       at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
       at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
       at sun.rmi.server.UnicastRef.invoke(Unknown Source)
       at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       at javax.naming.InitialContext.lookup(Unknown Source)
       at de.dlr.ts.tdp.client.SendJMSMessage.setupConnection(SendJMSMessage.java:35)
       at de.dlr.ts.tdp.client.SendJMSMessage.main(SendJMSMessage.java:63)
      
      


      quickstart_helloworld_Request_gw_DataImporter is the queue of the first service related to client

      At the jbossesb server was displayed the following warning:

      13:41:11,798 WARN [SimpleConnectionManager] A problem has been detected with the connection to remote client 5c4o5m1-rs1f5c-g31iou0n-1-g31iouzd-4, jmsClientID=b-5cvoi13g-1-n0uoi13g-c5f1sr-1m5o4c5. It is possible the client has exited without closing its connection(s) or the network has failed. All connection resources corresponding to that client process will now be removed.
      



      i thought that Java Heap Space was the cause of the error and i have increased ist in run.bat under the bin repository of jbossesb server, but the error always exist.

      has anyone an idea?

      thanks in advance

      younes