Skip to main content
Skip table of contents

Render as a Service under Windows: Invalid RuntimeLib specified

PROBLEM

Render/Layout-Service is UNAVAILABLE, no PDF creation or content/geometry update flag handling via Layout-Service is possible.

ERROR

  • Within the censhare-Client/WebClient: Error: There is no available Server Version for the document. Error code: srv-ex-layout-unavaiable.

  • Within the censhare-Admin/Status/Services/Layout-Service/State: UNAVAILABLE

  • Within the Windows OS Event Viewer: The censhare Render Client service terminated with service-specific error Incorrect function.

  • Within the Render service-log.yyyy-mm-dd.log (Render is running as a Windows Service):

CODE
2016-10-24 11:14:24] [info] ( prunsrv.c:1127) [ 5272] Starting service... 
[2016-10-24 11:14:24] [debug] ( javajni.c:208 ) [ 5272] Invalid RuntimeLib specified 'C:\Program Files\Java\jre1.8.0_60\bin\server\jvm.dll' 
[2016-10-24 11:14:24] [error] ( prunsrv.c:1162) [ 5272] Failed creating java C:\Program Files\Java\jre1.8.0_60\bin\server\jvm.dll 
[2016-10-24 11:14:24] [error] ( prunsrv.c:1162) [ 5272] The system cannot find the path specified. 
[2016-10-24 11:14:25] [error] ( prunsrv.c:1536) [ 5272] ServiceStart returned 1  

CAUSE

The specified runtime dll is not existent at the configured path C:\Program Files\Java\jre1.8.0_60\bin\server\jvm.dll (because of a JRE upgrade to a newer version)

SOLUTION

  • Go to the censhare Render-Client installation folder (which is referenced within the Windows Service)

  • Navigate to subfolder service

  • Execute RenderClient-ServiceManager.bat

  • Go to Tab "Java" and adapt the Java Virtual Machine path to the currently installed one (e.g. C:\Program Files\Java\jre1.8.0_111\bin\server\jvm.dll)

  • Press Apply and OK

  • Start the Render Service


If your Java version is updated and you do not use the "Use default" setup for your Java Virtual Machine you must change the defined path manually here whenever you update Java!

Please refer as well to the default installation setup for censhare Render-Client and InDesign Server as Windows Service

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.