[jboss-user] [Installation, Configuration & Deployment] - How to shutdown one ofmultiple jboss instances that are run

Jorge Cabrera jorge.cabrera at map.es
Thu Jan 11 07:42:32 EST 2007


Hi j.sark,

You can shutdown the server using it's JNP port, this is indicated in 
your <default-or-test>/conf/ directory in the file jboss-service.xml 
where NamingService is defined, you'll find a line that goes like this:

<attribute name="Port">11101</attribute>

The number of the port here is just an example, your sysadmin setup a 
different one for sure, once you know the port number, check if it's up 
and listening and if it is try executing:

./shutdown.sh -s <name_or_ip_of_your_host>:11101

or the port number that your sysadmin defined.

Hope this helps,

j.sark wrote:
> Hi @ all,
>
> I'm new to this forum and also kinda new to jboss and java developement and all this stuff. So please be patient with me. ;-)
>
> I'm using jboss-4.0.1sp1 under linux (ubuntu dapper).
>
> Here's my problem:
> I wanna run two instances of jboss on the same machine. So I first made a copy of the "default" folder under "jboss/server". and called it let's say "test"
>
> So that it doesn't interfere with the "default" server, I now configured the "test" server to use a different set of ports by uncommenting the so called "binding manager" in the "jboss-service.xml" (found in "conf").
>
> I can now run both, "default" and "test" simultaneously by entering:
>
> ./run.sh -c default
> and
> ./run.sh -c test
>
> But since the shutdown.sh doesn't support the -c parameter, I can only shutdown the default server. Can anybody tell me how to shutdown the test server? (while leaving default running) Maybe by copying the shutdown.sh and slightly changing its content?
>
> And by the way: killing it is not an option, because the jboss isn't running my machine but on our companies server which I don't have root rights on. (If you now wonder how I have even set up jboss on this machine: Somebody did it for me.)
>
> So thanx 4 ur help & have a nice day!
> Julian
>
> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000316#4000316
>
> Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000316
> _______________________________________________
> jboss-user mailing list
> jboss-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user
>   

-- 
Jorge Cabrera
Consultor técnico
Servidores Web - SGTIC - Subsecretaría

Teléfono: +34 912 732 228
Móvil: +34 637 741 034
e-mail: jorge.cabrera at map.es




More information about the jboss-user mailing list