1 Reply Latest reply on May 5, 2005 10:39 AM by Dimitris Andreadis

    XMBean: library not found

    Ilona Karpova Newbie

      I coded an MBean for handling database connection and deployed it in this way:
      ....

      <mbean code="mamt.db.dbconnector.DBConnector" name="adam_module:service=OracleConnector" xmbean-dd="">

      OracleConnector


      <persistence-manager value="org.jboss.mx.persistence.DelegatingPersistenceManager"/>

      mamt.db.dbconnector.DBConnector

      Open DB connection
      openConnection
      <return-type>java.sql.Connection</return-type>



      ....
      I put JDBC Oracle driver - classes12.jar in server/<my_conf>/lib directory.
      But when I try to invoke method openConnection I got ClassNotFountException: No ClassLoaders found for: oracle.jdbc.driver.OracleDriver.
      when deploying the MBean without persistence it works. what's the problem?