6 messages in org.codehaus.grails.userRe: [grails-user] [grails-users] depl...
FromSent OnAttachments
Johan Chaves Saborío11 Sep 2007 19:16 
wouters11 Sep 2007 22:54 
Graeme Rocher12 Sep 2007 00:05 
wouters12 Sep 2007 00:52 
Johan Chaves Saborío22 Sep 2007 17:49 
wouters23 Sep 2007 22:59 
Subject:Re: [grails-user] [grails-users] deploying grails application in Websphere 5.X
From:wouters (wsch@gmail.com)
Date:09/11/2007 10:54:05 PM
List:org.codehaus.grails.user

hi,

i think you can run with: -Dservlet.version=2.3 but, in 0.5.5, this still did not generate a deployable war for websphere 5.1. we had to create an alternative generateWebXml task (from Package.groovy) to 'fix' the web.xml. (Remove namespace declaration, and add 2.3 DOCTYPE). I think the namespace declaration, at least for 0.5.5, is hardcoded in the code that generates the web.xml, and ignores the servlet.version setting. websphere 5.1 chokes on this.

HTH, wouter

Johan Chaves Saborío wrote:

How can I deploy a grails war into a websphere 5.x server. The problem I'm having is that grails generates the web.xml based on the servlet 2.4 api, but websphere is trying to use the servlet 2.3 api.

Is there any way to create the grails application with the servlet 2.3 api?