SAP Knowledge Base Article - Public

1978306 - Tomcat wont start due to com.sun.management.jmxremote.authenticate=true

Symptom

When modifying the java option:

-Dcom.sun.management.jmxremote.authenticate=false

and changing this to "true" tomcat will no longer start

Environment

  • All versions of SAP BI
  • All versions of Tomcat

Reproducing the Issue

  1. Install SAP BI with Tomcat
  2. Attempt to enable JMX options according to:
    http://wiki.scn.sap.com/wiki/display/SMSETUP/Managed+System+Setup+of+Apache+Tomcat+System+in+Solman+7.1?
  3. change -Dcom.sun.management.jmxremote.authenticate=true from true to false
  4. restart Tomcat

Notice Tomcat does not start

Cause

This problem occurs due to a missing password file: jmxremote.password
When enabling authentication, it is also required to supply this password file.

In Tomcat/logs/stderr.log, the following message should be reported:

Error: Password file not found: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\jre\lib\management\jmxremote.password

Resolution

This error message indicates and the jmxremote.password file is required when the authenticate options are set to "true".  
You can do this by populating the default file/location: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\jre\lib\management\jmxremote.password

Or, you can specify the new location of the file with the parameter:
-Dcom.sun.management.jmxremote.password.file=

See: http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.html#gdeup

Keywords

Tomcat, tomcat7, tomcat6, java, jmxremote, com.sun.management.jmxremote, -Dcom.sun.management.jmxremote , KBA , BI-BIP-DEP , Webapp Deployment, Networking, Vulnerabilities, Webservices , Problem

Product

SAP Crystal Reports 2011, feature pack 03