IBM Support

MCSF 8.5: Deployment of SBC (sbc.war) fails with "given_js_library_definition_file_does_not_exist" error

Troubleshooting


Problem

MCSF 8.5: Deployment of SBC (sbc.war) fails with "given_js_library_definition_file_does_not_exist" error

Symptom

After building sbc.war as an "exploded" or "development" module in order to run the MCSF 8.5 Business Center, the deployment fails.

The building of sbc.war is discussed in Section 3.3 of the Customization_Basics Guide. Refer also to Knowledgebase article NFX7749. One can either build the sbc.war via the standard buildear script (say, perhaps when also building the EAR file as described in the Installation Guide), or separately via the buildwar script.

After doing so, extract the contents and deploy them. If the error below is then encountered, this may be related to Web Services. This particular error occurred during deployment to WebLogic 10.

Error Message

2010-01-18 22:13:10,477:INFO :[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)': Initializing Datatypes [system]: ConsoleUIInitializer
2010-01-18 22:13:15,316:INFO :[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)': Yantra Console Initialization Done [system]: ConsoleUIInitializer
2010-01-18 22:13:18,107:INFO :[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)': Server null registered.. [system]: YFCRemoteManager
2010-01-18 22:13:18,249:ERROR :[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)': SCUIJSLibraryRegistry: given_js_library_definition_file_does_not_exist [system]: SCUIJSLibraryRegistry
2010-01-18 22:13:18,249:ERROR :[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)': SCUIJSLibraryRegistry: Throwing Exception [system]: SCUIJSLibraryRegistry
<Jan 18, 2010 10:13:18 PM EST> <Error> <HTTP> <BEA-101216> <Servlet: "baseUIInitializerServlet" failed to preload on startup in Web application: "sbc.war".
at com.sterlingcommerce.ui.web.framework.jslib.SCUIJSLibraryRegistry.loadJSLibraryX ml(SCUIJSLibraryRegistry.java:181)
at com.sterlingcommerce.ui.web.framework.helpers.SCUIJSLibraryHelper.loadJSLibraryX ml(SCUIJSLibraryHelper.java:155)
at com.sterlingcommerce.ui.web.framework.servlets.SCUIInitializerServlet.init(SCUII nitializerServlet.java:79)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityH elper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.ja va:321)
Truncated. see log file for complete stacktrace

Resolving The Problem

When building sbc.war, unless you are absolutely incorporating to and integrating with Web Services, be sure to include the -Dnowebservice=true flag on the build script command line. After completing the build with this flag and deploying, the errors mentioned should be eliminated and the deployment successful.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX8136

Product Synonym

[<p><b>]Function Area[</b><p>];SBC;[<p><b>]Escalation ID[</b><p>];133500;[<p><b>]Severity[</b><p>];Normal

Document Information

Modified date:
16 June 2018

UID

swg21552892