Thank you! This one works correctly! In the meantime I tried out the folloowing for the singleton-jmx-adaptor-service.xml:
| <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory" name="jboss.jmx:type=adaptor,name=SingletonInvoker,protocol=jrmp,service=proxyFactory"> | <depends optional-attribute-name="InvokerName">jboss:service=invoker,type=jrmp</depends> | <depends optional-attribute-name="TargetName">jboss.jmx:type=adaptor,name=SingletonInvoker</depends> | <attribute name="JndiName">jmx/invoker/SingletonRMIAdaptor</attribute> | <attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,org.jboss.jmx.adaptor.rmi.RMIAdaptorExt</attribute> | <attribute name="ClientInterceptors"> | <interceptors> | <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor> | <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor> | <interceptor>org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor</interceptor> | <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor> | </interceptors> | </attribute> | </mbean> | <mbean code="org.jboss.jmx.connector.invoker.InvokerAdaptorService" name="jboss.jmx:type=adaptor,name=SingletonInvoker" xmbean-dd=""> | <xmbean> | <description>The JMX Detached Invoker Service</description> | <class>org.jboss.jmx.connector.invoker.InvokerAdaptorService</class> | <attribute access="read-only" getMethod="getName"> | <description>The class name of the MBean</description> | <name>Name</name> | <type>java.lang.String</type> | </attribute> | <attribute access="read-only" getMethod="getState"> | <description>The status of the MBean</description> | <name>State</name> | <type>int</type> | </attribute> | <attribute access="read-only" getMethod="getStateString"> | <description>The status of the MBean in text form</description> | <name>StateString</name> | <type>java.lang.String</type> | </attribute> | <attribute access="read-write" getMethod="getExportedInterfaces" setMethod="setExportedInterfaces"> | <description>The interfaces the invoker proxy supports</description> | <name>ExportedInterfaces</name> | <type>[Ljava.lang.Class;</type> | </attribute> | <attribute access="read-only" getMethod="getMethodMap"> | <description>Map(Long hash, Method) of the proxy interface methods</description> | <name>MethodMap</name> | <type>java.util.Map</type> | </attribute> | <operation> | <description>The start lifecycle operation</description> | <name>start</name> | </operation> | <operation> | <description>The stop lifecycle operation</description> | <name>stop</name> | </operation> | <operation> | <description>The detyped lifecycle operation (for internal use only)</description> | <name>jbossInternalLifecycle</name> | <parameter> | <description>The lifecycle operation</description> | <name>method</name> | <type>java.lang.String</type> | </parameter> | <return-type>void</return-type> | </operation> | <operation> | <description>The detached invoker entry point</description> | <name>invoke</name> | <parameter> | <description>The method invocation context</description> | <name>invocation</name> | <type>org.jboss.invocation.Invocation</type> | </parameter> | <return-type>java.lang.Object</return-type> | </operation> | </xmbean> | <attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,org.jboss.jmx.adaptor.rmi.RMIAdaptorExt</attribute> | </mbean> | <mbean code="org.jboss.ha.singleton.HASingletonController" name="jboss.hasingleton:service=RMIAdaptorSingletonController"> | <depends>jboss:service=DefaultPartition</depends> | <depends>jboss.jmx:type=adaptor,name=SingletonInvoker</depends> | <attribute name="TargetName">jboss.jmx:type=adaptor,name=SingletonInvoker</attribute> | <attribute name="TargetStartMethod">start</attribute> | <attribute name="TargetStopMethod">stop</attribute> | </mbean> | This one worked too without setting the security principal and credential, and I don't really understand, why? This declaration removes the mbean from the security domain? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047445#4047445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047445 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
