반응형

JBoss 설치

http://blog.naver.com/hk7179?Redirect=Log&logNo=100024707531

1. JBoss 설치

[csmsuser1@localhost ~]$ unzip jboss-4.0.4.GA.zip

2. JAVA_HOME 설정

.bash_profile 파일에 JAVA_HOME 추가

[csmsuser1@localhost ~]$ vi .bash_profile

export JAVA_HOME=/usr/java/j2sdk1.4.2_12

3. 실행 (백그라운드로 실행)

[csmsuser1@localhost ~]$ cd jboss-4.0.4.GA/bin
[csmsuser1@localhost bin]$ nohup ./run.sh &
[1] 7234
[csmsuser1@localhost bin]$ nohup: appending output to `nohup.out'

4. 실행 로그 보기

[csmsuser1@localhost bin]$ tail -f nohup.out
16:15:07,453 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
16:15:07,485 INFO  [testQueue] Bound to JNDI name: queue/testQueue
16:15:07,738 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
16:15:07,789 INFO  [DLQ] Bound to JNDI name: queue/DLQ
16:15:08,047 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA'
16:15:08,112 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
16:15:08,698 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
16:15:08,963 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
16:15:08,978 INFO  [JkMain] Jk running ID=0 time=1/43  config=null
16:15:09,004 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 27s:760ms

5. 종료

[csmsuser1@localhost bin]$ ./shutdown.sh -S
Shutdown message has been posted to the server.
Server shutdown may take a while - check logfiles for completion
[csmsuser1@localhost bin]$
반응형

+ Recent posts