• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error listenerStart during deployment of grails application

 
M. Mohammed Omar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I created a grails application by "grails create-app test", added logging.properties to WEB-INF/classes, created a WAR file by "grails prod war" and dropped the WAR file into /var/lib/tomcat6/webapps of my web server. As a consequence, I got the following messages in the catalina log file



Has anyone an idea what I have to do to fix this? I read that one has to add logging.properties to WEB-INF/classes, but apparently this did not help.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your localhost log file. Often, when the primary log doesn't have any information, it will.
 
M. Mohammed Omar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:Check your localhost log file. Often, when the primary log doesn't have any information, it will.


For 6:05 the localhost log file does not contain any entries. But 4 minutes later I seem to have retried to deploy, the catalina log file for that time contains



the localhost log file contains



Is anyone able to draw any conclusions about what the problem might be (to me this seems perfectly fine)?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Odd. Usually there's more messages than that.

Check your webapp and see if it's writing any logfiles and what they say.

If that doesn't help, edit your JVM loggin file to enable debug-level logging on the org.apache.catalina resources. That way at least you'll be able to see what listeners are being processed.
 
M. Mohammed Omar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I now found out that the error only occurs if another grails-based web application is running in tomcat. If only one of the two applications is running, everything is fine. Has anyone an idea what the problem could be in this case (I am still trying to get more logging)?

 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's possible that you have a classpath issue because you placed a non-sharable jar in the Tomcat lib directory.

My experience with this kind of error is that other people have it too, so Google and see what you get.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic