SAP Commerce Cloud with Spartacus installation error - sap-commerce-cloud

I am with a local installation of Sap Commerce Cloud 2011 with Spartacus following the steps of https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2011/
When i execute the sentence: install.bat -r cx-for-spa
BUILD FAILED
D:\CX\SCC\hybris\bin\platform\build.xml:9: The following error occurred while executing this line:
D:\CX\SCC\hybris\bin\platform\resources\ant\antmacros.xml:89: The following error occurred while executing this line:
D:\CX\SCC\hybris\bin\platform\resources\ant\mavenTasks.xml:440: Java returned: 1
Total time: 3 seconds
Task :recipes:cx-for-spa:createStoreFrontExt FAILED
FAILURE: Build failed with an exception.
Where:
Build file 'D:\CX\SCC\installer\recipes\cx-for-spa\build.gradle' line: 581
What went wrong:
Execution failed for task ':recipes:cx-for-spa:createStoreFrontExt'.
external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=D:\CX\SCC\hybris\bin\platform" & set "ANT_HOME=D:\CX\SCC\hybris\bin\platform\apache-ant" & set "PATH=D:\CX\SCC\hybris\bin\platform\apache-ant\bin;%PATH%" & ant createConfig -Dinput.template=develop]
I have executed those steps( sets and ant ) and repeat the install setence..but this error always appears.
Any help is welcome .. thank you very much in advance

I did the same installation last week (Sap Commerce 2011 for Spartacus).
Question to you:
Have you installed the jdk SapMachine 11 or 17? (17 makes trouble)
https://sap.github.io/SapMachine/
Have you updated the System Environment Variables of your system?
https://www.youtube.com/watch?v=E5wJXR63g1U
Have you comment out "Build Parallel = true" in the config file?
C:\SapCommerce2011\installer\customconfig
In file:"build.parallel=true" => "#build.parallel=true"
KR
Nathan

Related

node build adding x86_64 and failing on M1 chip?

I am trying to build an application but it fails when setting up the node.
> Task :my-app:nodeSetup FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':my-app:nodeSetup'.
> Could not resolve all files for configuration ':my-app:detachedConfiguration22'.
> Could not find node-16.4.0-darwin-x86_64.tar.gz (org.nodejs:node:16.4.0).
Searched in the following locations:
https://nodejs.org/dist/v16.4.0/node-v16.4.0-darwin-x86_64.tar.gz
it looks like its adding x86_64 to the end of the artifact? and because of that its not finding it in the repository. Any ideas? Please let em know if you need more info.

Execution failed for task ':app:installDebug'. > com.android.builder.testing.api.DeviceException: No online devices found

