I need help!
I am using Tomcat 5.5 and JBoss 4.0.3SP1 with JDK 1.5. I am having trouble
contacting JBoss from Tomcat.
I have the following codes:
Properties props=new Properties();
props.setProperty("java.naming.factory.url.pkgs",
"org.jboss.naming:org.jnp.interfaces");
props.setProperty ("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
props.setProperty ("java.naming.provider.url", "jnp://localhost:1099");
InitialContext initialContext = new InitialContext(props);
Then I get the following errrors:
Trace: javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657).
How to resolve this problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920473#3920473
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920473
-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user