Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Bundle Activator error while deploying created plugin to EWM 7.1 Development Server

We are migrating from EWM 7.0.2 SR1 to EWM 7.1. While redeploying a custom plugin to EWM 7.1, we encountered an error.


CRJAZ0307I Starting the bundle "com.jlr.rmdv.testtaskcreation.common 4.0.5".
CRJAZ0307I Starting the bundle "com.jlr.rmdv.testtaskcreation.service 4.0.7".
CRJAZ0291E The following bundle could not be started: com.jlr.rmdv.testtaskcreation.service 4.0.7. The server might need to be reprovisioned or reinstalled.
org.osgi.framework.BundleException: Error loading bundle activator.
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:786)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:603)
at org.eclipse.osgi.container.Module.start(Module.java:467)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:439)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:458)
at com.ibm.team.repository.provision.internal.ProvisionService.startFeatureBundles(ProvisionService.java:1627)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfiles(ProvisionService.java:1258)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfileNoWait(ProvisionService.java:1361)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:1298)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromContextConfigurationUrl(ProvisionService.java:1384)
at com.ibm.team.jfs.app.install.Activator$1.run(Activator.java:166)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.jlr.rmdv.testtaskcreation.service.Activator cannot be found by com.jlr.rmdv.testtaskcreation.service_4.0.7
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:824)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:778)
... 13 more

I have checked the Activator class. Everything is fine in there. Tried restarting the server and reinstalling. Checked the dependencies also. There are 2 plugins, but getting error for service plugin only. ( com.jlr.rmdv.testtaskcreation.service)


0 votes



2 answers

Permanent link

There is a change of Java versions, this could require a rebuild. All I can suggest is, perform the EWM Extensions Workshop for 7.1, test your extension, rebuild the deployable site and redeploy the result of that. 

0 votes


Permanent link

I have performed the EWM Extensions Workshop for 7.1 and recompiled the plugins with EWM 7.1 server sdk. 

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,985
× 458
× 19
× 2

Question asked: Mar 11, 9:51 a.m.

Question was seen: 223 times

Last updated: Mar 12, 6:01 a.m.

Confirmation Cancel Confirm