1 Reply Latest reply on Mar 3, 2005 12:33 PM by Lothar Egger

    Error in jboss_init_redhat.sh

    Angel Romero Newbie

      I have install jboss 3.2.6. When I try stop jboss with scripts ./jboss_init_redhat.sh stop, I get the next error:

      Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]]
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1202)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)

      This is because I changed in jboss-service.xml the configuration for start JNDI in 2013 instead 1099 (default). For default jboss_init_redhat.sh try stop in 1099 port. How can I change this in scripts jboss_init_redhat.sh?

      Thank for advanced.