[Solved]TeamRespositoryException in login() Servlet&WAS7
I've got TeamRepositoryException during login in my servlet although my project includes all RTC client java libraries under WEB-INF/lib.
IProgressMonitor monitor = new NullProgressMonitor();
I tried to set class loading policy as reverse order, but didn't work.
I do like to know how I can make this plugin get information from his plugin.xml. Any solution? SystemOut.log - TeamPlatform.startup() StandaloneFil W com.ibm.team.repository.common.internal.util.StandaloneExtensionRegistry getBundleLocalization Could not open META-INF/MANIFEST.MF for bundle: jar:file:/C:/IBM/WebSphere/AppServer/lib/pc-appext.jar!/plugin.xml SystemErr.log - ITeamRepository.login() com.ibm.team.repository.common.TeamRepositoryException: Badly configured client. Missing a foundation component tag. |
3 answers
here is the jars my web application based workitem client has listed in its web_inf/lib directory .
org.eclipse.osgi org.eclipse.equinox.registry org.eclipse.equinox.common org.eclipse.emf.ecore org.eclipse.emf.ecore.xmi org.eclipse.emf.ecore.change org.eclipse.emf.common org.eclipse.core.runtime org.eclipse.core.jobs com.ibm.team.repository.rcp.common com.ibm.team.repository.common com.ibm.team.repository.common.transport com.ibm.team.repository.common.serialize com.ibm.team.repository.common.remoteaccess com.ibm.team.repository.common.remoteaccess.auth com.ibm.team.repository.common.json com.ibm.team.repository.client com.ibm.team.process.common com.ibm.team.interop.common com.ibm.team.interop.client |
Tentative solution on WEB-INF/lib is SETTING CLASS LOADER of application as follows.
- Classloader mode : PARENT_LAST AND - WAR classloader policy : APPLICATION With this, I succeeded in login(). But with classloader change, other framework based codes did not work. Another solution is MAKING RTC Plain Client jars as EAR/Utility Jars. In this case, classloader mode : PARENT_LAST was sufficient and framework code worked. |
This issue is being discussed again now in https://jazz.net/forums/viewtopic.php?t=24415
|
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.