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

Plugging of custom Context does't work.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-5.0.0.GA
    • None
    • None

      Configuring the custom context in $JBOSS_HOME/server/default/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml in org.jboss.web.tomcat.service.deployers.TomcatDeployer bean yields the following error

                                                                                                                                                                              • Caused by: javax.management.ServiceNotFoundException: Cannot find operation addValve
                                                                                                                                                                                at org.apache.tomcat.util.modeler.ManagedBean.getInvoke(ManagedBean.java:587)
                                                                                                                                                                                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)
                                                                                                                                                                                at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                                                                                                                                                                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                                                                                                                                                                                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:434)

      The patch is already made in org.jboss.web.tomcat.service.deployers.TomcatDeployment by David Knox.
      I will attach the file and review the same.

        1. tomcatdeployment.diff
          1 kB
          David Knox
        2. TomcatDeployment.java
          27 kB
          Vicky Kak

              Unassigned Unassigned
              vickyk_jira Vicky Kak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: