Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log4jConfigurer prevents reload of war [SPR-17] #4752

Closed
spring-projects-issues opened this issue Jan 12, 2004 · 1 comment
Closed

Log4jConfigurer prevents reload of war [SPR-17] #4752

spring-projects-issues opened this issue Jan 12, 2004 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Peter Reinhardt opened SPR-17 and commented

A web application using the Log4jConfigServlet cannot be reloaded. The Log4jConfigurer uses the class WebUtils to set the WebappRoot (as a system property). If this property is already set, an IllegalStateException is thrown.

This condition is true if the same web app is loaded twice (i.e. if a servlet class changes or a jsp file). This functionality is core to any app server.


Affects: 1.0 M4

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

This was a bug introduced in 1.0 M4. Already fixed in CVS, to be released in RC1. Now, the exception only gets thrown if attempting to change the system property to a different value, which should never be the case on redeployment of the same web app.

@spring-projects-issues spring-projects-issues added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 10, 2019
@spring-projects-issues spring-projects-issues added this to the 1.0 RC1 milestone Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants