1 Reply Latest reply on Mar 26, 2007 7:29 PM by Paul Risenhoover

    JBoss 5 is not starting my Datasource

    Paul Risenhoover Newbie

      Hi All,

      I am running a web application with a DB2 datasource in production right now. I've installed JBoss 5 (beta1) and copied my db2-ds.xml and my webapp.war file to the deploy directory.

      When I started Jboss, it appears to load properly, but skips the loading of the datasource, goes directly to the web app, and when the web app tries to start it errors because it can't find the datasource.

      When I start the system using 4.2.0, I can see a message in the server.log files that the DataSource is created available (it even confirms it's a DB2 datasource), but I don't see any of that in the v5 server.log.

      I thought that, perhaps the deployment ordering might have changed, but I looked in the org.jboss.deployment.MainDeployer-xmbean.xml file and it appears my files are named properly ( *-ds.xml should deploy before *.war).

      The only difference is that with the v 5.0 server, I had to "explode" my war file in the deployment directory because it was getting a "zip file is closed" error. Could this be the problem?