[
http://jira.jboss.com/jira/browse/JBAS-1979?page=all ]
Dimitris Andreadis updated JBAS-1979:
-------------------------------------
Fix Version/s: (was: JBossAS-4.0.5.GA)
Wrong resolve LinkRef when dereference partial result
------------------------------------------------------
Key: JBAS-1979
URL:
http://jira.jboss.com/jira/browse/JBAS-1979
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Naming
Affects Versions: JBossAS-3.2.6 Final
Environment: Windows 2000
Reporter: Boris Stepchenko
Priority: Minor
When dereference LinkRef in partial result used "new InitialContex()", but not
"new InitialContex(refEnv)"
So if I bind LinkRef to url "dir1/dir2/link"
I have different result in 2 next code
1.
Contexct ctx=new InitialContext(refEnv);
Object obj=((Context)ctx.lookup("dir1/dir2/link")).lookup("value");
and 2.
Contexct ctx=new InitialContext(refEnv);
Object obj=ctx.lookup("dir1/dir2/link/value");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira