Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

"Missing JVM JAVA_HOME or JRE_HOME environment configuration" error registering Corticon as a Windows Service

« Go Back

Information

 
Article Number000067326
EnvironmentProduct: Corticon Server
Version: 5.5.x and higher
OS: Windows
Database: N/A
Browser: N/A
Application Server: PAS (Apache Tomcat )
Question/Problem Description
Windows service does not get registered successfully for PAS in Corticon 


 
Steps to Reproduce
Clarifying Information

For e.g. If CORTICON_INSTALL_DIR /CORTICON_HOME is D:\apps\Corticon 5.5\ and CORTICON_WORK_DIR is D:\CorticonWork_5.5\

On the command prompt:
D:\CorticonWork_5.5\pas\server\bin>tcman instances
Output: _Corticon_ | D:\CorticonWork_5.5\pas\server | instance | ok
 
D:\CorticonWork_5.5\pas\server\bin>tcman service _Corticon_ register
Output: Missing JVM JAVA_HOME or JRE_HOME environment configuration

Setting JAVA_HOME and JRE_HOME to the JRE path installed as part of Corticon i.e. D:\apps\Corticon 5.5\Server\JRE does not help resolve the error

Error MessageMissing JVM JAVA_HOME or JRE_HOME environment configuration
Defect/Enhancement Number
Cause
JAVA_HOME and JRE_HOME environment variables are pointing to a JRE instead of a JDK.
Resolution
a] Download Java JDK and install it .
For e.g. Install the JDK in location C:\Java\jdk1.8.0_65

b] Set the environment variables :
JAVA_HOME and JRE_HOME to <JDK _INSTALL_DIR> (for e.g. C:\Java\jdk1.8.0_65 )
Path to <JDK _INSTALL_DIR>\bin ( for e.g. C:\Java\jdk1.8.0_65\bin )

c] Open a command prompt and navigate to <CORTICON_WORK_DIR>\pas\server\bin and execute the following commands:
For e.g. D:\CorticonWork_5.5\pas\server\bin>tcman instances
Output : _Corticon_ | D:\CorticonWork_5.5\pas\server | instance | ok

D:\CorticonWork_5.5\pas\server\bin>tcman service _Corticon_ register
Output: _Corticon_ service is registered

d] In the Start menu search for Services and open it .
Right click on Progress Pacific Application Server _Corticon_ service and start the PAS instance as a Windows service.
Workaround
Notes
References to other documentation:
Progress Article(s):
000065291, How to start Corticon Pacific Application Server (PAS) as a Windows Service ?
Attachment 
Last Modified Date6/20/2019 10:15 PM