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

Getting exception on the ITeamRepository.login method

When I issue the ITeamRepository.login method I am getting the following exception

com.ibm.team.repository.common .TeamRepositoryException: org.eclipse.emf.ecore.resource .Resource$IOWrappedException: http://apache.org/xml/features/disallow-doctype-decl

This is a Windows 2008 server.  The same code is running fine on my Windows XP system.

Full exception ...

com.ibm.team.repository.common .TeamRepositoryException: org.eclipse.emf.ecore.resource .Resource$IOWrappedException: http://apache.org/xml/features/disallow-doctype-decl

    at sun.reflect.NativeConstructorA ccessorImpl.newInstance0(Nativ e Method)

    at sun.reflect.NativeConstructorA ccessorImpl.newInstance(Unknow n Source)

    at sun.reflect.DelegatingConstruc torAccessorImpl.newInstance(Un known Source)

    at java.lang.reflect.Constructor. newInstance(Unknown Source)

    at com.ibm.team.repository.transp ort.client.RemoteTeamService.g etAppropriateException(RemoteT eamService.java:704)

    at com.ibm.team.repository.transp ort.client.RemoteTeamService.e xecuteMethod(RemoteTeamService .java:506)

    at com.ibm.team.repository.transp ort.client.RemoteTeamService.i nvoke(RemoteTeamService.java:1 94)

    at com.ibm.team.repository.transp ort.client.ServiceInvocationHa ndler.invoke(ServiceInvocation Handler.java:43)

    at $Proxy0.describe(Unknown Source)

    at sun.reflect.NativeMethodAccess orImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccess orImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAc cessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invok e(Unknown Source)

    at com.ibm.team.repository.client .internal.ServiceInterfaceProx y.invokeServiceCall(ServiceInt erfaceProxy.java:164)

    at com.ibm.team.repository.client .internal.ServiceInterfaceProx y.invoke(ServiceInterfaceProxy .java:88)

    at $Proxy0.describe(Unknown Source)

    at com.ibm.team.repository.client .internal.TeamRepository$4.run (TeamRepository.java:1514)

    at com.ibm.team.repository.client .internal.TeamRepository$4.run (TeamRepository.java:1)

    at com.ibm.team.repository.client .internal.TeamRepository$3.run (TeamRepository.java:1288)

    at com.ibm.team.repository.common .transport.CancelableCaller.ca ll(CancelableCaller.java:79)

    at com.ibm.team.repository.client .internal.TeamRepository.callC ancelableService(TeamRepositor y.java:1281)

    at com.ibm.team.repository.client .internal.TeamRepository.inter nalLogin(TeamRepository.java:1 507)

    at com.ibm.team.repository.client .internal.TeamRepository.login (TeamRepository.java:640)

0 votes



2 answers

Permanent link
Ralph - thanks for the quick response.  I don't know the cause but when I switched from the Oracle JRE to the IBM JRE the problem went away.  Hopefully this information will help others that experience the same issue.

1 vote

Comments
Joe,   Were you able to  find   or identify the reason  for the errors.  I am getting same errors but have already switched to IBM JDK  with no luck

I don't have a solution except switching to IBM JDK. You might want to also look into the classpath and make sure that there is no xerces library in front of the plain Java client libraries.


Permanent link
I have never seen anything like this. Could this be a Java version or a a 32/64 bit version issue? Another possibility would be access restrictions. Are you running this on the console or in Eclipse?

0 votes

Comments
Ralph,   Were you able to  find   or identify the reason  for the errors.  I am getting same errors but have already switched to IBM JDK  with no luck

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: Jun 17 '13, 4:04 p.m.

Question was seen: 8,803 times

Last updated: Jan 09 '14, 3:05 a.m.

Confirmation Cancel Confirm