adding mx4j's connector class to factory list

Blaine Simpson <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
I have no problem running a standalone mx4j instance under Tomcat 5.
I specify to use mx4j by setting the system property
"javax.management.builder.initial".  But when I try to get a remote JMX
connection under Tomcat 5, I am getting a very poorly populated
factory, and I don't know how to tell it to use mx4j for the
Connector.  The Connector factory API spec is very poor in this regard
compared to the Server side factory.  Here's the error that I get:

javax.servlet.ServletException: URL path must begin with /jndi/ or /stub/ or /ior/:

My URL uses rmi, and I'm sure there is nothing wrong with my URL because
it works for the server, and it works when I use the same URL in a
standalone (non-J2EE) Java program.


Help pls.


-- 
Don't pray in my school, and I won't think in your church.
ICF:  703-934-3692       Cell:  703-944-9317


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
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.