-
Sep 3rd, 2007, 04:34 AM
#1
JMX in Websphere 5.1
Hi,
I use the following configuration to change logging level via jmx
<bean id="htmlAdaptor" class="com.sun.jdmk.comm.HtmlAdaptorServer" init-method="start">
<property name="port" value="12001"/>
</bean>
<bean id="myMBeansExporter"
class="org.springframework.jmx.export.MBeanExporte r"
lazy-init="false">
<property name="beans">
<map>
<entry key="adaptor:name=htmlAdaptor" value-ref="htmlAdaptor" />
<entry key="mybean:name=log4jConfigurator"
value-ref="log4jConfigurator"/>
</map>
</property>
<property name="registrationBehaviorName"
value="REGISTRATION_REPLACE_EXISTING" />
</bean>
<bean id="log4jConfigurator"
class="xxx.extension.spring.Log4jConfigurator" />
All work fine but I have two questions:
1) How can I limit access to jmx server, e.g. with username and password?
I search in ibm websphere 5.1 documentation but I haven't found answer
2) How can show only my beans?
Actually I see all registered beans.
Best regards
Superbeppe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules