I am getting a "DEPLOYMENT IN ERROR" error when running helloworld-ejb3 via Ant in eclipse 3.2.1. I modified the META-INF/persistence.xml and META-INF/helloworld-beans.xml to use MySQL (version = mysql-5.1.14-beta-linux-i686-icc-glibc23). The change to persistence.xml was trivial, changing the dialect from HSQL to MySQL. The only non-trivial change to helloworld-beans.xml was the addition of password property for the JDBC connection, however  removing the password property has no effect on results. I do get an XML validation error on the helloworld-beans.xml file under eclipse where the default namespace is declared in the deployment element. 
Cannot find the declaration of element 'deployment'.
@see: 
http://www.w3.org/TR/xmlschema-1/#cvc-elt	ejb3.helloworld/src/etc/META-INF	helloworld-beans.xml	line 3
I assume this is an eclipse configuration problem with the urn syntax used to set the default namespace and should not affect the Ant run task. The bean-deployer-2.0.xsd file is included in the jboss-ejb3-all.jar that I copied from the jboss-EJB-3.0_Embeddable_ALPHA_9 distribution that I downloaded.
The other helloworld examples worked perfectly in eclipse with MySQL. Has anyone encountered a similar problem?
The Ant buildfile output is below.
Thanks in advance
Chuck Simpson
Buildfile: /home/chuck/eclipse/workspace/ejb3.helloworld/build.xml
compile:
copymetafiles:
run:
     [java] WARN  11-01 12:20:50,425 (BeanSchemaBinding.java:init:233)  -You should use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
     [java] INFO  11-01 12:20:50,825 (LocalTxDataSource.java:bindConnectionFactory:117)  -Bound datasource to JNDI name 'java:/DefaultDS'
     [java] ERROR 11-01 12:20:51,477 (AbstractController.java:incrementState:440)  -Error installing to Configured: name=helloWorldDataSourceFactory state=Instantiated
     [java] java.lang.IllegalArgumentException: Null value metadata
     [java] at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:496)
     [java] at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:443)
     [java] at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.java:407)
     [java] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(AbstractKernelConfigurator.java:120)
     [java] at org.jboss.kernel.plugins.dependency.ConfigureAction.installAction(ConfigureAction.java:52)
     [java] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:100)
     [java] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
     [java] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
     [java] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
     [java] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
     [java] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
     [java] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
     [java] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:274)
     [java] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:177)
     [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
     [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
     [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
     [java] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95)
     [java] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.deployXmlResource(EJB3StandaloneBootstrap.java:97)
     [java] at hello.HelloWorld.main(HelloWorld.java:15)
     [java] Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalStateException: Incompletely deployed:
     [java] *** DEPLOYMENTS IN ERROR: Name -> Error
     [java] helloWorldDataSourceFactory -> java.lang.IllegalArgumentException: Null value metadata
     [java] *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
     [java] HelloWorldDS -> helloWorldDatasourceFactory{Instantiated:** NOT FOUND **}
     [java] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.deployXmlResource(EJB3StandaloneBootstrap.java:103)
     [java] at hello.HelloWorld.main(HelloWorld.java:15)
     [java] Caused by: java.lang.IllegalStateException: Incompletely deployed:
     [java] *** DEPLOYMENTS IN ERROR: Name -> Error
     [java] helloWorldDataSourceFactory -> java.lang.IllegalArgumentException: Null value metadata
     [java] *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
     [java] HelloWorldDS -> helloWorldDatasourceFactory{Instantiated:** NOT FOUND **}
     [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:241)
     [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:161)
     [java] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.deployXmlResource(EJB3StandaloneBootstrap.java:99)
     [java] ... 1 more
     [java] Java Result: 1
BUILD SUCCESSFUL
Total time: 3 seconds