users@glassfish.java.net

Re: Unreliable deployment of war files

From: <glassfish_at_javadesktop.org>
Date: Fri, 17 Aug 2007 09:48:32 PDT

Hi Hong,
The messages we get apart from the one already posted here are as follows. These appear after launching the application after the first deployment. On the second deployment all works as expected. This happens on our test server and 3 out of four local machines. JAABA is the name of the webapp and it is large.

John.

[#|2007-08-17T11:51:08.796-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=22;_ThreadName=Thread-29;|deployed with moduleid = JAABA|#]

[#|2007-08-17T11:51:08.937-0400|SEVERE|sun-appserver9.1|com.sun.org.apache.commons.digester.Digester|_ThreadID=23;_ThreadName=Thread-28;_RequestID=d2823da6-135f-4dec-8895-edd758d551d5;|End event threw exception
java.lang.NoSuchMethodException: No such accessible method: addWatchedResource() on object: com.sun.enterprise.web.WebModule
            at com.sun.org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:250)
            at com.sun.org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:505)
            at com.sun.org.apache.commons.digester.Rule.end(Rule.java:276)
            at com.sun.org.apache.commons.digester.Digester.endElement(Digester.java:1058)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
            at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
            at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
            at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
            at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:864)
            at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:810)
            at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:949)
            at com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:160)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:143)
            at org.apache.catalina.core.StandardContext.init(StandardContext.java:6342)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4840)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
            at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1581)
            at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
            at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
            at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:964)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:951)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:461)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:173)
            at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
            at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
            at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
            at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
            at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
            at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
            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:597)
            at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
            at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
            at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
            at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
            at $Proxy1.invoke(Unknown Source)
            at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
            at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
            at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145)
            at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537)
            at java.lang.Thread.run(Thread.java:619)
|#]
[Message sent by forum member 'talman' (talman)]

http://forums.java.net/jive/thread.jspa?messageID=231380