IBM Sterling products unofficial blog

IBM Order Management System, Sterling Order Management System OMS, Troubleshooting

Sterling Order Management System OMS common build errors

Call Center buildwar.sh fails with an OOM:

./buildwar.sh -Dwarfiles=isccsdev -Ddevmode=true

dojoBuild.xml has a target to run dojo minification which calls a Java process:

 [java] java.lang.OutOfMemoryError: Java heap space
     [java] 	at java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:774)
     [java] 	at java.lang.StringBuffer.append(StringBuffer.java:564)
     [java] 	at org.dojotoolkit.shrinksafe.TokenMapper.sourceCompress(TokenMapper.java:270)
     [java] 	at org.dojotoolkit.shrinksafe.Compressor.compress(Compressor.java:262)
     [java] 	at org.dojotoolkit.shrinksafe.Compressor.compressScript(Compressor.java:1000)
     [java] 	at org.dojotoolkit.shrinksafe.Compressor.compressScript(Compressor.java:979)
     [java] 	at org.dojotoolkit.shrinksafe.Compressor.compressScript(Compressor.java:975)

If ADDITIONAL_ANT_JAVA_TASK_ARGS is not set in the sandbox.cfg property file then the default value to the jvmargs will be set to “-Xms128m -Xmx1024m”

To solve the heap space issue tune the Xmx value:

1. For example set ADDITIONAL_ANT_JAVA_TASK_ARGS=-Xms128m -Xmx4096m in /properties/sandbox.cfg

2. Run ./setupfiles.sh

OmOC Developer tool kit error during deployment on MacOs:

resourcejargen:
    [mkdir] Created dir: /Users/sterling/Documents/omoc/devtoolkit_docker/runtime/tmp/resourcetmp/resources
    [mkdir] Created dir: /Users/sterling/Documents/omoc/devtoolkit_docker/runtime/tmp/resourcetmp/entities/upgradeextensions
      [jar] Building jar: /Users/sterling/Documents/omoc/devtoolkit_docker/runtime/tmp/resources.jar

-check-extnbundle:

-check-update-extnbundle:
      [jar] Updating jar: /Users/sterling/Documents/omoc/devtoolkit_docker/runtime/tmp/resources.jar
     [java] jdkLibDst setting /Users/sterling/Library/Java/Extensions is not a directory
     [java] 
     [java] Load configuration file /Users/sterling/Documents/omoc/devtoolkit_docker/runtime/properties/sandbox.cfg failed

The JDK Extensions folder needs to be added manually:

After installing JDK, navigate to your /Users/<username>/Library/Java directory and create a directory named Extensions.

Prerequisites found here:

https://www.ibm.com/docs/en/order-management?topic=prerequisites-setting-up-containerized-developer-toolkit-macos

1 Comment

  1. Manikanta

    Hi Team

    Thanks for the post its really a useful information

Leave a Reply

We’ve detected that you’re using an ad blocker. Please disable it to support our website.