RE: Running mx4j with Oracle9i

"Bordet, Simone" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Hi,

> I was trying to deploy MX4J with oracle9i (oc4j
> 9.0.3), and with some minor changes it was successful:
> after replacing jmx libraries of oc4j with mx4j, I was
> able to connect the console with it. 
> BUT... there was a problem: if I try to add a
> listener, I get an IllegalAccessError exception,
> that's becouse the interface
> RemoteNotificationListener (and others from the same
> package) are package visible, not public. If I change
> that I'm allowed to connect and interact... 
> 
> It is possible to change the visibility of the classes
> in mx4j.connector.rmi, so I can use a "official" build
> of mx4j?

Even better: in CVS head already, and in a beta release soon, you have an implementation of JSR 160, that will make possible for you to connect to a remote JMX server via a standard API.

The old mx4j.connector.rmi.* stuff will not be mantained anymore.

On the online documentation you can find a tutorial that explains how to move from MX4J 1.x remote code to the JSR 160 API:
http://mx4j.sf.net/docs/bk01ch03.html

Regards,

Simon


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.