how to create a Web application using java plain api
Hi ,
I am using java plain api to pull out verison numbers , and i am able to do it in a standalone java class.
But once i try to access it via jsp and servlet code, with weblogic server i am getting below error ::
java.lang.IllegalStateException: Already stopped
at com.ibm.team.repository.common.internal.util.InternalTeamPlatform.shutdown(InternalTeamPlatform.java:120) at com.ibm.team.repository.client.TeamPlatform.shutdown(TeamPlatform.java:63)
Could you please help ?
Thanks,
Bhavana
|
One answer
Ralph Schoon (63.1k●3●36●46)
| answered Feb 14 '19, 5:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 14 '19, 5:46 a.m. This is beyond what the forum usually can help with.
Only hint I can give you is that the usual applications of the plain java client libraries start them, login and do something and then shut down the API.
TeamPlatform.startup()
....
TeamPlatform.shutdown();
You would have to run all that in your page. Otherwise you would have to keep the TeamPlatform open.
How to do that can be found in the workitem commandline (for the RMI Server Mode). https://github.com/jazz-community/work-item-command-line
I am also not sure if the client API is reentrant.
|
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.
Comments
Albert, if you have a question to ask, please ask in your own question rather than commenting on a 2 year old question.