This part looks odd to me:
anonymous wrote :
| Properties properties=new Properties();
| properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"org.apache.openejb.client.RemoteInitialContextFactory");
|
properties.put("java.naming.provider.url","ejbd://localhost:4201");
This is what i normally use, when accessing a EJB from a standalone client:
| Properties props = new Properties();
|
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
| props.put(Context.PROVIDER_URL,"jnp://localhost:1099");
| props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming.jnp.interfaces");
replace localhost with appropriate servername/IP depending on where your server is
located. Also, access the jndiview as mentioned at
http://jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole and post the
contents of the tree here.
While posting the logs or code or xml content, remember to wrap it in a code block using
the Code button in the message editor window and please hit the Preview button to make
sure your post is correctly formatted
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141990#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...