look at catalina.bat -X attributes (stack,minHeap and maxHeap)

catalina will use parameters from JAVA_OPTS environment variable

also..you could be experiencing some issues with permgen not being collected


http://wiki.apache.org/tomcat/FAQ/Memory
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Mon, 14 Jun 2010 03:59:59 -0700
> From: kitika...@gmail.com
> To: users@tomcat.apache.org
> Subject: Re: J2EE (Spring) + Flex + Tomcat 6.0.18 problem
> 
> 
> Hi and thanks for all responses.
> > It sounds like a timeout, rather than an empty response.
> > Please remove all comments and any passwords from your server.xml and
> > post it here.
> [code]
> <Server port="8005" shutdown="SHUTDOWN">
> <Listener className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" />
> <Listener className="org.apache.catalina.core.JasperListener" />
> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
> />
> <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
> <GlobalNamingResources>
> <Resource name="UserDatabase" auth="Container"
> type="org.apache.catalina.UserDatabase"
> description="User database that can be updated and saved"
> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
> pathname="conf/tomcat-users.xml" />
> </GlobalNamingResources>
> <Service name="Catalina">
> <Connector port="8080" protocol="HTTP/1.1" 
> connectionTimeout="20000" 
> redirectPort="8443" />
> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> 
> <Engine name="Catalina" defaultHost="localhost">
> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> resourceName="UserDatabase"/>
> <Host name="localhost" appBase="webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
> </Host>
> </Engine>
> </Service>
> </Server>
> [/code]
> Well, it looks like timeout occured, because time of failing response was
> about 21 seconds. But why?
> > 50Mb free isn't a meaningful number. More useful to know how much
> > memory the JVM is currently using and what it's heap is configured to use.
> I used probe and it showed that memory was dropping from 40 megabytes till
> 5-10 and then it was going back to 40.
> > If you think it's a bug in Tomcat, you could try using the latest
> > release instead of an older one.
> I shall try.
> --
> Regards,
> Kitikat
> -- 
> View this message in context: 
> http://old.nabble.com/J2EE-%28Spring%29-%2B-Flex-%2B-Tomcat-6.0.18-problem-tp28818290p28878122.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
                                          
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

Reply via email to