3 Replies Latest reply on Mar 3, 2008 1:57 PM by Sara Rodríguez Dorrego

    Could not obtain connection to a url

    Sara Rodríguez Dorrego Novice


      I'm using JBoss 4.2.2 and I've installed WMWare in my computer and I've created a virtual O.S. In this virtual machine I've installed jbpm 3.2.2. I would like to communicate from my Jboss 4.2.2 to this remote jbpm. I've created a method where I configure the context's properties but I don't get to establish the connection. The error that is shown is:

      Could not obtain connection to any of these urls: x.x.x.x

      But the ip is that the computer shown when I type ipconfig

      public void crearInstanciaProceso() {
       Hashtable env = new Hashtable();
       env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
       env.put(Context.PROVIDER_URL, "http//x.x.x.x:1099/");
       InitialContext intCtx = new InitialContext(env);
       Object obj = intCtx.lookup("JbpmDS");
       //Recuperar id del proceso
       //Iniciar el proceso
       }catch(Exception e){

      Any ideas?