3 Replies Latest reply on Oct 1, 2003 3:30 PM by David Norwood

    Re-deployment of Struts apps war's

    David Norwood Newbie

      Hi,

      I'm running JBoss 3.2.2Rc3 and have a .war that contains my Struts app. Original deployment works as expected. When I make a change and re-deploy the .war, I get the following error output upon deployment. The only way to re-deploy changes seems to be to restart JBoss each time (*&#$&!&!@!!)

      Any ideas?

      Thanks,

      -david

      2003-09-22 15:10:43,109 253897 DEBUG [org.apache.struts.action.ActionServlet] (ScannerThread:) Initializing module path '' configuration from '/WEB-INF/struts-config.xml'
      2003-09-22 15:10:43,680 254468 ERROR [org.apache.commons.digester.Digester] (ScannerThread:) End event threw exception
      java.lang.NoSuchMethodException: No such accessible method: addFormBeanConfig() on object: org.apache.struts.config.impl.ModuleConfigImpl
      at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:250)
      at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
      at org.apache.commons.digester.Rule.end(Rule.java:276)
      at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:559)
      at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:217)
      at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:829)
      at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:590)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:817)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:748)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1454)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
      at org.apache.commons.digester.Digester.parse(Digester.java:1548)
      at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
      at com.doc.struts.ardent.framework.ExtendedActionServlet.init(ExtendedActionServlet.java:17)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
      at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:517)
      at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:302)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
      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)
      2003-09-22 15:10:43,900 254688 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) getMessage(en_US,configParse)
      2003-09-22 15:10:43,900 254688 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) loadLocale(en_US)
      2003-09-22 15:10:43,910 254698 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Loading resource 'org/apache/struts/action/ActionResources_en_US.properties'
      2003-09-22 15:10:43,910 254698 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Loading resource completed
      2003-09-22 15:10:43,910 254698 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) loadLocale(en)
      2003-09-22 15:10:43,910 254698 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Loading resource 'org/apache/struts/action/ActionResources_en.properties'
      2003-09-22 15:10:43,910 254698 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Loading resource completed
      2003-09-22 15:10:43,910 254698 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) loadLocale()
      2003-09-22 15:10:43,910 254698 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Loading resource 'org/apache/struts/action/ActionResources.properties'
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Loading resource completed
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.initProcessor
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.destroyDataSource
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configMissing
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyForwardConfig.invalid
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.unhandledException
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.dataSource.init
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyPlugInConfigs.missing
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.dataSource.destroy
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.processInvalid
      2003-09-22 15:10:43,920 254708 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.notAuthorized
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyMessageResourcesConfigs.missing
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyMessageResourcesConfigs.key
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.noInput
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configIO
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.reloading
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.processPath
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configInit
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configVerifying
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.sessionCreate
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyForwardConfig.missing
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configCompleted
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyActionMappingClass.invalid
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.initDataSource
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configMapping
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.requestDispatcher
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configParse
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.finalizing
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.formBean
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyActionMappingClass.missing
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.applicationLoading
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyPlugInConfigs.invalid
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.mappingType
      2003-09-22 15:10:43,930 254718 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.actionCreate
      2003-09-22 15:10:43,940 254728 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.applicationResources
      2003-09-22 15:10:43,940 254728 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.configFatal
      2003-09-22 15:10:43,940 254728 DEBUG [org.apache.struts.util.PropertyMessageResources] (ScannerThread:) Saving message key '.verifyMessageResourcesConfigs.invalid
      2003-09-22 15:10:43,940 254728 ERROR [org.apache.struts.action.ActionServlet] (ScannerThread:) Parsing error processing resource path
      java.lang.NoSuchMethodException: No such accessible method: addFormBeanConfig() on object: org.apache.struts.config.impl.ModuleConfigImpl
      at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
      at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
      at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:559)
      at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:217)
      at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:829)
      at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:590)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:817)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:748)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1454)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
      at org.apache.commons.digester.Digester.parse(Digester.java:1548)
      at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
      at com.doc.struts.ardent.framework.ExtendedActionServlet.init(ExtendedActionServlet.java:17)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
      at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:517)
      at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:302)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
      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)
      2003-09-22 15:10:44,161 254949 INFO [org.jboss.web.localhost.Engine] (ScannerThread:) StandardWrapper[/ardentWeb:ardent]: Marking servlet ardent as unavailable
      2003-09-22 15:10:44,171 254959 ERROR [org.jboss.web.localhost.Engine] (ScannerThread:) StandardContext[/ardentWeb]: Servlet /ardentWeb threw load() exception
      javax.servlet.UnavailableException: Parsing error processing resource path
      at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:952)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
      at com.doc.struts.ardent.framework.ExtendedActionServlet.init(ExtendedActionServlet.java:17)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
      at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:517)
      at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:302)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
      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)
      2003-09-22 15:10:44,311 255099 INFO [org.jboss.web.localhost.Engine] (ScannerThread:)