It's all about the answers!

Ask a question

jts and ccm logs not longer written


Georg Kellner (840378109) | asked Jan 24 '14, 4:29 a.m.
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.

3 answers



permanent link
Shubjit Naik (1.5k1613) | answered Jan 24 '14, 6:58 a.m.
edited Jan 24 '14, 7:00 a.m.
Hi George

If the path is not set as Sumant mentions above, then take a look at <JAZZ_HOME>\server\tomcat\bin ... There are few folders created here and some of the logs would be written here once Tomcat is running as a service.


permanent link
Piotr Aniola (3.7k11738) | answered Jan 24 '14, 4:38 a.m.
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.

Comments
Georg Kellner commented Jan 24 '14, 6:25 a.m.

And how could this look like?
Somehow like this?
Service configuration
Path to executable:
...\server\tomcat\bin\tomcat5.exe //RS//tomcat5 -Dlog4j.configuration=file:///D:/IBM/JazzTeamServer3015/server/conf/startup_log4j.properties

greetings georg.


permanent link
Sumant Renukarya (1.1k23339) | answered Jan 24 '14, 4:38 a.m.
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

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.