When I normally running my react-native from visual code in Android Virtual Device (Emulator) via terminal with npx react-native run android, suddenly I'm facing this error
1. info Running jetifier to migrate libraries to AndroidX. You can
disable it using "--no-jetifier" flag. Jetifier found 954 file(s) to
forward-jetify. Using 8 workers... info Starting JS server... info
Launching emulator... error Failed to launch emulator. Reason: Could
not start emulator within 30 seconds.. warn Please launch an
emulator manually or connect a device. Otherwise app may fail to
launch. info Installing the app...
> Configure project :react-native-firebase_app :react-native-firebase_app package.json found at
C:\Users\admin\Desktop\TheOriginalsAgency\Stage-pre-emcauche\MilinusApp\node_modules\#react-native-firebase\app\package.json
:react-native-firebase_app:firebase.bom using default value: 28.1.0
:react-native-firebase_app:play.play-services-auth using default
value: 19.0.0 :react-native-firebase_app package.json found at
C:\Users\admin\Desktop\TheOriginalsAgency\Stage-pre-emcauche\MilinusApp\node_modules\#react-native-firebase\app\package.json
:react-native-firebase_app:version set from package.json: 12.1.0
(12,1,0 - 12001000) :react-native-firebase_app:android.compileSdk
using custom value: 29 :react-native-firebase_app:android.targetSdk
using custom value: 29 :react-native-firebase_app:android.minSdk
using custom value: 21
:react-native-firebase_app:reactNativeAndroidDir
C:\Users\admin\Desktop\TheOriginalsAgency\Stage-pre-emcauche\MilinusApp\node_modules\react-native\android
> Task :app:installDebug FAILED Skipping device 'emulator-5554' (emulator-5554): Device is OFFLINE. 64 actionable tasks: 2 executed,
62 up-to-date
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: No online devices found.
* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
error Failed to install the app. Make sure you have the Android
development environment set up:
https://reactnative.dev/docs/environment-setup. Error: Command
failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: No online devices found.
* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
at makeError (C:\Users\admin\Desktop\TheOriginalsAgency\Stage-pre-emcauche\MilinusApp\node_modules\execa\index.js:174:9)
at C:\Users\admin\Desktop\TheOriginalsAgency\Stage-pre-emcauche\MilinusApp\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async runOnAllDevices (C:\Users\admin\Desktop\TheOriginalsAgency\Stage-pre-emcauche\MilinusApp\node_modules\#react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
at async Command.handleAction (C:\Users\admin\Desktop\TheOriginalsAgency\Stage-pre-emcauche\MilinusApp\node_modules\react-native\node_modules\#react-native-community\cli\build\index.js:186:9)
info Run CLI with --verbose flag for more details.
I don't know if you already fixed this but I just solved it!
I added more space to the Android Virtual Device.
You have to:
Edit the device or create a new one
On the ¨Verify Configuration¨ page, click on ¨Show Advanced Settings¨
Scroll down to ¨Memory and Storage¨
Change the Internal Storage MB amount
Initially the device that I've created had 2048MB and so I changed it to 6000MB but that wasn't enough so I finally put 10000MB of Internal Storage and with that amount I didn't get this error anymore.
Hope it works, good luck!

I am not able to create a Liferay Plugin Project

[Console output redirected to file:C:\Rahul13615\liferay\eclipse\workspace\.metadata\.plugins\com.liferay.ide. sdk.core\sdk.log]
Buildfile: C:\Rahul13615\liferay\plugins\portlets\build.xml
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy- 2.3.0.jar
[get] To: C:\Rahul13615\liferay\plugins\.ivy\ivy-2.3.0.jar
[get] Error getting http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar to C:\Rahul13615\liferay\plugins\.ivy\ivy-2.3.0.jar
BUILD FAILED
C:\Rahul13615\liferay\plugins\portlets\build.xml:5: The following error occurred while executing this line:
C:\Rahul13615\liferay\plugins\build-common-plugins.xml:5: The following error occurred while executing this line:
C:\Rahul13615\liferay\plugins\build-common.xml:47: The following error occurred while executing this line:
C:\Rahul13615\liferay\plugins\build-common-ivy.xml:17: java.net.SocketException: Connection reset
Total time: 1 minute 27 seconds
I try to create a new project and this happens. I tried changing the jre version from 1.8 to 1.7, it didnt work..Please help me!
Try this:
ivy.jar.url=https://repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
instead your current ivy.jar.url=...
Hope it helps.

Error - Unknown packaging eclipse plugin

I am following the ICCAD_L02_Getting_Started_Connections_Cloud.pdf document available on IBM Greenhouse. I have completed all steps succcessfuly till Step 84.
Once I execute step 85 and complete it I get an error.
Request help in resolving the same

SSIS deployment issue [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Running an SSIS Package using dtexec
My SSIS package is working fine when I'm running it on my local system. My Package copies a blank template excel file which has only headers, to another place, and then populates this copy with data from the DB. However, when i place the package and config on the server, and schedule an SQL server job on it, it's throwing errors as follows :
Executed as user: CIQHYD\sqladmindev.
Microsoft (R) SQL Server Execute Package UtilityVersion 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 3:24:28 PM
Error: 2012-10-29 15:24:28.34
Code: 0xC001401E
Source: GICSReport Connection manager "GICSReport.xls"
Description: The file name "\\HYD-FILESVR\Departments\Technology\GICSReports\Dev\GICSReport.xls" specified in the connection was not valid.
End Error
Error: 2012-10-29 15:24:28.34
Code: 0xC001401D
Source: GICSReport
Description: Connection "GICSReport.xls" failed validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 3:24:28 PM
Finished: 3:24:28 PM
lapsed: 0.234 seconds
[SQLSTATE 42000] (Error 50000). The step failed.
When I delete the file at the Destination folder, i get this error :
Executed as user: CIQHYD\sqladmindev.
Microsoft (R) SQL Server Execute Package Utility
Version 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 3:15:38 PM
Error: 2012-10-29 15:15:38.57
Code: 0xC001401E
Source: GICSReport Connection manager "GICStemplate.xls"
Description: The file name "\\HYD-FILESVR\Departments\Technology\GICSAutomationTemplate\GICStemplate.xls" specified in the connection was not valid.
End Error
Error: 2012-10-29 15:15:38.57
Code: 0xC0202070
Source: GICSReport Connection manager "GICStemplate.xls" Description: The file name property is not valid. The file name is a device or contains invalid characters.
End Error
Error: 2012-10-29 15:15:38.57
Code: 0xC0029163
Source: Copy Template To Destination File System Task
Description: File or directory "\\HYD-FILESVR\Departments\Technology\GICSAutomationTemplate\GICStemplate.xls" represented by connection "GICStemplate.xls" does not exist.
End Error
Error: 2012-10-29 15:15:38.57
Code: 0xC002F30A
Source: Copy Template To Destination File System Task
Description: The source is empty.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 3:15:38 PM
Finished: 3:15:38 PM
Elapsed: 0.344 seconds [SQLSTATE 42000] (Error 50000). The step failed.
Version 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005.
Did you try to run it in 32-bit mode?
http://microsoft-ssis.blogspot.nl/2012/09/swtich-package-from-64bit-to-32bit.html

Resources