Salesforce

PASOE startup fails after enabling JMX access through JVM parameters

« Go Back

Information

 
TitlePASOE startup fails after enabling JMX access through JVM parameters
URL Namepasoe-startup-fails-after-enabling-jmx-access-through-jvm-parameters
Article Number000228906
EnvironmentProduct: OpenEdge
Version: 12.2 and later
OS: All supported platforms
Other: PASOE, JMX
Question/Problem Description
Enabling remote JMX access for a PASOE instance through the -Dcom.sun.management.jmxremote.port and -Dcom.sun.management.jmxremote.rmi.port JVM parameters will cause the startup of the PASOE instance to fail.
 
Steps to Reproduce
Clarifying Information
When using the ‘tcman start’ or 'pasoe start' command to start the PASOE instance, no error messages are returned and no log files are created.

When using OE Explorer (OEE) / OE Management (OEM) to start the PASOE instance, one of the following will happen:

Scenario 1
  • The following error is returned within OEE / OEM:
Start operation has timed out for PAS instance : oepas1 , Does not get response from pas server in specified timeout 180 secs.

Scenario 2
  • The following error is returned within OEE / OEM:
Failed to start Progress Application Server instance oepas1: Exception parsing the response: Unrecognized token ''Exception'': was expecting (JSON String, Number, Array, Object or token ''null'', ''true'' or ''false'')
at [Source: (String)"Exception caught in pasoeStartSystem.Management.Automation.MethodException: Cannot convert argument "hWnd", with value: "", for "SetWindowText" to type "System.IntPtr": "Cannot convert null to type "System.IntPtr"." ---> System.Management.Automation.PSInvalidCastException: Cannot convert null to type "System.IntPtr". at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType) at System.Management.Automation.LanguagePrimitives.ConvertNo"[truncated 2123 chars]; line: 1, column: 10]
  • Only the pasoeStart.log file is created and it contains the following:
System.Management.Automation.MethodException: Cannot convert argument "hWnd", with value: "", for "SetWindowText" to type "System.IntPtr": "Cannot convert null to type "System.IntPtr"." ---> System.Management.Automation.PSInvalidCastException: Cannot convert null to type "System.IntPtr".
at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType)
at System.Management.Automation.LanguagePrimitives.ConvertNoConversion(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable)
at CallSite.Target(Closure , CallSite , Type , Object , Object )
--- End of inner exception stack trace ---
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).GetType().Fullname System.Management.Automation.MethodException: Cannot convert argument "hWnd", with value: "", for "SetWindowText" to type "System.IntPtr": "Cannot convert null to type "System.IntPtr"." ---> System.Management.Automation.PSInvalidCastException: Cannot convert null to type "System.IntPtr". at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType) at System.Management.Automation.LanguagePrimitives.ConvertNoConversion(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable) at CallSite.Target(Closure , CallSite , Type , Object , Object ) --- End of inner exception stack trace --- at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).Message
 
Error MessageStart operation has timed out for PAS instance : oepas1 , Does not get response from pas server in specified timeout 180 secs.

Failed to start Progress Application Server instance oepas1: Exception parsing the response: Unrecognized token ''Exception'': was expecting (JSON String, Number, Array, Object or token ''null'', ''true'' or ''false'')
at [Source: (String)"Exception caught in pasoeStartSystem.Management.Automation.MethodException: Cannot convert argument "hWnd", with value: "", for "SetWindowText" to type "System.IntPtr": "Cannot convert null to type "System.IntPtr"." ---> System.Management.Automation.PSInvalidCastException: Cannot convert null to type "System.IntPtr". at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType) at System.Management.Automation.LanguagePrimitives.ConvertNo"[truncated 2123 chars]; line: 1, column: 10]

System.Management.Automation.MethodException: Cannot convert argument "hWnd", with value: "", for "SetWindowText" to type "System.IntPtr": "Cannot convert null to type "System.IntPtr"." ---> System.Management.Automation.PSInvalidCastException: Cannot convert null to type "System.IntPtr".
at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType)
at System.Management.Automation.LanguagePrimitives.ConvertNoConversion(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable)
at CallSite.Target(Closure , CallSite , Type , Object , Object )
--- End of inner exception stack trace ---
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).GetType().Fullname System.Management.Automation.MethodException: Cannot convert argument "hWnd", with value: "", for "SetWindowText" to type "System.IntPtr": "Cannot convert null to type "System.IntPtr"." ---> System.Management.Automation.PSInvalidCastException: Cannot convert null to type "System.IntPtr". at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType) at System.Management.Automation.LanguagePrimitives.ConvertNoConversion(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable) at CallSite.Target(Closure , CallSite , Type , Object , Object ) --- End of inner exception stack trace --- at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).Message
Defect NumberOCTA-52242, OCTA-52243
Enhancement Number
Cause
The permissions that have been set for the jmxremote.password file are incorrect.
Resolution
Restrict the permissions on the jmxremote.password file as described in the following KB article:
How to monitor PASOE with JConsole
Workaround
Notes
Keyword Phrase
Last Modified Date8/10/2023 3:01 PM

Powered by