Hello!!

    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/");
  |              
env.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
  |             
  |              try{
  |                      InitialContext intCtx = new InitialContext(env);
  |                      Object obj = intCtx.lookup("JbpmDS");
  |                      System.out.println("-->JBPMDS");
  |                      //Recuperar id del proceso
  |                      
  |                      //Iniciar el proceso
  |                      
  |                      
  |              }catch(Exception e){
  |                      e.printStackTrace();
  |              }
  |     }


Any ideas?

Thank

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133580
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to