LiveCycle PDF Generator – Configuring WebSphere AppServer Instance to Run As Windows Service

– Jayan Kandathil

If you get exceptions such as follows in WebSphere SystemOut.log when you try LiveCycle PDF Generator document conversions, you might need to run the WebSphere appserver instance as a Windows service running as the ‘SYSTEM’ account:

ERROR: API = CreateProcessAsUser
MESSAGE = A required privilege is not held by the client.

Download the utility WASServiceCmd.exe from here. Copy it to %WAS_HOME%bin and run it to create a Windows service for the WebSphere appserver instance that hosts LiveCycle.

WASService.exe -add “Adobe_LiveCycle” -serverName “server1″ -profilePath “C:ProgramsIBMWebSphereAppServerprofilesAppSrv01″ -logRoot “C:ProgramsIBMWebSphereAppServerprofilesAppSrv01logsserver1″ -logFile “C:ProgramsIBMWebSphereAppServerprofilesAppSrv01logsserver1SystemOut.log” -encodeParams -stopArgs “-username SYSTEM” -startType manual -restart false

If it worked, you should get a response similar to this:

Adding Service: Adobe_LiveCycle
Config Root: C:ProgramsIBMWebSphereAppServerprofilesAppSrv01config
Server Name: server1
Profile Path: C:ProgramsIBMWebSphereAppServerprofilesAppSrv01
Was Home: C:ProgramsIBMWebSphereAppServer
Start Args:
Restart: 0
IBM WebSphere Application Server V7.0 - Adobe_LiveCycle service successfully added.

Start the service and try the document conversion again. If you still have problems, see this.

Original article at