cancel
Showing results for 
Search instead for 
Did you mean: 

BI Platform Support Tool Issue: Failed to logon to Web Application Server tstz-aaaa on JMX port -1

omacoder
Active Contributor
0 Kudos

Trying to create a landscape analysis:

Landscape Configuration Error

No Web Application Hosts were found for cluster @tst123.domain.com:6400.

Configure the necessary host and JMX settings in the Landscape Configuration section to successfully run this report.

Trying to validate JMX settings on the Configuration of the Web Server (SSL port 443) and it is not validating.

Suggestions?

I've verified I've followed the Configuring JMX for Apache Tomcat with Firewall Support steps, and have placed the catalina-jmx-remote.jar file in the correct directory.

Below is the entry in the log:

FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2

ENCODING:UTF-8

RECORD_SEPARATOR:30

COLUMN_SEPARATOR:124

ESC_CHARACTER:27

COLUMNS:Location|Guid|Time|Tzone|Trace|Log|Importance|Severity|Exception|DeviceName|ProcessID|ThreadID|ThreadName|ScopeTag|MajorTick|MinorTick|MajorDepth|MinorDepth|RootName|RootID|CallerName|CallerID|CalleeName|CalleeID|ActionID|DSRRootContextID|DSRTransaction|DSRConnection|DSRCounter|User|ArchitectComponent|DeveloperComponent|Administrator|Unit|CSNComponent|Text

SEVERITY_MAP: |None| |Success|W|Warning|E|Error|A|Assertion

HEADER_END

|885AE2F8606048F8831283DB76F64FDD0|2016 05 04 13:29:18.915|-0500|Error| |>>|E| |BISupportTool|  820|   1|main            | ||||||||||||||||||||||Unable to determine user home from user.bit

java.io.IOException: Unable to find preferences file in location C:\Users\Administrator\AppData\Roaming\BISupportTool\preferences.xml

  at com.sap.ps.bitool.XMLPreferencesFactory.getData(XMLPreferencesFactory.java:49)

  at com.sap.ps.bitool.Application.initPreferences(Application.java:237)

  at com.sap.ps.bitool.Application.main(Application.java:87)

|885AE2F8606048F8831283DB76F64FDD1|2016 05 04 13:29:19.113|-0500|Error| |>>|E| |BISupportTool|  820|   1|main            | ||||||||||||||||||||||Error updating bit file

java.nio.file.FileAlreadyExistsException: user.bit

  at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:81)

  at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)

  at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)

  at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)

  at java.nio.file.Files.newByteChannel(Files.java:361)

  at java.nio.file.Files.createFile(Files.java:632)

  at com.sap.ps.bitool.utils.IOUtil.createBitFile(IOUtil.java:104)

  at com.sap.ps.bitool.Application.initPreferences(Application.java:297)

  at com.sap.ps.bitool.Application.main(Application.java:87)

|885AE2F8606048F8831283DB76F64FDD2|2016 05 04 13:29:32.032|-0500|Error| |>>|E| |BISupportTool|  820|   1|main            | ||||||||||||||||||||||Failed to logon to Web Application Server tstz-biwas on JMX port -1

|885AE2F8606048F8831283DB76F64FDD3|2016 05 04 13:29:32.033|-0500|Error| |>>|E| |BISupportTool|  820|   1|main            | ||||||||||||||||||||||Check the JMX username and password for this host under Landscape Configuration

Accepted Solutions (1)

Accepted Solutions (1)

Toby_Johnston
Advisor
Advisor
0 Kudos

Hi Brian,

Thanks for reporting the problem.

In the BIPST 2.0.3 client, go to Landscape Tools-->Communications Analyzer.

Next, under "Test a single TCP connection" enter the Tomcat hostname and port 10001 and click Test.  Do the same for port 10002.

If the tests fail then either the firewall is not allowing TCP communication on these ports or Apache Tomcat is not configured right.  To confirm if Apache Tomcat is listening, go to the Tomcat server and open a command prompt and run:

netstat -noa | findstr 10001

netstat -noa | findstr 10002


These commands should return the process of Tomcat listening on these ports. 


Let me know what you find out.


Regards

Toby

omacoder
Active Contributor
0 Kudos

Toby thanks for the info- I failed to mention that I checked the ports before opening a forum posting... but I did test again and both ports tested successful from the BIPST client.

Additionally, both ports are listening on the tomcat server.

Additional troubleshooting steps I took: ensuring I added the listener to the server.xml file, as well as adding the 5 entries to the Java options on the Tomcat server.

Also, I reviewed the password file (regained ownership of the file so I could view the password I used), and ensured the password I had written down matches in the config file as well as in the settings in the BIPST JMX config.

Other ideas?

Toby_Johnston
Advisor
Advisor
0 Kudos

Hi Brian,

The other problem that can occur is with name resolution.  When you added the RMI listener in the server.xml for Apache Tomcat, did you add this property (below in bold)?

<Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" rmiRegistryPortPlatform="10001" rmiServerPortPlatform="10002" rmiBindAddress="TomcatHostName" />

Did you replace TomcatHostName with the correct hostname for the Apache Tomcat server (and the IP address for this hostname is resolvable from the BIPST client)?

It may be useful to have a quick citrix gotomeeting if you continue to have issues.

Regards

Toby

Toby_Johnston
Advisor
Advisor
0 Kudos

As per our meeting, we discovered the issue was that JMX SSL property was set to true.  We set it to false and validation was successful.

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

Cheers

Toby

Answers (0)