3 Replies Latest reply on Mar 16, 2004 12:24 AM by starksm64

    Unexpected Shutdown of JBoss

    robby_us

      Hi Folks,
      I have two Jboss (Server1 and Server2) in the same subnet.I exectute shutdown on Server1.After the shutdown occurs,I execute the shutdown on Server1 again.This shuts down the JBoss on Server2.Can anybody tell me why this happens and what is the solution for this unexpected behaviour.
      Regards
      Robby

        • 1. Re: Unexpected Shutdown of JBoss
          starksm64

          Not without a jboss version and how the shutdown is being performed.

          • 2. Re: Unexpected Shutdown of JBoss
            robby_us

            The version being used is jboss 3.2.3 and the shutdown is being performed using shutdown.sh with -s option

            • 3. Re: Unexpected Shutdown of JBoss
              starksm64

              If your running with the HA-JNDI service then the shutdown.sh lookup of the RMIAdaptor will fail to find the localhost JNDI service after the shtudown of the first instance, and will do a discovery broadcast to find an HA-JNDI service and will discover the remote node and issue a shutdown against its RMIAdaptor interface. To disable this, edit the shutdown.jar!jndi.properties file to:

              java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
              java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
              java.naming.provider.url=jnp://localhost:1099
              jnp.disableDiscovery=true