Discussion:
[jboss-user] [JBoss AS Documentation] - Re: HTTP Status 404 - Servlet action is not available jboss
Amit Telang
2013-03-19 20:57:23 UTC
Permalink
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/803691#803691

--------------------------------------------------------------
My Application is working perfectely fine in Jboss EAP 6.0 but when I deploy the same in Lynix environment its giving me
h1. HTTP Status 404 - Servlet action is not available.
Amit Telang
2013-04-05 00:47:34 UTC
Permalink
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]
Loading...