I am using entity bean CMP and BMP.
My default datasource is configured as hypersonic.
But for my tutorial I am trying to use Postgesql.
When I deploy my jars My apps is working,
BMP use Postgresql(sucsessfully) as datasource,
but CMP use hypersonic(wrongly,I want them to use Postgresql).My questing: What I need to put and in which file to fource CMP to use Postgresql having both databases active. I bought CMP2 docs(test is failed for jboss3RC2),but it just for jboss-3alpha. I am using jboss3RC2.
Make sure that your jbosscmp-jdbc.xml file contains something like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
at the beginning.