Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Library Javascript 'require'

edited Jan 16, 2019 9:56AM in Integration 2 comments

Summary

Having issues using the 'require' command in Library/javascript in OIC

Content

Why can't I use the "require" command in my javascript program (library) for OIC?

I get an error regarding the first line of my code.  I've packaged a JAR version to include the needed modules.

Deployment Failed: Error occurred during deployment of component: TESTSUPPLIER_INTEGRATION to service engine: implementation.bpel, for composite: TESTSUPPLIER_INTEGRATION: ORABPEL-05215 Error while loading process. The process domain is encountering the following errors while loading the process "TESTSUPPLIER_INTEGRATION" (composite "oracleinternalics/TESTSUPPLIER_INTEGRATION!01.00.0000*9a0465fb-cf91-4f04-82fc-ae8641e66fd3"): Error while creating process. error while attempting to instantiate the class for the process "oracleinternalics/TESTSUPPLIER_INTEGRATION!01.00.0000*9a0465fb-cf91-4f04-82fc-ae8641e66fd3" (revision "TESTSUPPLIER_INTEGRATION"); the exception reported was: ReferenceError: "require" is not defined. (js/XXXX_CHALLENGEDECRYPT_01.00.0000/test.js#1) This error contained an exception thrown by the underlying process loader module. Verify the exception trace in the log (with logging level set to debug mode). . This error contained an exception thrown by the underlying process

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!