beautypg.com

Google Search Appliance Connectors Administration Guide User Manual

Page 15

background image


To register a connector as a service:

1. Download and extract prunsrv.exe from the

latest Windows binary download

of

Apache Commons Daemon. If you are running on 64-bit Windows and will use a 64-
bit JVM, then you should use the prunsrv.exe in the amd64/ directory.

2. Place prunsrv.exe in the same directory as the connector you would like to run as a

service.

3. In the same directory where the connector .jar files are installed, run the following

command:

prunsrv install ^
--StartPath="" ^
--Classpath= ^
--StartMode=jvm ^
--StartClass=com.google.enterprise.adaptor.Daemon ^
--StartMethod=serviceStart ^
--StartParams= ^
--StopMode=jvm ^
--StopClass=com.google.enterprise.adaptor.Daemon ^
--StopMethod=serviceStop ^
--StdOutput= ^
--StdError= ^
--Jvm= ^
--Startup=auto

Where:

is the name of the connector in the list of running services:

SharePoint: adaptor-sharepoint
SharePoint User Profiles: adaptor-sharepoint-user-profile
File Systems: adaptor-fs
Active Directory: adaptor-ad

is the absolute path of the StartPath, for example

"C:\Users\administrator.GSA\Desktop\Connector"

is the the name of the connector .jar, for example, adaptor-

sharepoint-4.0.3-withlib.jar

is one of the following values:

com.google.enterprise.adaptor.sharepoint.SharePointAdaptor