2 Replies Latest reply: Jul 11, 2012 2:25 PM by 947440 RSS

    Problem starting UCM 11G after creating custom components

    947440
      Hello all.
      I'm here because after all my searches I could not find any solution to my problem. I'm a newbie in the Oracle ECM, just learned how to create folders and users, so please, don't get mad at my lack of knowledge.

      So here are my specs:
      Host Machine: Windows 7 64 bit Enterprise
      VM (using VMWare Workstation): Oracle Linux 5 up 6 64 bits
      Using Weblogic Server 10.3.6
      Using Oracle Database 11.2.0.2 64 bits
      Using JDK 7u4 64 bits
      Using RCU 11.1.1.6.0
      Using SOA 11.1.1.6.0

      I installed all the applications with no problems, can use/see WLS using a browser. Everything works great.
      I created users on UCM, folders, rules and everything else.
      And then I've created a custom component. But when I try to restart the server I get this error:

      ---------------------------------------


      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
      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:240)
      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.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      Caused By: intradoc.common.ServiceException: component "MyFavorites_Teste" is missing "version"
      at intradoc.tools.build.ComponentPackager.stampVersion(ComponentPackager.java:268)
      at intradoc.server.ComponentLoader.load(ComponentLoader.java:423)
      at intradoc.server.IdcSystemLoader.initComponentData(IdcSystemLoader.java:497)
      at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:366)
      at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)
      at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)
      at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:625)
      at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:456)
      at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:102)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
      at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
      at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
      at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1273)
      at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:547)
      at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
      at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
      at idcservlet.IdcFilter.init(IdcFilter.java:156)
      at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
      at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
      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:240)
      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.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      >
      IDC Servlet initial class path is /app/oracle/wls/Oracle_ECM1/ucm/idc/jlib/idcserver.jar
      **Begin IDC admin deployment
      ***Starting IDC admin on BinDir /app/oracle/wls/user_projects/domains/base_domain/ucm/cs/bin
      +++ClassLoader reporting object initialized at Wed Jul 11 12:00:57 BRT 2012
      Servlet protocol layer ready to receive requests.

      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
      Admin Server Version 11gR1-11.1.1.6.0-idcprod1-111219T111403
      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

      Copyright (C) 1996-2011, Oracle and/or its affiliates. All rights reserved.
      Added virtual directory for matching pattern '/*' for context root / mapping to path /app/oracle/wls/user_projects/domains/base_domain/ucm/cs/weblayout/
      <Jul 11, 2012 12:00:57 PM BRT> <Error> <ServletContext-> <BEA-000000> <There is an initialization failure during start up of UCM.>
      <Jul 11, 2012 12:00:57 PM BRT> <Error> <ServletContext-> <BEA-000000> <Could not start server of type 'server' at default relative web root URL 'cs'.
      javax.servlet.ServletException: Could not start up IDC server deployment.
      at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1284)
      at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:547)
      at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
      at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
      at idcservlet.IdcFilter.init(IdcFilter.java:156)
      Truncated. see log file for complete stacktrace
      Caused By: java.io.IOException: Oracle WebCenter Content failed to initialize inside its servlet environment.
      at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      Truncated. see log file for complete stacktrace
      Caused By: intradoc.common.ServiceException:
      at intradoc.server.ComponentLoader.load(ComponentLoader.java:443)
      at intradoc.server.IdcSystemLoader.initComponentData(IdcSystemLoader.java:497)
      at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:366)
      at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)
      at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)
      Truncated. see log file for complete stacktrace
      Caused By: intradoc.common.ServiceException: component "MyFavorites_Teste" is missing "version"
      at intradoc.tools.build.ComponentPackager.stampVersion(ComponentPackager.java:268)
      at intradoc.server.ComponentLoader.load(ComponentLoader.java:423)
      at intradoc.server.IdcSystemLoader.initComponentData(IdcSystemLoader.java:497)
      at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:366)
      at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:335)
      Truncated. see log file for complete stacktrace
      >
      <Jul 11, 2012 12:00:57 PM BRT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
      <Jul 11, 2012 12:00:57 PM BRT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
      <Jul 11, 2012 12:00:57 PM BRT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
      <Jul 11, 2012 12:00:57 PM BRT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:16200 for protocols iiop, t3, ldap, snmp, http.>
      <Jul 11, 2012 12:00:57 PM BRT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.80.129:16200 for protocols iiop, t3, ldap, snmp, http.>
      <Jul 11, 2012 12:00:57 PM BRT> <Notice> <WebLogicServer> <BEA-000332> <Started WebLogic Managed Server "UCM_server1" for domain "base_domain" running in Development Mode>
      <Jul 11, 2012 12:00:58 PM BRT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
      <Jul 11, 2012 12:00:58 PM BRT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
      <Jul 11, 2012 12:10:51 PM BRT> <Warning> <oracle.wsm.resources.policyaccess> <WSM-06210> <An instance of the interface oracle.wsm.policymanager.IUsageTracker bean for the local repository at path "" was not available for configuring the oracle.wsm.policymanager.accessor.BeanAccessor repository accessor for context "ResourcePattern [pattern=DOMAIN/weblogic/base_domain, subjectType=MANAGED_DOMAIN, terms={PLATFORM=weblogic, SUBJECT_TYPE=MANAGED_DOMAIN, DOMAIN=base_domain}]".>
      <Jul 11, 2012 12:10:51 PM BRT> <Warning> <oracle.wsm.resources.policyaccess> <WSM-06210> <An instance of the interface oracle.wsm.policymanager.IDocumentManager bean for the local repository at path "" was not available for configuring the oracle.wsm.policymanager.accessor.BeanAccessor repository accessor for context "ResourcePattern [pattern=DOMAIN/weblogic/base_domain, subjectType=MANAGED_DOMAIN, terms={PLATFORM=weblogic, SUBJECT_TYPE=MANAGED_DOMAIN, DOMAIN=base_domain}]".>

      ---------------------------------------------

      I disabled the component, restarted the UCM server but error is still happening:

      ----------------------------------------------

      Server Message
      The Server is unavailable.

      Please contact the administrator of this site to report the problem.

      Click here for server process administration.

      --------------------------------------------

      This "MyFavorites_Teste" component would show my favorite documents in the UCM.
      If I delete it the server will work right.

      Is there anyway I could fix that?

      Thanks!

      Fernando Gomes