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

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
INFO [STDOUT] ERROR CODE = 1314
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.

Eg:
WASService.exe -add “Adobe_LiveCycle” -serverName “server1″ -profilePath “C:\Programs\IBM\WebSphere\AppServer\profiles\AppSrv01″ -logRoot “C:\Programs\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1″ -logFile “C:\Programs\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\SystemOut.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:\Programs\IBM\WebSphere\AppServer\profiles\AppSrv01\config
Server Name: server1
Profile Path: C:\Programs\IBM\WebSphere\AppServer\profiles\AppSrv01
Was Home: C:\Programs\IBM\WebSphere\AppServer\
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.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)
This entry was posted in Adobe LiveCycle ES2 (9.0.x) and tagged , , . Bookmark the permalink.

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

  1. Thanks for the info. Is it correct to assume that this will only work if you have admin rights on your computer? Sorry if that is a stupid question but I try to apply the approach to my desktop in the office where I don’t have the administrator role.

    Thanks again for helping.