Questions tagged [sap-commerce-cloud]

For Hybris/ SAP Commerce/ SAP Commerce Cloud based questions

SAP Commerce / SAP Commerce Cloud is ready made e-commerce suite by SAP to be used in different industries like B2C, B2B, telco, financial, based on Java technologies.

2196 questions
7
votes
1 answer

In Hybris, what is the difference between modulegen and extgen?

Please let me know when to use ant modulegen and when to use ant extgen for creating a new extension in Hybris.
sourav
  • 77
  • 1
  • 4
7
votes
4 answers

How to run unit tests only in a Hybris project?

We have a large Hybris project here and to run all the tests with takes much too long (hours, yes, a large consulting company created that crap). My target is to reduce all the spring based integration tests and replace them by real unit tests. But…
Arne Burmeister
  • 20,046
  • 8
  • 53
  • 94
7
votes
8 answers

How to change Hybris server's port

The default port is http://localhost:9001. How do I run the hybris platform using another port?
Alex
  • 8,245
  • 8
  • 46
  • 55
7
votes
2 answers

Unique values for combination of columns in Hybris Impex Files

I'm creating a Hybris impex file to import into my Database. I want to perform an INSERT_UPDATE action with the data from the file, so I need to tell Hybris which column(s) need to be unique, so that it knows when to update a record instead of…
Henrique Ordine
  • 3,337
  • 4
  • 44
  • 70
6
votes
3 answers

Hybris startup errors

I have copied the hybris server from mac to windows mechine. In Mac, hybris instance was working fine but in windows its giving some errors hence unable to see hybris login page. Below are the stacktrace. ERROR [localhost-startStop-3]…
Vivek Dhiman
  • 1,967
  • 6
  • 46
  • 82
6
votes
1 answer

Difference between CMS component Renderer vs Controller

we're using Hybris v5.7 and I've added an addOn to the project. I would like to render some CMS component and I've found that there are two approaches to populate model object for rendering components: create a child class of…
Roma Pochanin
  • 292
  • 2
  • 13
6
votes
3 answers

How to add dependencies in hybris using external-dependencies.xml file?

I'm newbie in hybris. I want to add maven dependency in hybris using external-dependencies.xml. But I can't see any of those jar(s) popped-in. Is it possible to get jar using external-dependencies.xml, if yes, please provide your response.
Suresh Lakku
  • 98
  • 1
  • 1
  • 6
6
votes
9 answers

Unable to start Hybris Tomcat Server due to Solr Server

I am not able to start the Hybris server due to the starting issue with SOLR server. Kindly help me in this regard so that I can start the Hybris tomcat server. error log: INFO [localhost-startStop-1] [DefaultSolrServerService] Starting Solr server…
6
votes
2 answers

How to get config data from local.properties to impex?

Is it possible to get a value from the environment variables defined at local.properties configuration file and access it via the impex file? Ex. $someMacro= Thank you!
user1865775
  • 183
  • 1
  • 9
6
votes
3 answers

Adding additonal Security to Website

I am running a Java Spring MVC based Web-Application. It is also based on the Hybris Platform. Now, the basic functionality in terms of Authentication and Authorization is already implemented. Meaning we do have filters for sessions, a working…
Mercious
  • 378
  • 3
  • 25
6
votes
2 answers

Changing the hybris database to MySQL

I just finished training on hybris as core developer. I've done all the trails and have a project coming soon, but now I would like to tweak the system a little bit to know more about it. My is that I would like to change the database to MySQL but…
Aph1ka
  • 368
  • 1
  • 4
  • 17
5
votes
2 answers

cannot access class jdk.xml.internal.JdkXmlUtils

I'm updating an old Company-intern extension for hybris/SAP-Commerce (2005). it's an extension to consume an API. I don't know how old the extension is. However, while applying it to java 11, I spot problems like this (Java 11: import…
Carnivor
  • 53
  • 1
  • 1
  • 5
5
votes
0 answers

Hybris 1811 Platform Update terminates in the middle

I am trying to do Platform Update on Hybris 1811. In the middle, it gets terminated due to the error below. I tried to build again and to restart the server, but I keep getting the same error. Anybody faced this kind of issue? INFO: Illegal access:…
CHOLA
  • 113
  • 9
5
votes
1 answer

Hybris swagger UI date-time example format

I have a project with Hybris and we are providing a restful API throught swagger + swagger-ui. We have a problem with the format of the date-time attributes and params. It is shown with this format: "2018-06-22T08:00:19.130Z". However, the format…
crigore
  • 400
  • 5
  • 23
5
votes
2 answers

Oauth2.0 setup for SAP Hybris

I'm exploring hybris sales cloud trial version. I want to test oauth2 using postman, I don't know if this is the right way but I created a client application in SAP Cloud Platform cockpit by going to {subaccount} | Security | Oauth | Clients. What…
DougKruger
  • 4,424
  • 14
  • 41
  • 62