Menu

Register for the Windows service

This page is generated by Machine Translation from Japanese.

Registered as a Windows service

You can register the Fess as a Windows service in a Windows environment. How to register a service is similar to the Tomcat.

Advance preparation

Because if you registered as a Windows service, the crawling process is going to see Windows system environment variablesIs Java JAVA_HOME environment variables for the system to register, As well as Add %JAVA_HOME%\bin to PathYou must.

Setting

to edit the webapps \fess\WEB-INF\classes\fess.dicon, remove the-server option.

<component name="systemHelper" class="jp.sf.fess.helper.SystemHelper">
    <!--
    <property name="adminRole">"fess"</property>
    <property name="authenticatedRoles">"role1"</property>
    -->
    <property name="crawlerJavaOptions">new String[] {
        "-Djava.awt.headless=true", "-XX:+UseGCOverheadLimit",
        "-XX:+UseConcMarkSweepGC", "-XX:+CMSIncrementalMode",
        "-XX:+UseTLAB", "-Xmx512m", "-XX:MaxPermSize=128m"
    }</property>
</component>

How to register

First, after installing the Fess from the command prompt service.bat performs (such as Vista to launch as administrator you must). Fess was installed on C:\Java\fess-server-9.0.0.

> cd C:\Java\fess-server-9.0.0\bin
> service.bat install fess
...
The service 'fess' has been installed.

How to check the setting

By making the following you can review properties for Fess . To run the following, Tomcat Properties window appears.

> tomcat7w.exe //ES//fess

Service settings

Control Panel - to display the management tool in administrative tools - services, you can set automatic start like normal Windows services.

Other

available in 64-bit environment

Distributed in the Fess is 64-bit binaries for Windows Tomcat builds based on. If you use 32-bit WindowsTomcat Of the site from, such as 32-bit Windows zip, please replace tomcat7.exe, tomcat7w.exe, tcnative-1.dll.