u*e 发帖数: 965 | 1 当我通过 Terminal window启动JBoss 或Tomcat后, 如果关了 Terminal window,
JBoss 或Tomcat也关闭了。请问怎样才能关闭Terminal window了,但JBoss 或Tomcat
不被关闭,保持运行? 谢谢 |
k***r 发帖数: 4260 | 2 java service wrapper
Tomcat
【在 u*e 的大作中提到】 : 当我通过 Terminal window启动JBoss 或Tomcat后, 如果关了 Terminal window, : JBoss 或Tomcat也关闭了。请问怎样才能关闭Terminal window了,但JBoss 或Tomcat : 不被关闭,保持运行? 谢谢
|
u*e 发帖数: 965 | 3 Thanks.
Could you give more detail information? I am very new to java web
development.
【在 k***r 的大作中提到】 : java service wrapper : : Tomcat
|
g*****g 发帖数: 34805 | 4 Google is your friend. Java service wrapper is easy to use.
It can run a java program as windows service.
【在 u*e 的大作中提到】 : Thanks. : Could you give more detail information? I am very new to java web : development.
|
b******y 发帖数: 9224 | 5 估计是用windows?
如果是用linux的话,就是 & |
u*e 发帖数: 965 | 6 When I killed this window (see the attached), which I used to start up
tomcat, tomcat was also shutted down. What I want is, tomcat is still
running, even though that window was killed.
【在 g*****g 的大作中提到】 : Google is your friend. Java service wrapper is easy to use. : It can run a java program as windows service.
|
b******y 发帖数: 9224 | 7 简单起见,用windows scheduler是否也可以? |
g*****g 发帖数: 34805 | 8 Do you google what "java service wrapper" does at all?
【在 u*e 的大作中提到】 : When I killed this window (see the attached), which I used to start up : tomcat, tomcat was also shutted down. What I want is, tomcat is still : running, even though that window was killed.
|
m******t 发帖数: 2416 | 9
Tomcat
Tomcat comes with an exe installer that lets you install it as a windows
service.
【在 u*e 的大作中提到】 : 当我通过 Terminal window启动JBoss 或Tomcat后, 如果关了 Terminal window, : JBoss 或Tomcat也关闭了。请问怎样才能关闭Terminal window了,但JBoss 或Tomcat : 不被关闭,保持运行? 谢谢
|
u*e 发帖数: 965 | 10 Thanks. This is a good solution.
My production machine is solaris. It has "svcadm", which makes running JBoss
as a service extremly simple.
【在 g*****g 的大作中提到】 : Do you google what "java service wrapper" does at all?
|
b******y 发帖数: 1684 | 11 hahah, poor goodbug.
but I remember tomcat itself supports running as a service
【在 g*****g 的大作中提到】 : Do you google what "java service wrapper" does at all?
|