Hi dr-dive,
I've tried it out and ran into the same problem. The reason for the problem might be,
that I have a jndi.properties in my classpath, with the line
java.naming.provider.url=localhost
|
in it. The API doc for javax.naming.InitialContext
http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/InitialContext.html says that the
contents of a jndi.properties are somehow merged together with the properties explicitly
provided to the constructor.
I solved the problem by removing the home- and remote-interfaces declaration from the
ejb-jar.xml on the server that is supposed to perform the remote call. Perhaps there's
a better solution but at least that worked for me.
Best regards,
Stefan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040933#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...