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

unable to see website in HAC,and giving server error while opening the website.

Former Member
0 Kudos
1,772

hello,

I have created a new site,I am able to see the site in MCC but not in WCMS and HAC.I ahve ran the CMSSIte impex,it ran successfully. Please help with this issue.

Accepted Solutions (0)

Answers (9)

Answers (9)

VinayKumarS
Active Contributor
0 Kudos
Former Member
0 Kudos

Hello,

Please find localextensions.xml file below:

 <path dir='${HYBRIS_BIN_DIR}' autoload='false' />
 <extension name='mcc' />
 <extension name='adaptivesearchsolr' />
 <extension name='adaptivesearchbackoffice' />
 <extension name='adaptivesearchsamplesaddon' />
 <extension name='adaptivesearchwebservices' />
 <extension name='commerceservicesbackoffice' />
 <extension name='solrfacetsearchbackoffice' />
 <extension name='solrserver' />
 <extension name='kidsstorecore' />
 <extension name='kidsstorefacades' />
 <extension name='kidsstorestorefront' />
 <extension name='kidsstoreinitialdata' />
 <extension name='kidsstoretest' />
 <extension name='kidsstorecockpits' />
 <extension name='kidsstorefulfilmentprocess' /> 
 <extension name='ycommercewebservices' />
 <extension name='ycommercewebservicestest' />
 <extension name='electronicsstore' />
 <extension name='apparelstore' />
 <extension name='acceleratorwebservicesaddon' />
 <extension name='orderselfserviceaddon' />
 <extension name='customersupportbackoffice' />
 <extension name='customerticketingaddon' />
 <extension name='commerceorgsamplesaddon' />
 <extension name='rulebuilderbackoffice' />
 <extension name='couponbackoffice' />
 <extension name='droolsruleengineservices' />
 <extension name='couponfacades' />
 <extension name='promotionenginesamplesaddon' />
 <extension name='cmswebservices' />
 <extension name='smarteditwebservices' />
 <extension name='cmssmarteditwebservices' />
 <extension name='permissionswebservices' />
 <extension name='smarteditaddon' />
 <extension name='cmssmartedit' />
 <extension name='cmsbackoffice' />
 <extension name='cmsmulticountrycockpit' />
 <extension name='multicountrysampledataaddon' />
 <extension name='previewpersonalizationweb' />
 <extension name='personalizationcmsweb' />
 <extension name='personalizationsmartedit' />
 <extension name='personalizationpromotionssmartedit' />
 <extension name='personalizationsampledataaddon' />
 <extension name='personalizationpromotions' />
 <extension name='personalizationpromotionsweb' />
 <extension name='personalizationservicesbackoffice' />
 <extension name='personalizationpromotionsbackoffice' />
 <extension name='personalizationcmsbackoffice' />
 <extension name='personalizationsearchbackoffice' />
 <extension name='personalizationsearchsmartedit' />
 <extension name='personalizationsearchweb' />
 <extension name='personalizationsearchsamplesaddon' />
 <extension name='textfieldconfiguratortemplatebackoffice' />
 <extension name='textfieldconfiguratortemplateaddon' />
 <extension name='assistedservicestorefront' />
 <extension name='assistedservicewebservices' />
 <extension name='assistedservicepromotionaddon' />
 <extension name='assistedserviceatddtests' />
 <extension name='promotionengineatddtests' />
 <extension name='textfieldconfiguratortemplateatddtests' />
 <extension name='pcmbackofficesamplesaddon' />
 <extension name='powertoolsstore' />
 <extension name='b2bcommercebackoffice' />
 <extension name='b2badmincockpit' />
 <extension name='b2bacceleratoraddon' />
 <extension name='commerceorgaddon' />
  
Marko_salonen
Contributor
0 Kudos

but then the problem is that the url pattern is missing. You need to have one pattern that look like (?)^https?://localhost(:\d)?/kidsstorestorefront* As i mentioned, "Cannot find CMSSite associated with current URL " is exactly because this is missing.

Former Member
0 Kudos

Hello,

Yes I have configured CMS COntent Catalog i my site and synchronised also through jobs.

Generated by hybris installer

Mon Aug 06 15:48:48 IST 2018 googleApiKey= multicountrysampledataaddon.import.active=false website.kidsstore.http=http://localhost:9001/kidsstorestorefront website.kidsstore.https=https://localhost:9002/kidsstorestorefront

This is the webroot added for my site in local.properties file.

VinayKumarS
Active Contributor
0 Kudos

can you give a screenshot of extensions or add a localextensions.xml file here. we wanted to check that aswell.

Marko_salonen
Contributor
0 Kudos

The error "Cannot find CMSSite associated with current URL " happens when the site pattern are wrongly configured. Do you have a sitepattern that contains "kidsstorestorefront" ?I see one where url pattern is kidsstore and then it seems that the site part works (i assume that some other pattern contains it). Did you configure the CMS content catalog in your site and did you synchronize the content? Another question is that what webroot did you configure for your storefront?

Former Member
0 Kudos

Hello,

Getting INFO | jvm 1 | main | 2018/08/21 13:08:05.928 | WARN [hybrisHTTP9] [ContextInformationLoader] Cannot find CMSSite associated with current URL (http://localhost:9001/kidsstorestorefront)! in console log when I open my site through mcc.

But when I am opening http://localhost:9001/kidsstorestorefront/?site=kidsstore its not giving any entry in console.log.

I am unable to see my catalogs in WCMS ,when trying to create a new site from there.

This same url I have defined in local.properties file . Please find the error pics below.

Marko_salonen
Contributor
0 Kudos

What error do you get exactly? Just a "server error" ? In this case you might have forgotten to synhcronize the catalogs. If you get "cms site can not be found", then the pattern is not identified. Can you specify the error?

Former Member
0 Kudos

Hello,

Thanks for your detailed explanation. All the attributes are present. But still its showing server error. Even my site is also not showing in HAC. and why does my url has clear word . http://localhost:9001/kidsstorestorefront/?clear=true&site=kidsstore

Please find attached image for HAC.

Former Member
0 Kudos

Make sure your CMSSite impex contains all of the requisite items to provide your new site.

https://help.hybris.com/1808/hcd/8b7cdc55866910149b09c285e4c2b1ed.html

Get familiar with the data model by creating a new site in Backoffice, then search for these items using a FlexibleSearch query in the HAC to determine the best way to compose the CMSSite impex export script. Iterate until it works. Once your export script produces an impex zip which can be used to import your new site to a freshly initialized instance/cluster, you will know your impex is complete and coherent. This impex can be used as an example or template for creating other new sites. You may need to provide ancillary site data in addition to the CMSSite items like site specific content catalog(s) and/or product catalog(s) and possibly also catalog sync jobs, for example.

Your particular CMSSite needs will depend on custom design decisions like the catalog structure and synchronization strategies, as well as site URL and path. In addition to looking at any errors in the console log, you will need to understand your implementation's design and typesystem and how the basecommerce CMS2 site platform functionalities work.