Hello: I'm attempted to get Jboss3.0 working with a mysql database and I'm getting these errors:
Error: "can't find data source: java:/mySqlDB;"
or
"mySqlDB not bound"
This is what I've put in my various files:
________________________________________
jaws.xml (part of my ejb):
<datasource>java:/mySqlDB</datasource>
<type-mapping>mySQL</type-mapping>
___________________________
standardjbosscmp-jdbc.xml:
<defaults>
<datasource>java:/mySqlDB</datasource>
<datasource-mapping>mySQL</datasource-mapping>
<create-table>true</create-table>
<remove-table>false</remove-table>
<read-only>false</read-only>
<time-out>300</time-out>
<pk-constraint>true</pk-constraint>
<fk-constraint>false</fk-constraint>
<row-locking>false</row-locking>
<preferred-relation-mapping>foreign-key</preferred-relation-mapping>
<read-ahead>
<strategy>on-load</strategy>
<page-size>1000</page-size>
<eager-load-group>*</eager-load-group>
</read-ahead>
<list-cache-max>1000</list-cache-max>
</defaults>
_________________________________
And I've put the mysql-service.xml file, found in the /docs/examples/jca
directory and put it in the /server/default/deploy directory. I only
changed a few section of this file...I changed the JndiName = "mySqlDB"
instead of "MySqlDS" (so it matches my entries in the jaws.xml and
standardbosscmp-jdbc.xml files), I commented out this line: <attribute
name="SecurityDomainJndiName">MySqlDbRealm</attribute> and I added my url
and username and password info.
__________________________________
Awhile ago, I got the same mysql database working with Jboss2.4.3, so the
database is fine, etc.
Is there anything that I'm missing or am I editing the mysql-service.xml
file wrong? Should the
Thanks alot!
Coral Burns
***********************************
Coral Burns
CRITICAL MASS
Application Development
[EMAIL PROTECTED]
t: 403 262 3006
f: 403 262 7185
www.criticalmass.com
winmail.dat
Description: application/ms-tnef
