IdentityMinder install error - cannot contact policy server (Legacy_Onyx KB Id: 124310)

Document ID : KB000055073
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

I've tried installing IdentityMinder and re-installing several times. Each time I start up the Web Logic domain I get the following errors in the log file:

PSManagedConnectionFactory: Unable to connect to the policy server: Failed to init Agent API: -1
&ltSep 25, 2003 9:36:29 PM EDT> &ltError> &ltConnector> &lt190024> << PolicyServerRA_nete/rar/PolicyServerConnection > Error making initial connections for pool. Reason: CreateManagedConnection Error: Cannot connect to policy server: Failed to init Agent API: -1>
Starting workflow logging to /workspace/bea/user_projects/idminder-dev/workflow.log
&ltSep 25, 2003 9:36:33 PM EDT> &ltNotice> &ltManagement> &lt141052> &ltApplication Poller started for development server.>
40153 [Thread-9] INFO util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
40154 [Thread-9] INFO util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
42566 [Thread-9] INFO util.PropertyMessageResources - Initializing, config='com.netegrity.webapp.ApplicationResources', returnNull=true
[ Initialized system for appserver vendor: weblogic ]
imsconfig -> {internal_service.eventAdapterService.class=com.netegrity.ims.internal.EventAdapterServiceImpl, internal_service.audit_provider_service.class=com.netegrity.ims.internal.AuditProviderServiceImpl, internal_service.imsEnvironments.class=com.netegrity.ims.internal.IMSEnvironmentServiceImpl, internal_service.library.class=com.netegrity.ims.internal.DefaultLibraryProviderService, internal_service.orgResolverService.class=com.netegrity.ims.internal.OrgResolverServiceImpl, internal_service.email_provider_service.emailTemplatePath=emailTemplates, bootstrap.event_service.messageHandler=com.netegrity.ims.bootstrap.IMSMessageListener, internal_service.library.file=ims.lib, useDefaultProvider=true, containerClass=com.netegrity.ims.nis.NISContainer, bootstrap.event_service.listeners=com.netegrity.ims.exposed.IMSDeserializer, com.netegrity.ims.exposed.IMSController, com.netegrity.ims.exposed.EnhancedAuditListener, com.netegrity.ims.exposed.BusinessChangeEventSink, serverName=IMS, exposed_service.TaskService.class=com.netegrity.ims.exposed.TaskServiceImpl, internal_service.passwordServiceImpl.class=com.netegrity.ims.internal.PasswordServiceImpl, configClass=com.netegrity.ims.InternalConfigImpl, internal_service.configurationProvider.class=com.netegrity.ims.internal.ConfigurationProviderServiceImpl, internal_service.audit_provider_service.auditProviders=com.netegrity.ims.dbaudit.DBAuditProvider, internal_service.BLTHService.class=com.netegrity.ims.internal.BLTHServiceImpl, internal_service.notificationRuleService.class=com.netegrity.ims.internal.NotificationRuleServiceImpl, internal_service.buschange_provider_service.bcProviders=com.netegrity.ims.externalaudit.BusinessChangeProcessorExample, internal_service.objectManagementServiceImpl.class=com.netegrity.ims.internal.ObjectManagementServiceImpl, internal_service.roleProvider.class=com.netegrity.ims.internal.RolesProviderServiceImpl, bootstrap.event_service.ims_controller.workflow=com.netegrity.ims.exposed.IMSWorkflowController, internal_service.templateServiceImpl.class=com.netegrity.ims.internal.TemplateServiceImpl, bootstrap.event_service.ims_controller.task=com.netegrity.ims.exposed.IMSTaskController, exposed_service.WorkflowService.class=com.netegrity.ims.exposed.WorkflowServiceImpl, internal_service.email_provider_service.class=com.netegrity.ims.internal.EmailProviderServiceImpl, com.netegrity.ims.provider=com.netegrity.ims.DefaultProvider, exposed_service.ClientService.class=com.netegrity.ims.exposed.ClientServiceImpl, internal_service.email_provider_service.emailProviders=com.netegrity.ims.ImsEmailProvider, bootstrap.event_service.ims_controller.event=com.netegrity.ims.exposed.IMSEventController, internal_service.securityServiceImpl.class=com.netegrity.ims.internal.SecurityServiceImpl, exposed_service.WorkflowCallbackService.class=com.netegrity.ims.exposed.WorkflowCallbackServiceImpl, internal_service.logicalAttributeService.class=com.netegrity.ims.internal.LogicalAttributeServiceImpl, internal_service.buschange_provider_service.class=com.netegrity.ims.internal.BusinessChangeServiceImpl}
21:36:40,437 WARN [ims] ################################################
21:36:40,439 WARN [ims] # IdentityMinder Web Edition 5.60.0000.287
21:36:40,439 WARN [ims] ################################################
21:36:40,440 WARN [ims] ---- IMS Startup Sequence Initiated. ----
21:36:40,440 WARN [ims] * Startup Step 1 : setInternalConfig done.
21:36:40,441 WARN [ims] * Startup Step 2 : setContiner done.
21:36:40,441 WARN [ims] * Startup Step 3 : Attempting to start ServiceRegistry
21:36:40,450 WARN [ims] * Startup Step 4 : Attempting to start PolicyServerService
PSManagedConnectionFactory: Unable to connect to the policy server: Failed to init Agent API: -1
javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error: Cannot connect to policy server: Failed to init Agent API: -1
at weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPool.java:1009)
at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1769)
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:191)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
at com.netegrity.ra.policyserver.impl.PSConnectionFactory.getConnection(PSConnectionFactory.java:48)
at com.netegrity.ra.policyserver.impl.PSConnectionFactory.getPSConnection(PSConnectionFactory.java:44)
at com.netegrity.service.policy.PolicyAccess.init(PolicyAccess.java:175)
at com.netegrity.service.policy.PolicyAccess.initialize(PolicyAccess.java:72)
at com.netegrity.service.policy.PolicyAccess.getInstance(PolicyAccess.java:63)
at com.netegrity.ims.bootstrap.PSServiceNISConnectionImpl.startUp(PSServiceNISConnectionImpl.java:53)
at com.netegrity.ims.bootstrap.Main.startPolicyServerService(Main.java:445)
at com.netegrity.ims.bootstrap.Main.start(Main.java:211)
at com.netegrity.service.policy.ImsPolicyService.initTMTLayer(ImsPolicyService.java:84)
at com.netegrity.service.policy.ImsPolicyService.init(ImsPolicyService.java:66)
at com.netegrity.init.Initializer.initializeFile(Initializer.java:54)
at com.netegrity.init.Initializer.initialize(Initializer.java:39)
at com.netegrity.webapp.SystemInitializer.init(SystemInitializer.java:43)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1092)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:916)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:850)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:790)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2817)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2762)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2735)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:660)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java:480)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:479)
21:36:42,192 ERROR [ims.policyServer] Connection to Policy Server failed.
NoSessionException: This object is not connected.
at com.netegrity.sdk.imsimpl.TunnelObject.tunnel(TunnelObject.java:615)
at com.netegrity.sdk.imsimpl.TunnelObject.multipleReturnCommand(TunnelObject.java:641)
at com.netegrity.sdk.imsimpl.ImsApiImpl.getImsEnvironments(ImsApiImpl.java:113)
at com.netegrity.ims.bootstrap.PolicyServerServiceBase.startUp(PolicyServerServiceBase.java:56)
at com.netegrity.ims.bootstrap.PSServiceNISConnectionImpl.startUp(PSServiceNISConnectionImpl.java:54)
at com.netegrity.ims.bootstrap.Main.startPolicyServerService(Main.java:445)
at com.netegrity.ims.bootstrap.Main.start(Main.java:211)
at com.netegrity.service.policy.ImsPolicyService.initTMTLayer(ImsPolicyService.java:84)
at com.netegrity.service.policy.ImsPolicyService.init(ImsPolicyService.java:66)
at com.netegrity.init.Initializer.initializeFile(Initializer.java:54)
at com.netegrity.init.Initializer.initialize(Initializer.java:39)
at com.netegrity.webapp.SystemInitializer.init(SystemInitializer.java:43)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1092)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:916)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:850)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:790)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2817)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2762)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2735)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:660)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java:480)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:479)
21:36:42,222 FATAL [colonel] This object is not connected.
NoSessionException: This object is not connected.
at com.netegrity.sdk.imsimpl.TunnelObject.tunnel(TunnelObject.java:615)
at com.netegrity.sdk.imsimpl.TunnelObject.multipleReturnCommand(TunnelObject.java:641)
at com.netegrity.sdk.imsimpl.ImsApiImpl.getImsEnvironments(ImsApiImpl.java:113)
at com.netegrity.ims.bootstrap.PolicyServerServiceBase.startUp(PolicyServerServiceBase.java:56)
at com.netegrity.ims.bootstrap.PSServiceNISConnectionImpl.startUp(PSServiceNISConnectionImpl.java:54)
at com.netegrity.ims.bootstrap.Main.startPolicyServerService(Main.java:445)
at com.netegrity.ims.bootstrap.Main.start(Main.java:211)
at com.netegrity.service.policy.ImsPolicyService.initTMTLayer(ImsPolicyService.java:84)
at com.netegrity.service.policy.ImsPolicyService.init(ImsPolicyService.java:66)
at com.netegrity.init.Initializer.initializeFile(Initializer.java:54)
at com.netegrity.init.Initializer.initialize(Initializer.java:39)
at com.netegrity.webapp.SystemInitializer.init(SystemInitializer.java:43)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1092)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:916)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:850)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:790)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2817)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2762)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2735)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:660)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java:480)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:479)
PSManagedConnectionFactory: Unable to connect to the policy server: Failed to init Agent API: -1
21:36:44,208 ERROR [ims] Exception initializing IMEJ2EEDescriptor
&ltSep 25, 2003 9:36:54 PM EDT> &ltNotice> &ltWebLogicServer> &lt000354> &ltThread "SSLListenThread.Default" listening on port 7002>
&ltSep 25, 2003 9:36:54 PM EDT> &ltNotice> &ltWebLogicServer> &lt000354> &ltThread "ListenThread.Default" listening on port 7001>
&ltSep 25, 2003 9:36:54 PM EDT> &ltNotice> &ltManagement> &lt141030> &ltStarting discovery of Managed Server... This feature is on by default, you may turn this off by passing -Dweblogic.management.discover=false>
&ltSep 25, 2003 9:36:54 PM EDT> &ltNotice> &ltWebLogicServer> &lt000331> &ltStarted WebLogic Admin Server "idserver-dev" for domain "idminder-dev" running in Development Mode>
&ltSep 25, 2003 9:36:56 PM EDT> &ltNotice> &ltWebLogicServer> &lt000365> &ltServer state changed to RUNNING>
&ltSep 25, 2003 9:36:56 PM EDT> &ltNotice> &ltWebLogicServer> &lt000360> &ltServer started in RUNNING mode>
PSManagedConnectionFactory: Unable to connect to the policy server: Failed to init Agent API: -1
NoSessionException: This object is not connected.
at com.netegrity.sdk.imsimpl.TunnelObject.tunnel(TunnelObject.java:615)
at com.netegrity.sdk.imsimpl.TunnelObject.multipleReturnCommand(TunnelObject.java:641)
at com.netegrity.sdk.imsimpl.ImsApiImpl.getImsDirectories(ImsApiImpl.java:236)
at com.netegrity.ims.manage.action.DirectoryDispatchAction.getDirectories(Unknown Source)
at com.netegrity.ims.manage.action.DirectoryDispatchAction.listDirs(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

I can connect to this Siteminder server.

Ideas?


Solution:

After pointing Siteminder to the correct policy store and make sure the LD_LIBRARY_PATH was set in the startWebLogic.sh script, Identityminder was able to communicate with the Policy Server.