sir/madam...
all programs successfully compiled...bt finally after javac client not worked properly.
i got some error after java client...
Z:\rmi>java Client
Connection refused to host: 192.168.1.97; nested exception is:
java.net.ConnectException: Connection timed out: connect
java.rmi.ConnectException: Connection refused to host: 192.168.1.97; nested exce
ption is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198
)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
at Client.main(Client.java:12)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
SocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
SocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 6 more
Hello, i have a problem when i try to compile javac ServerImplements.java, i get a message like this.. cannot find symbol symbol: class RemoteInterface.
first i compile RemoteInterface, then is when i try to compile ServerImplements.java
what is the problem ?
rmi conceptnaga July 20, 2012 at 3:15 PM
i can complie this source code by follow above specify steps then i start rmiregistry bt i cant able to display the output sum 4
i cant get output in this programg.punitha August 23, 2012 at 10:57 AM
sir/madam... all programs successfully compiled...bt finally after javac client not worked properly. i got some error after java client... Z:\rmi>java Client Connection refused to host: 192.168.1.97; nested exception is: java.net.ConnectException: Connection timed out: connect java.rmi.ConnectException: Connection refused to host: 192.168.1.97; nested exce ption is: java.net.ConnectException: Connection timed out: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198 ) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at java.rmi.Naming.lookup(Naming.java:84) at Client.main(Client.java:12) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:180) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect SocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster SocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) ... 6 more
ErrorLucas October 20, 2012 at 3:35 PM
Hello, i have a problem when i try to compile javac ServerImplements.java, i get a message like this.. cannot find symbol symbol: class RemoteInterface. first i compile RemoteInterface, then is when i try to compile ServerImplements.java what is the problem ?
rmiregistryShriram January 4, 2013 at 1:08 PM
rmiregistry will not be work......please give me solution to my email id..
Post your Comment