cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with LIVE-Website

cfe
Champ in-the-making
Champ in-the-making
Hello,

i have made really good experiences with Web Quick Start so far, but i am now facing a problem, which i dont manage to resolve:

I link Editorial and Live to the same webapp-context and host, the distinction being the port, the editorial is on 8080, whereas the live-website is accessed via port 8082 (which i enabled in tomcat).

The Editorial Page is displayed just fine, whereas the LivePage only gets me this:
A problem has occurred.
This page could not be rendered:
404page
Please notify your system administrator.

No matter what type of content i access. (images do work)

Funny thing, this works fine with the same setting on my local workstation.
When i do the same thing with the wcmqs-Sample-Finance-Site, it also works well.

(I restarted Alfresco, and i deleted the "work"-Folder)

What do i overlook?


greetings,
Chris
8 REPLIES 8

bremmington
Champ on-the-rise
Champ on-the-rise
Please would you clarify what you mean by "images do work"? Have you configured port 8082 to forward onto port 8080? If not, how is the system configured?

cfe
Champ in-the-making
Champ in-the-making
I didnt do any forwarding, i put up the:
Editorial:
hostname: myserver
port:8080
webapp-context: mysite

Live:
hostname: myserver
port:8082
webapp-context: mysite

I added the following line in SERVER.XML of the Tomcat-Configuration directory:
<Connector port="8082" URIEncoding="UTF-8" protocol="HTTP/1.1" 
               connectionTimeout="20000"
               redirectPort="8443" />      


i am able to acces plain image files. Those are displayed in the browser normally. Any other webcontent gets me a rendering error.

Editorial site-Site
———————
http://myserver:8080/mysite   –> Homepage is displayed
http://myserver:8080/mysite/index.html   –> Homepage is displayed
http://myserver:8080/mysite/anypage.html   –> Anypage is displayed

Live-Site
———–
http://myserver:8082/mysite/img.jpg   –> Image is displayed

http://myserver:8082/mysite   –> Rendering-Error
http://myserver:8082/mysite/index.html   –> Rendering-Error
http://myserver:8082/mysite/anypage.html   –> Rendering-Error

Wcmqs-Exampe-live site
——————————
http://myserver:8082/wcmqs   –> Example-Finance-Homepage is displayed

I exchanged the ports (8082 for Editorial and 8080 for Live) this results in rendering errors on 8080, so i am sure it is linked to the publication….

I hope i got the information you needed…

Chris

bremmington
Champ on-the-rise
Champ on-the-rise
Sorry, but I can't think what would be causing what you describe. The error you pasted in the original post indicates that the error is a 404 (not found). Presumably you have published the content from the editorial website? I've seen a few problems being reported that seem to be related to different locales - out of interest, what locale is your repository running in? I can't think that this is the problem though, since that would affect images as much as any other content. I'm puzzled.

cfe
Champ in-the-making
Champ in-the-making
Hi,

yes i published the content (review & publish including publish section structure)

i didnt change anything regarding locales, in faces-config.xml the default is en, the system locale is en_us, and i logged in with locale english, so that should be inline…

The strange thing is, i put back 404 page to the wcmqs setting and still get that error.

I didnt get anything from the log files except the page not found error…
ist there a point in in the log4j-settings, where i can get more information on where / on what the rendering fails, actually, the given information doesnt really help…?

Thanks in advance…

bremmington
Champ on-the-rise
Champ on-the-rise
Sorry for not coming back to you on this. Yes, there are various adjustments you could try making to the log4j config that may help track down what's going on. In the WQS webapp, the config file is log4j.xml. The most comprehensive logging of the Alfresco bits in there can be turned on with:

   <logger name="org.alfresco.wcm.client">
      <level value="debug" />
   </logger>

In the repo tier the relevant logging can be enabled with:

log4j.logger.org.alfresco.module.org_alfresco_module_wcmquickstart=debug

cfe
Champ in-the-making
Champ in-the-making
Hello Brian,

i only read your post only by now, thank you for the information!

Finally i got the publishing mechanism running.
I have no explanation for this, just how it works for me:

1) Deleting all the LIVE-content, including the root directory (but not the Live-WS Folder itself)
2) Publishing Images / other Ressources before publishing the content refering to them…

Once done the publishing mechanism works fine.

greetings
Chris

nfuchs
Champ in-the-making
Champ in-the-making
I'm working my way through Alfresco. I upto the Quick Start Web. I have an odd problem I think. I modified at the locations to point to my server. I made the changes in the Editorial and Live Metadata.  I run the app wcmqs with all the correct parameters I get an Alfresco screen with the word Error. sorry there seems to be a problem try again later.

Any support would be welcome

bremmington
Champ on-the-rise
Champ on-the-rise
Sorry for the delay in finding this - you've posted on the end of a thread marked as SOLVED. Please would you repost on a new thread if you are still experiencing this problem?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.