If you look on port 8082, are the mySqlDB mbeans started? Is it in jndi?

If you are starting jboss with everything in the deploy dir, the datasource
may be deploying after the ejbs... thus the problem.  Let us know if this
is the problem.  If not, check the log for startup messages from the
mySqlDB mbeans.

david jencks

On 2002.06.11 16:56:23 -0400 Coral Burns wrote:
> 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
> 
> 

_______________________________________________________________

Multimillion Dollar Computer Inventory
Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to