9 Replies Latest reply on Jul 28, 2014 11:49 AM by Sreedhar-Oracle

    Error while accessing a application in Weblogic Portal

    KSharma04

      Hi ,

       

      I have deployed a test application in Webcenter , when I am accessing it I am getting below error :

       

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

      To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>

      <Jul 24, 2014 2:12:04 PM UTC> <Warning> <oracle.webcenter.lifecycle.listener.LifecycleServletContextListener> <BEA-000000> <

      java.lang.ClassCastException: oracle.webcenter.framework.service.RepositoryVersion cannot be cast to oracle.webcenter.framework.service.RepositoryVersion

        at oracle.webcenter.framework.service.ServiceContext.getRepositoryVersionObject(ServiceContext.java:1199)

        at oracle.webcenter.framework.service.ServiceContext.getRepositoryVersion(ServiceContext.java:1102)

        at oracle.webcenter.framework.service.ServiceContext.isRepositoryVersionGreaterThanOrEqualTo(ServiceContext.java:1137)

        at oracle.webcenter.peopleconnections.profile.internal.extension.ProfileService.isConfigured(ProfileService.java:41)

        at oracle.webcenter.lifecycle.LifecycleContext.getLifecycleHandlers(LifecycleContext.java:320)

        at oracle.webcenter.lifecycle.handler.InitializeUnit.doImportExportSet(InitializeUnit.java:128)

        at oracle.webcenter.lifecycle.operation.ImportExportSetOperation.doImportExportSet(ImportExportSetOperation.java:106)

        at oracle.webcenter.lifecycle.LifecycleService.doImportExportSet(LifecycleService.java:462)

        at oracle.webcenter.lifecycle.listener.LifecycleServletContextListener.doImportExportSet(LifecycleServletContextListener.java:361)

        at oracle.webcenter.lifecycle.listener.LifecycleServletContextListener.contextInitialized(LifecycleServletContextListener.java:148)

        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)

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

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

        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)

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

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

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

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

        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:636)

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

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

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

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

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

        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)

        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)

        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)

        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)

        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)

        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)

        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)

        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)

        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)

        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)

        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

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

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