JMX Implementation In WAS

Hi,

I am getting the following error when i am trying to run my client application

which will access the WAS Admin Services.

The jars which i have included in the classpath are admin.jar,wsexception.jar and jmxc.jar.

com.ibm.websphere.management.exception.ConnectorException: ADMC0017E: Could not create RMI Connector to connect to host 172.16.1.16 at port 2809

at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:461)

at com.test.JMXClient.main(JMXClient.java:45)

- Begin backtracefor nested exception

java.lang.reflect.InvocationTargetException: com.ibm.websphere.management.exception.ConnectorNotAvailableException

at com.ibm.ws.management.connector.rmi.RMIConnectorClient.reconnect(RMIConnectorClient.java:225)

at com.ibm.ws.management.connector.rmi.RMIConnectorClient.<init>(RMIConnectorClient.java:109)

at java.lang.reflect.Constructor.newInstance(Native Method)

at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:395)

at com.test.JMXClient.main(JMXClient.java:45)

- Begin backtracefor nested exception

javax.naming.NamingException: Error during resolve. Root exception is org.omg.CORBA.TRANSIENT: lavanya.thbsst.thbs.india.com:host=lavanya.thbsst.thbs.india.com,port=1122 minor code: 4942F303 completed: No

at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:488)

at com.ibm.rmi.transport.TCPTransport.getConnection(TCPTransport.java:188)

at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:83)

at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:130)

at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:95)

at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:1924)

at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1225)

at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1158)

at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1820)

at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:245)

at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(Unknown Source)

at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:3534)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1565)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)

at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)

at javax.naming.InitialContext.lookup(InitialContext.java:359)

at com.ibm.ws.management.connector.rmi.RMIConnectorClient.reconnect(RMIConnectorClient.java:216)

at com.ibm.ws.management.connector.rmi.RMIConnectorClient.<init>(RMIConnectorClient.java:109)

at java.lang.reflect.Constructor.newInstance(Native Method)

at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:395)

at com.test.JMXClient.main(JMXClient.java:45)

Please tell meif anyone knows how to solve it....I am stuck in middle of some important work..

thnx in advance

[3428 byte] By [vishal.sarayaa] at [2007-10-2 21:24:08]
# 1
What was the url you are connecting to?
sasdava at 2007-7-14 0:35:03 > top of Java-index,Core,Monitoring & Management...
# 2

I also get same exception..here is my code...

java.util.Properties props = new java.util.Properties();

props.put(AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_RMI);

props.put(AdminClient.CONNECTOR_HOST, host);

props.put(AdminClient.CONNECTOR_PORT, port);

ac = AdminClientFactory.createAdminClient(props);

any help greatly appricated..:)

nihil_somania at 2007-7-14 0:35:03 > top of Java-index,Core,Monitoring & Management...