This discussion is archived
5 Replies Latest reply: Aug 20, 2013 2:37 PM by barrie RSS

P6 Integration API + PHP/Java Bridge > Remote queue method exception.

997916 Newbie
Currently Being Moderated
Working with P6 Integration API v7 (local mode) and PHP/Java Bridge (http://php-java-bridge.sourceforge.net/pjb).
Getting same result testing on Oracle WebLogic Server 12.1.1.0 and Apache Tomcat 7.0.

I can getRmiUrl(), login(), getEnterpriseLoadManager() and getGlobalObjectManager(), but when I invoke loadProjects(array('Name'), '', 'Name asc') I get the following exception:

[[o:Exception]:"java.lang.Exception: Invoke failed: [[o:EnterpriseLoadManager]]->loadProjects((o:String;)[o:String;], (o:String)[o:String], (o:String)[o:String]). Cause: com.primavera.PhoenixException: Remote queue method exception. VM: 1.7.0_13@http://java.oracle.com/" at: #-56 com.primavera.infr.q.AbstractQProxyObject.performAction(AbstractQProxyObject.java:491) #-55 com.primavera.infr.q.nullq.NullQProxyObject.enqueue(NullQProxyObject.java:31) #-54 com.primavera.infr.q.AbstractQProxyObject.executeMethod(AbstractQProxyObject.java:305) #-53 com.primavera.bo.remotable.qproxy.ReqMgr.getObjects(ReqMgr.java:755) #-52 com.primavera.bo.DBReqMgr.getObjects(DBReqMgr.java:148) #-51 com.primavera.integration.server.mediator.N.a(ProjectMediator.java:89) #-50 com.primavera.integration.server.mediator.N.load(ProjectMediator.java:134) #-49 com.primavera.integration.server.ServerFacadeBOMgr.load(ServerFacadeBOMgr.java:220) #-48 com.primavera.integration.server.ServerFacade.load(ServerFacade.java:11) #-47 com.primavera.integration.client.LocalSession.loadRowSet(LocalSession.java:319) #-46 com.primavera.integration.client.Session.a(Session.java:1301) #-45 com.primavera.integration.client.EnterpriseLoadManager.loadProjects(EnterpriseLoadManager.java:1013) #-44 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-43 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-42 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-41 java.lang.reflect.Method.invoke(Unknown Source) #-40 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1044) #-39 php.java.bridge.Request.handleRequest(Request.java:417) #-38 php.java.bridge.Request.handleRequests(Request.java:500) #-37 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-36 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #-35 com.primavera.bo.base.CalculateEngineImpl.a(CalculateEngineImpl.java:5477) #-34 com.primavera.bo.base.CalculateEngineImpl.a(CalculateEngineImpl.java:4939) #-33 com.primavera.bo.base.CalculateEngineImpl.buildFromAndWhereClause(CalculateEngineImpl.java:4919) #-32 com.primavera.bo.base.CalculateEngineImpl.a(CalculateEngineImpl.java:4900) #-31 com.primavera.bo.base.CalculateEngineImpl.a(CalculateEngineImpl.java:4885) #-30 com.primavera.bo.base.CalculateEngineImpl.getObjects(CalculateEngineImpl.java:4072) #-29 com.primavera.bo.base.CalculateEngineImpl.getObjects(CalculateEngineImpl.java:3944) #-28 com.primavera.bo.base.CalculateEngineImpl.getObjects(CalculateEngineImpl.java:3898) #-27 com.primavera.bo.base.server.ServerDAOImpl.loadPrmRowSet(ServerDAOImpl.java:130) #-26 com.primavera.bo.remotable.ReqMgr.getObjects(ReqMgr.java:1304) #-25 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-24 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-23 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-22 java.lang.reflect.Method.invoke(Unknown Source) #-21 com.primavera.infr.q.AbstractQProxyObject.performAction(AbstractQProxyObject.java:469) #-20 com.primavera.infr.q.nullq.NullQProxyObject.enqueue(NullQProxyObject.java:31) #-19 com.primavera.infr.q.AbstractQProxyObject.executeMethod(AbstractQProxyObject.java:305) #-18 com.primavera.bo.remotable.qproxy.ReqMgr.getObjects(ReqMgr.java:755) #-17 com.primavera.bo.DBReqMgr.getObjects(DBReqMgr.java:148) #-16 com.primavera.integration.server.mediator.N.a(ProjectMediator.java:89) #-15 com.primavera.integration.server.mediator.N.load(ProjectMediator.java:134) #-14 com.primavera.integration.server.ServerFacadeBOMgr.load(ServerFacadeBOMgr.java:220) #-13 com.primavera.integration.server.ServerFacade.load(ServerFacade.java:11) #-12 com.primavera.integration.client.LocalSession.loadRowSet(LocalSession.java:319) #-11 com.primavera.integration.client.Session.a(Session.java:1301) #-10 com.primavera.integration.client.EnterpriseLoadManager.loadProjects(EnterpriseLoadManager.java:1013) #-9 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-8 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6 java.lang.reflect.Method.invoke(Unknown Source) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1044) #-4 php.java.bridge.Request.handleRequest(Request.java:417) #-3 php.java.bridge.Request.handleRequests(Request.java:500) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:7001/JavaBridge/java/Java.inc(232): java_ThrowExceptionProxyFactory->getProxy(7, 'com.primavera.i...', 'T', true) #1 http://localhost:7001/JavaBridge/java/Java.inc(360): java_Arg->getResult(true) #2 http://localhost:7001/JavaBridge/java/Java.inc(366): java_Client->getWrappedResult(true) #3 http://localhost:7001/JavaBridge/java/Java.inc(560): java_Client->getResult() #4 http://localhost:7001/JavaBridge/java/Java.inc(1752): java_Client->invokeMethod(5, 'loadProjects', Array) #5 http://localhost:7001/JavaBridge/java/Java.inc(1851): java_JavaProxy->__call('loadProjects', Array) #6 http://localhost:7001/JavaBridge/java/Java.inc(1999): java_AbstractJava->__call('loadProjects', Array) #7 C:\xampp\htdocs\primavera\test_01.php(82): Java->__call('loadProjects', Array) #8 C:\xampp\htdocs\primavera\test_01.php(82): java_InternalJava->loadProjects(Array, '', 'Name asc') #9 C:\xampp\htdocs\primavera\test_01.php(94): database_login(1) #10 {main}]

Any thoughts?

Thank you

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points