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 To add the path %jv_home%\BinYou 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-4.0.0.
> cd C:\Java\fess-server-4.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.
> tomcat6w.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 32-bit binaries for Windows Tomcat builds based on. If you use 64-bit WindowsTomcat For 64 bit Windows zip, such as getting from the site and replace tomcat6.exe, tomcat6w.exe.