0 Replies Latest reply on Oct 10, 2002 11:53 AM by Daniel Miklancic

    JBoss3.0.3-Tomcat4.1.12 with Struts error

    Daniel Miklancic Newbie

      Dropping the struts-example.war and struts-validator.war files into default/deploy of JBoss 3.0.3-Tomcat4.1.12 generate the following error (and other similar errors). Interestingly, doing the same with JBoss 3.0.0-Tomcat4.0.3 works just fine. Anyone know what has changed or what I may have configured incorrectly?

      ....
      2002-10-10 10:39:36,843 INFO [org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn] Initializing memory database plug in from '/WEB-INF/database.xml'
      2002-10-10 10:39:37,003 INFO [org.apache.struts.validator.ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator-rules.xml'
      2002-10-10 10:39:37,033 ERROR [org.apache.commons.digester.Digester] Begin event threw exception
      java.lang.ClassNotFoundException: org.apache.commons.validator.ValidatorAction
      at org.jboss.mx.loading.UnifiedLoaderRepository2.loadClass(UnifiedLoaderRepository2.java:166)
      at org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:283)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252)
      at org.apache.commons.digester.Digester.startElement(Digester.java:1237)
      at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
      at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
      at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
      at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
      at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
      at org.apache.commons.digester.Digester.parse(Digester.java:1514)
      at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(Unknown Source)
      at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:224)
      at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:167)
      at org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionServlet.java:991)

      Thanks,

      Dan