on ‎2018 Apr 24 12:43 PM - last edited on ‎2024 Feb 04 5:31 AM by postmig_api_4
Hi Team,
I have setup datahub, and trying to send data through restclient in csv format. Data is processing in datahub logs and i am able to see raw and canonical item processed successfully. But during publication i am seeing an exception saying that "Target system 'HybrisCore' not found for request publication data". I am not using any external database default i am using HSQL database. So please help me where to find target system table and his relavent data in Hybris.
Thanks, Suresh G.
Request clarification before answering.
Hi Suresh,
You can use Razor SQL to explore the HSQL Database.
Simply installing XAMPP for the MySQL DB and PhpMyAdmin Interface should be on your priority list, so you can view the Database in real time.
Have you added the *-target extension(s) from the Solution Book?
They define the target system HybrisCore.
In the Data Hub local.properties file, ensure that the path to datahub.encryption.key.path is defined and correct. You may have used unescaped backslashes in the path on Windows. Escape the backslases with path\\to\\file, or use forwardslashes.
# Encryption Key (Windows using forwardslashes in path)
datahub.encryption.key.path=C:/yTomcat/webapps/datahub-webapp/WEB-INF/classes/encryption-key.txt
The *-target extensions XML files define the hybriscore connection properties in a way that they are read from the local.properties, so you'll need to specify these.
# For HTTP Hybris Core Connection
targetsystem.hybriscore.url=http://localhost:9001/datahubadapter
# For HTTPs Hybris Core Connection
#targetsystem.hybriscore.url=https://localhost:9002/datahubadapter
targetsystem.hybriscore.username=admin
targetsystem.hybriscore.password=nimda
Regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luke,
Thanks for response I have changed datahub database from HSQL to MySql. And properly given encryption file path and kept properties In local. Properties file. Still I am facing same issue. So I have verified target system in database but I didn't see any data was created in target system. Due to this I am facing the issue, can you help me that do we need to include and specific Jar files.
Use below properties in local.properties for datahub :
atahub.extension.exportURL =https://localhost:9002/datahubadapter
datahub.extension.userName =admin
datahub.extension.password =nimda
targetsystem.hybriscore.url=https://localhost:9002/datahubadapter
targetsystem.hybriscore.username=admin
targetsystem.hybriscore.password=nimda
and make sure you have datahubadaptor extension added in localextension.xml for hybris .
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make sure you define the target system well in target.xml and include the below properties:
targetsystem.hybriscore.url=
targetsystem.hybriscore.username=
targetsystem.hybriscore.password=
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.