Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2559

"Cannot find setter method setDocBase" when deploying wars in 3.2 testsuite

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-3.2.8RC1
    • None
    • Test Suite
    • None

      The http-scoped.war, used by org.jboss.test.cluster.test.ScopedTestCase fails to start when deployed with the following errror:

      2005-12-13 14:54:07,051 WARN [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=http-scoped.war,id=-278970256
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (ReflectionException: Cannot find setter method setDocBase null
      Cause: java.lang.NoSuchMethodException: org.apache.commons.modeler.BaseModelMBean.setDocBase(java.lang.String))
      at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:343)
      at org.jboss.web.WebModule.startModule(WebModule.java:83)
      at org.jboss.web.WebModule.startService(WebModule.java:61)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:283)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:233)
      ...
      Caused by: ReflectionException: Cannot find setter method setDocBase null
      Cause: java.lang.NoSuchMethodException: org.apache.commons.modeler.BaseModelMBean.setDocBase(java.lang.String)
      at org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean.java:662)
      at org.jboss.mx.server.RawDynamicInvoker.setAttribute(RawDynamicInvoker.java:69)
      at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:466)
      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:208)
      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:98)
      at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:334)
      ... 78 more
      Caused by: java.lang.NoSuchMethodException: org.apache.commons.modeler.BaseModelMBean.setDocBase(java.lang.String)
      at java.lang.Class.getMethod(Class.java:986)
      at org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean.java:646)
      ... 83 more

            starksm64 Scott Stark (Inactive)
            ryan.campbell_jira ryan.campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: