3 Replies Latest reply: Jan 6, 2010 10:36 AM by 651894 RSS

    DIA-48494: ADR home is not set, the corresponding operation cannot be done

    651894
      Hello All,

      I am trying to create a webcenter application following the link http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10273/page.htm#CCHEGDIC


      It works fine till Step 5. But as soon as I add Change Mode Link to the page and try to run the application it gives me the following error.

      I am using Jdeveloper build version Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536. I added the webcenter plugin to Jdev after installation.

      <Jan 5, 2010 4:17:09 PM CST> <Error> <HTTP> <BEA-101020> <[ServletContext@5349470[app:Application15 module:Application15-ViewController-context-root path:/Application15-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
      java.lang.NullPointerException
           at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:124)
           at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
           at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$200(ADFPhaseListener.java:21)
           at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:225)
           at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
           Truncated. see log file for complete stacktrace
      >
      <Jan 5, 2010 4:17:09 PM CST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jan 5, 2010 4:17:09 PM CST. Notification details:
      WatchRuleType: Log
      WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
      WatchData: DATE = Jan 5, 2010 4:17:09 PM CST SERVER = DefaultServer MESSAGE = [ServletContext@5349470[app:Application15 module:Application15-ViewController-context-root path:/Application15-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
      java.lang.NullPointerException
           at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:124)
           at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
           at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$200(ADFPhaseListener.java:21)
           at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:225)
           at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
           at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
           at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
           at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
           at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
           at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
           at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
           at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
           at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = spattana-us TXID = CONTEXTID = TIMESTAMP = 1262729829375
      WatchAlarmType: AutomaticReset
      WatchAlarmResetPeriod: 30000
      >
      <JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
      oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
      Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\spattana\\Application] at column [66]
      DIA-48447: The input path [C:\\Documents and Settings\\spattana\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
      DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
      DIA-48494: ADR home is not set, the corresponding operation cannot be done
      "
      Action: Ensure that command line tool "adrci" can be executed from the command line.
           at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
           at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
           at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
           at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
           at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
           at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
           at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
           at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
           at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
           at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
           at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
           at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
           at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
           at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
           at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
           at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
           at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base=C:\\Documents and Settings\\spattana\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
      set base C:\\Documents and Settings\\spattana\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
      set homepath diag\ofm\defaultdomain\defaultserver
      create incident problem_key="BEA-101020 [HTTP]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-01-05 16:17:09.500 -06:00" ecid="0000IO0^1mREkJWzLwvH8A1BGuqk00000d"
      "
      Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\spattana\\Application] at column [66]
      DIA-48447: The input path [C:\\Documents and Settings\\spattana\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
      DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
      DIA-48494: ADR home is not set, the corresponding operation cannot be done
      "
      Action: Ensure that command line tool "adrci" can be executed from the command line.
           at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
           at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
           at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
           ... 19 more