Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mihai Plavichianu
Web Content not displaying - weblogic 12c + oracle 11g
November 9, 2012 5:57 AM
Answer

Mihai Plavichianu

Rank: New Member

Posts: 9

Join Date: June 4, 2010

Recent Posts

Hi,

We've created a site template that we use for creating a new sites.
But for some unknown reason some content(web content) starts to disappear after a while (the largest ones).

After some tests, we've noticed that if we add something very simple like

1<p>aaa</p>


it's working (on any page using the default theme).
But if we increase the number of a's after we reach like 300+ a's the content it's not showed.
If we click edit we see the content without a problem.
If we click publish, the content it's not showed on the page.

The Liferay logs don't show any exception or warning.
We've started the weblogic server with root.
The html was validated with Dreamweaver.
The same html code if we put it on Tomcat/Mysql works even for 1000 letters of a

1<p>aaaaa....aaa</p>


We belive that has something to do with the db but we are not so sure because we don't see errors in logs.
Any ideas, why?
Bernat López
RE: Web Content not displaying - weblogic 12c + oracle 11g
November 18, 2012 3:48 PM
Answer

Bernat López

Rank: New Member

Posts: 6

Join Date: September 18, 2012

Recent Posts

We've the same issue emoticon
I think there is a conflict of libraries or application server configuration: if we connect a Tomcat to the same Oracle schema the webcontent is displayed
Mihai Plavichianu
RE: Web Content not displaying - weblogic 12c + oracle 11g
November 26, 2012 7:45 AM
Answer

Mihai Plavichianu

Rank: New Member

Posts: 9

Join Date: June 4, 2010

Recent Posts

We're using CentOS.
Are u using the same os?
We've had some issues regarding Liferay on CentOS (some fixes for Sass in portal-ext), so it can be one of the problems.
Mihai Plavichianu
RE: Web Content not displaying - weblogic 12c + oracle 11g
December 4, 2012 6:55 AM
Answer

Mihai Plavichianu

Rank: New Member

Posts: 9

Join Date: June 4, 2010

Recent Posts

Problem solved:
You have to instruct the classloader to use app's classes instead of weblogic's classes.

Add

1<container-descriptor>
2...
3<prefer-web-inf-classes>true</prefer-web-inf-classes>
4
5...
6</container-descriptor>


in weblogic.xml inside the Liferay archive.
aku virus
RE: Web Content not displaying - weblogic 12c + oracle 11g
May 8, 2013 2:32 AM
Answer

aku virus

Rank: New Member

Posts: 4

Join Date: September 29, 2010

Recent Posts

Mihai Plavichianu:
Problem solved:
You have to instruct the classloader to use app's classes instead of weblogic's classes.

Add

1<container-descriptor>
2...
3<prefer-web-inf-classes>true</prefer-web-inf-classes>
4
5...
6</container-descriptor>


in weblogic.xml inside the Liferay archive.



where to park this coding? i not find this file weblogic.xml.
Jonas Choi
RE: Web Content not displaying - weblogic 12c + oracle 11g
May 8, 2013 11:49 AM
Answer

Jonas Choi

LIFERAY STAFF

Rank: New Member

Posts: 16

Join Date: September 14, 2010

Recent Posts

Hi Aku,
The weblogic.xml file is located inside the Liferay WAR file, and inside the WEB-INF folder.
aku virus
RE: Web Content not displaying - weblogic 12c + oracle 11g
May 8, 2013 4:40 PM
Answer

aku virus

Rank: New Member

Posts: 4

Join Date: September 29, 2010

Recent Posts

Jonas Choi:
Hi Aku,
The weblogic.xml file is located inside the Liferay WAR file, and inside the WEB-INF folder.


Thank You "Jonas Choi". a very clear explanation.

I have been parking this code into weblogic.xml file. but why portal are still not out content ?

I have no problem at localhost, this problem only occurred on the server.
Salman Jan
RE: Web Content not displaying - weblogic 12c + oracle 11g
May 22, 2013 10:15 AM
Answer

Salman Jan

Rank: New Member

Posts: 4

Join Date: August 17, 2011

Recent Posts

I am have the same issue ONLY is 61 under Weblogic11 even after adding <prefer-web-inf-classes>true</prefer-web-inf-classes>
in weblogic.xml. My 60SP2 under WL11 did not had this issue even though <prefer-web-inf-classes>true</prefer-web-inf-classes> was not present on 60sp2 weblogic.xml

<weblogic-web-app
xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">

<jsp-descriptor>
<keepgenerated>true</keepgenerated>
<page-check-seconds>60</page-check-seconds>
<precompile>true</precompile>
<precompile-continue>true</precompile-continue>
</jsp-descriptor>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
<optimistic-serialization>true</optimistic-serialization>
<show-archived-real-path-enabled>true</show-archived-real-path-enabled>
</container-descriptor>
<context-root>/</context-root>
</weblogic-web-app>