Message Boards

Deploy liferay to last version of Weblogic 12c server

Petr Vašek, modified 7 Years ago.

Deploy liferay to last version of Weblogic 12c server

New Member Post: 1 Join Date: 1/19/17 Recent Posts
Hi all,

I have a problem with deploying and running Liferay on weblogic 12c server (12.2.1). Lifeary vesion is 6.2 CE ga3. Problem is in JSP compilation during inicial request or deploying (depends on settings). Weblogic compiler fail , when size of genberated method _jsp_service is large than 64 (JDK limits. Liferay is CLEAN (only with marketplace) and Weblogic is CLEAN too. I become from version Weblogic 11g (10.3.6.8), where is everithing OK. I analyzed problem and i found, that problem is in fact, that new version of weblogic compiler addding to generate java code TRY block. I diff compilated JSP from 11g with 12c and one difference is in TRY blocks. Etc:

11g

  ....
  commandA;
  commandB;
  commandC;
  ...


12c

  ....
try {
  commandA;
  commandB;
 } finally {
   commandC;
}
  ...


And this TRY addons increased final code and method is over than 64k.

I not found same weblogic compiler setting or samo MBean, which help me. I think taht my last chance is hanldly/ant pre-compile JSP by weblogic compiler commnad line, where is flag -noTryBlocks and deploy emoticon ..Or reduce Liferay JSP code, but maybe its impossilbe for me.

Please do you hav any idea?

Thank you very much and so sorry for my english

Petr