Can not bind mySQL with jboss-3.0.4
irishuang Nov 5, 2002 1:26 AMI am running jboss-3.0.4.
I downloaded mysql-serveice.xml file for mysql from
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosscx/src/etc/example-config/
I pick up the revision 1.2. I changed some properties in the file (user name, password, url) and then copy it into %JBOSS_INST%\server\default\deploy.
I also put a jdbc driver mm.mysql-2.0.11-bin.jar into JBOSS_INST%\server\default\lib.
After start the jboss server, I got the error as following,
00:13:56,604 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=LocalTxCM,name=MySqlDS
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployer
jboss.jca:service=LocalTxDS,name=MySqlDS
jboss.jca:service=LocalTxPool,name=MySqlDS
jboss.jca:service=CachedConnectionManager
Depends On Me: , ObjectName: jboss.jca:service=LocalTxDS,name=MySqlDS
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter
Depends On Me: jboss.jca:service=LocalTxCM,name=MySqlDS
, ObjectName: jboss.j2ee:jndiName=Inventory2Bean,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: MySqlDS not bound, ObjectName: jboss.j2ee:jndiName=Inventory1Bean,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: MySqlDS not bound]
I checked the server.log, it shows,
2002-11-05 00:13:38,904 INFO [org.jboss.deployment.MainDeployer] Starting deplo
yment of package: file:/home/hhuang/jboss-3.0.4/server/default/deploy/jboss-loca
l-jdbc.rar
2002-11-05 00:13:39,294 WARN [org.jboss.system.ServiceController] jboss.jca:ser
vice=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper does not implement a
ny Service methods
2002-11-05 00:13:39,297 WARN [org.jboss.system.ServiceController] jboss.jca:ser
vice=LocalTxDS,name=hsqldbDS does not implement any Service methods
2002-11-05 00:13:39,300 INFO [org.jboss.resource.connectionmanager.LocalTxConne
ctionManager] Creating
2002-11-05 00:13:39,417 INFO [org.jboss.resource.connectionmanager.LocalTxConne
ctionManager] Created
2002-11-05 00:13:39,536 INFO [org.jboss.resource.connectionmanager.LocalTxConne
ctionManager] Starting
2002-11-05 00:13:39,673 INFO [org.jboss.resource.adapter.jdbc.local.LocalManage
dConnectionFactory.DefaultDS] Bound connection factory for resource adapter 'JBo
ss LocalTransaction JDBC Wrapper' to JNDI name 'java:/DefaultDS'
2002-11-05 00:13:39,675 INFO [org.jboss.resource.connectionmanager.LocalTxConne
ctionManager] Started
2002-11-05 00:13:39,676 INFO [org.jboss.deployment.MainDeployer] Deployed packa
ge: file:/home/hhuang/jboss-3.0.4/server/default/deploy/jboss-local-jdbc.rar
I am really frustrated. I spent a lot of time on it and keep searching this forum. But until now no formal docs talking about mySQL working with jboss 3.0.x. As for the mysql-service.xml, there are so many version in CVS, I do not know which one I should pick up.
Thanks for your help,
Iris