Topic
1 reply Latest Post - ‏2013-03-14T22:47:59Z by SystemAdmin
SystemAdmin
SystemAdmin
199 Posts
ACCEPTED ANSWER

Pinned topic PE Java API Connection Error: Failed to retrieve an IOR for vworbbroker

‏2013-03-14T22:41:38Z |
I am trying to get a VWSession from a standalone java class. I have CE & PE API jars in build path. But getting this weird error. I even tried using an IP address instead of server name, but no luck. Interestingly it takes while to actually throw this exception. Not sure where the problem is.

Code:

VWSession m_vwSession = new VWSession();
m_vwSession.setBootstrapCEURI("iiop://myserver:2809/FileNet/Engine");
m_vwSession.logon("name", "passwrd", "P8Conn");
Eclipse VM args:

-Djava.security.auth.login.config=file:C:\IBM\jaas.conf.WebSphere
-Dcom.ibm.CORBA.ConfigURL=file:C:\IBM\sas.client.props
-Djava.ext.dirs="C:\ActivityManagement\IBM\java\jre\lib\ext;C:\ActivityManagement\IBM\lib;C:\ActivityManagement\IBM\plugins"
Exception:
Mar 14, 2013 4:31:35 PM null null
INFO: Client code attempting to load security configuration
Mar 14, 2013 4:31:35 PM null null
AUDIT: security.LoadSCI
Mar 14, 2013 4:31:35 PM null null
AUDIT: security.GettingConfig
Mar 14, 2013 4:31:35 PM null null
INFO: ssl.disable.url.hostname.verification.CWPKI0027I
Mar 14, 2013 4:31:35 PM null null
AUDIT: security.AuthTarget
Mar 14, 2013 4:31:35 PM null null
INFO: Client code attempting to load security configuration
Mar 14, 2013 4:31:35 PM null null
AUDIT: security.ClientCSI
Mar 14, 2013 4:31:37 PM null null
SEVERE: security.securityserver.error
Failed to connect to vworbbroker on localhost:32776[1]. Check server connection.
filenet.pe.peorb.client.ORBServiceHelper$VWORBBrokerNotStarted: Failed to retrieve an IOR for vworbbroker. URL=http://localhost:32776/IOR/FileNet.PE.vworbbroker. Check PE server to make sure that vworbbroker process is started.
at filenet.pe.peorb.client.ORBSession.getPERPCService(ORBSession.java:692)
at filenet.pe.peorb.client.ORBSession.establishORBSession(ORBSession.java:585)
at filenet.pe.peorb.client.ORBSession.<init>(ORBSession.java:915)
at filenet.vw.server.PECommandsFactory.getPECommands(PECommandsFactory.java:135)
at filenet.vw.api.VWSession.logonByDomain(VWSession.java:847)
at filenet.vw.api.VWSession.logon(VWSession.java:706)
at samples.api.SessionHelper.logon(SessionHelper.java:72)
at samples.api.SessionHelper.main(SessionHelper.java:115)
Caused by: filenet.pe.peorb.client.ORBServiceHelper$VWORBBrokerNotStarted: Failed to retrieve an IOR for vworbbroker. URL=http://localhost:32776/IOR/FileNet.PE.vworbbroker. Check PE server to make sure that vworbbroker process is started.
at filenet.pe.peorb.client.ORBServiceHelper.getPERPCIOR(ORBServiceHelper.java:855)
at filenet.pe.peorb.client.ORBServiceHelper.getPERPC(ORBServiceHelper.java:624)
at filenet.pe.peorb.client.ORBSession.getPERPCService(ORBSession.java:688)
... 7 more
Updated on 2013-03-14T22:47:59Z at 2013-03-14T22:47:59Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    199 Posts
    ACCEPTED ANSWER

    Re: PE Java API Connection Error: Failed to retrieve an IOR for vworbbroker

    ‏2013-03-14T22:47:59Z  in response to SystemAdmin
    Sorry..I resubmitted the question twice...Original question is: to https://www.ibm.com/developerworks/forums/thread.jspa?threadID=479839&tstart=0