I have an EJB application working on my machine in Eclipse. Both the .ear file and my client side work with a jndi.properties like this:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=jnp://localhost:1099 but I want to get it working with HTTP protocol. So I changed my jndi.properties to be this in both .ear and my client app, and re-installed: java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=http://127.0.0.1:8080/invoker/JNDIFactory But now I get an exception in the client: javax.naming.NameNotFoundException: SpFinOtherSession not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:514) at org.jnp.server.NamingServer.getBinding(NamingServer.java:522) at org.jnp.server.NamingServer.getObject(NamingServer.java:528) at org.jnp.server.NamingServer.lookup(NamingServer.java:281) .... where SpFinOtherSession is one of my ejbs. But jboss started up correctly, with all the EJBS installed, and I can see this EJB in the JMX console correctly. If I visit http://127.0.0.1:8080/invoker/JNDIFactory in a browser it has some x-java-serialised-object there, so that seems to be doing something. Was there something else I have to change to get this working? I've read everything on the internet on this topic including the manual about 10 times and I can't figure it out. Do I have to do something special to enable the http forwarding in Jboss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916792#3916792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916792 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user