[jboss-user] [JCA/JBoss] - Re: IP binding problem

jaikiran do-not-reply at jboss.com
Mon Feb 4 00:58:14 EST 2008

Post the entire exception stacktrace. When does this exception occur? Does it happen when you are doing a lookup of the datasource and trying to obtain a connection from it? If yes, then have you specified the PROVIDER_URL as to the InitialContext (since the services are longer binded to localhost):

Properties props = new Properties();
  | props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
  | props.put(Context.PROVIDER_URL,"jnp://");
  | Context ctx = new InitialContext(props);
  | ctx.lookup("blahblahblah");

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126000

More information about the jboss-user mailing list