[ 
https://issues.apache.org/jira/browse/GERONIMO-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gianny Damour closed GERONIMO-4556.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4

Farmed modules are no more renamed to prevent issues with JNDI resource 
reference resolutions. The master module is name named X_G_MASTER where X is 
the artifact id of the farmed module.

> Farm deployment of configurations using JNDI resource references does not work
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4556
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4556
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.1.3
>            Reporter: Gianny Damour
>            Assignee: Gianny Damour
>             Fix For: 2.1.4
>
>
> Due to the transformation of the name of a configuration when it is 
> distributed to a server farm (i.e. the _G_SLAVE suffix is appended) JNDI 
> resource references can not be resolved.
> Here is an user provided stack trace which illustrates this problem:
> {code}
> java.lang.IllegalStateException: No configuration found for id: 
> clustering/clustering/2.1/war
>  at 
> org.apache.geronimo.naming.reference.AbstractEntryFactory.getConfiguration(AbstractEntryFactory.java:110)
>  at 
> org.apache.geronimo.naming.reference.AbstractEntryFactory.resolveTargetName(AbstractEntryFactory.java:126)
>  at 
> org.apache.geronimo.naming.reference.AbstractEntryFactory.getGBean(AbstractEntryFactory.java:64)
>  at 
> org.apache.geronimo.naming.reference.ResourceReferenceFactory.buildEntry(ResourceReferenceFactory.java:44)
>  at 
> org.apache.geronimo.naming.reference.ResourceReferenceFactory.buildEntry(ResourceReferenceFactory.java:33)
>  at 
> org.apache.geronimo.naming.enc.EnterpriseNamingContext.createEnterpriseNamingContext(EnterpriseNamingContext.java:55)
>  at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.<init>(TomcatWebAppContext.java:181)
> {code}

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

Reply via email to