Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



3 answers

Permanent link
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

1 vote


Permanent link
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.

0 votes

Comments

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
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 24 '14, 4:29 a.m.

Question was seen: 5,140 times

Last updated: Jan 24 '14, 7:00 a.m.

Related questions
Confirmation Cancel Confirm