Knowledge Base : Glossary : Suggest a Question
Search The Knowledge Base
Browse The Knowledge Base
Knowledge Base : Nettrade

NetTradeTomcat Service is not started

NetTradeTomcat Service is not started

Possible Causes and Solutions:

1. Java Heap Size is not allocated
Solution: Open \NetTrade\tomcat\conf\Wrapper.conf and Search for the Following Content
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024

Change the maxmemory Size into 512MB to solve this issue

2. NetTrade Tomcat Port 8585 is used by someother programs
Solution:
** Verify the Port is assigned to NetTrade Default port(Instead of 6565)
** Verify any other Programs or JAVA.exe is using the Port 8585

3. Wrapper port conflict between Web Reporter and NetTrade
Cause: Web Reporter and NetTrade Tomcat sharing the same port for Wrapper
Solution:
Open \NetTrade\tomcat\conf\Wrapper.conf and Search for the Following Content
set.JMXREMOTE_PORT=9828

** Change the Port into New Port like 9829 or Comment that line in that file
** For Temporary Solution you can stop the web Reporter Tomcat and start the NetTradeTomcat

4. Tomcat is not starting Due to JAVA.exe missing in \NetTrade\Jre\bin folder

Cause: Manually deleted or removed by Virus scanner

Solution:

1. Manually Place the java.exe file in jre\bin folder and verify the service is starting
2. Check the Environment Variable is properly set for Jre\bin folder in My Computer Properties under
advanced settings
2. Exclude the NetTrade folder from Antivirus

Sample error:

ADVICE | wrapper | 2013/03/22 13:42:11 | Advice:
ADVICE | wrapper | 2013/03/22 13:42:11 | Usually when the Wrapper fails to start the JVM process, it is
ADVICE | wrapper | 2013/03/22 13:42:11 | because of a problem with the value of the
configured Java command.
ADVICE | wrapper | 2013/03/22 13:42:11 | Currently:
ADVICE | wrapper | 2013/03/22 13:42:11 | wrapper.java.command=..\..\jre\bin\java
ADVICE | wrapper | 2013/03/22 13:42:11 | Please make sure that the PATH or any other referenced environment
ADVICE | wrapper | 2013/03/22 13:42:11 | variables are correctly defined for the current environment.
ADVICE | wrapper | 2013/03/22 13:42:11 | --------------------------------------------------------------------
ADVICE | wrapper | 2013/03/22 13:42:11 |
FATAL | wrapper | 2013/03/22 13:42:11 | Critical error: wait for JVM process failed
INFO | wrapper | 2013/03/22 13:42:11 | Waiting to start...
ERROR | wrapper | 2013/03/22 13:42:12 | The NetTradeTomcat service was launched, but failed to start.
ERROR | wrapper | 2013/03/22 13:42:12 | Please check the log file more information: D:\Program Files\NetTrade\tomcat\logs\wrapper-YYYYMMDD.log





Related Articles
There are no related articles


Viewer Comments Add Comment
No viewers have posted comments

Powered By AutoKB