Stefane Fermigier escreveu:
I see:
:RESTART
"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%"
-classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
IF ERRORLEVEL 10 GOTO RESTART
:END
if "%NOPAUSE%" == "" pause
:END_NO_PAUSE
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=128m
in your run.bat.
You should put 'set JAVA_OPTS=...' before the 'echo
================...' part.
Ans check the JAVA_OPTS are correct when running run.bat (it should
echo the JAVA_OPTS value on the console).
S.
--
Stefane Fermigier, CEO, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Nuxeo 5 EP is out! - Now Java EE based, standards compliant
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
Thank you very much Stefane, Alain, Narcis :-)
I put the line in the correct place and now everything is working
smoothly :-)
Below a snippet of my run.bat.:
# Here is it ;-)
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=128m
echo
===============================================================================
echo .
echo JBoss Bootstrap Environment
echo .
echo JBOSS_HOME: %JBOSS_HOME%
echo .
echo JAVA: %JAVA%
echo .
echo JAVA_OPTS: %JAVA_OPTS%
echo .
echo CLASSPATH: %JBOSS_CLASSPATH%
echo .
echo
===============================================================================
echo .
Thank you very much
Marcos
--
Marcos H. W.
Softing Systems
Systems Analyst
+55 11 38770360
/**
* @see https://jaxb2-commons.dev.java.net
*/
/**
* "...Use the Force ...;-)" */
*
* @see http://www.gentoo.org/
*/
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm