0 Replies Latest reply on Jul 25, 2003 5:22 AM by hychul

    DBconnection error in jboss 3.2.1

    hychul Newbie

      -------Error Log--------
      Depends On Me: jboss.jca:service=ManagedConnectionPool,name=JmsXA
      , ObjectName: jboss.j2ee:jndiName=local/LogEntryData,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Could not cre
      ate connection; - nested throwable: (java.sql.SQLException: General error: Access denied for user: 'ejbca@localhost.localdomain' to database 'ejbca'); - neste
      d throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: General error: Access denied
      for user: 'ejbca@localhost.localdomain' to database 'ejbca'))), ObjectName: jboss.j2ee:jndiName=local/LogConfigurationData,service=EJB
      ----------------------------------------------------------

      account 'ejbca' and password for 'ejbca' exists in database

      what problem ?

      P.S
      mysql-ds.xml


      <local-tx-datasource>
      <jndi-name>DefaultDS</jndi-name>
      <connection-url>jdbc:mysql://localhost:3306/ejbca</connection-url>
      <driver-class>org.gjt.mm.mysql.Driver</driver-class>
      <user-name>ejbca</user-name>
      ejbca
      </local-tx-datasource>



      Please Help!