This section covers how to configure the Parasoft JDBC Driver for JBoss.
JBoss application servers (including servers using PostgreSQL) can be configured as follows:
{jboss install}/module
create the directories com/parasoft/main
.In the main directory, add ParasoftJDBCDriver.jar
and the following module.xml
file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <module xmlns="urn:jboss:module:1.0" name="com.parasoft"> <resources> <resource-root path="ParasoftJDBCDriver.jar"/> </resources> <dependencies> <module name="javax.api"/> <module name="original.module"/> </dependencies> </module> |
For example, if you are using Postgres, replace |
Configure the standalone.xml
drivers by adding the following driver xml fragment:
<driver name="parasoft" module="com.parasoft"> <driver-class>com.parasoft.xtest.jdbc.virt.driver.JDBCProxyDriver</driver-class> <xa-datasource-class>parasoft-vendor-specific-xa-datasource</xa-datasource-class> </driver> |
See JDBC Driver Implementation Classes for additional information on vendor-speicif driver implementation classes. |
standalone.xml
data source.host
, port
and database
with the host, port and database of your server. For example: