Nobody? :-(
Maybe it's a timezone issue with expert repliers ( still sleeping :-)
Ok, found out by myself. Fortunately.
Pretty easy... ONCE you know what to search,look and do ;-)
So, I took a look at Portal Pack code and turns out that there is no more a specific config file but they now parse the external launcher script (Note: I'm talking about Liferay on Tomcat), searching for the environment setting, specifically JAVA_OPTS in catalina.bat (or .sh)
So, rephrasing for better semantics:
Q:How do you set (pass) VM parameters to NetBeans server module Liferay Portal Server using Tomcat in Portal Pack?
A: JUST set those parameters in your startup script (eg: catalina.bat on windows) with JAVA_OPTS at the beginning of file, for example:
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1024m -XX:MaxPermSize=284m
(using java 6)
That's it...
Bye,
D.
P.S.= I DID try that kind of way BEFORE looking at the source, but I put params _directly_ into Tomcat startup script code, bypassing the JAVA_OPTS params... So no luck :-(
Please sign in to flag this as inappropriate.