2 Replies Latest reply on Oct 6, 2006 4:57 PM by Andrew Redhead

    servlet:// InvokerLocator with @RemoteBinding(jndiBinding="x

    Andrew Redhead Newbie

      I've been having a play with changing the transport layer used by remote clients to access an EJB3 session bean (using the versions supplied with JBoss 4.0.4.GA).

      I deployed servlet-invoker.war, modified the Connector mbean inside the ejb3.deployer to use a servlet://... Invoker locator and everything worked fine (I enabled an access log valve in tomcat just to convince myself that the requests were being handled over http).

      However, if I apply an @RemoteBinding(jndi="...") to the bean implementation then the remote connectivity fails with:

      java.net.ConnectException: Connection timed out: connect

      I'm suprised that changing the naming lookup breaks the invocation transport - is this the intended behaviour or some kind of bug?

      Cheers,

      Andy