1 Reply Latest reply on Aug 31, 2005 9:03 AM by Benoit Xhenseval

    JBoss4.0.3RC2 fails to start

    Bernhard Hurzeler Novice

      Hello there,

      I just installed Jboss4.0.3RC2 on WinXP SP2 Java 1.5.0_04-b05 using the nifty new installer. I installed JBoss on c:\Jboss4.0.3RC2.

      However runing it I get the exception below. Can anyone suggest how I troubleshoot this.

      I have turned off firewalls and switched off processes. I used netstat to figure out if something else is using the port 1100.

      I don't know where to look anymore. Please help!

      18:37:06,156 WARN [ServiceController] Problem starting service jboss.jms:alias=QueueConnectionFactory javax.naming.CommunicationException: Failed to connect to server [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server [Root exception is java.net.ConnectException: Connection refused: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1294)

        • 1. Re: JBoss4.0.3RC2 fails to start
          Benoit Xhenseval Newbie

          I think it is the same problem that I faced today...

          I am not sure what it is... but if you compare the server/default/uil2-service.xml

          between RC1 and RC2 a few lines have been ADDED to that file:

           Two JNDI bindings that act like jms client connections remotely
           but have j2ee defined semantics inside JBoss -->
           <mbean code="org.jboss.naming.LinkRefPairService"
           <attribute name="JndiName">QueueConnectionFactory</attribute>
           <attribute name="RemoteJndiName">ConnectionFactory</attribute>
           <attribute name="LocalJndiName">java:/JmsXA</attribute>
           <mbean code="org.jboss.naming.LinkRefPairService"
           <attribute name="JndiName">TopicConnectionFactory</attribute>
           <attribute name="RemoteJndiName">ConnectionFactory</attribute>
           <attribute name="LocalJndiName">java:/JmsXA</attribute>

          If you comment them out, it should start without complaining.

          Hope this helps