rmi报错,大家来看看!
客户端控制台里报的是这个:Cannot get Remote Security Object!
Check the Server!
web上是这样的:
Starting the application server...
connMgr was retrieved!! [com.slmsoft.ccs.eccs.DataObjects.DBConnectionManager@113fe2]
Number of Database clients is: 1
Reading URL: jdbc:oracle:thin:@10.1.1.66:1521:espsdb
java.rmi.ConnectException: Connection refused to host: 10.1.6.79; nested exception is:
java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:25)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:120)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
。。。。。。。。
。。。。。。。。
----------------------------------------------------------------------
这个问题出在哪里呢?应该怎么去查找呢?谢谢