1 Reply Latest reply on Mar 9, 2008 10:15 AM by jaikiran

    Deploying a standard WAR deployment to JBoss4

    minfrin

      Hi all,

      I have a standard WAR application that is currently being deployed to a tomcat server, and I am trying to deploy the WAR file to JBoss v4.2.2.

      The Datasource has been set up for the WAR file, but when an attempt is made to deploy the WAR file it tells me that the datasource is not found.

      Trawling the net for some kind of definitive guide on how to deploy a humble WAR file shows up nothing concrete: there are lots of references to the adding of a JBoss-specific "jboss-web.xml" file, but I cannot find any explanation as to why JBoss would require some weird container specific configuration of its own embedded in the WAR file.

      Does JBoss support the deployment of standards compliant WAR files, and if so, how?

      Regards,
      Graham
      --

        • 1. Re: Deploying a standard WAR deployment to JBoss4
          jaikiran

           

          Does JBoss support the deployment of standards compliant WAR files, and if so, how?


          Yes, it does. All you have to do is place the war file in the deploy folder of JBoss.


          The Datasource has been set up for the WAR file, but when an attempt is made to deploy the WAR file it tells me that the datasource is not found.
          Trawling the net for some kind of definitive guide on how to deploy a humble WAR file shows up nothing concrete: there are lots of references to the adding of a JBoss-specific "jboss-web.xml" file, but I cannot find any explanation as to why JBoss would require some weird container specific configuration of its own embedded in the WAR file.


          Please post the entire exception stacktrace that you are seeing. Without that, its going to be difficult to guess what the problem is. Also, post the contents and the name of the datasource file.