Hello all,
I have tryed today to make my datasource alone, but when I deploy it in the directory ../default/deploy/ , jboss makes me a lot of errors. You can find below my datasource and the errors of Jboss. I think it's a problem of mbean, but I don't know what I must write in the mbean section.
Thank you very much for any help :)
<?xml version="1.0" encoding="UTF-8" ?>
<local-tx-datasource>
<connection-url>jdbc:mysql://localhost:3306/test</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>test</user-name>
test
<min-pool-size>5</min-pool-size>
</local-tx-datasource>
Errors from JBOSS :
16:36:00,115 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
-3.2.2RC3/server/default/deploy/mysql_datasource.xml
16:36:00,125 INFO [MainDeployer] deployment waiting for deployer: file:/C:/jbos
s-3.2.2RC3/server/default/deploy/mysql_datasource.xml
16:36:00,125 INFO [MainDeployer] Deployment of package: file:/C:/jboss-3.2.2RC3
/server/default/deploy/mysql_datasource.xml is waiting for an appropriate deploy
er.
16:36:00,125 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@ee68ac3d { url=file:/C:/jboss-3.2.2RC3/serv
er/default/deploy/mysql_datasource.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-3.2.2RC3/server/default/deploy/mysql_datasource.xml
lastDeployed: 1063293426948
lastModified: 1063293426948
mbeans:
, org.jboss.deployment.DeploymentInfo@ee68ac3d { url=file:/C:/jboss-3.2.2RC3/ser
ver/default/deploy/mysql_datasource.xml }