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

Unable to connect when setting up Tomcat as a service

Was able to set this up and get it working using the OOTB configuration.

Problem is we can't leave the web server logged in and running all day so we setup Tomcat to run as a service. The service starts up fine but when we try to login we get a generic unable to login error.

Logs show the following:
Caused by:
com.ibm.team.repository.common.InternalRepositoryException: Error executing statement select t1.ITEM_ID from REPOSITORY.CONTRIBUTOR as t1 where (t1.USER_ID = ?)
at com.ibm.team.repository.service.internal.dataaccess.MediatorUtils.fetchData(MediatorUtils.java:57)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.queryData(RdbRepositoryDataMediator.java:770)
... 57 more
Caused by:
java.sql.SQLException: Schema 'REPOSITORY' does not exist



Any suggestions would be welcome.

Thanks

0 votes



3 answers

Permanent link
Usually when you see a message like "Schema 'REPOSITORY' does not exist" it means there's something seriously wrong with the database that backs the Jazz Repository (like it's empty or the Jazz server can't locate it).

I've notified some Repository component team members of this thread to see if they have more concrete guidance.

Question: Would you please clarify what you mean by running Tomcat "as a service"? Like a Windows service or ... ?

0 votes


Permanent link
hi,
I'm trying to run tomcat as a windows service on a vm instance of windows 2003 server. The appache service gets created and you can start and stop the service without error. When I try to connect to the server from my desktop I get the error that the repository schema does not exist in the log file and at http 500 internal server error.

When I log into the server and run server.startup.bat I'm able to connect to the server from my desktop and there are no errors in the log.

john

0 votes


Permanent link
Since two people have reported the same problem, I've opened Defect 32987 for tracking. Please continue discussion in the defect (I've subscribed you both).

https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=32987

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: Oct 03 '07, 12:21 p.m.

Question was seen: 5,910 times

Last updated: Oct 03 '07, 12:21 p.m.

Confirmation Cancel Confirm