geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Commented: (GERONIMO-3502) Module conditions when installed as a plugin
Date Thu, 08 Nov 2007 20:47:51 GMT


Jarek Gawor commented on GERONIMO-3502:

Thanks David. I looked into the config-substitution idea. 

I added JAXWSProvider=axs2 or JAXWSProvider=cxf in file and
changed the axis2/cxf module conditions to

props.getProperty('org.apache.geronimo.jaxws.provider', subst.get('JAXWSProvider')) == 'axis2'

props.getProperty('org.apache.geronimo.jaxws.provider', subst.get('JAXWSProvider')) == 'cxf'

I also had to modify the code slightly to expose the config substitution properties to the
condition evaluator to make this work. And also, the jetty6/tomcat6 plans need to change to
add in the appropriate JAXWSProvider property. 

Does this looks/sounds ok to you?

> Module conditions when installed as a plugin
> --------------------------------------------
>                 Key: GERONIMO-3502
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
> Currently, I don't think there is a way to specify module conditions in the geronimo-plugin.xml.
That creates problem in certain situations where two modules can be installed at the same
time but only one can be running at a time. For example, as in case of Axis2 and CXF. Before,
the assembly's config.xml file specified the appropriate module conditions which prevented
the two modules from running at the same time. Right now, the deployment of applications will
fail if both both Axis2 and CXF modules are running at the same time.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message