Parsing error. Details: host localhost,port 1112, line: 1. Reason: Invalid at the top level of the document.
Posted: April 24th, 2008 | Author: TnT Admin | Filed under: Errors | Tags: JMX, LoadRunner, Monitoring, WebLogic | No Comments »Parsing error.
Details: host localhost,port 1112, line: 1.
Reason: Invalid at the top level of the document.
.
Contents: java.lang.Exception:java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogoc.admin.mbean, Administrators] [MsgId:MMSG-47587]
Background information: I’m monitoring 4 WebLogic servers using WebLogic (JMX) Monitor in LoadRunner and adding their JMX stats into Controller. Upon adding the subsequent server, the error appeared after entering the username and password to the Controller. I’m using LoadRunner 9.0 and Weblogic 8.1 in this context.
The principle behind it is that the mini Web server launched by the Controller for monitoring WebLogic JMX listens on port 1112 by default (defined in {LoadRunner}\dat\monitors\weblogicmon.ini). This port is occupied and the mini Web server cannot be started according to Document ID 42701, Error: “Failed to connect to XML source on 1112″. This hinted me on the change of port. As suggested in the document, for every Weblogic server (JMX) that I’ve added, I change the port number on the file as below (Source: HP Openview Document ID 42701):
The solution is to configure the default port to a one not in use
1. Navigate to {LoadRunner}\dat\monitors.
2. Open weblogicmon.ini in Notepad.
3. Change
Weblogic=weblogic.jar
Port=1112
to:
Weblogic=weblogic.jar
Port=1114 {Or any other port that is free on the Controller machine}
4. Save the changes.
5. Close the “Add Measurement” dialogue and re-open it. You should be able to add the JMX measurements. Repeat from [1] to [5] in the event that when the error occured for subsequent WebLogic servers.
Leave a Reply