4 Replies Latest reply on Feb 7, 2003 8:25 AM by Michael

    MySql DataSource Problem in JBoss3.2

    Michael Newbie

      Can someone explain why I'm getting the following error on startup

      16:01:48,397 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2/server/default/deploy/mail-service.xml
      16:01:48,427 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2/server/default/deploy/mysql-service.xml
      16:01:48,507 INFO [SARDeployer] looking for nested deployments in : file:/C:/jboss-3.2/server/default/deploy/mysql-service.xml
      16:01:48,547 INFO [ServiceConfigurator] Problem configuring service jboss.jca:service=LocalTxDS,name=MySqlDS
      org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:337)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:176)
      at org.jboss.system.ServiceConfigurator.processDependency(ServiceConfigurator.java:442)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:355)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:176)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
      at org.jboss.system.ServiceController.install(ServiceController.java:226)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:222)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      ----------------------------------------------------------
      I know I have given the JNDI name in the mysql-service.xml
      file and put this file in the deploy directory.


      --Thanks,