anonymous wrote : javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
  | at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
  | at javax.naming.InitialContext.lookup(InitialContext.java:355)
  | at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:134)
  | at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:144)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 

You might want to check the contents of your jndi.properties file (or the code 
portion that does 'new InitialContext(hashtable)' if you're setting the jndi 
properties programatically).

If you are trying to connect to JBossNS, the contents of the jndi.properties 
typically looks like the following (the host portion varies depending on your 
environments).

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
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136158#4136158

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136158
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to