grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.78k stars 951 forks source link

GRAILS-2416: WAR re-deploment error in Tomcat #4533

Closed graemerocher closed 9 years ago

graemerocher commented 16 years ago

Original Reporter: bruce.larsen815 Environment: Not Specified Version: 1.0 Migrated From: http://jira.grails.org/browse/GRAILS-2416

reproducable as follows:

  1. "grails create-app myapp"
  2. "grails war"
  3. deploy the war to /webapps Everting works fine till now.
  4. edit the "/grails-app/views/layouts/main.gsp" (simply add "Hello" below the grails logo)
  5. repeat steps 2. and 3.

Now the web app context "myapp" is now broken on the automatic context re-start . Tomcat stdout*.log message entry: "log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository."

This does not happen, if the war is exploded manually into the Tomcat webapps.

graemerocher commented 15 years ago

mjlachman said: I'm hitting this issue in version 1.1 as well.