Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2643

Allow developers and/or deployers deactivate JMX setup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4
    • None
    • None
    • Any.

    Description

      I'm trying to deploy an application (Liferay Portal) in a shared JBoss instance, but I got a serious problem with Axis:

      In org.apache.axis.transport.http.AxisServlet.init() there's a call to org.apache.axis.management.ServiceAdmin.setEngine(...). It uses org.apache.axis.management.Registrar to register 3 JMX beans with hardcoded objectnames. If another web application is deployed on the same server, there's an obvious name clash.

      My suggestion: add an servlet context option "RegisterMBean", default false, and an option "MBeanBaseObjectName", default "axis". This allows both developer and deployer to setup MBeans according to their own naming rules. Developer can use "RegisterMBean" and "MBeanBaseObjectName" to define it, and deployer can use Application Server features (like JBoss SAR files).

      I'll change code and attach a patch ASAP.

      Attachments

        1. axis-2643.patch
          3 kB
          Eduardo Costa

        Activity

          People

            Unassigned Unassigned
            m4c0 Eduardo Costa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: