It's not so easy to send this info because I'm trying to use Open-Source
BPM (bonitasoft.org) in OSGI environment.
I've added MANIFESTs to client libraries - asm-3.1.jar and
bonita-client-5.4.1.jar
downloads.processbase.biz/MANIFEST.MF-asm [1]
downloads.processbase.biz/MANIFEST.MF-bonita [2]
and then call API
Hashtable props = new Hashtable();
props.put("org.ow2.bonita.api-type", "EJB3");
props.put("java.naming.factory.initial",
"com.sun.enterprise.naming.SerialInitContextFactory");
props.put("java.naming.factory.url.pkgs",
"com.sun.enterprise.naming");
props.put("java.naming.factory.state",
"com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
props.put("java.naming.provider.url", "iiop://localhost:3700");
props.put("java.security.auth.login.config",
"appclientlogin.conf");
props.put("org.omg.CORBA.ORBInitialHost", "localhost");
props.put("org.omg.CORBA.ORBInitialPort", "3700");
ProgrammaticLogin programmaticLogin = new ProgrammaticLogin();
System.out.println(programmaticLogin.login("admin", "test",
"processBaseRealm", true));
DomainOwner.setDomain("default");
UserOwner.setUser("admin");
APIAccessor accessor = AccessorUtil.getAPIAccessor(props);
[1]
http://downloads.processbase.biz/MANIFEST.MF-asm
[2]
http://downloads.processbase.biz/MANIFEST.MF-bonita
--
[Message sent by forum member 'mgubaidullin']
View Post: http://forums.java.net/node/789000