Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

No functions found for library, Engine failed to start



After restarting the JVM, PegaRULES engine initialization failed.

Error Messages

2015-07-07 17:42:07,356 [] [  STANDARD] [                    ] (ary.LibraryFunctionUtilityImpl) WARN    - No functions found for library: TESTLIBRARY
2015-07-07 17:42:07,362 [] [  STANDARD] [                    ] (ary.LibraryFunctionUtilityImpl) WARN    - No functions found for library: TESTLIBRARY(SFRCRP)
2015-07-07 17:42:07,731 [] [  STANDARD] [                    ] (      etier.impl.EngineStartup) ERROR   - PegaRULES initialization failed. Server: TestServer PRNodeImpl init failed
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl$
at java.lang.reflect.Method.invoke(
Caused by: Method Invocation exception
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(
... 88 more
Caused by:
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
... 90 more
Caused by:
at com.pega.pegarules.generation.internal.library.LibraryUtilityBase.getUniqueGeneratedClassName(
at com.pega.pegarules.generation.internal.library.LibFunctionDef.<init>(
at com.pega.pegarules.generation.internal.library.LibLibraryDef.buildFunctionTree(
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.generateAllFunctionsForLibrary(
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.generateLibrary(
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.extractAll(
at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.handleExtraction(
at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(

Steps to Reproduce

Restart JVM.

Root Cause

The root cause of this problem is defect/misconfiguration in the operating environment. After adding DEBUG to following Pega Java packges:


There was an issue identified with custom library and function added to this environment before starting the JVM.


This issue is resolved through the following local change: After deleting the custom library and function from pr4_base table and clearing the Pega temp directory from Application server resulted in clean startup of the engine.

Published July 14, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us