geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianny Damour (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4556) Farm deployment of configurations using JNDI resource references does not work
Date Fri, 27 Feb 2009 05:46:01 GMT

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

Gianny Damour updated GERONIMO-4556:
------------------------------------

    Description: 
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}

  was:
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]


> 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
>
> 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.


Mime
View raw message