DX NetOps

Expand all | Collapse all

CABI throws exception after fresh-install

Jump to Best Answer
  • 1.  CABI throws exception after fresh-install

    Posted 03-29-2016 05:07 AM

    Hey Folks,

     

    Recently I installed CABI 4.1 SP3 on a new machine to test it with Spectrum 10.1. At a certain point during the installation process CABI breaks. After that I always get the following exception when I try to open the CMC:

    Auswahl_019.png

     

    Within the CABI-Tomcat-Log I see the following exception:

    SEVERE: Error processing TLD files for context with name [/BOE]
    java.lang.IllegalArgumentException: Document base /opt//CABI/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.CustomParams does not exist or is not a readable directory
            at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
            at org.apache.naming.resources.FileDirContext.list(FileDirContext.java:845)
            at org.apache.naming.resources.FileDirContext.doListBindings(FileDirContext.java:301)
            at org.apache.naming.resources.BaseDirContext.listBindings(BaseDirContext.java:758)
            at org.apache.naming.resources.ProxyDirContext.listBindings(ProxyDirContext.java:546)
            at org.apache.catalina.core.ApplicationContext.listCollectionPaths(ApplicationContext.java:1557)
            at org.apache.catalina.core.ApplicationContext.getResourcePathsInternal(ApplicationContext.java:638)
            at org.apache.catalina.core.ApplicationContext.getResourcePaths(ApplicationContext.java:620)
            at org.apache.catalina.core.ApplicationContextFacade.getResourcePaths(ApplicationContextFacade.java:181)
            at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:393)
            at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:425)
            at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:425)
            at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:273)
            at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:567)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
            at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
            at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1105)
            at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1664)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
            at java.lang.Thread.run(Thread.java:761)
    
    

     

    Here is my installation procedure:

    1. Installed Spectrum 10.1 (OC+SRM)
    2. Installed CABI 4.1 SP3 (Tested the CMC successfully afterwards)
    3. $CABI_ROOT/sap_boje/init/setupinit.sh
    4. Installed CABI 4.1 SP3 Patch 9 (Tested the CMC successfully afterwards)
    5. Copied utilities-Folder from Installation-Disk and run $CABI_ROOT/utilities/SpectrumUpdate/SpectrumUpdate.sh -host http://127.0.0.1:8081 -username spectrum -password spectrum
    6. export CASHCOMP= && $CABI_ROOT/utilities/CA_NVM_EXE/nvm_boxi_post_install_unix.sh
    7. export BO_INST_PATH=/opt/app/CABI && $CABI_ROOT/utilities/PostInstall/postinstall.sh $CABI_ROOT
      I do this to migrate old reports and scheduled reports from my old Spectrum 9.3 CABI-system to the new machine.
    8. AFTER THIS STEP THE CMC IS BROKEN
    9. Enabled CABI Integration within OneClick Admin Pages (no errors, no trouble)

     

    Anyone seen this issue? I already tried removing $CABI_ROOT/sap_bobj/tomcat/work/Catalina/localhost (stopped CABI-Tomcat, removed Folder, started CABI-Tomcat) without any success.

    Any hint or help is much appreciated.

     

    Regards,

    Jan



  • 2.  Re: CABI throws exception after fresh-install
    Best Answer

    Posted 03-29-2016 06:46 AM

    Solved it by myself :-)

     

    For an unknown reason the following directories did not belong to the CABI installation-user but instead to root:

    • $CABI_ROOT/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.CustomParams
    • $CABI_ROOT/CABI/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp

     

    I changed the ownership via "chown -R", stopped CABI-Tomcat, removed the $CABI_ROOT/sap_bobj/tomcat/work/Catalina/localhost and started CABI-Tomcat again... and voila - CMC works fine :-)