0 Replies Latest reply on Oct 23, 2008 9:25 AM by Prabhudatt Rana

    Failed to connect to server 127.0.0.1:1100

    Prabhudatt Rana Newbie

      Hi,
      I am trying to deploy my application in clustered JBoss 4.2.3+JBM 1.3 .
      I followed the User Guide supplied with JBM to configure two nodes nodes0 & nodes1 on my local system ( Both the nodes are on same box).

      When i deploy my application it fails and i get exception
      Failed to connect to server 127.0.0.1:1100 .....
      ........naming.NameNotFoundException: XAConnectionFactory
      These are the attributes in hajndi-jms-ds.xml

      Can anybody help me ?

      Thanks in advance..


      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      java.naming.provider.url=${jboss.bind.address:localhost}:1100
      jnp.disableDiscovery=false
      jnp.partitionName=${jboss.partition.name:DefaultPartition}
      jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
      jnp.discoveryPort=1102
      jnp.discoveryTTL=16
      jnp.discoveryTimeout=5000
      jnp.maxRetries=1




      STACK TRACE

      org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
      2008-10-23 18:43:03,993 DEBUG [org.jnp.interfaces.NamingContext] Failed to connect to 127.0.0.1:1100
      javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1100 [Root exception is java.net.ConnectException: Connection refused: connect]]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)......
      ...............javax.naming.NameNotFoundException: XAConnectionFactory