geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clayton Hicklin <>
Subject Re: web app and gbean in the same file
Date Sun, 11 Feb 2007 20:01:15 GMT
Okay, thanks, I got that working. However, it appears the gbean and the 
webapp have to be started and stopped in tandem. This makes sense and 
I'm assuming this is because they are technically part of the same 
application. I can't seem to find the gbean in the list of gbeans in the 
JMX viewer to run doStart() and doStop() against it. Is there any way to 
start and stop the gbean separately from the webapp when they're 
packaged this way?


David Jencks wrote:
> On Feb 10, 2007, at 10:13 PM, Clayton Hicklin wrote:
>> Is there any way I can package a webapp ("WAR") and a gbean in the 
>> same jar file and deploy both simultaneously? This would really help 
>> in terms of development as I could just create one Eclipse project 
>> with everything I need in it. Can I just add the appropriate geronimo 
>> deployment descriptors to the jar (geronimo-web.xml, 
>> geronimo-service.xml) and geronimo will "rip it apart" correctly? 
>> Thanks in advance!!
> you need a geronimo-web plan, but you should put the gbean definitions 
> at the end of it rather than in a separate plan.
> thanks
> david jencks
>> Clayton

View raw message