on ‎2018 Aug 25 6:39 PM
Request clarification before answering.
Hi,
In local.properties file, please add yourstorefront.webroot=/shop and perform ant clean all.
Also, in the URL pattern, change it either in ImpEx or in HMC or Backoffice.
This should work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush, did you do an ant clean all after setting xxxstorefront.webroot=shop ?
if not, please run an ant clean all and go to the following file
platform -> tomcat -> conf -> server.xml and check if you can see <Context path="/shop" in this file. If you do, then your storefront is register under this path and you should be able to access it.
If not, then the path is not set up correctly. Give it a go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush,
Add entry in the local.properties.
xxxstorefront.webroot=shop
make sure that you change the website urls.. backoffice -> wcms -> website -> General tab. URL Patterns..
to reflect the same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I tried this, but it's not working and getting below error...Do you have any idea about this?
INFO [localhost-startStop-2] [HybrisContextLoaderListener] Registered HttpSession timeout listener for '/shop' Aug 27, 2018 4:28:46 PM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter [XSSFilter] java.lang.IllegalArgumentException: unknow web root '/shop' cannot find any mapped extension at de.hybris.platform.util.Utilities.getExtensionForWebroot(Utilities.java:3040) at de.hybris.platform.servicelayer.web.DefaultXSSFilterConfig.(DefaultXSSFilterConfig.java:49) at de.hybris.platform.servicelayer.web.XSSFilter.init(XSSFilter.java:169) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4591) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
: For example your storefront name is xxxstorefront.
go to local.properties file and add the following property
xxxstorefront.webroot=shop
This will make your context root as /shop. Now go to backoffice and configure URL patterns so that when you type https://localhost:9002/shop/en_GB. your storefront gets loaded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 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.