SAP Knowledge Base Article - Public

2784509 - SAP BOE Live Data Connect component cannot be started in Tomcat server

Symptom

After deploy SAP BOE Live Data Connect component to Tomcat server as the steps in the online guide Deploying the SAP BOE Live Data Connect component using Tomcat, it is found /sap/boc/ina cannot be started in the Tomcat Web Application Manager.

Environment

SAP BOE Live Data Connect 2.0

Reproducing the Issue

  1. Download SAP BOE Live Data Connect 2.0 from SAP One Support Launchpad.
  2. Unzip the file to get the file cs_ina_agent.war.
  3. Follow the steps in the online guide Deploying the SAP BOE Live Data Connect component using Tomcat to deploy the war file into Tomcat server.
  4. Log on to Tomcat Web Application Manager to check the application status.
  5. Notice that the Running status for /sap/boc/ina is false.
  6. Click Start button in the same row of /sap/boc/ina, however it still cannot be started.
  7. In Tomcat stderr.log, confirm that there is the following output:

    org.apache.catalina.core.StandardContext filterStart
    SEVERE: Exception starting filter [CorsFilter]
    javax.servlet.ServletException: It is not allowed to configure supportsCredentials=[true] when allowedOrigins=[*]
     at org.apache.catalina.filters.CorsFilter.parseAndStore(CorsFilter.java:782)
     at org.apache.catalina.filters.CorsFilter.init(CorsFilter.java:181)
     at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
     at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
     at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
     at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4637)
     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
     at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
     at java.lang.Thread.run(Thread.java:836)

Cause

Cross Origin Resource Sharing (CORS) has not been properly configured.

Resolution

Configure Cross Origin Resource Sharing (CORS) as steps:

  1. Go to <tomcat folder>\webapps\sap#boc#ina\WEB-INF
  2. Edit web.xml via Notepad.
  3. Find entry below:
        <init-param>
          <description>A comma separated list of allowed origins. Note: An '*' cannot be used for an allowed origin when using credentials.</description>
          <param-name>cors.allowed.origins</param-name>
          <param-value>*</param-value>
        </init-param>
  4. Edit the <param-value> from * to the URL of your SAP Analytics Cloud tenant URL. E.g. https://<your_tenant>.sapbusinessobjects.cloud
  5. Save the changes.
  6. Go to Tomcat Web Application Manager, click Start button for row /sap/boc/ina.
  7. Confirm now the Running status for /sap/boc/ina is changed to true.

For CORS configuration, please also check the online guide Configuring Cross-Origin Resource Sharing (CORS).

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics , KBA , LOD-ANA , SAP Analytics Cloud (SAC) , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning Functionality, Planning Models , LOD-ANA-BR , Digital Boardroom (DiBo) , LOD-ANA-PR , Predictive Scenarios, Smart Predict , Problem

Product

SAP Analytics Cloud 1.0