2 Replies Latest reply on Jun 29, 2005 7:55 PM by Sidney Zurch

    EJB Call to remote server calls EJB on local server

    Sidney Zurch Novice

      I originally posted this as a JNDI problem, but it appears that JNDI is working correctly and that the problem involves remote EJB invocation across different versions of JBoss.

      If you have had some experience sorting out problems with distributed EJBs, would you please take a look at this?

      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=65378

      Thanks.

        • 1. Re: EJB Call to remote server calls EJB on local server
          Sidney Zurch Novice

          I think I'm down to CMP.

          Our application is deployed across several servers. The ear includes a web client that reads entity EJB data from each server.

          Whether the server is local or remote, the JNDI Object returned to the client by the JNDI lookup is MyClassEJBHome and the classname is $ProxyNN. (objref.getClass().getName())

          Deployed on 3.2.7, the web client can be observed going to the local database (org.jboss.ejb.plugins.cmp.jdbc...) to access the EJB data for each server. In this case the client returns identical data sets for each server, which is incorrect.

          Deployed on hosts running JBoss 3.2.2/3, the client goes to the database only for the local host, returning the correct data.

          Any help with this would be greatly appreciated.

          • 2. Re: EJB Call to remote server calls EJB on local server
            Sidney Zurch Novice

            It's a bug in 3.2.7.

            There are workarounds are available.

            Check the link in the initial post for more details.