|
Windows
Currently there is no installer or Windows NT/2k/XP service. Here is what you do to get
JCas running on your machine:
- Download and install a Java Runtime Environment (JRE) 1.4 or higher from
java.sun.com.
- Download the jcas.jar file to your machine.
- Copy the jcas.jar file in a separate directory, e.g. C:\jcas.
- Create a XML configuration file jcas.xml in the same directory
- Create a startup.bat file in the same directory. Edit the file (path names may vary):
+----------------------------------------------------------------------+
| |
| JRE_HOME=C:\j2sdk1.4.2 |
| CLASSPATH=%CLASSPATH%;C:\jcas\jcas.jar |
| %JRE_HOME%\bin\java -cp %CLASSPATH% cas.JCasServer C:\jcas\jcas.xml |
| |
+----------------------------------------------------------------------+
Please note that you need to extend the CLASSPATH variable with the
appropriate drivers for your specific authorization menthods.
- Start the startup.bat file by double-clicking on it.
Unix Daemon
Unix daemon setup differs slightly from Windows setup, but the steps are basically the same:
- Download and install a Java Runtime Environment (JRE) 1.4 or higher from
java.sun.com.
- Download the jcas.jar file to your machine.
- Copy the jcas.jar file in a separate directory, e.g. /usr/local/jcas.
- Create a XML configuration file jcas.xml in the same directory
- Create a startup file in the same directory. Edit the file (path names may vary):
+----------------------------------------------------------------------------+
| |
| JRE_HOME=/usr |
| CLASSPATH=$CLASSPATH:/usr/local/jcas/jcas.jar |
| $JRE_HOME/bin/java -cp $CLASSPATH cas.JCasServer /usr/local/jcas/jcas.xml |
| |
+----------------------------------------------------------------------------+
Please note that you need to extend the CLASSPATH variable with the
appropriate drivers for your specific authorization menthods.
- Change the permission setting of startup file to enable execution.
- Start JCas server by executing the startup command.
|
|
|