Thanks Jason! I will see what I can do.
--Marcus

-----Ursprungliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von
Jason Dillon
Gesendet: Montag, 10. Juni 2002 23:36
An: [EMAIL PROTECTED]
Betreff: RE: [JBoss-dev] Stop JBoss from an outside java process


The best way to remotely shutdown a JBoss 3.x server is to use the JMX
RMI Connector and invoke the 'shutdown' operation on
'jboss.system:type=Server'.  Have a look at
jboss-all/server/src/main/org/jboss/Shutdown.java for more details.

As for 2.4 I can't really say what the best option is.  The same
approach might work, but I don't know what the state of the RMI
Connector is for that branch.

--jason


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:jboss-
> [EMAIL PROTECTED]] On Behalf Of Marcus Redeker
> Sent: Monday, June 10, 2002 1:54 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-dev] Stop JBoss from an outside java process
>
> All,
>
> I am developing the JBuilder OpenTool for JBoss and would like
> to know what is the best way to shutdown JBoss when it was started
> from JBuilder.
>
> I tried to way to call the JMX-HTML Adapter URL for shutdown but
> that seems not to work to well from within JBuilder with URL
connection
> and stuff.
>
> Is there any other way to shutdown JBoss (2.4.x / 3.x) maybe a RMI
call?
>
> Thanks,
>
> Marcus
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to