Fóruns

Início » Liferay Portal » English » 2. Using Liferay » General

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Pete Helgren
Weird behavior of pages and LifeRay in General
25 de Setembro de 2012 17:40
Resposta

Pete Helgren

Ranking: Regular Member

Mensagens: 106

Data de entrada: 7 de Abril de 2011

Mensagens recentes

We are having VERY strange behavior in our LifeRay Installation. I have already posted about our users logging in and then being given the identity of another user. We are also seeing these other random behaviors:

1) HTML and Javascript being presented as text to the end user.
2) Screens of "garbage" where a page displays what looks to be binary data.
3) Clicking on a link or a button and having a resource begin to download (we have multiple portlets that allow users to download PDF's and MP3 files as well as upload them to the site). Sometimes the portlet begins to download a page instead of displaying it. Sometimes a user sees an MP3 begin to download, even though they clicked on a link to go to another page.

In short, things are acting very peculiar. We have introduced very few changes over the past 3 months and the frequency of these problems seems to be increasing as the number of users grow.

I suspect a caching issue but I can't tell for sure. It is almost as though sessions are being shared between portlets and the data from one session is leaking into another or a previous abandoned session's data is getting intermixed with the current session. I don't know exactly, but LifeRay seems to be serving random content and we have spent a couple of weeks trying to get to the bottom of it to no avail.

Can anybody help us sort this out quickly? We are running LR 6.0.6 CE with Glassfish

Thanks,

Pete
Mika Koivisto
RE: Weird behavior of pages and LifeRay in General
26 de Setembro de 2012 15:14
Resposta

Mika Koivisto

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1494

Data de entrada: 7 de Agosto de 2006

Mensagens recentes

Sounds like you have edge caching component in your infrastructure that is caching things a bit too aggressively. Are you perhaps running apache with mod_cache enabled or squid or some other caching component in front of your Liferay server?
Pete Helgren
RE: Weird behavior of pages and LifeRay in General
22 de Outubro de 2012 07:19
Resposta

Pete Helgren

Ranking: Regular Member

Mensagens: 106

Data de entrada: 7 de Abril de 2011

Mensagens recentes

Sorry for the late reply Mike (our whole Liferay site has become so unstable and unpredictable that it has been consuming all of our time....)

The mod_cache shared library was disabled in our Apache instance and it made no difference. We have no other proxy in front of Glassfish.

Thanks!
Pete Helgren
RE: Weird behavior of pages and LifeRay in General
23 de Outubro de 2012 14:08
Resposta

Pete Helgren

Ranking: Regular Member

Mensagens: 106

Data de entrada: 7 de Abril de 2011

Mensagens recentes

Another clue perhaps.... We took a look at the download "snippets" we get when we click on on a link with a hex editor. Each snippet has exactly 16,384 unrecognizable bytes of data before the http response header. EXACTLY 16k. So I am wondering what delivers a 16k payload. A cache setting maybe ?

Still stumped and getting help from no one on this.....

Pete