anonymous wrote : So is the capability of remotely starting/stoping a jboss 
instance implemented or investigated? 

I have the code on my box (and internal JBossNetwork CVS) - it is implemented 
on top of JBoss/Remoting.  In prototype stage - obviously not released yet (in 
alpha or otherwise).

Basically, you send the command line to the remote machine and the remote JVM 
executes the process.  Its simple, completely unsecure :-) but flexible.  I'm 
hoping JBoss/Remoting will have security built in (there's already an open 
source project that looks promising - can wrap ssh over our transport protocol).

That's start - as for stopping, you send a remote stop command over the wire 
and on the remote end, it uses the Shutdown class to do the killing.  Basically 
its the same as Shutdown except to get to the remote node from the command line 
client, it doesn't use the JMX adapter - rather it uses the JBoss/Remoting 
infrastructure (which maintains consistency with all of JBoss Network).  Plus, 
if this code is deployed within the same JBoss instance that is to be stopped, 
that instance does not need to have remote JNDI/remote JMX enabled for this to 
work.

I'm picturing some remote command client being able to use the Command 
Framework to ship over a "configuration" and have the server-side command 
invoker call your API to actually deploy/undeploy/reconfigure based on the new 
configuration information.  This is how we can implement a remote Admin Console 
(i.e. what the JBossNEtwork is calling the Domain Admin Console - used for 
cluster management and multi-node configuration).

Email me for details on how to get the code if you wish to look at it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862628#3862628

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862628


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to