Hi,
I updated my mysql-ds.xml to
?xml version=1.0 encoding=UTF-8?
!-- $Id: mysql-ds.xml 41016 2006-02-07 14:23:00Z acoliver $ --
!-- Datasource config for MySQL using 3.0.9 available from:
http://www.mysql.com/downloads/api-jdbc-stable.html
--
local-tx-datasource
I did as you had suggested bu I get the following error when I deploy the jar
file
10:48:41,965 INFO [EJB3Deployer] Deployed:
file:/C:/jboss-4.2.0.GA/server/default/deploy/DPDS-Server.jar
10:48:42,418 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other
Yes
I have mysql-ds.xml in my default/deploy folder. HAve I configures it right.
Pl. let me know. - Thanks
?xml version=1.0 encoding=UTF-8?
!-- $Id: mysql-ds.xml 41016 2006-02-07 14:23:00Z acoliver $ --
!-- Datasource config for MySQL using 3.0.9 available from:
anonymous wrote : Caused by: java.lang.ClassNotFoundException: No ClassLoaders
found for: com.mysql.jdbc.Driver
Place your MySQL driver jar file in C:/jboss-4.2.0.GA/server/default/lib folder
and restart JBoss.
View the original post :
In your -ds.xml file you have specified
jndi-nameDPDS/jndi-name
So, in the persistence.xml file you have to change the following line
jta-data-sourcejava:/MySqlDS/jta-data-source
to
jta-data-sourcejava:/DPDS/jta-data-source
View the original post :
Please post the entire exception stacktrace that you see. Also, please mention
all the changes that you have so far. Also, see this wiki entry
http://wiki.jboss.org/wiki/Wiki.jsp?page=DSdotXML to understand how datasources
are deployed.
View the original post :
Have you created and placed the -ds.xml file for your MySqlDS datasource in
the deploy folder of the server?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123745#4123745
Reply to the post :