You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gadham Vasantha Kumar, Arjun (Nokia - IN/Bangalore)" <ar...@nokia.com> on 2018/07/12 08:42:51 UTC

FW: Issue while deploying on JBOSS

Hello,


We are using the class: org.apache.phoenix.jdbc.PhoenixDriver to connect to Phoenix and currently using the jar (phoenix-4.7.0-HBase-1.0-client.jar) & while using this jar in our final artifact and deploying on JBOSS, seeing the following exception:

aga@XXXX$ cat vzw-hbase-djr-client-1.0-SNAPSHOT.war.failed
"{
    \"JBAS014671: Failed services\" => {\"jboss.deployment.unit.\\\"vzw-hbase-djr-client-1.0-SNAPSHOT.war\\\".POST_MODULE\" => \"org.jboss.msc.service.StartException in service jboss.deployment.unit.\\\"vzw-hbase-djr-client-1.0-SNAPSHOT.war\\\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \\\"vzw-hbase-djr-client-1.0-SNAPSHOT.war\\\<file:///%22vzw-hbase-djr-client-1.0-SNAPSHOT.war/>"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011232: Only one JAX-RS Application Class allowed.  com.sun.jersey.server.impl.application.DeferredResourceConfig com.sun.jersey.api.core.WebAppResourceConfig com.sun.jersey.api.core.DefaultResourceConfig com.sun.jersey.api.core.ApplicationAdapter com.sun.jersey.api.core.PackagesResourceConfig com.sun.jersey.api.core.ClasspathResourceConfig com.sun.jersey.api.core.ClassNamesResourceConfig com.sun.jersey.api.core.ScanningResourceConfig com.sun.jersey.api.core.ResourceConfig\"},
    \"JBAS014771: Services with missing/unavailable dependencies\" => [\"jboss.naming.context.java.jboss.udm-plugin-meta.\\\"vzw-hbase-djr-client-1.0-SNAPSHOT.war\\\" is missing [jboss.deployment.unit.\\\"vzw-hbase-djr-client-1.0-SNAPSHOT.war\\\".beanmanager]\"]

W/o this jar in the war file we get ClassNotFoundException for org.apache.phoenix.jdbc.PhoenixDriver.

Any inputs on this will help. It is ok if we deploy this jar outside of WAR file.

Regards,

Arjun G V