cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access CC cockpit 2021 from tomcat

former_member776314
Discoverer
1,541

Hi Experts

Just installed a CC 2021 system PoC box, to test.

all went successful in linux / HDB. and able to access the system using admin+, core tool well.

not able to do the same for cockpit.

below are the steps i have done for cockpit configuration:

https://help.sap.com/viewer/d1d04c0d65964a9b91589ae7afc1bd45/2021.0/en-US/92659591fbcf42d5a96987ac3f...

  1. installed apache tomcat apache-tomcat-10.0.12 on java version "1.8.0_311"
  2. edited properties file and kept passphrase file
  3. deployed successfully to tomcat manually from Tomcat Web Application Manager

cccockpit.war sap_cc_cockpit_cccockpit and sap_cc_cockpit_cccockpit.properties:

when i clicked above (/cccockpit) getting below error: form tomcat login geting error.

Type Status Report

Message The requested resource [/cccockpit/] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

from tomcat logs this app is deployed successfully and i can see there in below location also:

and dispatcher was accessible at 9100: and HDB instance Nr=20

Properties file contents looks like:

cc.sid=COR

hci.http.url=http://192.68.10.123:9100

hci.http.timeout=300000

sqlhelper.jdbc.uri=jdbc:sap://192.168.10.123:32015/?databaseName=HDB

sqlhelper.login=SYSTEM

sqlhelper.password=mypassword

datasource.jdbc.uri=jdbc:h2:file:C:\cccockpit85

datasource.login=SYSTEM

datasource.password=mypassword

msg.api.login=admin

msg.api.password=mypassword

msg.api.timeout=20000

http.session.expiration.scheduler=60

browser.sessionTimeout=120

browser.sessionLockTimeout=10

oauth2.authorization_server.url=

oauth2.authorization_server.client_id=

oauth2.authorization_server.client_secret=

oauth2.redirect_uri.base_url=

#oauth2.authorization_server.revocation_url=

charging.catalog.sync.enabled=true

charging.output.item.immediate.loading.enabled=false

webassistant.url=https://webassistant.enable-now.cloud.sap/web_assistant/framework/

=================

i suspect something wrong in above file, can any one please shed some light.

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

francois_thimon
Product and Topic Expert
Product and Topic Expert

Hi Ahos,

We haven't yet established a root cause for this but we first need to point out the fact that only Tomcat 8.5 and 9.0 are supported with Convergent Charging 2021.
For now, we don't have any proof that the problem comes from that but we can only troubleshoot releases that have been officially validated with our software.
So, can you please try to use Tomcat 9.0 (or 8.5) instead of 10.0.12?

If needed, here's our official compatibility matrix (the SAP "Product Availability Matrix") for CC 2021 and Tomcat:
https://apps.support.sap.com/sap/support/pam?hash=s%3DSAP%2520CONVERGENT%2520CHARGING%25202021%26o%3...

On that site, you'll always find the compatible versions for the Java Virtual Machines, for the operating systems, databases etc.

Once you have fixed your Tomcat version, can you please let me know if you still face the same issue?

Thanks.
Best regards.

François
SAP Convergent Charging Support

former_member285796
Discoverer
0 Kudos

Hi Ahos,

1. Don't using Tomcat 10.0, There are compatibility issues, the Version 8 and 9 is ok , for detail tomcat info

2. create new hana user ref install guide, don't using system user

3. sqlhelper.jdbc.uri using CC TenantDB , Recommended Use CC tenant DB index server sql port, For example, 32041.

If you still can’t solve it, please upload your Tomcat log: catalina.out and <youwebappname>_LDF1.* and LDF2.*

zoran_ptsi
Explorer
0 Kudos
My CC2023 FPS1 Cockpit deployment went fine on Tomcat 9.0.89, tomcat logs show no error, and there are no *LDF* logs - but same issue!
zoran_ptsi
Explorer
0 Kudos
And btw, I have used SAPMACHINE 17 JVM
francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ahos,

The error message is related with the deployment of the web application in Tomcat, not with the internal configuration of the web application itself: Tomcat is telling you that Cockpit is either not deployed at all, or maybe that it is deployed but you haven't configured the right accesses.

So, to address this issue, you need to focus on the deployment phase. Since this is managed by the Catalina component, you have to check your "catalina.out" and "catalina.log" files.
When the app is correctly deployed, catalina.out is supposed to contain a message such as:

15-Nov-2021 15:26:49.978 INFO [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/sap/CCD/tomcat/apache-tomcat-x.y.zz/webapps/cccockpit_CCD.war] has finished in [xx,xxx] ms

Additional details (and error messages) are available in catalina.log, so you can use that too.
If you need us to review these files, please open a support ticket, where you can safely send us sensitive data.

Best regards.

François
SAP Convergent Charging Support

former_member776314
Discoverer
0 Kudos

Thank you for the explanaiton

that makes my trouble shoot on required area. Thanks

how ever as per the logs i can see the below logs;

14-Nov-2021 15:49:38.007 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]

14-Nov-2021 15:49:38.007 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.12]

14-Nov-2021 15:49:38.032 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 10.0\webapps\cccockpit.war]

14-Nov-2021 15:49:48.879 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

14-Nov-2021 15:49:49.004 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 10.0\webapps\cccockpit.war] has finished in [10,971] ms

14-Nov-2021 15:49:49.005 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 10.0\webapps\cccockpit85]

14-Nov-2021 15:49:49.028 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 10.0\webapps\cccockpit85] has finished in [23] ms

14-Nov-2021 15:49:49.029 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 10.0\webapps\docs]

============================================

and from the list of deployed applications in the Tomcat Web Application Manager i can see my cccockpit app.

Applications

Path Version Display Name Running Sessions Commands

/ None specified Welcome to Tomcat true 0 Start

with idle ≥

30

minutes

/cccockpit None specified true 0 Start

with idle ≥

30

minutes

/cccockpit85 None specified true 0 Start

with idle ≥

30

minutes

may be i need to check the on "right access", but not sure what right access , i am running it from windows administrator rights..

Many Thanks

Ahos

zoran_ptsi
Explorer
0 Kudos
I have EXACTLY the same issue with CC2023 FPS1, with all the prerequisites ... please, help!