I deployed the webapp to weblogic 8.1.
The lookup of the MBeanServer failed to find an
MBeanServer (in
org.ejtools.jmx.browser.model.connector.LocalConnection
Service.createMBeanServer()).
To remedy the problem in my deployment, I modified the
method to use the following code to lookup the
MBeanServer in weblogic:
InitialContext ctx = new InitialContext();
MBeanHome home = (MBeanHome) ctx.lookup
(MBeanHome.ADMIN_JNDI_NAME);
server = home.getMBeanServer();
(This worked, but I make no guarantees that it is the
right approach, I'm just doing what I found on the
internet.)
In addition, there is a strange bug in the generated html
for text with links when I run on weblogic. On
the "MBean Detail" page, the "name" column in the table
appears on the screen as something akin to:
<a href="javascript:alert('');">mBeanInstanceInfo</a>
(instead of being a label "mBeanInstanceInfo" with a link).
The html source produced for this entry looks like:
<td valign="top" align="left">&lt;a href="javascript:alert
('');"&gt;mBeanInstanceInfo&lt;/a&gt;
----
Thanks for the nice work.
Logged In: NO
works well on weblogic 6.1 too, but with same strange
generated html