Hi

 

I am trying to add phoenix data source to JBoss Wildfly 10. I managed to add Oracle and impala drivers and data source but when I add phoenix I get this error

 

14:11:51,520 WARN  [org.jboss.modules] (MSC service thread 1-6) Failed to define class com.sun.jersey.server.impl.cdi.CDIExtension in Module "hbase.jdbc" from local module loader @12d3a4e9 (finder: local module finder @240237d2 (roots: C:\jboss\modules,C:\jboss\modules\system\layers\base)): java.lang.NoClassDefFoundError: Failed to link com/sun/jersey/server/impl/cdi/CDIExtension (Module "hbase.jdbc" from local module loader @12d3a4e9 (finder: local module finder @240237d2 (roots: C:\jboss\modules,C:\jboss\modules\system\layers\base))): javax/enterprise/inject/spi/Extension

                                                                                                                              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                                                                                                                              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

                                                                                                                              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                                                                                                                              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

                                                                                                                              at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:456)

                                                                                                                              at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:275)

                                                                                                                              at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)

                                                                                                                              at org.jboss.modules.Module.loadModuleClass(Module.java:717)

                                                                                                                              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

                                                                                                                              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)

                                                                                                                              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)

                                                                                                                              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)

                                                                                                                              at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadExtension(WeldPortableExtensionProcessor.java:129)

                                                                                                                              at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:115)

                                                                                                                              at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:79)

                                                                                                                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:144)

                                                                                                                              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1714)

                                                                                                                              at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1693)

                                                                                                                              at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1540)

                                                                                                                              at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

                                                                                                                              at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)

                                                                                                                              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)

                                                                                                                              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)

                                                                                                                              at java.lang.Thread.run(Thread.java:745)

 

 

 

 

I have followed the instruction described in this link https://docs.jboss.org/author/display/TEIID/Phoenix+Data+Sources but the issue is still there

 

Any one managed to do it , if so can you share your module.xml and any other setting needed for it

 

 

Thanks

 

Noam

 




PRIVILEGED AND CONFIDENTIAL
PLEASE NOTE: The information contained in this message is privileged and confidential, and is intended only for the use of the individual to whom it is addressed and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, or if any problems occur with transmission, please contact sender. Thank you.