2 Replies Latest reply on Mar 26, 2013 11:14 AM by Amit Telang

    Velocity issue with JBOSS EAP

    Amit Telang Newbie



      When I am deploying my applicaiton in JBOSS EAP I am facing following strange issue.



      ERROR struts.ContextLoaderPlugIn: Context initialization failed

      16:51:58,741 INFO [stdout] (MSC service thread 1-1) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'velocityEngine' defined in ServletContext resource


      Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.


      Caused by: java.lang.RuntimeException: Error configuring Log4JLogChute :

      Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)


      My application is using Spring 2.5 and velocity 1.6. Its working fine in Weblogic but while deploying on Jboss getting this error.


      Please let me know if any one encountered this error before.


      Thanks for your help.