Re: [Aglets-developer] Running TahitiDeamonClient
Status: Beta
Brought to you by:
cat4hire
From: Alexander G. L. <sc...@uk...> - 2003-02-21 19:42:59
|
Hello Chris, I have successful start up of the TahitiDaemon control only when used '-daemon'... Trying different ContextListeners as CommandLine and Tahiti(GUI) and default control port 5545, 'netstat -an' shows that port 5545 is not listening... Only with the option '-daemon' I could connect through TahitiDaemonControl. Hope this will help... Friday, February 21, 2003, 12:19:25 PM, you wrote: CF> All, CF> I am trying to use the TahitiDaemonClient class to control an Aglet CF> server, however, it is throwing an exception with little infromation as CF> to why. Here's what I am doing. CF> 1. start an Aglet server running on localhost with a given port 4434. CF> 2. run: java TahitiDaemonClient -verbose -host localhost -controlport CF> 4434 CF> In the TahitiDaemonClient window I get: CF> Failure reading from: localhost:4434 CF> java.net.SocketTimeoutException: Read timed out CF> at java.net.SocketInputStream.socketRead0(Native Method) CF> at java.net.SocketInputStream.read(SocketInputStream.java:116) CF> at CF> sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:404) CF> at CF> sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:442) CF> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179) CF> at java.io.InputStreamReader.read(InputStreamReader.java:167) CF> at java.io.BufferedReader.fill(BufferedReader.java:136) CF> at java.io.BufferedReader.readLine(BufferedReader.java:299) CF> at java.io.BufferedReader.readLine(BufferedReader.java:362) CF> at TahitiDaemonClient.main(TahitiDaemonClient.java:97) CF> In the server window I get: CF> java.net.SocketException: Connection reset by peer: JVM_recv in socket CF> input stream read CF> at java.net.SocketInputStream.socketRead(Native Method) CF> at java.net.SocketInputStream.read(SocketInputStream.java:86) CF> at CF> java.io.BufferedInputStream.fill(BufferedInputStream.java:186) CF> at CF> java.io.BufferedInputStream.read(BufferedInputStream.java:204) CF> at java.io.DataInputStream.readLine(DataInputStream.java:449) CF> at CF> com.ibm.maf.atp.ConnectionHandler.handle(ConnectionHandler.java:225) CF> at CF> com.ibm.maf.atp.ConnectionHandler.run(ConnectionHandler.java:848) CF> If I run Tahiti in the server window (server + gui) and run the same CF> TahitiDaemonClient command I get: CF> Couldn't get I/O for the connection to: localhost CF> In the cmd window and nothing in the server window. CF> My question. Has anyone had success with running the TahitiDaemonClient CF> class. If so, can they please send details of how you got it to run. CF> I am using: CF> Aglets2.0.2 CF> Win2k CF> JDK1.4 CF> Thanks, CF> Chris CF> ------------------------------------------------------- CF> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. CF> The most comprehensive and flexible code editor you can use. CF> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. CF> www.slickedit.com/sourceforge CF> _______________________________________________ CF> Aglets-developer mailing list CF> Agl...@li... CF> https://lists.sourceforge.net/lists/listinfo/aglets-developer -- Best regards, Alexander mailto:sc...@uk... |