Arjun created PHOENIX-4812: ------------------------------ Summary: Issue while deploying on JBOSS Key: PHOENIX-4812 URL: https://issues.apache.org/jira/browse/PHOENIX-4812 Project: Phoenix Issue Type: Bug Reporter: Arjun
We are{color:#333333} 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:{color} {color:#333333}aga@{color}XXXX{color:#333333}$ 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* {color}[\\\"vzw-hbase-djr-client-1.0-SNAPSHOT.war\\\|file:///%22vzw-hbase-djr-client-1.0-SNAPSHOT.war/]*{color:#333333}"{color}*{color:#333333} *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]**\"]*{color} {color:#333333}W/o this jar{color}{color:#333333} in the{color} {color:#333333}war{color}{color:#333333} file we get ClassNotFoundException for org.apache.phoenix.jdbc.PhoenixDriver.{color} *Any inputs on this will help. It is ok if we deploy this jar outside of WAR file.* *Also, ok to consume a lighter jar which can be used to connect to Phoenix from Java.* -- This message was sent by Atlassian JIRA (v7.6.3#76005)