com.ibm.ras.server

Class RASLogServer

  1. java.lang.Object
  2. extended bycom.ibm.ras.server.RASLogServer
All implemented interfaces:
java.lang.Runnable

Deprecated. As of WAS 6.0, recommend using java.util.logging
  1. public class RASLogServer
  2. extends java.lang.Object
  3. implements java.lang.Runnable
RASLogServer works in tandem with the RASSocketHandler class. It is run as a Java application on a server. It binds to a socket, listening and accepting connections from instances of RASSocketHandler. Once a connection is established between the RASLogServer and a client, log data is sent from the client to the RASLogServer, where it is displayed on the console and, optionally, written to a file.

Usage:

java com.ibm.ras.server.RASLogServer [port] [filename]
The default port for the RASLogServer process is 9991. If filename is specified, the output is also written to the file.

Constructor Summary

Constructor and Description
RASLogServer(int port,java.lang.String filename)
Deprecated. Creates a RASLogServer.

Method Summary

Modifier and Type Method and Description
  1. static
  2. void
main(java.lang.String[] args)
Deprecated. Main entry point for the RASLogServer application.
  1. void
run()
Deprecated. Starts the RASLogServer on its own thread.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

RASLogServer

  1. public RASLogServer(int port,
  2. java.lang.String filename)
Deprecated.
Creates a RASLogServer.
Parameters:
port - The port on which the RASLogServer listens.
filename - The name of the file to which the log data will be appended. If this is null, the data is only written to the console.

Method Detail

main

  1. public static void main(java.lang.String[] args)
Deprecated.
Main entry point for the RASLogServer application.

run

  1. public void run()
Deprecated.
Starts the RASLogServer on its own thread.
Specified by:
run in interface java.lang.Runnable