firstly, i wrote a mysql-ds.xml as following :
<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: mysql-ds.xml,v 1.0 2003-8-11 15:56 et Exp $ -->


  <local-tx-datasource>

    jboss:service=Hypersonic

    <jndi-name>xpetstoreDS</jndi-name>
    <connection-url>jdbc:mysql://localhost/xpetstore</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>mysql</user-name>
    root
    <min-pool-size>5</min-pool-size>
    <security-domain>HsqlDbRealm</security-domain>
  </local-tx-datasource>
  


secondly, i modified the file's content to this:


<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mysql-ds.xml,v 1.0 2003-8-11 15:56 et Exp $ -->

  

    HsqlDbRealm

        jboss:service=Hypersonic

    <depends optional-attribute-name="ManagedConnectionFactoryName">
 
     
        xpetstoreDS

        
          
            <config-property name="ConnectionURL" 
type="java.lang.String">jdbc:mysql://localhost/xpetstore</config-property>
            <config-property name="DriverClass" 
type="java.lang.String">com.mysql.jdbc.Driver</config-property>

            <config-property name="UserName" 
type="java.lang.String">root</config-property>
            <config-property name="Password" 
type="java.lang.String">mysql</config-property>
          
        
                
        
  
  


both , when i run jboss in console , occured the following exception:

10:35:52,078 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[EMAIL PROTECTED] { url=file:/D:/jboss-3.0.8/server/
xpetstore/deploy/mysql-ds.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/jboss-3.0.8/server/xpetstore/deploy/mysql-ds.xml
  lastDeployed: 1077676552046
  lastModified: 1077676554000
  mbeans:
]Incompletely deployed packages:
[EMAIL PROTECTED] { url=file:/D:/jboss-3.0.8/server/
xpetstore/deploy/mysql-ds.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/jboss-3.0.8/server/xpetstore/deploy/mysql-ds.xml
  lastDeployed: 1077676552046
  lastModified: 1077676554000
  mbeans:
]MBeans waiting for classes:
  
MBeans waiting for other MBeans:
  

10:35:52,109 INFO  [URLDeploymentScanner] Started

can any body give me some tips?

Thx in advance!!


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822806#3822806

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822806


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to