2 Replies Latest reply on May 22, 2004 8:17 AM by Bill Pfeiffer

    Redeploy of ear w/struts based app fails consistantly

    Bill Pfeiffer Newbie

      Whenever I redeploy my application to JBoss 3.2.3/Tomcat the struts config file fails to parse and the struts web portion of the app stops responding. This effectively forces me to restart jboss everytime I deploy.

      Anybody else seeing this/solved this?

      Here's a snip of my exception:

      2004-05-20 10:56:03,690 DEBUG [org.apache.struts.action.ActionServlet] Initializing module path '' configuration from '/WEB-INF/struts-config.xml'
      2004-05-20 10:56:03,910 ERROR [org.apache.commons.digester.Digester] Begin event threw exception
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789)
      at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)
      at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
      .
      .
      .
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      Caused by: java.lang.LinkageError: loader constraints violated when linking org/apache/struts/action/ActionMapping class
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at org.apache.struts.config.FormBeanConfig.class$(FormBeanConfig.java:190)
      at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:190)
      ... 55 more
      2004-05-20 10:56:03,920 DEBUG [org.apache.struts.util.PropertyMessageResources] getMessage(en_US,configParse)
      2004-05-20 10:56:03,920 DEBUG [org.apache.struts.util.PropertyMessageResources] loadLocale(en_US)