Saturday 15 June 2013

grails - Inconsistancy betwwen run-app and war execution -


I have a Grails app, which does not require a database (this is a client). When I run it with the grails run-app , then everything is planned, but when I run it as a war in Tomcat, I get the following message:

< Pre> class: java.lang.ArrayIndexOutOfBoundsException Message: 1 Trace: Line | Method - & gt; & Gt; 1142 | Run Worker in Java.util.concurrent.ThreadPoolExecutor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 617 | Go to Java.util.concurrent.ThreadPoolExecutor $ employee ^ 744 | Run . . Exception caused by java.lang.Thread GroovyPages in: Error processing GroovyPageView: 1 - & gt; & Gt; 38 | RunWorker in /index.gsp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reasons reasoned by theArrendexofffolded: 1 - & gt; & Gt; 64 | DoCall in gsp_coreQueriesindex_gsp $ _run_closure2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 88 | Gsp_coreQueriesindex_gsp | Move to 1142 | Run worker in Java.util.concurrent.ThreadPoolExecutor | 617 | Go to Java.util.concurrent.ThreadPoolExecutor $ employee ^ 744 | Run . . In Java.lang.Thread

I do not know where the focus is, I used to use Maven and Ivy without any result.

Many thanks for your support. I replaced the index.gsp page with a simple one and everything is fine.


No comments:

Post a Comment