on 2021 Nov 14 6:22 PM
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:
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
6 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.