0 Replies Latest reply on Jan 14, 2005 1:53 PM by Niti Upadhyay

    Struts not working with embedded tomcat. HELP!!!

    Niti Upadhyay Newbie

      Hi,

      I'm kind of new to JBoss. I was handed an application that works in JBoss 2.2 + Standalone tomcat environment. I was asked to move over to latest JBoss technology.

      I downloaded RC2 version of JBoss 4.0.1 and latest struts. When my .ear file is deployed, I don't see any log specifing that ActionServlet was mapped. I even tried to use older version of struts.

      Then I downloaded tomcat version 4.1.31 and deployed the .war file. On doing this, I saw that the ActionServlet was mapped.

      What do I have to do to make JBoss detect the struts information in web.xml. Maybe it can't even find web.xml. For the web-console app that came with JBoss, I see the following log

      2005-01-14 11:03:54,939 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/JBoss-4.0.1_Tomcat-4.1.31/jboss/server/default/deploy/management/web-console.war/ -> file:/D:/JBoss-4.0.1_Tomcat-4.1.31/jboss/server/default/deploy/management/web-console.war/WEB-INF/web.xml

      But, for my app, I don't see any of this.

      Please help me understand how JBoss works.

      Thanks.