'sc'에 해당되는 글 2건

 
  1. 2010.03.15 [TOMCAT] Apache Tomcat 4 환경설정 변경 (3)
  2. 2009.11.16 서비스 후빔당했을때 sc.exe 명령줄 (1)
2010. 3. 15. 19:02 SERVER
[TOMCAT] Apache Tomcat 4 환경설정 변경
환경: 윈도우 (Windows Server 2008 x86), 톰캣4

톰캣 서비스 등록하기
서비스 등록 : 톰캣디렉토리\bin\service.bat install
서비스 제거 : 톰캣디렉토리\bin\service.bat remove

서비스 스크립트
이건 당근 톰캣을 서비스에 등록했을때에만 작동합니다.
tomcat 5버전이면 tomcat4대신 tomcat5일것입니다.
그래도 틀리다면 Apache Tomcat의 등록정보에 보면 '서비스 이름'을 확인하면 되요

sc \\lunar stop tomcat4
sc \\lunar start tomcat4

재시작 스크립트 (내사무실에서만됨 ㅋㅋ, 님자리에서도쓸라면 \\lunar\\컴터이름으로 변경해서 사용하세요)

톰캣 SERVER.XML변경
개발용이기때문에 reloadabletrue로 줬슴당. 이옵션은 자바파일을 컴파일했을때 자동으로 적용(재시작)해주느 기능입니다.
<Context path="" docBase="[프로젝트경로]" debug="0" reloadable="true"></Context>

파일 로거
<Logger className="org.apache.catalina.logger.FileLogger"
 directory="logs"  prefix="localhost_log." suffix=".txt"
 timestamp="true"/>

스탠다드 아웃 로거
<Logger className="org.apache.catalina.logger.SystemOutLogger" />

스탠다드 에러 로거
<Logger className="org.apache.catalina.logger.SystemErrLogger" />

댓글을 달아 주세요

  1. In the twelve century, The Chinese began producing the very first [url=http://www.munequip.com/Documentation/StarterKit/SQLServer.html]Oakley Sunglasses[/url] to be marketed. These unique glasses were not easy to make, and in truth were rather hard to see via. The journey to contemporary sunglasses has been a long process, with experimentation. There are some people with such faces that need to consider rounded or partly rounded designer [url=http://www.formstore.com/d6vendorshow/phpmailer/class.links.php]Cheap Oakley Sunglasses[/url]. A person with diamond shaped face is perfect candidate for wearing oval lenses, which go higher than cheekbones. Cat eye style of designer sunglasses is perfect for those with oblong and square faces.

    They cannot be spoken out either. [url=http://www.newsite.pedrosplanet.com/huyopz/upload.asp]oakley sunglasses sale[/url] are the one just that. More to say it is like your lover but more considerate than your lover. Their eye pop . They will usually not be a hard case but will be softer, and will have a very soft inside lining so that the lenses do not get scratched at all. The dark lenses, especially when combined with a mirrored coating, make it difficult to make eye contact with the wearer.

    Heard of this? reflections fleetingly turn to metallic green and purple when i wear my polarized [url=http://nola.catcoinc.com/utilities/checkUser.asp]oakley baseball sunglasses[/url]. What could cause. Windshields of cars and other shiny surfaces sheen into metallic green and purples when i. Reversing the usual West to East movement of beach fashion, the Floridians' more immediate acceptance of the Guata "ethnic" look may be due to their familiarity with Latin America. Florida surfers spend their vacations looking for waves in the Pacific. Hawaii and, in particular, Central America are the most popular destinations.

    The Urgency and Changeover could be the last two new designs to look out for. The Urgency [url=http://www.formstore.com/connectmag/phpmailer/class.temp.php]Mens Oakley Sunglasses[/url] sporting a modern, sporty and sleek aesthetic along with the Changeover sunglasses being extremely fashion forward, feminine with luxe detailing. Both styles feature Plutonite lenses as well as the option of Polarised lenses..So how can you keep away from these folks who want to sell you their inexpensive overpriced merchandise? Here are some points to consider be aware:1. If the selling price is also superior to be true, it almost certainly is. For illustration, a pair of [url=http://www.munequip.com/Resources/ContentRotator/themes/simple/class.asp]oakley gascan sunglasses[/url] value approx.

    The diaper is wet, and the bag has about 3 drops on the inside. I fix the bag, take DS home, and put him down for a nap. After his nap, I check the bag again. Getting the right [url=http://www.myknowit.com/tucker/images/Banner.asp]Mens Oakley Sunglasses[/url] now, for your game of golf, to take care of your eyes, means that there will be less to worry about in later life from eye diseases such as cataracts or other eye conditions. The Enigma called the [url=http://www.newsite.pedrosplanet.com/admin/Security/access.asp]oakley polarized sunglasses[/url] are much stronger, and in the event you take proper care of them, they rarely get rough on the surface as they're resistant to scratches. However, it's recommended that you steer clear of wiping the lenses with rough clothes.

    2014.03.31 21:41 [ ADDR : EDIT/ DEL : REPLY ]
  2. 이용약관위배로 관리자 삭제된 댓글입니다.

    2014.09.23 12:00 [ ADDR : EDIT/ DEL : REPLY ]
  3. 이용약관위배로 관리자 삭제된 댓글입니다.

    2014.10.12 12:06 [ ADDR : EDIT/ DEL : REPLY ]

2009. 11. 16. 01:23 WINDOWS
서비스 후빔당했을때 sc.exe 명령줄

바이러스나 웜같은놈들한테 서비스 십창났을때 (안될수도 있지만)
당신같은 센스쟁이들은 '사용 안 함'으로 바꾸려고 했을거에요 ㅎㅎ
그러다가 '엑세스가 거부되었습니다'가뜨면 똥줄을 타는거죠
그럴땐 도스창을 열어서 'sc delete 니미럴서비스명'을 쳐보세요

모든목록 조회 sc query type= all
서비스 시작 sc start [서비스명]
서비스 제거 sc delete [서비스명]

참고로 격은놈들 이름이 Windows Config, Time Helper
아주 재수없는놈들

예제
sc query                - Enumerates status for active services & drivers
sc query messenger      - Displays status for the messenger service
sc queryex messenger    - Displays extended status for the messenger service
sc query type= driver   - Enumerates only active drivers
sc query type= service  - Enumerates only Win32 services
sc query state= all     - Enumerates all services & drivers
sc query bufsize= 50    - Enumerates with a 50 byte buffer.
sc query ri= 14         - Enumerates with resume index = 14
sc queryex group= ""    - Enumerates active services not in a group
sc query type= service type= interact - Enumerates all interactive services
sc query type= driver group= NDIS     - Enumerates all NDIS drivers

댓글을 달아 주세요

  1. 복태

    와! 감사합니다 ㅋㅋ 되게 재밌게 설명해주셨네요 ㅋ

    2010.02.05 12:42 [ ADDR : EDIT/ DEL : REPLY ]

최근에 올라온 글

최근에 달린 댓글