-
1. Re: Remote JNDI lookup Confusion
zurchman Jun 21, 2005 4:42 PM (in response to zurchman)The problem is that the application running on JBoss 3.2.7 can not access Remote EJB's deployed on JBoss 3.2.2/3 servers.
Could this problem be due to a configuration conflict?
Running a JNDI browser on each server turned up some discrepancies.
These entries appear in the 3.2.2/3 server, and are missing from 3.2.7:+- invokers +- hostB +- iiop (org.jboss.invocation.iiop.IIOPInvoker) +- jrmp (org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy) +- pooled (org.jboss.invocation.pooled.interfaces.PooledInvokerProxy) +- jmx:hostB:rmi (org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl)
These are the jmx entries from 3.2.2/3:+- jmx +- invoker +- RMIAdaptor ($Proxy19) +- rmi +- RMIAdaptor (org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl)
And these are from 3.2.7:+- jmx +- invoker +- RMIAdaptor ($Proxy137,$Proxy137) +- rmi +- RMIAdaptor => {jmx/invoker/RMIAdaptor}
-
2. Re: Remote JNDI lookup Confusion
zurchman Jun 29, 2005 7:51 PM (in response to zurchman)It's a bug in 3.2.7
I managed to work around it by implementing a custom InvokerInterceptor as suggested in the Jira bug report:
http://jira.jboss.com/jira/browse/JBAS-1442
Thanks to darrani for identifying this as a bug.
His post is at the end of this thread, which describes a similar issue:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=65260 -
3. Re: Remote JNDI lookup Confusion
biswojit Jul 19, 2005 1:12 AM (in response to zurchman)Hi All
I am trying to update from jboss3.2.2 to jboss4.0.2
but the Swing client can't get access to jboss AS-4.0.2 but it works fine with 3.2.2. It seems a JNDI problem...
If anybody has got any idea please let me know
Thanks -
4. Re: Remote JNDI lookup Confusion
darranl Jul 19, 2005 7:23 AM (in response to zurchman)Biswojit, Please start a new topic to ask your question.
-
5. Re: Remote JNDI lookup Confusion
biswojit Jul 19, 2005 6:56 PM (in response to zurchman)Thanks darranl for your quick reply.
It has been posted with a new topic
"Problem in porting of Swing/ jboss app from Jboss-3.2.2 to JBoss-4.0.2". -
6. Re: Remote JNDI lookup Confusion
baptiste Nov 16, 2005 12:51 PM (in response to zurchman)Hi, I just ran into this very problem with jboss 4.0.1.
I downloaded the fixed version from CVS (tagged 1.5.6.2) and managed to compile it into a new package. I tried to use this version by changing all references to org.jboss.invocation.InvokerInterceptor with <my package>.InvokerInterceptor in files jboss-service.xml and the likes.
Problem: the nice little testcase (avalaible at http://jira.jboss.com/jira/browse/JBAS-1548) stills fails! I ran it under jboss 4.0.2 and it passed, but I can't afford to switch to it now.
If anybody could help me in the process of changing the InvokerInterceptor for session beans, I'd be very grateful.
Thanks in advance!