tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "FAQ/Miscellaneous" by pfix
Date Sun, 01 May 2011 14:52:44 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "FAQ/Miscellaneous" page has been changed by pfix.
http://wiki.apache.org/tomcat/FAQ/Miscellaneous?action=diff&rev1=19&rev2=20

--------------------------------------------------

   1. [[#Q26|How do I debug JSP errors in the Admin web application?]]
   1. [[#Q27|What order do webapps start (or How can I change startup order)?]]
   1. [[#Q28|What's the different between a Valve and Filter?]]
+  1. [[#Q29|How do I set system properties at startup?]]
  
  == Answers ==
  
@@ -108, +109 @@

  Odds are, it might be the garbage collector going wacky.
  
  In 1.4.1 JVMs there is a memory leak which could hampering the garbage collector. [[http://developer.java.sun.com/developer/bugParade/bugs/4724129.html|More
information]] Otherwise - get a memory profiler and/or tweak your memory settings.
- 
- How do I set system properties at startup?
- Set JAVA_OPTS to be something BEFORE calling startup.bat or before calling catalina.bat.
(or you can edit those files, but it isn't advised)
- 
- Example (windows): {{{SET JAVA_OPTS='-DpropName=propValue' }}}
- 
- Example (UNIX): {{{export JAVA_OPTS='-DpropName=propValue' }}}
- 
- Windows service users - use [[http://web.bvu.edu/staff/david/tcservcfg/|this]]
- 
  
  <<BR>>
  
@@ -353, +344 @@

  
  If you can achieve the desired functionality with a Filter, it is the preferred way to go.
  
+ <<BR>>
+ 
+ <<Anchor(Q29)>>'''How do I set system properties at startup?'''
+ 
+ Set JAVA_OPTS to be something BEFORE calling startup.bat or before calling catalina.bat.
(or you can edit those files, but it isn't advised)
+ 
+ Example (windows): {{{SET JAVA_OPTS='-DpropName=propValue' }}}
+ 
+ Example (UNIX): {{{export JAVA_OPTS='-DpropName=propValue' }}}
+ 
+ Windows service users - use [[http://web.bvu.edu/staff/david/tcservcfg/|this]]
+ 
+ 
  ----
  [[CategoryFAQ|CategoryFAQ]]
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message