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

How to set license for Jetty server

Hi,

How do I setup the Jetty server to run inside eclipse with the correct license ?

I tried copying - com.ibm.team.rtc.server.license.standard-ea_0.9.9.jar from my server into the TeamConcert plugins and putting it in the osgi launch for the jetty server, but it gives following exception:

repository.service.internal.license.LicenseService - CRJAZ0942I The license key located at "bundleentry://66/jazz_team_server_standard_early-access.jar" could not be processed. Examine the nested exception for the cause of the failure.
com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0965I The file was not a valid server or client access license activation key.
at com.ibm.team.repository.service.internal.license.LicenseService.addLicense(LicenseService.java:1207)
at com.ibm.team.repository.service.internal.license.LicenseService.addLicense(LicenseService.java:1151)


The reason I need this as follows -
- I have setup my tomcat server to use db2 as the repository
- I have a junit test client to populate the database with some data
- I run the jetty server pointing it to the db2 of the production server and run the junit test case. It seems to put all the data in db2
- When I shutdown the jetty server and start tomcat server, it complains on the license. I cannot access any of my services.

What is the best way to populate data for my component in the database when in production environment ?

Thanks
- Vibha

0 votes



3 answers

Permanent link
From the description of your problem it sounds like you are having a problem with your Tomcat license (not the Jetty setup).

What is the license error when you start the Tomcat server? What edition of Jazz Team Server are you running?

0 votes


Permanent link
I am using the following edition of Jazz server:
Rational Jazz Team Server - Standard (Early Access)

My tomcat license seems to be getting messed up anytime I connect to the same via Jetty.

I had written some junit testcases to load some data in the repository. However becuase the testcases plugins were not provisioned on the production server, I connect to the same repository through Jetty server. However, after I load the data and try to restart the tomcat server I get the license error.

0 votes


Permanent link
Can you include the license error that Tomcat is giving you?

The testcases that create the data can be written as client side testcases. If you take that approach, it would enable testing of the client API for your services along with allowing you to create the test data in a Tomcat server.

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
× 10,957

Question asked: Jun 26 '08, 10:19 a.m.

Question was seen: 7,476 times

Last updated: Jun 26 '08, 10:19 a.m.

Confirmation Cancel Confirm