[jboss-jira] [JBoss JIRA] (AS7-5575) Cannot bind under java:jboss/exported via new IntitialContext()
James Livingston (JIRA)
jira-events at lists.jboss.org
Wed Sep 19 02:41:35 EDT 2012
[ https://issues.jboss.org/browse/AS7-5575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719692#comment-12719692 ]
James Livingston commented on AS7-5575:
---------------------------------------
https://github.com/doctau/jboss-as/tree/AS7-5575 contains an in-progress fix and test-case for this. The fix works with the full standalone WAR that led to the report, however the test case doesn't fail without the patch like it should (I'm working on that).
> Cannot bind under java:jboss/exported via new IntitialContext()
> ---------------------------------------------------------------
>
> Key: AS7-5575
> URL: https://issues.jboss.org/browse/AS7-5575
> Project: Application Server 7
> Issue Type: Bug
> Components: Naming
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: James Livingston
> Assignee: Eduardo Martins
>
> Somewhat related to AS7-5492, org.jboss.as.naming.InitialContext does not deal with java:jboss/exported correctly.
> For java:/jboss/exported/abc/def parse() will return namespace=jboss,remaining=exported/abc/def which causes all the calling methods to use the wrong (java:jboss) naming store.
> (That code could probably be re-factored out of all the individual methods into a helper method too)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list