Velocity tests broken on AS7 (Could not retrieve ServletContext from application
attributes)
--------------------------------------------------------------------------------------------
Key: SEAMMAIL-32
URL:
https://issues.jboss.org/browse/SEAMMAIL-32
Project: Seam Mail
Issue Type: Bug
Affects Versions: 3.1.0.Beta4
Reporter: Marek Schmidt
Fix For: 3.1.0.Beta5
Velocity tests fail on jbossas-managed-7 profile
see
https://ci.jboss.org/jenkins/job/Seam-3.X-mail-CI-jbossas-managed-7/lastC...
Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an
instance of org.apache.velocity.runtime.log.ServletLogChute with the current runtime
configuration.
at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:206)
at org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
at org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
at
org.apache.velocity.runtime.RuntimeInstance.requireInitialization(RuntimeInstance.java:290)
... 113 more
Caused by: java.lang.UnsupportedOperationException: Could not retrieve ServletContext from
application attributes
at org.apache.velocity.runtime.log.ServletLogChute.init(ServletLogChute.java:73)
at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
... 117 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira