geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Patel (JIRA)" <>
Subject [jira] Resolved: (GERONIMODEVTOOLS-64) Tolerate projects or EARs without Geronimo facet.
Date Wed, 08 Feb 2006 20:51:00 GMT
     [ ]
Sachin Patel resolved GERONIMODEVTOOLS-64:

    Resolution: Won't Fix

The facet will need to be created programatically.  J2EE tooling is not making the dd's id's
unique between projects.  So if the geronimo facet is not created, then the Geronimo runtime
uses the dd id's as its configID which will cause conflicts when deploying multiple projects
that do not contain a geronimo specific deployment plan.

> Tolerate projects or EARs without Geronimo facet.
> -------------------------------------------------
>          Key: GERONIMODEVTOOLS-64
>          URL:
>      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
> ava:122)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<
> generated>)
>         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.
> java:96)
>         at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$6abab4ad.getDeploym
> entPlan(<generated>)
>         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