Posts

Showing posts with the label SAP HYBRIS APACHE

Hybris ERR_TOO_MANY_REDIRECTS with Apache AJP proxy?

Problem statement: We have setup Apache as the reverse proxy using  mod_proxy_ajp . When we access any Product or Category having "+" in their name, we get  ERR_TOO_MANY_REDIRECTS  error. Solution: The way Apache handles "+", causes a redirection loop. You can add "nocanon" to your ajp directives to resolve this. Now you are free to use "+" character in the product name. ... <VirtualHost *:443> ... ProxyPass / ajp://localhost:8009/ nocanon </VirtualHost> ...  Allow slash [will not work with Hybris] If you also want to allow slash "\", then you should configure the proxy server to pass the request URL with no decoded for it. check the below configuration using  AllowEncodedSlashes NoDecode <VirtualHost *:443> ... AllowEncodedSlashes NoDecode ProxyPass / ajp://localhost:8009/ nocanon </VirtualHost> ProxyPass Keywords  nocano

SAP Hybris Installation and Deployment Architecture - [Part2]

If you not gone through Part1 , then please read it first. Centralized logging Hybris OOTB there is  centralized_logging  recipes, which can be used if you have  Docker  base setup. Anyway, you can set up your own  ELK Stack  (Elasticsearch-Logstash-Kibana), which is a good combination as Log Management Solution (Open Source). You can use Redis for the large enterprise solution to decouple the Log Server & Log Shipper. Tools: Logstash: As a log shipper and a log indexer Redis: As a broker – used as a queuing system ElasticSearch: As a log indexer – store and index logs Kibana: As a front-end viewer – a nice UI with useful extra features Install & configured  above stack to get consolidated logs from all application servers. Advanced Application Monitoring SAP Hybris Commerce Advanced Application Monitoring is a tool for analyzing network traffic within the Hybris system. Advanced Application Monitoring is vital for administrating and monitoring the he

SAP Hybris Installation and Deployment Architecture - [Part1]

All references in this post are based on Hybris version 6.6 Hybris datahub server Datahub is nothing but the web application( datahub-webapp-x.x.x.x-RCx.war ), which can be deployed on Tomcat as the normal web application. You don't require to install whole Hybris suite to set up datahub. steps, you set up the basic prerequisites for installing Data Hub steps help you install Data Hub for use with the Hello World tutorial. Solr server By default, Solr server is installed/configured with Hybris suite, which will autostart and stopped with the Hybris platform. If you want to install standalone Solr server on the different sandbox, which can be managed individually then you need to configure below properties on your Hybris platform (server) local.properties file. solrserver.instances.default.autostart=true solrserver.instances.default.mode=standalone solrserver.instances.default.hostname=localhost solrserver.instances.default.port=8983 solrserver.instances.default.me

Configure Apache web server for SAP Hybris - CentOS 7

Configure Apache Virtual Hosts - CentOS 7 This article shows you  H ow I installed and setup Apache web server for my development environment , which is pointing to my backend Application server using proxy. Install the Apache web server Update your packages on centos 7. sudo yum update Install Apache sudo yum install httpd Start the service sudo service httpd start Set up Apache server Apache can be configured by  httpd.conf  file, which also includes all files present under  conf.d  folder, so let's create  .conf  file under  conf.d  folder. sudo vim /etc/httpd/conf.d/webserver.conf Past the code and change configuration based on your requirement, here I need to call App server on HTTPS also don't want SSL handshake. <VirtualHost *:80> ServerAdmin email@example.com ServerName www.example.com ServerAlias example.com SSLProxyEngine On SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLPr