war-filedeployment

Groovy: deploying a war file

Hi I have a groovy application running locally on my desktop. Apparently it runs error free. At least all unit tests I wrote are fulfilled. I want to deploy the application using a war file. For this I use the command grails war in the home directory of the application. When doing this I am getting the following exception: Error exec...

war file generated by Grails ignores dataSource URL

Grails version :1.1 Tomcat version: 5.5 The problem: The application doesn't use the URL data sources. It seems like - it is using some other data source- but it doesn't seem to be in memory DB- since I can see the data persisted between sessions. I have even tried giving a non -existant database name -and the application works fine...

How do I exclude files/directories from the target directory using the maven war plugin?

I followed the instructions here, and it worked but only if it was mapped to a directory other than the default. Here's a sample that I tried: <configuration> <webResources> <resource> <directory>${basedir}/src/main/webapp/WEB-INF</directory> <!-- the below works when uncommented and does exclude...

Liferay: When to go for multiple war files

Hi I have a requirement where there are few scenarios. User registration(There are different types of users say buyer, seller, moderator etc) search feature where a seller/buyer could be searched with few keywords user dashboards search functionality can be exposed as webservice in future. I identified that first 3 can go as separa...

Advantages/Disadvantages to exploded wars

An answer to a question I read today suggested deploying an application as an exploded WAR. It got me thinking. Every deployment I've ever done to a JBoss/Tomcat has been with a a WAR/EAR file. At least as far as I can remember. Have I been making a mistake all these years? Are there advantages to deploying an app in its expanded form...