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

Having problems running a RTC client outside eclipse

Hi

I have a RTC client which runs fine from inside eclipse.

I export it as a jar, and run it as follows

c:\jazz\jazzdev\jazz\server\jre\bin\java -Djava.ext.dirs=c:/jazz/jazzdev/jazz/server/jdk/jre/lib/ext;c:/jazz/jpjc -jar reqproConnectorClient_v2.jar

I then get the following error....
Exception in thread "main" java.lang.NullPointerException
at com.ibm.team.repository.transport.client.ValidatingX509TrustManager.i
nitializeBaseTrustManager(ValidatingX509TrustManager.java:56)
at com.ibm.team.repository.transport.client.ValidatingX509TrustManager.<init>(ValidatingX509TrustManager.java:99)
at com.ibm.team.repository.transport.client.ValidatingX509TrustManager.<init>(ValidatingX509TrustManager.java:79)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFac
tory.<init>(SecureInterruptableSocketFactory.java:136)
at com.ibm.team.repository.transport.client.RemoteTeamServer.ensureIniti
alized(RemoteTeamServer.java:192)
at com.ibm.team.repository.transport.client.RemoteTeamServer.setCredenti
als(RemoteTeamServer.java:408)
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamRep
ository.java:348)
at com.ibm.team.repository.client.internal.TeamRepositoryService.createS
haredTeamRepository(TeamRepositoryService.java:366)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeam
Repository(TeamRepositoryService.java:91)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeam
Repository(TeamRepositoryService.java:110)
at com.ibm.uk.genericconnector.RTCUtil.login(RTCUtil.java:130)
at com.ibm.uk.genericconnector.GenericConnector.startup(GenericConnector
.java:76)
at com.ibm.uk.reqproconnector.ReqProConnector.main(ReqProConnector.java:
61)

Any idea what I'm doing wrong ?

Any help much appreciated

Steve

0 votes



One answer

Permanent link
I got exactly the same error, in my case the problem was with IBMJCE provider - it was not loaded. The only thing I had to do was to add lib/ext dir from my RTC VM to -Djava.ext.dirs.

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,952

Question asked: Sep 12 '09, 4:20 p.m.

Question was seen: 7,129 times

Last updated: Sep 12 '09, 4:20 p.m.

Confirmation Cancel Confirm