[jboss-jira] [JBoss JIRA] (AS7-2667) Applications cannot bind objects to JNDI
Scott Marlow (Commented) (JIRA)
jira-events at lists.jboss.org
Fri Jan 6 11:21:11 EST 2012
[ https://issues.jboss.org/browse/AS7-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654355#comment-12654355 ]
Scott Marlow commented on AS7-2667:
-----------------------------------
John suggested that I try wrapping the code that binds, with something like:
{code}
WritableServiceBasedNamingStore.pushOwner(context.getChildTarget());
try {
jmsManager.createConnectionFactory(false, configuration, configuration.getBindings());
} finally {
WritableServiceBasedNamingStore.popOwner();
}
{code}
John also mentioned that if it is in a valid component (ejb, war, etc.) it should already be fine.
I'll take this jira back and try this.
> Applications cannot bind objects to JNDI
> ----------------------------------------
>
> Key: AS7-2667
> URL: https://issues.jboss.org/browse/AS7-2667
> Project: Application Server 7
> Issue Type: Sub-task
> Components: Naming
> Affects Versions: 7.0.0.Beta2, 7.0.1.Final, 7.1.0.Alpha1
> Reporter: Scott Marlow
> Assignee: John Bailey
> Fix For: 7.1.0.Final
>
>
> Applications that expect to bind objects to JNDI, are currently broken. Related jira AS7-421 was marked as fixed, but its not clear what that means (with regard to applications being able to bind to jndi).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list