cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Target system 'HybrisCore' not found for request publication data

Former Member
0 Likes
617

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member387866
Active Contributor
0 Likes

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

Former Member
0 Likes

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.

Former Member
0 Likes

Hi Luke,

Thanks for your help it is worked after keeping only key value in encryption-key.txt file and provided encryption-key.txt field with proper path.

Thanks, Suresh G.

Answers (2)

Answers (2)

Former Member
0 Likes

Use below properties in local.properties for datahub :

data hub adapter

atahub.extension.exportURL =https://localhost:9002/datahubadapter

datahub.extension.userName =admin

datahub.extension.password =nimda

to publish the data to target system

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

sachinsaxena_1
Explorer
0 Likes

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=