This content has been marked as final.
Show 3 replies
-
1. Re: Could not obtain connection to a url
jaikiran Mar 3, 2008 8:37 AM (in response to rodosa)env.put(Context.PROVIDER_URL, "http//x.x.x.x:1099/");
This should beenv.put(Context.PROVIDER_URL, "jnp://x.x.x.x:1099/");
And how do start the JBoss server? Do you use the -b option with run.bat? -
2. Re: Could not obtain connection to a url
rodosa Mar 3, 2008 1:12 PM (in response to rodosa)I've solved it with:
Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); props.put(Context.PROVIDER_URL, "jnp://x.x.x.x:1099"); props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
-
3. Re: Could not obtain connection to a url
rodosa Mar 3, 2008 1:57 PM (in response to rodosa)But... now I don'r know exactly how make the communication between JBoss and remote jboss jbpm server... are there any documentation that it can help me?