2013年10月30日星期三

Tomcat version configured to extract the service you want to modify memory, but can not find in the registry to modify the place

I use the extract version of tomcat, through service.bat configuration into service , and now need to modify the memory size , and did the online method to set up , but do not know why in the registry to find less than the following path : HKEY_LOCAL_MACHINE / SOFTWARE / Apache Software Foundation / Procrun 2.0 / × × × / Parameters / Java, only to bold position.

tomcat version : apache-tomcat-6.0.37-windows-x64.zip

previously configured , there is no such problem ( I configured this machine is just entirety systems ) .

Will the next is what I missed it ? Thank you !

------ Solution ------------------------------------ --------
guess unpacked version will not give you the time of extraction to add information to the registry ?
------ Solution ---------------------------------------- ----
green version should not be modifying the registry . . If you simply modify memory to run it
to modify tomcat \ bin \ Catalina.bat file
notebook open
found
rem Execute Java with the applicable properties " Each of the following lines
% _EXECJAVA%% JAVA_OPTS%% CATALINA_OPTS%% DEBUG_OPTS%-Djava.endorsed.dirs = "% JAVA_ENDORSED_DIRS%"-classpath "% CLASSPATH%" -Dcatalina.base = "% CATALINA_BASE%"-Dcatalina.home = "% CATALINA_HOME%"-Djava.io.tmpdir = "% CATALINA_TMPDIR%"% MAINCLASS% ;% CMD_LINE_ARGS%% ACTION%
appends the % DEBUG_OPTS% -Xms256m-Xmx512m

ceiling should not exceed 1024 super useless

------ Solution ------------------------------------ --------

  
tested this approach is only valid for use startup.bat ( using tomcat carrying Manager to view the conclusion after comparing ) .   
and found ways through the service started, with jvisualvm.exe not monitored .  



  
  
tested this approach is only valid for use startup.bat ( using tomcat carrying Manager to view the conclusion after comparing ) .   
and found ways through the service started, with jvisualvm.exe not monitored .  
If configured as a service , it should not pass the bat to start, so it will not load the data.

------ For reference only ---------------------------------- -----


But I registered as a service through service.bat , and at that time did not go the registry to add information ? When my previous configuration , but also extract version, configured as a service , the registry will have information . So think it is not configured something less .
------ For reference only -------------------------------------- -


In this way, the service starts is also valid through it ?
------ For reference only -------------------------------------- -


tested this approach is only valid for use startup.bat ( using tomcat carrying Manager to view the conclusion after comparing ) .
and found ways through the service started, with jvisualvm.exe not monitored .
------ For reference only -------------------------------------- -

    
tested this approach is only valid for use startup.bat ( using tomcat carrying Manager to view the conclusion after comparing ) .     
and found ways through the service started, with jvisualvm.exe not monitored .          
  
  
  
       
    
tested this approach is only valid for use startup.bat ( using tomcat carrying Manager to view the conclusion after comparing ) .     
and found ways through the service started, with jvisualvm.exe not monitored .          
If configured as a service , it should not pass the bat to start, so it will not load the data.   
 

Yes, ah, my question is the key to start the service through the system under the premise of setting memory. Online have this BLOG, is the need to modify the registry , but I can not find in the registry under the corresponding directory .




------ For reference only ---------------------------------- -----
Which experts can answer the next Mody, first thank you
------ For reference only ------------------ ---------------------
tested 32 of the tomcat configuration as a service , the registry xiasha will appear HKEY_LOCAL_MACHINE / SOFTWARE / Apache Software Foundation / Procrun 2.0 / × × × / Parameters / Java , but 64 of the life and death does not appear.
------ For reference only ---------------------------------------

right
------ For reference only ------------------------------------ ---
been trying to explore , 64-bit system , tomcat registry information is written in HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Apache Software Foundation / Procrun 2.0 / × × × / Parameters / Java under

没有评论:

发表评论