Asankha, Geronimo Bean are quite similar to MBeans which can be managed with JMX. Specific methods of a GBean can be launched from the Geronimo web interface. I created a GBean out of SynapseServer class by implementing GBeanLifecycle and the adding the required methods (doStart(), doStop(), doFail()). I was able to deploy the synapse-core.jar in Geronimo, but I believe that's quite useless without any of the jars from synapse.war, isn't it? I won't be able to launch Synapse with only having the Synapse Core?
While I deployed the synapse.war (which includes my SynapseServer-GBean), I received Exceptions when accessing any of my created methods of SynapseServer (e.g. doStart()). The web.xml says "currently only supports the extracted WAR deployment model". As far as I know, I can't deploy an extracted WAR within Geronimo. Any ideas? Matthias -------- Original-Nachricht -------- > Datum: Fri, 11 Jul 2008 12:40:17 +0530 > Von: "sumedha rubasinghe" <[EMAIL PROTECTED]> > An: [email protected] > Betreff: Re: creating a Synapse GBean > Asankha, > GBeans is a concept to write services on top of Geronimo App Server. The > difference here is GBeans get to access Geronimo system(kernel) level > information/functionalities. > > More on GBeans can be found here[1]. > /sumedha > > [1] http://cwiki.apache.org/GMOxDEV/2-gbeans-architecture.html > > > On Fri, Jul 11, 2008 at 12:08 AM, Asankha C. Perera <[EMAIL PROTECTED]> > wrote: > > > Hi Matthias > > > > First of all, you need to subscribe to the list before you can post your > > replies, as else they go into moderation, and our replies does not reach > you > > :-) .. for now I have copied this reply directly to you as well.. > > > > I'm working on a project to evaluate if it is possible to integrate > Synapse into Apache Geronimo as a GBean. But I'm running into a couple of > problems, and I wanted to know if anybody could help me out?! > > > > > > Sure.. I do not know much about GBeans.. but let me try to share what I > > know.. > > > > Here is what I did so far: > > I created a Gbean of the synapse-core.jar and I was able to deploy it in > Geronimo. > > In order to execute it's main, I would need to know which args are > passed to the main() of synapse-core... How can I find out which arguments are > passed to main() when executing the synapse.bat/.sh? > > > > > > See > > > https://svn.apache.org/repos/asf/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseServer.java > > That should be helpful > > > > Furthermore, I believe I will need to create Gbeans from > synapse-extensions, synapse-samples and synapse-transport. > > Or: perhaps, I'll have to add my Synapse-Core Gbean to the synapse.war > and deploy the war in Geronimo... > > > > > > I am not sure what this means.. are GBeans like OSGi bundles or > > something?.. or simple JARs?.. If you can deploy the synapse.war, I do > not > > think you need to write any new code, but simply drop the WAR to the > correct > > location on disk > > > > asankha > > > > -- > > Asankha C. Perera > > > > WSO2 - http://wso2.org > > http://esbmagic.blogspot.com > > > > -- Psssst! Schon das coole Video vom GMX MultiMessenger gesehen? Der Eine für Alle: http://www.gmx.net/de/go/messenger03 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
