-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
None
-
None
-
- Add a MANIFEST.MF file with Dependencies: sun.jdk to the deployment.
-
When executing a Camel route produced in Fuse Integration Services, I see the following error consistently. Removing the camel-jbossdatagrid dependency, and all references to the classes it contains fixes the issue.
I have an S2I build which reproduces this issue. Whilst I've reverted my changes for now, I can create a branch for a recreator if that helps.
2016-11-02 03:28:04,934 [main ] INFO MainSupport - Apache Camel 2.15.1.redhat-621084 stopping
Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: com/sun/jdi/request/EventRequest
at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExecutorServices.java:66)
at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:43)
at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:51)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer.createClassBeans(ConcurrentBeanDeployer.java:75)
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:256)
at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:397)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:557)
at org.apache.deltaspike.cdise.weld.WeldContainerControl.boot(WeldContainerControl.java:68)
at org.apache.camel.cdi.Main.doStart(Main.java:90)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
at org.apache.camel.main.MainSupport.run(MainSupport.java:150)
at org.apache.camel.main.MainSupport.run(MainSupport.java:354)
at org.apache.camel.cdi.Main.main(Main.java:47)
Caused by: java.lang.NoClassDefFoundError: com/sun/jdi/request/EventRequest
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at java.lang.Class.getEnclosingMethod(Class.java:1045)
at org.jboss.weld.util.reflection.Reflections.isStaticNestedClass(Reflections.java:405)
at org.jboss.weld.util.reflection.Reflections.isTopLevelOrStaticNestedClass(Reflections.java:425)
at org.jboss.weld.util.Beans.isTypeManagedBeanOrDecoratorOrInterceptor(Beans.java:521)
at org.jboss.weld.bootstrap.BeanDeployer.createClassBean(BeanDeployer.java:213)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:78)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:75)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.sun.jdi.request.EventRequest
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)