Hello Forum Folks,
Not sure if this is the right place - as this issue is more on the technical side. If not, please point me the right direction.
In the mist of an upgrade to P6v7 and trying to get the Integration API to work. I'm getting any error when the code tries to do a Session.login via RMI.ServiceLocal
com.primavera.bo.common.LoginHelper.loginLDAP(LoginHelper.java:238)
com.primavera.bo.common.LoginHelper.login(LoginHelper.java:149)
com.primavera.bo.remotable.SessionLifetime.login(SessionLifetime.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.primavera.infr.q.AbstractQProxyObject.performAction(AbstractQProxyObject.java:469)
com.primavera.infr.q.nullq.NullQProxyObject.enqueue(NullQProxyObject.java:31)
com.primavera.infr.q.AbstractQProxyObject.executeMethod(AbstractQProxyObject.java:305)
com.primavera.bo.remotable.qproxy.SessionLifetime.login(SessionLifetime.java:84)
com.primavera.bo.DBSessionLifetime.login(DBSessionLifetime.java:26)
com.primavera.integration.server.ServerFacadeBase.login(ServerFacadeBase.java:397)
com.primavera.integration.server.ServerFacade.login(ServerFacade.java:11)
com.primavera.integration.client.LocalSession.login(LocalSession.java:92)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.primavera.integration.client.Session.a(Session.java:383)
com.primavera.integration.client.Session.login(Session.java:371)
com.bleah.primavera.ResourceUpload.batchSetup(ResourceUpload.java:135)
com.bleah.primavera.ResourceUpload.run(ResourceUpload.java:86)
com.bleah.primavera.ResourceUpload.main(ResourceUpload.java:71)
The code attempting to run is:
DatabaseInstance[] dbInstances = Session.getDatabaseInstances(RMIURL.getRmiUrl(RMIURL.LOCAL_SERVICE));
session = Session.login(RMIURL.getRmiUrl(RMIURL.LOCAL_SERVICE), dbInstances[0].getDatabaseId(), "Username", "Password");
We have the configuration on LDAP, but I'm not sure what is causing the problem. Any ideas?
Thanks in advance,
--Andy