Symptom
There is a business requirement to disable forking for a specific groovyc extension during the building process or in case a SAP Commerce build is failing with the below error logs in Windows OS:
[groovyc] Compiling 1 source file to H:\xnc\XYZL221100U_13-123\hybris\bin\custom\abc\abc core\classes [groovyc] Compilation arguments: [groovyc] C:\Program Files\SapMachine\JDK\17\bin\java [groovyc] -classpath [groovyc] .\ext\core\lib\groovy-ant-3.0.13.jar;.\ext\core\lib\groovy-3.0.13.jar;.\ext\core\bin\cores erver.jar;.\ext\core\lib\accessors-smart-2.4.8.jar;.\ext\core\lib\activation-1.1.1.jar;.\ext\core\lib\ annotations-2.0.0.jar;.\ext\core\lib\ant-commons-net-1.6.5.jar;.\ext\core\lib\antlr4-runtime-4.7.2.jar ;.\ext\core\lib\aopalliance-1.0.jar;.\ext\core\lib\asm-9.4.jar;.\ext\core\lib\asm-commons-9.4.jar;.\ex t\core\lib\asm-tree-9.4.jar;.\ext\core\lib\asm-util-9.4.jar;.\ext\core\lib\aspectjweaver-1.9.19.jar;.\ ext\core\lib\assertj-core-3.5.2.jar;.\ext\core\lib\awaitility-4.2.0.jar;.\ext\core\lib\bcpkix-jdk15on- 1.69.jar;.\ext\core\lib\bcprov-jdk15on-1.69.jar;.\ext\core\lib\bcutil-jdk15on-1.69.jar;.\ext\core\lib\ bsh-2.0b6.jar;.\ext\core\lib\btc-ascii-table-1.0.jar;.\ext\core\lib\byte-buddy-1.14.2.jar;.\ext\core\l ib\byte-buddy-agent-1.14.2.jar;.\ext\core\lib\charon-1.2.18.jar;.\ext\core\lib\classgraph-4.8.147.jar; .\ext\core\lib\cloning-1.10.3.jar;.\ext\core\lib\codemodel-4.0.0.jar;.\ext\core\lib\com.sap.security.c ore.server.csi-1.00.8.jar;.\ext\core\lib\commons-beanutils-1.9.4.jar;.\ext\core\lib\commons-codec-1.15 .jar;.\ext\core\lib\commons-collections-3.2.2.jar;.\ext\core\lib\commons-collections4-4.4.jar;.\ext\co re\lib\commons-configuration-1.10.jar;.\ext\core\lib\commons-dbcp-1.4.jar;.\ext\core\lib\commons-diges ter-2.1.jar;.\ext\core\lib\commons-discovery-0.5.jar;.\ext\core\lib\commons-el-1.0.jar;.\ext\core\lib\ ,,, s\bin\modules\integration-apis\integrationservices\lib\resilience4j-core-2.0.2.jar;H:\xnc\CXCOMCL22110 0U_13-123\hybris\bin\modules\integration-apis\integrationservices\lib\resilience4j-timelimiter-2. 0.2.jar;H:\xnc\XYZL221100U_13-123\hybris\bin\modules\integration-apis\integrationservices\lib\ vavr-0.10.4.jar;H:\xnc\XYZL221100U_13-123\hybris\bin\modules\integration-apis\integrationservi ces\resources;.\ext\validation\bin\validationserver.jar;.\ext\validation\lib\classmate-1.3.4.jar;.\ext \validation\lib\hibernate-validator-6.1.5.Final.jar;.\ext\validation\lib\jakarta.validation-api-2.0.2. jar;.\ext\validation\lib\javassist-3.29.2-GA.jar;.\ext\validation\lib\jboss-logging-3.5.0.Final.jar;.\ ext\validation\resources;.\ext\mediaweb\bin\mediawebserver.jar;.\ext\mediaweb\resources [groovyc] org.codehaus.groovy.ant.FileSystemCompilerFacade [groovyc] --classpath [groovyc] .\ext\core\classes;.\ext\core\bin\coreserver.jar;.\ext\core\lib\accessors-smart-2.4.8.jar; .\ext\core\lib\activation-1.1.1.jar;.\ext\core\lib\annotations-2.0.0.jar;.\ext\core\lib\ant-commons-ne t-1.6.5.jar;.\ext\core\lib\antlr4-runtime-4.7.2.jar;.\ext\core\lib\aopalliance-1.0.jar;.\ext\core\lib\ asm-9.4.jar;.\ext\core\lib\asm-commons-9.4.jar;.\ext\core\lib\asm-tree-9.4.jar;.\ext\core\lib\asm-util -9.4.jar;.\ext\core\lib\aspectjweaver-1.9.19.jar;.\ext\core\lib\assertj-core-3.5.2.jar;.\ext\core\lib\ awaitility-4.2.0.jar;.\ext\core\lib\bcpkix-jdk15on-1.69.jar;.\ext\core\lib\bcprov-jdk15on-1.69.jar;.\e xt\core\lib\bcutil-jdk15on-1.69.jar;.\ext\core\lib\bsh-2.0b6.jar;.\ext\core\lib\btc-ascii-table-1.0.ja ,,, lib\ant-jmf.jar;.\apache-ant\lib\ant-jsch.jar;.\apache-ant\lib\ant-junit.jar;.\apache-ant\lib\ant-juni t4.jar;.\apache-ant\lib\ant-junitlauncher.jar;.\apache-ant\lib\ant-netrexx.jar;.\apache-ant\lib\ant-sw ing.jar;.\apache-ant\lib\ant-testutil.jar;.\apache-ant\lib\ant-xz.jar;.\apache-ant\lib\ant.jar [groovyc] -d [groovyc] H:\xnc\XYZL221100U_13-123\hybris\bin\custom\abc\abccore\classes [groovyc] --encoding [groovyc] UTF8 [groovyc] @C:\Users\Administrator\AppData\Local\Temp\groovyc-files-18368150902411151508.txt BUILD FAILED H:\xnc\XYZL221100U_13-123\hybris\bin\platform\build.xml:13: The following error occurred while executing this line: H:\xnc\XYZL221100U_13-123\hybris\bin\platform\resources\ant\compiling.xml:95: The following er ror occurred while executing this line: H:\xnc\XYZL221100U_13-123\hybris\bin\platform\resources\ant\compiling.xml:153: The following e rror occurred while executing this line: H:\xnc\XYZL221100U_13-123\hybris\bin\platform\resources\ant\util.xml:13: The following error o ccurred while executing this line: H:\xnc\XYZL221100U_13-123\hybris\bin\platform\resources\ant\compiling.xml:160: The following e rror occurred while executing this line: H:\xnc\XYZL221100U_13-123\hybris\bin\platform\resources\ant\compiling.xml:348: The following e rror occurred while executing this line: H:\xnc\XYZL221100U_13-123\hybris\bin\modules\platform\groovynature\buildcallbacks.xml:33: Erro r running forked groovyc. |
Read more...
Environment
SAP Commerce Cloud
Product
SAP Commerce Cloud all versions
Keywords
forked, groovyc, fork, extensions, build, hybris, ccv2 , KBA , CEC-SCC-CLA-BUI , Build Process , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.