JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5758

Specifying a host in default JMX config doesn't work

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 3.1.2
  • Fix Version/s: Bug Backlog
  • Component/s: Modules: Management / JMX
  • Labels:
    None
  • Environment:

    Java Sun Hotspot 1.6.0.22, Windows XP

  • User impact:
    Low
  • Configuration:
    Hide

    <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:management="http://www.mulesoft.org/schema/mule/management"
    xsi:schemaLocation="
    http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd
    http://www.mulesoft.org/schema/mule/management http://www.mulesoft.org/schema/mule/management/3.1/mule-management.xsd
    ">

    <management:jmx-default-config host="0.0.0.0" port="1098"/>

    </mule>

    Show
    <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:management="http://www.mulesoft.org/schema/mule/management" xsi:schemaLocation=" http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd http://www.mulesoft.org/schema/mule/management http://www.mulesoft.org/schema/mule/management/3.1/mule-management.xsd "> <management:jmx-default-config host="0.0.0.0" port="1098"/> </mule>
  • Similar Issues:
    None

Description

I can't connect to JMX server inside Mule using JConsole remote process when the host attribute of management:jmx-default-config is specified as 0.0.0.0.

The remote process URL used in JConsole is:

service:jmx:rmi:///jndi/rmi://localhost:1098/server

Connecting to the local process works just fine.

Using netstat -a -n shows that Mule is listening on port 1098.

Trying to connect remotely doesn't work either by specifying the hostname in the JConsole string, e.g.

service:jmx:rmi:///jndi/rmi://akl0mw304:1098/server

A Wireshark trace shows some network interaction on port 1098 until JConsole closes the socket.

Note that this works fine when specifying JMX via the agents this works fine. For example:

<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:management="http://www.mulesoft.org/schema/mule/management"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd
http://www.mulesoft.org/schema/mule/management http://www.mulesoft.org/schema/mule/management/3.1/mule-management.xsd
">
<management:jmx-server >
<management:connector-server url="service:jmx:rmi:///jndi/rmi://0.0.0.0:1098/server" rebind="false" />
</management:jmx-server>
<management:rmi-server serverUri="rmi://0.0.0.0:1098" createRegistry="true" />
</mule>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
No work has yet been logged on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Mark Sim-Smith
Vote (0)
Watch (2)

Dates

  • Created:
    31/Aug/11 09:02 PM
    Updated:
    22/Sep/11 10:50 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.