Avoid creating MBean server on our own

Description

The JBoss version 6.1.0.Final fails to start with inspectIT agent due to the strange errors regarding the class loading. Although the inspectIT is not shown in the stack trace, suspicion is that something with the class loading is problematic when inspectIT is on.

Environment

None

Activity

Show:
Ivan Senic
September 15, 2016, 8:39 AM

So I rebased this on the latest stable and fix the comment on the IPremainListener as agreed. I consider this ticket as Integration needed, but since I am not sure what's the state of the integration I ll keep it like this.

Ivan Senic
October 6, 2016, 3:33 PM

I leave this open until you get back from the holiday.. The we can discuss..

Ivan Senic
October 13, 2016, 12:17 PM

We will base this one on the refactored special sensors.

Patrice Bouillet
November 4, 2016, 11:52 AM

rebase needed now, other ticket is now integrated.

Technical User
November 25, 2016, 7:35 AM

SUCCESS: Integrated in

inspectIT - Integration #226
INSPECTIT-2169: JMX sensor updates - options to deactivate sensor, force (patrice.bouillet: c11be6b6e3cc49807a3a25e02469ffefa80c6320)

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/websocket.xml

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/instrumentation/config/SpecialInstrumentationType.java

  • (edit) inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/ci/sensor/jmx/JmxSensorConfig.java

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/struts.xml

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/hibernate.xml

  • (add) inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/ci/sensor/method/special/impl/MBeanServerInterceptorSensorConfig.java

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/javaagent/JavaAgent.java

  • (edit) inspectit.server/src/main/external-resources/ci/schema/ciSchema.xsd

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/exclude-classes.xml

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/sql.xml

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/jmx/IJmxSensor.java

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/trinidad.xml

  • (edit) inspectit.server/src/test/java/rocks/inspectit/server/instrumentation/config/ConfigurationCreatorTest.java

  • (add) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/method/special/MBeanServerInterceptorHook.java

  • (add) inspectit.shared.cs/src/test/java/rocks/inspectit/shared/cs/ci/factory/SpecialMethodSensorAssignmentFactoryTest.java

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/jta.xml

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/webservice.xml

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/instrumentation/config/ConfigurationCreator.java

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/ejb_v3.xml

  • (add) inspectit.server/src/main/external-resources/ci/schema/migration/0002-new-properties-jmx-sensor.xml

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/ejb_v2.xml

  • (add) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/method/special/MBeanServerInterceptorSensor.java

  • (edit) inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/jaxb/ISchemaVersionAware.java

  • (add) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/ci/form/part/JmxSensorOptionsPart.java

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/logging-log4j.xml

  • (edit) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/ci/form/page/EnvironmentSettingsPage.java

  • (add) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/jmx/IMBeanServerListener.java

  • (edit) inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/ci/factory/SpecialMethodSensorAssignmentFactory.java

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/sql-parameters.xml

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/jpa.xml

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/jsf.xml

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/instrumentation/asm/IInstrumenterConstant.java

  • (edit) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/model/SensorTypeEnum.java

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/jmx/JmxSensor.java

  • (add) inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/sensor/method/special/MBeanServerInterceptorHookTest.java

  • (edit) inspectit.server/src/main/external-resources/ci/profiles/common/http.xml

  • (edit) inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/sensor/jmx/JmxSensorTest.java

Fixed

Assignee

Ivan Senic

Reporter

Ivan Senic

Labels

None

Integrator

Patrice Bouillet

Sprint

None

Fix versions

Affects versions

Priority

Medium
Configure