[
https://issues.apache.org/jira/browse/GERONIMO-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541132
]
Jarek Gawor commented on GERONIMO-3502:
---------------------------------------
Thanks David. I looked into the config-substitution idea.
I added JAXWSProvider=axs2 or JAXWSProvider=cxf in
config-substitutions.properties file and changed the axis2/cxf module
conditions to
props.getProperty('org.apache.geronimo.jaxws.provider',
subst.get('JAXWSProvider')) == 'axis2'
and
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: https://issues.apache.org/jira/browse/GERONIMO-3502
> 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.