de.folt.rpc.webserver
Class OpenTMSServer

java.lang.Object
  extended by de.folt.rpc.webserver.OpenTMSServer

public class OpenTMSServer
extends java.lang.Object


Constructor Summary
OpenTMSServer()
           
 
Method Summary
static java.lang.String getStartLogString()
           
static java.lang.String getVersion()
           
static void main(java.lang.String[] args)
          main start the OpenTMS XML RPC server.
static java.lang.String serverRunningFile()
          serverRunningFile return the name of the file which indicates if the server is running.
 int shutdown()
          Method shutdown shuts down the OpenTMS Server
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenTMSServer

public OpenTMSServer()
Method Detail

getVersion

public static java.lang.String getVersion()
Returns:
the version of the OpenTMS Implementation

getStartLogString

public static java.lang.String getStartLogString()
Returns:
the startLogString returns the log starting string

main

public static void main(java.lang.String[] args)
main start the OpenTMS XML RPC server.
-shutdown shuts down the server
-logfile the log file name for the log output
-configurationHandler the name of the xml OpenTMS configuration file: Defaults to OpenTMSProperties.getPropfileName()
-propertiesFile the associated properties file. Defaults to OpenTMS.properties

Example call: call java -Xmx1024m -cp ".;lib/OpenTMS.jar;lib/arayaserver.jar;lib/external.jar;lib/Win32/swt.jar;%DATABASES%" -Djava.library.path=lib\Win32 de.folt.rpc.webserver.OpenTMSServer

Parameters:
args -

shutdown

public int shutdown()
Method shutdown shuts down the OpenTMS Server

Returns:
int

serverRunningFile

public static java.lang.String serverRunningFile()
serverRunningFile return the name of the file which indicates if the server is running. If the file "running" exists the server is active.

Returns:
the name of the server running file combined of openTMSdir + "running";