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

Running OSGI- FriendsService: failed during activation

Hello,
I'm using the OSGI/embedded Jetty server to test Jazz components but from time to time I'm running into the following errors upon starting the OSGI console:

-com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.

Caused by:
com.hp.hpl.jena.shared.JenaException: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.

Does anyone know what's happening?
Thank you

0 votes



5 answers

Permanent link
Try adding these VM arguments to your launch:

-Dosgi.compatibility.bootdelegation=false -Dorg.osgi.framework.bootdelegation=sun.*,com.ms.*,com.ibm.*,com.sun.*,org.w3c.*,org.xml.*,javax.*

See https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/88094 for the details.

Hello,
I'm using the OSGI/embedded Jetty server to test Jazz components but from time to time I'm running into the following errors upon starting the OSGI console:

-com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.

Caused by:
com.hp.hpl.jena.shared.JenaException: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.

Does anyone know what's happening?
Thank you

0 votes


Permanent link
Thanks a bunch, that fixed it!
I hope it can help someone else :-)

0 votes


Permanent link
thank you, this has helped a lot to me also.

0 votes


Permanent link
Hi John,
I got the same error message when Run RQM ETL. this can fix the problem in development enviorment, can this be add to the CLM start up file or somewhere else to fix the same issue in the build enviorment?

Thanks in advance!

Try adding these VM arguments to your launch:

-Dosgi.compatibility.bootdelegation=false -Dorg.osgi.framework.bootdelegation=sun.*,com.ms.*,com.ibm.*,com.sun.*,org.w3c.*,org.xml.*,javax.*

See https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/88094 for the details.

Hello,
I'm using the OSGI/embedded Jetty server to test Jazz components but from time to time I'm running into the following errors upon starting the OSGI console:

-com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.

Caused by:
com.hp.hpl.jena.shared.JenaException: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.

Does anyone know what's happening?
Thank you

0 votes


Permanent link
Please file a work item against Reporting in the Jazz Foundation project area, with the details of exactly what problem you observed, and what you were trying to do when you observed it.

http://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.newWorkItem

Hi John,
I got the same error message when Run RQM ETL. this can fix the problem in development enviorment, can this be add to the CLM start up file or somewhere else to fix the same issue in the build enviorment?

Thanks in advance!

Try adding these VM arguments to your launch:

-Dosgi.compatibility.bootdelegation=false -Dorg.osgi.framework.bootdelegation=sun.*,com.ms.*,com.ibm.*,com.sun.*,org.w3c.*,org.xml.*,javax.*

See https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/88094 for the details.

Hello,
I'm using the OSGI/embedded Jetty server to test Jazz components but from time to time I'm running into the following errors upon starting the OSGI console:

-com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.

Caused by:
com.hp.hpl.jena.shared.JenaException: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.

Does anyone know what's happening?
Thank you

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

Question asked: Jan 05 '10, 9:40 a.m.

Question was seen: 8,497 times

Last updated: Jan 05 '10, 9:40 a.m.

Confirmation Cancel Confirm