JBoss 7 datasource
Hallo, I have a problem. How can I access vertica with an application running in JBoss? How does the data source xml file and the standalone.xml file look like? In May we stwiched from mysql to vertica. Our application is running in a JBoss 7.1. That's, what I did: 1. I have added a module with the vertica-jdbc.jar in my JBoss. 2. Then I added a driver to my standalone.xml: com.vertica.jdbc.DataSource 3. At last I deployed the a datasource file with the following content: jdbc:vertica://localhost:5433/oaslt_dwh vertica false false false false test test false false SELECT 1 from dual false But my application is not able to connect to the vertica db? Did I miss something? Please help me. Thank you. Katrin
0
Comments
Hi, We are getting class cast exception when we use the same setting above. It says, vertica DataSource cannot be cast to javax DataSource. Thank you.
Thanks
I configured the data source for Vertica in JBoss EAP 7.0.0.GA as below.
[module.xml]
[standalone.xml]