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

Issues around configuing Apache Tomcat to run as windows service versus running manually

 Hi,


Are there any known issue with configuring Apache Tomcat to run as windows service on MS windows Server 2012 versus running it manually via command prompt as administrator.


We see issues with JAZZ application (JTS, RM, QM and CCM ) etc. When Apache Tomcat is configured to run as windows service it runs,the login page loads fine but gives an error connecting to the repository.

Snapshot below

tomcat_loginissue


In the other scenario -  Have tried running the service manually and it is working fine

tomcat_login_working

0 votes

Comments

Compare the relevant log files (jts.log, ccm.log and etc) in both scenarios to find out any errors.

1 vote

 That is a good point to be tested out. Following the second way it is working without any issues.



2 answers

Permanent link
remember, when running from the commandline it usually has the user credentials, when running as a service you need to add those explicitly.  the 'system' id isn't anything. so probably doesn't have permissions on the DB

0 votes

Comments

We have tried configuring the service in the same way to run under the tomcat service using an account which has administrative privilege and logon permission on the server ( Windows Server 2012 OS)


The strange thing is Application URL loads and we can login but the it cannot connect to the repository.

apache_config_error


Scroll all the way down to see the last "caused by:" in the stack trace. Or check jts.log for more details.


Permanent link


Found a workaround in Configuring Apache Tomcat to run as a windows service on 2012 R2 server by replacing the C:\Program Files with C:/PROGRA~1 got the service up and running and JTS getting connected to the repository.

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
× 7,507
× 6,131

Question asked: Sep 09 '15, 4:16 a.m.

Question was seen: 2,939 times

Last updated: Sep 16 '15, 8:52 a.m.

Confirmation Cancel Confirm