4 Replies Latest reply on Dec 11, 2002 4:20 AM by Dheeraj


    Dheeraj Newbie


      I am using JBoss 3.0.3 and tomcat 4.1.12 combination. I have a war file which works fine on Tomcat.
      It uses Strust heavily.
      If I try to deploy an EAR on JBoss it is not able to find ActionClasses.
      So far I have tried mentioning classpath in the Manifest of EAR and as well as WAR. I tried the JBoss with jetty too, but the problem still remains the same.

      Apache Tomcat/4.0.3 - HTTP Status 500 - No action instance for path /view could be created


      type Status report

      message No action instance for path /view could be created

      description The server encountered an internal error (No action instance for path /view could be created) that prevented it from fulfilling this request.

      I beileve you have spent enough time on it. Can you please help me with it. I am send you my EAR file too.



        • 1. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
          Dheeraj Newbie

          Hi :

          I found one way it can work. I created
          wiki.war dir and in that added my war appln in the exploded format. That too some portion still doesn't work properly.

          If I have to add ejbs to it and bundle them as EAR, I do not think it will work. For me the whole problem is, the JBoss is not able to invoke Action servlet mapped to actions in the struts-config.xml. Thus view.do action seems to be unmapped.

          If I see the console output it seems there are more than one classloader.
          And it may happen that

          20:29:41,194 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true

          may the mother of all errors.

          I would be nice if JBoss develoeprs can solve this mystery as many guys are facing the same problem.



          • 2. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
            Weston Aiken Newbie

            Can you post a snippet of your code including your struts-config.xml and your action class that it cant load. Maybe its in the configuration.

            I use the same Jboss bundle with Struts and have no problems.

            • 3. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
              kelly Newbie

              I have a related question with struts... Where are the struts .tld files supposed to go? In Tomcat stand-alone, you just put them in the WEB-INF directory of the webapp that you're doing. Haven't been able to figure out where they go in the bundled jboss/tomcat. Anyone that can help would be appreciated.

              • 4. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
                Dheeraj Newbie

                This EAR file works properly in weblogic and the WAR file works properly on Tomcat.
                The code is very simple. The index.html loads an action servlet which send a jsp as response.

                <!-- View Page -->

                Chiki Welcome (Redirect)
                <META HTTP-EQUIV="Refresh" CONTENT="1; URL=../view.do?nodeId=Chiki">

                If your browser does not redirect you, Please click here