STAF Learning Series--Installation and configuration

Source: Internet
Author: User

1.JDK Installation and configuration:

(1) Default installation Jak, path such as: C:\jdk1.5.0_11

JDK Download Address http://java.sun.com/javase/downloads/index.jsp

(2) Configure JDK:

Open My Computer Right-click Properties-Advanced-Environment Variables page,

In the system variable, add variable java_home, variable value: C:\jdk1.5.0_11

In the system variable, add variable classpath, variable value:.; %java_home%\lib

In the system variable, increase before the variable path variable value:%java_home%\bin;

2. Download Staf:

Http://sourceforge.net/project/downloading.php?groupname=staf&filename=STAF330-setup-win32.exe&use_ Mirror=osdn

3. Download Stax:

Http://sourceforge.net/project/downloading.php?groupname=staf&filename=STAXV333.zip&use_mirror=osdn

4. Default installation STAF, installation path such as: C:\STAF

5.STAX Installation configuration:

(1) Installation Stax:

Create a new folder in the C:\STAF directory services, extract Stax to the Services folder, directory path such as: C:\STAF\services\stax;

(2) Configure Stax:

Add the following configuration information to the C:/STAF/BIN/STAF.CFG configuration file

SERVICE STAX LIBRARY jstaf EXECUTE {staf/config/stafroot}/services/stax/stax.jar \

OPTION j2=-xmx384m

SERVICE EVENT LIBRARY Jstaf EXECUTE \

{Staf/config/stafroot}/services/stax/stafevent.jar

SET Maxqueuesize 10000

(3) Check whether the Stax is installed successfully:

Run the STAF Local Service list on the command line to see if there are any records in the results, indicating that the installation was successful:

STAX Jstaf C:/staf/services/stax/stax.jar

7. Run STAF: Start Menu--"Start STAF 3.3.0"

8 Running Stax:

On the command line, enter: Java-jar C:/staf/services/stax/staxmon.jar

Source: http://www.cnblogs.com/sky_online/archive/2008/08/06/1261697.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.