...
- If you haven’t already done so, create the ParaBank project:
- Choose File> New> Project.
- Choose Virtualize> ParaBank Example Project, then click Next.
- Enter a name for the project, then click Finish.
- Ensure that the project is configured to build automatically: open the Java perspective, select the ParaBank project, open the Project menu, then ensure that Build automatically is enabled.
- Copy the
ParasoftJDBCDriver.jar
file toParaBank/WebContent/WEB-INF/lib
.- For example, on Windows, this might be
C:\Users\<username>\parasoft\<your_workspace>\ParaBank\WebContent\WEB-INF\lib
.
- For example, on Windows, this might be
- Edit the
ParaBank/src/jdbc.properties
file to read as follows (with no extra spaces):jdbc.driverClassName=com.parasoft.xtest.jdbc.virt.driver.JDBCProxyDriver
jdbc.url=jdbc:parasoft:proxydriver:org.hsqldb.jdbcDriver:@jdbc:hsqldb:hsql://localhost/parabank
jdbc.username=sa
jdbc.password=
- In Virtualize, open the Java perspective then choose Run> Run Configurations.
- Select Apache Tomcat> ParaBank Tomcat 8.5 Server.
Under the Arguments tab, add the following Parasoft JDBC Driver flags to what is already listed in the VM arguments section:
Code Block language text -Dparasoft.virtualize.server.url=http://localhost:9080 -Dparasoft.virtualize.group.id=parabank -Dparasoft.virtualize.driver.register.jdbcproxydriver.in.drivermanager=true -Dparasoft.virtualize.driver.proxy.direct=true
- Start (or restart) the ParaBank server with the updated Run Configuration.
- Log in to ParaBank.
...