cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPQ: Hybris Server startup error

Former Member
0 Kudos

I get the following error when i start the sap_aom_som_b2b_b2c recipe.

I have configured, product config,dataloader.

INFO [Task-master-poll] [DefaultTaskService] Polling thread started. ERROR [dataLoaderCronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (dataLoaderCronJob) [Job] Caught throwable We require an instance of SAPConfiguration to persist our statistics java.lang.IllegalArgumentException: We require an instance of SAPConfiguration to persist our statistics at de.hybris.platform.sap.productconfig.model.cronjob.DataLoaderJob.initializeDataLoaderManager(DataLoaderJob.java:220) at de.hybris.platform.sap.productconfig.model.cronjob.DataLoaderJob.perform(DataLoaderJob.java:119) at de.hybris.platform.sap.productconfig.model.cronjob.DataLoaderJob.perform(DataLoaderJob.java:1) at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:39) at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1275) at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:800) at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:753) at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:673) at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:196)

please suggest. Thank you.

Former Member
0 Kudos

Did you defined SAP base store configuration. And also do you define that SAP configuration is storefront.

Former Member
0 Kudos

Hello Manish,

I have defined SAP base store configuration. But this error is after copying required jar files for dataload, initialized. I get this error when I start the server.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can solve this from HMC adding your SAP configuration reference to the dataLoaderCronJob

Answers (1)

Answers (1)

former_member623616
Contributor
0 Kudos

Hi Slevi,

were you able to to resove this ? we are also getting the same error while server start up.

Thanks, Yaten

Former Member
0 Kudos

yes by adding the SAP configuration to cronjob as stated above!

former_member623616
Contributor
0 Kudos

Thanks Nicloa. It resolved using above approach.

But is there any standard fix for this, not through hMC ?

Former Member
0 Kudos

You can use an impex to link the SAP configuration to the cronjob, but I think it wasn't included in the standard Hybris ones because it needs to be linked to your own SAP configuration.

ps please accept the answer!

former_member623616
Contributor
0 Kudos

Thanks Nicloa. Actually i have never faced this issue in earlier releases and this configuration was not required(manually).

Anyways thanks for the help. and only owner of this question should be able to accept your answer. i have voted up already. :)