This content has been marked as final.
Show 1 reply
-
1. Re: jboss 5.1 using 'web' configuration, remote shutdown doesn't work
harabai Sep 2, 2010 3:07 PM (in response to 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