首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

关于SSH重启JBoss的有关问题(急)

2012-03-04 
关于SSH重启JBoss的问题(急)[root@15968-70209 bin]# ./shutdown.shA JMX client to shutdown (exit or ha

关于SSH重启JBoss的问题(急)
[root@15968-70209 bin]# ./shutdown.sh
A JMX client to shutdown (exit or halt) a remote JBoss server.

usage: shutdown [options] <operation>

options:
  -h, --help Show this help message (default)
  -D<name>[=<value>] Set a system property
  -- Stop processing options
  -s, --server=<url> Specify the JNDI URL of the remote server
  -n, --serverName=<url> Specify the JMX name of the ServerImpl
  -a, --adapter=<name> Specify JNDI name of the MBeanServerConnection to use
  -u, --user=<name> Specify the username for authentication
  -p, --password=<name> Specify the password for authentication

operations:
  -S, --shutdown Shutdown the server
  -e, --exit=<code> Force the VM to exit with a status code
  -H, --halt=<code> Force the VM to halt with a status code

[root@15968-70209 bin]# ps auxf | grep java
root 8123 0.0 0.0 61188 724 pts/2 S+ 18:31 0:00 \_ grep java
[root@15968-70209 bin]# ./run.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /program/jboss

  JAVA: /usr/java/jdk1.6.0_21//bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms3550m -Xmx3550m -Xmn2g -Xss128k -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Duser.timezone=America/Los_Angeles -XX:ParallelGCThreads=20 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/program/jboss -Djava.net.preferIPv4Stack=true

  CLASSPATH: /program/jboss/bin/run.jar:/usr/java/jdk1.6.0_21//lib/tools.jar

=========================================================================

18:32:09,220 INFO [Server] Starting JBoss (MX MicroKernel)...
18:32:09,221 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
18:32:09,222 INFO [Server] Home Dir: /program/jboss
18:32:09,222 INFO [Server] Home URL: file:/program/jboss/
18:32:09,222 INFO [Server] Patch URL: null
18:32:09,222 INFO [Server] Server Name: default
18:32:09,222 INFO [Server] Server Home Dir: /program/jboss/server/default
18:32:09,223 INFO [Server] Server Home URL: file:/program/jboss/server/default/
18:32:09,223 INFO [Server] Server Log Dir: /program/jboss/server/default/log
18:32:09,223 INFO [Server] Server Temp Dir: /program/jboss/server/default/tmp
18:32:09,223 INFO [Server] Root Deployment Filename: jboss-service.xml
18:32:09,461 INFO [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
18:32:09,461 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 17.0-b16,Sun Microsystems Inc.
18:32:09,461 INFO [ServerInfo] OS-System: Linux 2.6.18-164.el5,i386
18:32:09,712 INFO [Server] Core system initialized
18:32:11,322 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
18:32:11,324 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml




以上为SSH打印的全部信息,为什么Jboss起不来啊?哪位大大救救急啊~~~拜谢啊

[解决办法]
JAVA: /usr/java/jdk1.6.0_21//bin/java
CLASSPATH: /program/jboss/bin/run.jar:/usr/java/jdk1.6.0_21//lib/tools.jar
是不是多了一个‘/’ 啊 



[解决办法]
8:32:11,324 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml

到这就没有了么,你的日志级别设置成error了吧
------解决方案--------------------


建议出现以上信息之后过一段时间访问一下jboss控制台,看看是不是成功

[解决办法]
以前能启动吗

热点排行