6 messages in org.codehaus.grails.userRe: [grails-user] [grails-users] depl...
FromSent OnAttachments
Johan Chaves SaboríoSep 11, 2007 7:16 pm 
woutersSep 11, 2007 10:54 pm 
Graeme RocherSep 12, 2007 12:05 am 
woutersSep 12, 2007 12:52 am 
Johan Chaves SaboríoSep 22, 2007 5:49 pm 
woutersSep 23, 2007 10:59 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [grails-user] [grails-users] deploying grails application in Websphere 5.XActions...
From:wouters (wsch@gmail.com)
Date:Sep 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?