[Mc4j-development] Trying to use cosnaming
Brought to you by:
ghinkl
From: David R R. <drr...@op...> - 2006-05-04 19:37:55
|
I have downloaded the latest version of mc4j. I am trying to use the JacORB naming service to register my JMX servers. To add a connection to mc4j I use Connection Type: JRS160 Initial Context factory: com.sun.jndi.cosnaming.CNCtxFactory Server URL: service:jmx:iiop://localhost/jndi/jmxSerialCommSvc then in the advance tab I add the property java.naming.provider.url corbaloc:iiop:localhost:9101/StandardNS/NameServer-POA/_root When I try to connect I get the error java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ConfigurationException: Invalid URL: java.naming.provider.url [Root exception is java.net.MalformedURLException: no protocol: java.naming.provider.url] Any ideas? Thanks in advance, David Robison -- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: drr...@op... web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/bookstore/titles/1597816523.htm |