jboss-5.1.0.GA 开机自动启动
我的任务是在远程 ubuntu 10.4 Lts 服务器上安装 jboss-5.1.0.GA。有了所有这些资源,我能够成功运行 jboss,但我的问题是我无法在引导工作中自动启动,以便 jboss 将在服务器上运行。
我遵循了几个教程,这些教程说我创建一个名为 jboss 的单独用户,并将 jboss_init_Redhat.sh 复制到 /etc/init.d/jboss (jboss home、java 路径、jboss 用户以及绑定到 0.0.0.0 ) set)并使用 /etc/init.d/jboss start
但我无法在浏览器上的 Ip 处看到 Jboss 页面。,
如果我执行 ./run.sh -b 0.0.0.0 = =>
服务器已启动...
有人可以阐明这个问题吗???
I was given the task of installing jboss-5.1.0.GA on a remote ubuntu 10.4 Lts server. With all those resources out there I was able to run jboss successfully but my problem was that I wasn't able to get auto start on boot work so that jboss would be running on the server.
I followed a couple of tutorials that said me create a separate user called jboss and to copy the jboss_init_Redhat.sh to the /etc/init.d/jboss (jboss home, java path ,jboss user and the binding to 0.0.0.0 is all set) and used /etc/init.d/jboss start
but I can't get to see the Jboss page at the Ip on a browser.,
If i do a ./run.sh -b 0.0.0.0 ==>
the server is up ...
Can some body shed some light on this issue????
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想使用
jboss_init_redhat.sh
脚本在给定接口上运行 JBoss AS,请查看以下行:您应该在这些行之前定义新变量:
您还应该检查 shutdown 命令(特别是当您在 127.0.0.1 或 0.0.0.0 之后的其他地址上运行服务器时),它应该知道如何找到您的服务器:
If you want to run JBoss AS on given interface using
jboss_init_redhat.sh
script look at these line:You should just define new variable before these line:
You should also check shutdown command (especially when you run your server on some other address then 127.0.0.1 or 0.0.0.0), it should know how to find your server: