페이지 이력
...
Sv translation | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
Read the following to regist, edit or delete the MagicINFO Server service. Regist / Delete the serviceYou can specify options additionally or change options that will be applied by default when running the service of MagicINFO Server. And it can be applied by deleting from and registering to Windows service. For example, in case jvm is out of memory, you can change the size of heap memory or perm memory. How to change the optionsFile path : {The path installed the MagicINFO Server}\tomcat\bin\service.bat After opening the file with a text editor, move the page down and check the command under :installed. (Refer the below image) You can specify or change the options that will be executed when the service is registed and started. For the related options, refer the configuration of daemon execution. The list of options : https://commons.apache.org/proper/commons-daemon/procrun.html After modifying(adding/editing/deleting) the options related to daemon configuraion, stop, delete and restart the registed service. Execute in order : Stop the service → Delete the service → Install the service → Restart the service
tomcat server.xml settingsYou can modify the settings that required for executing the web service when running tomcat. After opening below file with a text editor, modify the options that you need and save, and restart MagicInfoPremium service to take effect. File path : {The path installed the MagicINFO Server}\tomcat\conf\server.xml The descriptions of existing options
For more information, refer the official site of Tomcat. Official site : https://tomcat.apache.org/tomcat-8.0-doc/config/http.html Delete Tomcat cacheBasically, when a web-application is deployed by tomcat, the cache is left. Because of cache, when changes are made to the web-application file ({The path installed the MagicINFO Server}\server), it may not be applied properly. In this case, delete all folders and files under the folders that cache is stored and restart the MagicINFO Server service.
Folder path : tomcat\temp, tomcat\webapps, tomcat\work How to check tomcat logTo check the log about tomcat operation, refer to files under the folder "tomcat\logs". You can figure out the problem of tomcat operation and tune the settings based on the logs. The Types of log files
Tomcat Monitoring and how to tune(시간부족으로 다음에 적겠습니다) magicinfo server의 동작이 느려지는 문제 등을 겪을 땐 tomcat이 사용하고 있는 thread 등의 실행 상황을 파악하고, 서버 실행 상황에 맞게 튜닝할 수 있다. 톰캣 관리자를 이용한 모니터링 톰캣 관리자를 이용해 톰캣을 모니터링 할 수 있다. 서버의 상태와 요청 상태 정보를 제공하므로, 관리자가 문제를 해결할때 이 정보를 유용하게 활용할 수 있다. JConsole 튜닝 스레드 덤프를 이용해 덤프를 분석하여 성능 저하의 원인을 파악하고 문제를 해결할 수 있다. jstack samurai tda |