You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chamil Thanthrimudalige (JIRA)" <ji...@apache.org> on 2005/09/02 07:55:12 UTC

[jira] Commented: (AXIS2-157) Axis2 deployer for Geronimo

    [ http://issues.apache.org/jira/browse/AXIS2-157?page=comments#action_12320851 ] 

Chamil Thanthrimudalige commented on AXIS2-157:
-----------------------------------------------

Just doing some clarifying on the requirements after the IRC chat on the 31st-Aug-2005.

What is needed is basically when some one issues the command like
java -jar bin\deployer.jar deploy something.aar
the geronimo deployment should use axis2 aware code to do the deployment.

So when you try to deploy an axis2 service or module it should be deployed smoothly.

>From axis2 side the module or service should need to have the correct value in the "J2EE-DeploymentFactory-Implementation-Class" attribute set.

Should the module/service be deployed as a GBean or some thing that is internal to Axis2 only?

> Axis2 deployer for Geronimo
> ---------------------------
>
>          Key: AXIS2-157
>          URL: http://issues.apache.org/jira/browse/AXIS2-157
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>     Reporter: Davanum Srinivas
>     Assignee: Chamil Thanthrimudalige

>
> We need an Axis2 deployer for Geronimo. This will enable the standard Geronimo deployer can to automatically detect a Axis2 deployment unit (any jar which includes META-INF/service.xml inside it) and then auto-deploy a the web service.
> -- dims

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (AXIS2-157) Axis2 deployer for Geronimo

Posted by David Jencks <dj...@apache.org>.
You should write a ConfigBuilder gbean that plugs into the geronimo  
deployment framework.

The way deployers are supposed to work in geronimo is that  they  
generate configuration info for runtime gbeans, and save this info in a  
DeploymentContext and thence a serialized configuration.  There are  
several levels of integration you can implement.  The simplest may be  
to write a runtime axis2 gbean that has as data the configuration info  
to deploy and start the axis2 service.  The Tomcat deployer takes  
nearly this approach, leaving the interpretation of web.xml to Tomcat  
at runtime.  Another approach is to process whatever deployment info is  
provided into object definitions that will actually run the service,  
and save these objects.  The Jetty deployer takes this approach.

Probably the simplest example of a working geronimo deployer is the  
ServiceMixConfigBuilder.

Feel free to ask more questions, here, on the geronimo dev list, or on  
geronimo IRC channel.

thanks
david jencks


On Sep 1, 2005, at 10:55 PM, Chamil Thanthrimudalige (JIRA) wrote:

>     [  
> http://issues.apache.org/jira/browse/AXIS2-157? 
> page=comments#action_12320851 ]
>
> Chamil Thanthrimudalige commented on AXIS2-157:
> -----------------------------------------------
>
> Just doing some clarifying on the requirements after the IRC chat on  
> the 31st-Aug-2005.
>
> What is needed is basically when some one issues the command like
> java -jar bin\deployer.jar deploy something.aar
> the geronimo deployment should use axis2 aware code to do the  
> deployment.
>
> So when you try to deploy an axis2 service or module it should be  
> deployed smoothly.
>
> From axis2 side the module or service should need to have the correct  
> value in the "J2EE-DeploymentFactory-Implementation-Class" attribute  
> set.
>
> Should the module/service be deployed as a GBean or some thing that is  
> internal to Axis2 only?
>
>> Axis2 deployer for Geronimo
>> ---------------------------
>>
>>          Key: AXIS2-157
>>          URL: http://issues.apache.org/jira/browse/AXIS2-157
>>      Project: Apache Axis 2.0 (Axis2)
>>         Type: New Feature
>>     Reporter: Davanum Srinivas
>>     Assignee: Chamil Thanthrimudalige
>
>>
>> We need an Axis2 deployer for Geronimo. This will enable the standard  
>> Geronimo deployer can to automatically detect a Axis2 deployment unit  
>> (any jar which includes META-INF/service.xml inside it) and then  
>> auto-deploy a the web service.
>> -- dims
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>