1 Reply Latest reply on Feb 25, 2002 2:32 PM by Marc Ollier

    "No ressource manager found" when using MySQL

    Marc Ollier Newbie


      I'm trying to access data from a mySQL-Database, but i have some configuration problems.
      At startup/deployment, i notice :
      * there is not the line that says that the mySQL driver has been loaded between [INFO,JdbcProvider] Starting/Started
      * when deploying my entity bean, i have [INFO,JdbcProvider] Starting
      * when making a request on the DB, the data is not found:
      [ERROR,Default] javax.ejb.ObjectNotFoundException: Object with primary key xxx not found in storage
      [ERROR,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntityCommand
      * when i create new beans, then look for them, they are found, but don't get in the database. (here i assume it's caching).

      I use 2.4.4, and here are my config datas. I have tryed a lot of combinations, and looked in the doc, but it still doesn't work.
      I have also put the jar containing the last mySQL driver version in ib/ext, but it has no effect (the same happends, if the jar is there or not)

      ---------ejb-jar.xml :



      ---------jboss.jcml :

      org.hsqldb.jdbcDriver, org.gjt.mm.mysql.Driver

      // default values


      ---------jboss.xml :
      <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">



      ---------standardjaws.xml :

      can anyone help ?
      thanks a lot