2 Replies Latest reply on Mar 24, 2003 10:53 AM by billgates

    jboss with struts error

    sanjoriago

      hi,

      i downloaded jboss3.0.6 with tomcat 4.1.x and installed it on my linux machine. (Previously we were using jboss2.x). After configuring the datasources and authentications i deployed my application on the jboss 3.0.6 server. Authentication is fine, but on some cases it cant create action instance for struts action classes. it displays

      No action instance for path '/server/appSearch' could be created
      java.lang.NoClassDefFoundError:org/apache/struts/action/Action
      ...................etc

      has anyone had this error. i have check my struts configuration file and the action type is there..

      i am using postgres for my back end ...



        • 1. Re: jboss with struts error
          jimmye

          sanjoriago,

          I'm not sure if this is the best way to do this, but i got struts working with JBoss by placing all the required JBoss .jar files that are needed to talk to JBoss in my struts web application WEB-INF/lib folder.

          The required JBoss files are: jboss.jar, jboss-common-client.jar, jboss-j2ee.jar, jbosssx-client.jar, jnet.jar and log4j.jar.

          • 2. Re: jboss with struts error
            billgates

            I put my struts.jar in the web-inf/lib dir in the war file. And it works.