- This topic has 3 replies, 2 voices, and was last updated 6 months ago by Brian Fernandes.
-
AuthorPosts
-
thbnelsonParticipantI have been using MyEclipse for Websphere development for years, and run EJB Deploy all the time,
and I just recently updated to
Version: 2024.1.0
Build id: 16.0.0-20240611After the update and “the usual” migration, I cannot use Java EE Tools -> Run EJB Deploy
I get the message:
EJB deploy failed
Cannot create frameworkIn the .logs it says
!ENTRY com.genuitec.eclipse.blue.ejbdeploy 4 0 2024-06-17 16:14:55.908
!MESSAGE EJB deploy failed
!SUBENTRY 1 com.genuitec.eclipse.blue.ejbdeploy 4 0 2024-06-17 16:14:55.908
!MESSAGE Cannot create framework
!STACK 0
java.lang.RuntimeException: Cannot create framework
at com.genuitec.eclipse.blue.ejbdeploy.Loader.<init>(Loader.java:144)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.genuitec.eclipse.blue.ejbdeploy.framework.EJBDeployFramework.createProxyFramework(EJBDeployFramework.java:164)
at com.genuitec.eclipse.blue.ejbdeploy.framework.EJBDeployFramework.<init>(EJBDeployFramework.java:74)
at com.genuitec.eclipse.blue.ejbdeploy.framework.EJBDeployFramework.getFramework(EJBDeployFramework.java:229)
at com.genuitec.eclipse.blue.ejbdeploy.EJBDeployJob.run(EJBDeployJob.java:393)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.internal.framework.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.initWorker(EquinoxBundle.java:140)
at org.eclipse.osgi.container.SystemModule.init(SystemModule.java:83)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.init(EquinoxBundle.java:209)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.init(EquinoxBundle.java:201)
at org.eclipse.osgi.launch.Equinox.init(Equinox.java:168)
at com.genuitec.eclipse.blue.ejbdeploy.Loader.<init>(Loader.java:65)
… 10 more
Caused by: java.lang.NoClassDefFoundError: allow
at org.eclipse.osgi.internal.framework.SystemBundleActivator.installSecurityManager(SystemBundleActivator.java:142)
at org.eclipse.osgi.internal.framework.SystemBundleActivator.start(SystemBundleActivator.java:56)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
… 18 moreSuggestions?
Brian FernandesModeratorThank you for the report – this is a regression that unfortunately made its way through to the release.
Thankfully the fix is simple.
1) Shut down MyEclipse
2) Editmyeclipse.ini
(in the same folder asmyeclipse.exe
) and delete the line-Djava.security.manager=allow
3) Start MyEclipse, EJBDeploy should now work fine.Please let us know if you still experience issues and apologies for the inconvenience caused!
thbnelsonParticipantFix worked. Thank you
Brian FernandesModeratorThanks for the confirmation, and sorry again for the inconvenience caused.
-
AuthorPosts