This content has been marked as final.
Show 1 reply
-
1. Re: Deploying a standard WAR deployment to JBoss4
jaikiran Mar 9, 2008 10:15 AM (in response to minfrin)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.