localhost-3:Users sonagisw$ cd /Applications
localhost-3:Applications sonagisw$ pwd
/Applications
localhost-3:Applications sonagisw$ ls
Address Book.app Font Book.app Photo Booth.app Time Machine.app
App Store.app Google Chrome.app Preview.app Twitter.app
Automator.app Image Capture.app QuickTime Player.app Utilities
Balsamiq Mockups.app Launchpad.app Remote Desktop Connection.app android
Calculator.app Mactracker.app SQLDeveloper.app iAntiVirus
Chess.app Mail.app Safari.app iCal.app
DVD Player.app Microsoft Office 2011 Stickies.app iChat.app
Dashboard.app Microsoft Silverlight StuffIt Expander.app iTunes.app
Dictionary.app Mission Control.app System Preferences.app iWork '09
FaceTime.app NATEON10_MAC_beta.dmg TextEdit.app tomcat
Firefox.app NateOn.app TextWrangler.app
localhost-3:Applications sonagisw$ cd tomcat/
localhost-3:tomcat sonagisw$ ls
LICENSE RELEASE-NOTES bin lib temp work
NOTICE RUNNING.txt conf logs webapps
localhost-3:tomcat sonagisw$ cd bin
localhost-3:bin sonagisw$ ls
bootstrap.jar cpappend.bat shutdown.sh tool-wrapper.sh
catalina-tasks.xml digest.bat startup.bat version.bat
catalina.bat digest.sh startup.sh version.sh
catalina.sh setclasspath.bat tomcat-juli.jar
commons-daemon-native.tar.gz setclasspath.sh tomcat-native.tar.gz
commons-daemon.jar shutdown.bat tool-wrapper.bat
localhost-3:bin sonagisw$ ./startup.sh
Using CATALINA_BASE:   /Applications/tomcat
Using CATALINA_HOME:   /Applications/tomcat
Using CATALINA_TMPDIR: /Applications/tomcat/temp
Using JRE_HOME:        /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH:       /Applications/tomcat/bin/bootstrap.jar
localhost-3:bin sonagisw$ cd ../logs
localhost-3:logs sonagisw$ ls
catalina.2012-01-05.log host-manager.2012-01-05.log manager.2012-01-05.log
catalina.out localhost.2012-01-05.log
localhost-3:logs sonagisw$ ls -al
total 24
drwxr-xr-x@  7 sonagisw  admin   238  1  5 14:27 .
drwxr-xr-x@ 13 sonagisw  admin   442 12 13 16:22 ..
-rw-r--r--   1 sonagisw  admin  1814  1  5 14:27 catalina.2012-01-05.log
-rw-r--r--   1 sonagisw  admin  1814  1  5 14:27 catalina.out
-rw-r--r--   1 sonagisw  admin     0  1  5 14:27 host-manager.2012-01-05.log
-rw-r--r--   1 sonagisw  admin   232  1  5 14:27 localhost.2012-01-05.log
-rw-r--r--   1 sonagisw  admin     0  1  5 14:27 manager.2012-01-05.log
localhost-3:logs sonagisw$ tail -f catalina.out
2012. 1. 5 ???? 2:27:06 org.apache.catalina.startup.HostConfig deployDirectory
????: Deploying web application directory ROOT
2012. 1. 5 ???? 2:27:06 org.apache.coyote.http11.Http11Protocol start
????: Starting Coyote HTTP/1.1 on http-8080
2012. 1. 5 ???? 2:27:06 org.apache.jk.common.ChannelSocket init
????: JK: ajp13 listening on /0.0.0.0:8009
2012. 1. 5 ???? 2:27:06 org.apache.jk.server.JkMain start
????: Jk running ID=0 time=0/82  config=null
2012. 1. 5 ???? 2:27:06 org.apache.catalina.startup.Catalina start
????: Server startup in 1002 ms

신고

'Java' 카테고리의 다른 글

SYNCHRONIZE 작업시 불필요한 파일 제외하기  (0) 2017.07.02
svn 싱크  (0) 2017.07.02
was 없이 컨트롤러 테스트 하기  (0) 2017.05.04
controller 에서 주로 쓰는 annotation 정리  (0) 2017.05.04
cross domain  (0) 2012.01.18
맥에서 톰캣부팅시키기  (1) 2012.01.05
  1. seeku 2012.01.25 14:46 신고

    ./catalina.sh run 으로도 실행가능

+ Recent posts