jts and ccm logs not longer written
Hi fellows,
some month ago we've changed one of our JAZZ server to run the tomcat as a service.
Since this day, the logs in \IBM\JazzTeamServer3015\server\logs are not longer written.
The Tomcat logs in \IBM\JazzTeamServer3015\server\tomcat\logs are fine.
Environment: JTS&RTC 3.0.1.5
OS: w2k3 R2
Any hintes?
greetings georg.
some month ago we've changed one of our JAZZ server to run the tomcat as a service.
Since this day, the logs in \IBM\JazzTeamServer3015\server\logs are not longer written.
The Tomcat logs in \IBM\JazzTeamServer3015\server\tomcat\logs are fine.
Environment: JTS&RTC 3.0.1.5
OS: w2k3 R2
Any hintes?
greetings georg.
3 answers
Hello Georg
I believe you haven't provided the path for the logs when you set Tomcat to run as service?
****
If you do not provide paths for the log files, the log files will be written to JazzInstallDir\server\tomcat\bin\logs.
****
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m2/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Ft_run_rqm64_win_service.html
Is this the case?
Regards
Sumant
Hello,
when you run the server from the startup script, (server.startup.bat) the script sets the location of log4j.properties files: set JAVA_OPTS=%JAVA_OPTS% -Dlog4j.configuration=file:///%PATH_URL%conf/startup_log4j.properties and passes it as a parameter to the JVM.
You need to make sure you include a similar parameter in your service configuration, as the server.startup script is not process when running as a service.
when you run the server from the startup script, (server.startup.bat) the script sets the location of log4j.properties files: set JAVA_OPTS=%JAVA_OPTS% -Dlog4j.configuration=file:///%PATH_URL%conf/startup_log4j.properties and passes it as a parameter to the JVM.
You need to make sure you include a similar parameter in your service configuration, as the server.startup script is not process when running as a service.