JBoss Community

Loging JNDI exception

created by Anton Yanchev in Beginner's Corner - View the full discussion

I'm trying connect through JNDI to

remote://hostname:4447

Context factory: org.jboss.naming.remote.client.InitialContextFactory

i have installed Jboss 7.1.1 with enabled port 4447

i have application user

 

Does anyone know how to procceed with exception because i didn't anything about it.

 

com.segue.monitoring.jmx.common.exception.RtException: Unable to connect

          at com.segue.monitoring.jmx.common.gui.swt.JMXSWTRunner.connect(JMXSWTRunner.java:312)

Caused by: java.lang.RuntimeException: Unable to retrieve JMX bean list

          at com.segue.monitoring.jmx.common.client.RemoteDataSourceClient.getAllBeans(RemoteDataSourceClient.java:490)

          at com.segue.monitoring.jmx.common.gui.swt.JMXSWTRunner.connect(JMXSWTRunner.java:303)

Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

          java.rmi.RemoteException: java.lang.NoSuchMethodException: org.jboss.naming.remote.client.RemoteContext.queryNames(javax.management.ObjectName, javax.management.QueryExp)

java.lang.RuntimeException: java.lang.NoSuchMethodException: org.jboss.naming.remote.client.RemoteContext.queryNames(javax.management.ObjectName, javax.management.QueryExp)

          at com.segue.monitoring.jmx.common.SearchBase.queryNames(SearchBase.java:45)

          at com.segue.monitoring.jmx.common.runtime.DataSourceBase.getAllBeans(DataSourceBase.java:78)

          at com.segue.monitoring.jmx.common.runtime.RemoteDataSourceBase.getAllBeans(RemoteDataSourceBase.java:211)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)

          at sun.rmi.transport.Transport$1.run(Transport.java:159)

          at java.security.AccessController.doPrivileged(Native Method)

          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.jav

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community