I'm trying to read JMS queue from the server , getting the following error, could anyone help me..
in thread "main" javax.naming.CommunicationExce
ption [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote
endpoint]
at weblogic.jrmp.Context.lookup(Context.java:189)
at weblogic.jrmp.Context.lookup(Context.java:195)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at client.QueueReceive.init(QueueReceive.java:76)
at client.QueueReceive.main(QueueReceive.java:109)
Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:248
)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at weblogic.jrmp.Context.lookup(Context.java:185)
... 4 more