geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathy Chan (JIRA)" <>
Subject [jira] Created: (GERONIMODEVTOOLS-64) Tolerate projects or EARs without Geronimo facet.
Date Wed, 08 Feb 2006 19:57:07 GMT
Tolerate projects or EARs without Geronimo facet.

     Project: Geronimo-Devtools
        Type: Bug
 Environment: Windows XP
    Reporter: Kathy Chan

Driver:  WTP M101 0207 and 0206 Geronimo plugins.

If I add more then one EAR targetted to Geronimo runtime but do not add the Geronimo facet,
then I get the error:

!MESSAGE Configuration with id Application_IDalready exists.  Existing configuration will
be overwri
tten with redeploy.
Deployer operation failed: Could not parse application.xml
org.apache.geronimo.common.DeploymentException: Could not parse application.xml
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.j
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<
        at net.sf.cglib.reflect.FastMethod.invoke(
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.
        at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$6abab4ad.getDeploym
        at org.apache.geronimo.deployment.Deployer.deploy(

Doing the same with Web project works beacuse the configID is falling back on the context
root which will be uniquiq for all web projects in the workbench.

I think the same defaulting should happen for EAR and other J2EE projects (other than Web
project) so that adding the Geronimo facet is not "required" but just "nice to have".  This
is especially important for code that programmatically create projects and EARs so that they
are not "required" to add the default facet.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message