Combination View Flat View Tree View
Threads [ Previous | Next ]
Edwin Arévalo
Web Content is temporarily unavailable
March 15, 2012 3:18 PM
Answer

Edwin Arévalo

Rank: New Member

Posts: 3

Join Date: March 6, 2012

Recent Posts

Hi Experts ...

Before you ask, a brief introduction of the environment.

Description:
* Liferay 6.5 community edition
* Server glassfish 1.3 using cluster configuration.
* Liferay configured with 5 instances and each instance has a portal with lots of content.
* The weight of the application server and the 5 sites is about 3 GB.
question:
* When trying to create new content using the "web content portlet" is present an error with the following message: "Web Content is temporarily unavailable". We executed the following activities to try to solve the problem:
Garbage collection
Clearing VM caches
Clearing caches across the cluster
Clearing database caches
Reindex all search indexes
Finally you restart the domain but does not fix the problem, anyone know how to fix it?

In advance thank you very much for responding.
Attachment

Attachments: Portlet.JPG (12.1k)
David H Nebinger
RE: Web Content is temporarily unavailable
March 15, 2012 4:51 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 8384

Join Date: September 1, 2006

Recent Posts

There should be a corresponding error in the console indicating what the failure was. There's no way to diagnose from what you've provided.
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
March 15, 2012 5:04 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

* When trying to create new content using the "web content portlet" is present an error with the following message: "Web Content is temporarily unavailable".


Are you getting this every time or just sometime?

Liferay 6.5 community edition


You mean Liferay 6.0.5. That release had some GUI bugs. It may help if you upgrade to Liferay 6.0.6.
Alejandro López
RE: Web Content is temporarily unavailable
April 27, 2012 1:40 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hi Edwin!!

Finally did you get any solution? I'm suffering similar issue.

Greetings
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
April 27, 2012 6:15 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

There should be an error message in the console explaining the reason. Please attach the console log.
Alejandro López
RE: Web Content is temporarily unavailable
April 30, 2012 8:21 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hi Hitoshi.

It's strange, but I don't see any java exception at console explaining the reason... emoticon

Greetings.
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
April 30, 2012 2:41 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

How about in the logs (tomcat-6.0.26\logs)?
Alejandro López
RE: Web Content is temporarily unavailable
May 2, 2012 6:49 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hi.

I'm using Apache and Weblogic application server. I don't see any exception, nothing strange in apache or weblogic log.

Sometimes publishing this content, cause that error, other times another error ("Another user has edited content while you are editing... "). Other times, edit of this content is OK... emoticon

The editor of this content has dropped some images into WYSEWIG causing long html for the image (<img src="data:image..[a long code for the image] ..." /> ")

At the end of the html of this content theres a strange javascript:

1<script id="dstb-id" language="javascript">
2if(typeof(dstb)!= "undefined"){ dstb();}</script>


But this script is on another contents that are ok. I think it's some index problem but I don't know...
It's a mistery.

Greetings.
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
May 2, 2012 7:16 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Web Content has some character restriction. Best to stick only with alphanumeric unless you customize.

You're also entering some scripts which may be the source of the error. In most of the cases I've seen, the problem is (beside the limitations) with the content and scripts rather then liferay.
Edwin Arévalo
RE: Web Content is temporarily unavailable
May 2, 2012 8:37 PM
Answer

Edwin Arévalo

Rank: New Member

Posts: 3

Join Date: March 6, 2012

Recent Posts

Thanks to each of you to answer this question, the problem appears to reindex portlet web-content, the solution may be to restore a database backup or delete the index that ocaciona the problem. Greetings.
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
May 2, 2012 8:45 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Well, if you tried using liferay's default search, you'll soon find that it isn't too good. It's better to replace it with something different.
Alejandro López
RE: Web Content is temporarily unavailable
May 14, 2012 3:54 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hitoshi Ozawa:
Well, if you tried using liferay's default search, you'll soon find that it isn't too good. It's better to replace it with something different.


Finally the problem was that my tablespace were at 94% of his total capacity. We increase the tablespace and the problem dissapears.
Thanks to all! emoticon
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
May 15, 2012 1:47 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Finally the problem was that my tablespace were at 94% of his total capacity. We increase the tablespace and the problem dissapears.


Does this mean you've changed lucene to use database instead of the default file system?
Alejandro López
RE: Web Content is temporarily unavailable
May 15, 2012 3:50 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hitoshi Ozawa:
Finally the problem was that my tablespace were at 94% of his total capacity. We increase the tablespace and the problem dissapears.


Does this mean you've changed lucene to use database instead of the default file system?


Hi.

When this error appears, I have indexes on Database, and a tablespace capacity 100MB. Trying to solve the problem, I put the indexes on file but this error persists.
Now I have indexes on file and increase tablespace capacity. Now the problem has disappear.

Greetings.
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
May 15, 2012 4:00 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

It's nice to hear that you've got it working. Just for my record in case similar question appears again, did you restart your liferay after changing portal-ext.properties? Lucene shouldn't be using the database set up lucene if file system is being used.
Alejandro López
RE: Web Content is temporarily unavailable
May 15, 2012 6:51 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hitoshi Ozawa:
It's nice to hear that you've got it working. Just for my record in case similar question appears again, did you restart your liferay after changing portal-ext.properties? Lucene shouldn't be using the database set up lucene if file system is being used.


Yes, I restart Liferay putting indexes on file. I think the 2 liferay tables "Lucene_0" and "Lucene_10132" have disappeared making this, but I don't know because I don't have access to the database, and I have to do another things.

But, after restart liferay (with indexes on file), the problem wasn't solved. Maybe we should delete some temporal tables... don't know.

Only when increase tablespace of database the problem was solved.

pd: sorry about my english
Hitoshi Ozawa
RE: Web Content is temporarily unavailable
May 15, 2012 3:45 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Thanks Alejandro, I'll keep increase tablespace size as one of the possible solutions when portlet is not working correctly. emoticon
Alejandro López
RE: Web Content is temporarily unavailable
May 16, 2012 12:39 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

You are welcome!

Take a look on why Oracle error doesn't show at application server log.

Greetings

pd: I've checked "LUCENE_0" and "LUCENE_10132" have disappeared after putting indexes on file.
Alejandro López
RE: Web Content is temporarily unavailable
May 10, 2012 9:16 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Edwin Arévalo:
Thanks to each of you to answer this question, the problem appears to reindex portlet web-content, the solution may be to restore a database backup or delete the index that ocaciona the problem. Greetings.



Edwin, ¿tenias los indices de Lucene en BD cuando te sucedió esto?
----------------------------------------------------------------------------------------------------------------
Edwin, ¿did You have Lucene indexes on BBDD when you found this issue?