3 Replies Latest reply on Jul 1, 2016 6:15 AM by Satheshkumar Napoleon-Oracle

    OIM Self Service is failed and gives 404 error

    Satheshkumar Napoleon-Oracle

      My OIM Self service gives 404 error while accessing http://OIMHOST:14000/identity. The same is in failed state in deployments. oracle.iam.console.identity.self-service.ear (V2.0)

      Whereas http://OIMHOST:14000/sysadmin works well. Enterprise application Enterprise Application oracle.iam.console.identity.sysadmin.ear (V2.0) is active in deployments.

      Note that my OIM and SOA servers are up and running.

       

      I found exactly the same discussion [OIM] Enable to open Self-Registration page but there was no solution provided.

       

      Background:
      Initially I installed IDM and applied patch. Schema also got created. Later, I reinstalled IDM and dint apply patch.

      During second time installation and configuration, faced database error for OIM that connection to db was successfully but no rows fetched.

      As per the instruction, I ignored as it was mentioned harmless. Error during weblogic domain creation using template.

       

      Below is the logs which I observe.

       

      Looks to be some version issue here which is stopping me from activating the self service app. Can someone provide me with a solution.

       

       

      <Jun 29, 2016 2:14:00 AM PDT> <Warning> <JNDI> <BEA-050006> <An attempt was made to look up versioned object "ejb.stateless.SystemConfigurationService#oracle.iam.conf.api.SystemConfigurationServiceRemote" from an external client or another application. This can potentially cause in-flight work of the application version not being tracked properly and thus being retired prematurely.>

      <Jun 29, 2016 2:14:03 AM PDT> <Error> <HTTP> <BEA-101216> <Servlet: "DefaultTaskViewsMgmt" failed to preload on startup in Web application: "identity".

      java.lang.NoSuchMethodError: oracle/bpel/services/workflow/user/model/ViewSummaryType.getUntranslatedName()Ljava/lang/String;

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.fetchExistingViewsWithIds(DefaultTaskViewsMgmt.java:334)

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.createUserTaskViews(DefaultTaskViewsMgmt.java:155)

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.init(DefaultTaskViewsMgmt.java:97)

              at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

              Truncated. see log file for complete stacktrace

      >

      <Jun 29, 2016 2:14:03 AM PDT> <Warning> <oracle.adf.share.http.ServletADFContext> <BEA-000000> <Found oracle.adf.share.DefaultContext sticking to oldContext, while the current application is oracle.iam.console.identity.self-service.ear(V2.0)>

      <Jun 29, 2016 2:14:03 AM PDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'oracle.iam.console.identity.self-service.ear [Version=V2.0]'.

      weblogic.application.ModuleException: [HTTP:101216]Servlet: "DefaultTaskViewsMgmt" failed to preload on startup in Web application: "identity".

      java.lang.NoSuchMethodError: oracle/bpel/services/workflow/user/model/ViewSummaryType.getUntranslatedName()Ljava/lang/String;

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.fetchExistingViewsWithIds(DefaultTaskViewsMgmt.java:334)

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.createUserTaskViews(DefaultTaskViewsMgmt.java:155)

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.init(DefaultTaskViewsMgmt.java:97)

              at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

              at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)

              at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)

              at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)

              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)

              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)

              at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)

              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)

              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)

              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

              at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

              at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

              at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

              at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)

              at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

              at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)

              at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)

              at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)

              at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

              at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

              at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

              at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

              at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

              at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

       

       

              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)

              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

              Truncated. see log file for complete stacktrace

      Caused By: java.lang.NoSuchMethodError: oracle/bpel/services/workflow/user/model/ViewSummaryType.getUntranslatedName()Ljava/lang/String;

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.fetchExistingViewsWithIds(DefaultTaskViewsMgmt.java:334)

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.createUserTaskViews(DefaultTaskViewsMgmt.java:155)

              at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.init(DefaultTaskViewsMgmt.java:97)

              at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

              Truncated. see log file for complete stacktrace

      >

      <Jun 29, 2016 2:14:03 AM PDT> <Warning> <oracle.adf.share.http.ServletADFContext> <BEA-000000> <Found oracle.adf.share.DefaultContext sticking to oldContext, while the current application is oracle.iam.console.identity.self-service.ear(V2.0)>

      <Jun 29, 2016 2:14:06 AM PDT> <Warning> <Default> <J2EE JMX-46238> <Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.>

      <Jun 29, 2016 2:14:10 AM PDT> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.

      Caller should ensure that a DefaultContext is proper for this use.

      Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.

      This message may be avoided by performing initADFContext before using getCurrent().

      For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.>

      <Jun 29, 2016 2:14:10 AM PDT> <Warning> <oracle.adf.share.http.ServletADFContext> <BEA-000000> <Found oracle.adf.share.DefaultContext sticking to oldContext, while the current application is oracle.iam.console.identity.sysadmin.ear(V2.0)>

      <Jun 29, 2016 2:14:10 AM PDT> <Warning> <oracle.adf.share.http.ServletADFContext> <BEA-000000> <Found oracle.adf.share.DefaultContext sticking to oldContext, while the current application is oracle.iam.console.identity.sysadmin.ear(V2.0)>

      <Jun 29, 2016 2:14:16 AM PDT> <Error> <oracle.adf.share.ADFContext> <BEA-000000> <ADF detected an ADFContext leak.

      Please see the documentation for more information about handling ADFContext leaks.

      For more information about the leaking ADFContext please enable logging for oracle.adf.share.ADFContext at FINEST level.

      >

      <Jun 29, 2016 2:14:17 AM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>

      <Jun 29, 2016 2:14:17 AM PDT> <Notice> <Cluster> <BEA-000197> <Listening for announcements from cluster using unicast cluster messaging>

      <Jun 29, 2016 2:14:17 AM PDT> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of oim.>

      <Jun 29, 2016 2:14:47 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>

      <Jun 29, 2016 2:14:47 AM PDT> <Notice> <Cluster> <BEA-000162> <Starting "async" replication service with remote cluster address "den01ecd.us.oracle.com">

      <Jun 29, 2016 2:14:47 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.196.19.28:14000 for protocols iiop, t3, CLUSTER-BROADCAST, ldap, snmp, http.>

      <Jun 29, 2016 2:14:47 AM PDT> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "oim_server1" for domain "oim_domain" running in Production Mode>

      <Jun 29, 2016 2:14:48 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>

      <Jun 29, 2016 2:14:48 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

      executing in the server environment hence initialising ADPClassWatchDog

      Xl Home Dir :/u01/app/Oracle/Middleware/Oracle_IDM/server

      <Jun 29, 2016 2:16:38 AM PDT> <Error> <oracle.iam.platform.entitymgr.provider.ldap> <BEA-000000> <An error occurred while getting the change log from LDAP - {0}

      javax.naming.NameNotFoundException: Error: NO_SUCH_OBJECT

      LDAP Error 32 : No Such Object [Root exception is oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 32 : No Such Object]

              at oracle.ods.virtualization.jndi.OVDUtil.mapErrorCode(OVDUtil.java:153)

              at oracle.ods.virtualization.jndi.OVDContext.search(OVDContext.java:442)

              at oracle.ods.virtualization.jndi.OVDContext.search(OVDContext.java:332)

              at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)

              at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.search(LDAPUtil.java:1202)

              at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.getChangelogResults(LDAPDataProvider.java:1716)

              at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.deleteDetect(LDAPDataProvider.java:1688)

              at oracle.iam.ldapsync.scheduletasks.user.LDAPUserDeleteReconTask.execute(LDAPUserDeleteReconTask.java:64)

              at oracle.iam.scheduler.vo.TaskSupport.invokeExecute(TaskSupport.java:275)

              at oracle.iam.scheduler.vo.TaskSupport.access$000(TaskSupport.java:46)

              at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:221)

              at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)

              at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)

              at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)

              at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)

              at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)

              at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:201)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at oracle.iam.scheduler.impl.quartz.QuartzJob$TaskExecutionAction.run(QuartzJob.java:268)

              at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:266)

              at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:65)

              at oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:228)

              at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedAction.run(CascadeActionExecutor.java:68)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

              at weblogic.security.Security.runAs(Security.java:41)

              at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:47)

              at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:50)

              at oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:228)

              at Thor.API.Security.LoginHandler.AssertionLoginSession.runAs(AssertionLoginSession.java:93)

              at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:77)

              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

      Caused By: oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 32 : No Such Object

        • 1. Re: OIM Self Service is failed and gives 404 error
          Abhishek Singh 'J_IDM'

          Hi, As it is in failed state in deployments and its a fresh installation, so you can just proceed with full cleanup and re-installation. It will save your time.

           

          It will be difficult to debug what exactly went wrong with your fresh installation.

           

          ~J

          1 person found this helpful
          • 2. Re: OIM Self Service is failed and gives 404 error
            Satheshkumar Napoleon-Oracle

            Hi Abhishek,

            Thanks for your response. I tried reinstalling but ended with the same error.

            Is this something can you suggest me.

             

            ####<Jun 29, 2016 11:16:08 PM PDT> <Info> <JDBC> <den01ecd.us.oracle.com> <oim_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <c19b3771d1afac5d:-1efd9044:1559c684686:-8000-0000000000002cf7> <1467267368345> <BEA-001128> <Connection for pool "mds-owsm" has been closed.>

            ####<Jun 29, 2016 11:16:20 PM PDT> <Info> <Common> <den01ecd.us.oracle.com> <oim_server1> <MDSPollingThread-[owsm, jdbc/mds/owsm]> <OracleSystemUser> <> <c19b3771d1afac5d:-1efd9044:1559c684686:-8000-0000000000000004> <1467267380869> <BEA-000628> <Created "1" resources for pool "mds-owsm", out of which "1" are available and "0" are unavailable.>

            ####<Jun 29, 2016 11:16:31 PM PDT> <Warning> <JNDI> <den01ecd.us.oracle.com> <oim_server1> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <c19b3771d1afac5d:-1efd9044:1559c684686:-8000-0000000000002cf0> <1467267391545> <BEA-050006> <An attempt was made to look up versioned object "ejb.stateless.SystemConfigurationService#oracle.iam.conf.api.SystemConfigurationServiceRemote" from an external client or another application. This can potentially cause in-flight work of the application version not being tracked properly and thus being retired prematurely.>

            ####<Jun 29, 2016 11:16:33 PM PDT> <Error> <HTTP> <den01ecd.us.oracle.com> <oim_server1> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <c19b3771d1afac5d:-1efd9044:1559c684686:-8000-0000000000002cf0> <1467267393009> <BEA-101216> <Servlet: "DefaultTaskViewsMgmt" failed to preload on startup in Web application: "identity".

            java.lang.NoSuchMethodError: oracle/bpel/services/workflow/user/model/ViewSummaryType.getUntranslatedName()Ljava/lang/String;

                    at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.fetchExistingViewsWithIds(DefaultTaskViewsMgmt.java:334)

                    at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.createUserTaskViews(DefaultTaskViewsMgmt.java:155)

                    at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.init(DefaultTaskViewsMgmt.java:97)

                    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)

                    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

             

            weblogic.application.ModuleException: [HTTP:101216]Servlet: "DefaultTaskViewsMgmt" failed to preload on startup in Web application: "identity".

            java.lang.NoSuchMethodError: oracle/bpel/services/workflow/user/model/ViewSummaryType.getUntranslatedName()Ljava/lang/String;

                    at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.fetchExistingViewsWithIds(DefaultTaskViewsMgmt.java:334)

                    at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.createUserTaskViews(DefaultTaskViewsMgmt.java:155)

                    at oracle.iam.ui.platform.servlet.DefaultTaskViewsMgmt.init(DefaultTaskViewsMgmt.java:97)

             

             

            Caused By: java.lang.NoSuchMethodError: oracle/bpel/services/workflow/user/model/ViewSummaryType.getUntranslatedName()Ljava/lang/String;

            • 3. Re: OIM Self Service is failed and gives 404 error
              Satheshkumar Napoleon-Oracle

              Issue resolved.

               

              If you are installing/configuring to the existing OIM schema and these doesn't match, we may end up with this error.

               

              And also, I ignored the db error while connecting with schema during domain creation. We shouldn't ignore these errors.

              [faced database error for OIM that connection to db was successfully but no rows fetched.

              As per the instruction, I ignored as it was mentioned harmless. Error during weblogic domain creation using template.]

               

              Steps taken to resolve:

              ================

              I dropped only OIM Schema and recreated it. And also, reinstalled IDM, SOA & ORACLE_COMMON with proper version.

              Always make sure you check SELECT * FROM SCHEMA_VERSION_REGISTRY;