Bugs item #701880, was opened at 2003-03-11 16:22
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=701880&group_id=22866
Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: marco dubbeld (dubbeld)
>Assigned to: Scott M Stark (starksm)
Summary: ejb-external-ref bug in 3.2RC3
Initial Comment:
External refs to ejb's in other deployment packages
cause class cast exceptions within JBoss 3.2 RC3.
See attached complete example. When the three jars
under build.deploy are deployed, the JNDI view will
show valid links for jboss 3.0.4 but Invalid links
within 3.2.
Both setups within 3.2 and 3.0.4) were tested with
jdk1.4 on linux 2.4.19-16mdk
Marco
00:10:54,800 ERROR [JNDIView] Invalid LinkRef for:
ServiceFacadeForPluginServer
java.lang.ClassCastException
at
org.jboss.naming.JNDIView.list(JNDIView.java:399)
at
org.jboss.naming.JNDIView.list(JNDIView.java:445)
at
org.jboss.naming.JNDIView.list(JNDIView.java:445)
at
org.jboss.naming.JNDIView.list(JNDIView.java:124)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
.....
----------------------------------------------------------------------
>Comment By: Scott M Stark (starksm)
Date: 2003-04-02 19:39
Message:
Logged In: YES
user_id=175228
The ENCThreadLocalKey ObjectFactory implementation was not
returning LinkRefs as advertised. This has been fixed.
----------------------------------------------------------------------
Comment By: marco dubbeld (dubbeld)
Date: 2003-03-12 03:31
Message:
Logged In: YES
user_id=73399
Just checked the sources, and found in Container.java in
setupEnvironment that the link only in case of external is stored as
Reference, however should this not only be LinkRef ?
JNDIView only expects LinkRef 's.
>>
if (ref.getJndiName() != null)
{
// Add default
StringRefAddr addr =
new StringRefAddr("default", ref.getJndiName());
reference.add(addr);
}
Util.bind(envCtx, ref.getName(), reference);
>>
----------------------------------------------------------------------
Comment By: marco dubbeld (dubbeld)
Date: 2003-03-11 16:26
Message:
Logged In: YES
user_id=73399
Submit the simplest testcase possible that demonstrates the
problem
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=701880&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development