[jboss-user] [jBPM Users] - ProcessEngine not found!

roman83 do-not-reply at jboss.com
Tue Aug 25 06:56:14 EDT 2009


I am trying connect from Console Client Program to Process Engine:

Properties props = new Properties();
props.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
        
props.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
        
props.put("java.naming.provider.url", "jnp://localhost:1099");
           
Context ctx = new InitialContext(props);

ProcessEngine eng=(ProcessEngine)ctx.lookup("java:/ProcessEngine");


but i catch  NamingException: ProcessEngine not found.



What i am doing wrong?

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

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



More information about the jboss-user mailing list