[jboss-user] [JBoss AS Documentation] - Re: HTTP Status 404 - Servlet action is not available jboss

Amit Telang do-not-reply at jboss.com
Thu Apr 4 20:47:34 EDT 2013


Amit Telang [https://community.jboss.org/people/amittelang1976] created the discussion

"Re: HTTP Status 404 - Servlet action is not available  jboss"

To view the discussion, visit: https://community.jboss.org/message/806590#806590

--------------------------------------------------------------
I resolved this issue by following changes:-
1) Changed log4j.properties to log4j.xml.
2) Added jboss-deployment-structure.xml under web-inf folder.
3) jboss was unable to write velocity log on server and failing there. I added the following line of code(highlighted in bold)in my application.context after that it started working fine.
 





<bean id="velocityEngine" class="net.genworth.ltc.fiveseries.util.VelocityInitializer"
  init-method="init">
  <property name="velocityProperties">
   <map>
    <entry key="resource.loader" value="class"></entry>
    <entry key="class.resource.loader.class"
     value="org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"></entry>
  *  <entry key="runtime.log.logsystem.class"*
*     value="org.apache.velocity.runtime.log.SimpleLog4JLogSystem"></entry>*
    <entry key="class.resource.loader.modificationCheckInterval"
     value="0"></entry>
    
   </map>
  </property>
 </bean>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/806590#806590]

Start a new discussion in JBoss AS Documentation at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2079]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130404/df9a1278/attachment.html 


More information about the jboss-user mailing list