1 Reply Latest reply on Sep 2, 2010 3:07 PM by harabai

    jboss 5.1 using 'web' configuration, remote shutdown doesn't work

    harabai

      Hi,

      I am running jboss-5.1, and when i use default configuration, i see that jboss is listening on 1099, and i am able to run a remote shutdown, using shutdown.sh

       

      when i run the 'web' configuration, i do a netstat -an, and do not see anything listening on port 1099.  i looked at the jboss-service.xml file in

      web/conf/jboss-service.xml and diff'd it with default/conf/jboss-service-xml and there is no delta.  is there a sar or something else i need to add to deploy or deployers folder to enable the naming service so that the 'web' can listen on 1099 for remote shutdown?

       

      thanks in advance,

       

      eugene

        • 1. Re: jboss 5.1 using 'web' configuration, remote shutdown doesn't work
          harabai

          I was smoking crack on the diff of jboss-service.xml

          web had for the port for NamingService:

           

          <attribute name="Port">-1</attribute>

           

          default had:

           

               <attribute name="Port">
                      <value-factory bean="ServiceBindingManager" method="getIntBinding">
                          <parameter>jboss:service=Naming</parameter>
                          <parameter>Port</parameter>
                  </value-factory>
              </attribute>

           

          so what i did was take the body of the attribute tag from default and used that for attribute=Port in web's jboss-service.xml

          to enable listening on 1099 for remote calls. now i am able to shutdown remotely (using jboss's redhat init script in /etc/init.d)

           

          thx

           

          ec