13 Replies Latest reply on Sep 6, 2006 1:43 PM by kconner

    Notification not working in TestJBossESB

    krmc

      I'm sure this is just a matter of inexperience with the JBoss A/S, but I can't get the notification files populated when using the TestJBossESB example. The file copy itslf works just fine, but I get no appends to the notify files. I also get an exception from the ESB (below).

      This appears to be associated with naming. could you please pass on whatever hints might help?

      Thanks, Keith

      16:36:53,668 ERROR GpListener:634 - Notification FAILED
      javax.naming.CommunicationException: Could not obtain connection to any of these
      urls: localhost and discovery failed with error: javax.naming.CommunicationExce
      ption: Receive timed out [Root exception is java.net.SocketTimeoutException: Rec
      eive timed out] [Root exception is javax.naming.CommunicationException: Failed t
      o connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavai
      lableException: Failed to connect to server localhost:1099 [Root exception is ja
      va.net.ConnectException: Connection refused: connect]]]
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at org.jboss.soa.esb.services.NotifHandlerBsDelegateRemote.(NotifH
      andlerBsDelegateRemote.java:38)
      at org.jboss.soa.esb.services.NotificationHandlerFactory.getNotifHandler
      (NotificationHandlerFactory.java:57)
      at org.jboss.soa.esb.services.NotificationHandlerFactory.getNotifHandler
      (NotificationHandlerFactory.java:48)
      at org.jboss.soa.esb.listeners.GpListener.getNotifHandler(GpListener.jav
      a:627)
      at org.jboss.soa.esb.listeners.GpListener.notifyOK(GpListener.java:580)
      at org.jboss.soa.esb.actions.AbstractFileAction.run(AbstractFileAction.j
      ava:84)
      at java.lang.Thread.run(Unknown Source)
      Caused by: javax.naming.CommunicationException: Failed to connect to server loca
      lhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed t
      o connect to server localhost:1099 [Root exception is java.net.ConnectException:
      Connection refused: connect]]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
      ... 10 more
      Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server
      localhost:1099 [Root exception is java.net.ConnectException: Connection refused
      : connect]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
      ... 11 more
      Caused by: java.net.ConnectException: Connection refused: 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 java.net.Socket.connect(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory
      .java:84)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory
      .java:77)
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
      ... 11 more