geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricky Ignatius <...@worker.com>
Subject Re: deploy and undeploy a gbean
Date Wed, 14 Jan 2009 23:29:34 GMT

Hi,
I try to do same thing.
Currently I use ant to run command line, and call those ant task from java.
For install-plugin, I unable to do that using ant so I use JMX to call
plugin gbean directly.

It's work so far, is there any bteer way to do that?

Thanks,

Ricky


djencks wrote:
> 
> 
> On Aug 27, 2007, at 12:56 AM, Stefan Schulze Frielinghaus wrote:
> 
>> I would like to have the functionality of the command line tool  
>> "java -jar deployer.jar --user system --password manager  
>> {deploy,undeploy} <tool>.jar" in a GBean. So I could programmatic  
>> load and unload other GBeans via a GBean.
>>
>> Is something like that possible?
> 
> Definitely.  There's a portlet in the admin console that does that.   
> There's also a portlet that lists all the "gbean" (non-javaee)  
> modules that are running.
> 
> I assume you are aware that the command you mention deploys a module  
> or configuration that contains a plan describing any number of gbeans  
> and creates a classloader also described by the plan.  Your  
> description of what you want sounds a little like you want to deploy  
> single gbeans which is not exactly how I would describe a module.
> 
> thanks
> david jencks
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/deploy-and-undeploy-a-gbean-tp12317449s134p21467768.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message