Hi!
Heiko Seebach wrote:
> Right now I downloaded the newest binary version, and deploying works fine
> :-) , but when I let JAWS CMP access a table, it says "table not found" (see
> below) and the stacktrace shows "org.hsql.jdbcConnection.executeHSQL..." So
> it's trying to access a HyperSonic table; it should use "oracle.jdbc...."
> My question: How can I tell JAWS to use one DataSource for one CMP
> EntitityBean, and another DataSource for another CMP EntitityBean?
Currently this is only possible if you deploy two jars since the
DataSource setting in JAWS applies to the entire jar.
However...
> in jaws.xml:
> <datasource>OracleDB</datasource>
> <type-mapping>Oracle</type-mapping>
>
> in jboss.conf:
> <MLET CODE = "org.jboss.jdbc.DataSourceImpl"
> ARCHIVE="jboss.jar,classes12.zip" CODEBASE="../lib/ext/">
> <ARG TYPE="java.lang.String" VALUE="jdbc:oracle:thin:@myhost:1521:prod">
> <ARG TYPE="java.lang.String" VALUE="OracleDB">
> <ARG TYPE="java.lang.String" VALUE="oracle.jdbc.driver.OracleDriver">
> <ARG TYPE="java.lang.String" VALUE="user">
> <ARG TYPE="java.lang.String" VALUE="password">
> </MLET>
.. this looks right to me. I don't know what's going on here.. anyone
else knows?
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]