2 Replies Latest reply on Jun 9, 2004 10:08 AM by jae77

    Order of deployment

    karstents

      Aloha!

      When starting JBoss, there is always a looong ExceptionStack shown, where the entity Beans should be deployed. The problem is the connection to the database, because the J/Connector (of MySQL) is deployed later.

      How can I define, that JBoss have to deploy the MySQL jar first and the entities later on?

      Thanks in advance,
      Karsten

        • 1. Re: Order of deployment

          if you deploy you entity beans and your mysql jar in the same directory called deployDir (for example),
          you must create a subdirectory called deployDir.last where you'll move your entity beans ears.

          • 2. Re: Order of deployment
            jae77

            it's a good idea to place database driver jars inside the "lib" directory (JBOSS_HOME/server//lib) b/c you're not going to hot-deploy those while the server is up and running.