【问题标题】:Not able to start Websphere application Server 8.0 in Rational application developer 8无法在 Rational application developer 8 中启动 Websphere application Server 8.0
【发布时间】:2013-09-13 20:33:25
【问题描述】:

在控制台.. 我得到以下 -

Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-jar] [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -cp -classpath <directories and zip/jar files separated by ;>
              set search path for application classes and resources
    -D<name>=<value>
              set a system property
    -verbose[:class|gc|jni]
              enable verbose output
    -version  print product version
    -version:<value>
        require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
              include/exclude user private JREs in the version search
    -agentlib:<libname>[=<options>]
              load native agent library <libname>, e.g. -agentlib:hprof
              see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
              load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
              load Java programming language agent, see java.lang.instrument
    -? -help  print this help message
    -X        print help on non-standard options
    -splash:<imagepath>  show splash screen with specified image
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
              enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
              disable assertions
    -esa | -enablesystemassertions
              enable system assertions
    -dsa | -disablesystemassertions
              disable system assertions

最终服务器无法启动并在超时后停止。服务器工作正常。但是,我想重新启动它。我完全停止了服务器并尝试启动它。从那以后我就面临这个问题。

【问题讨论】:

  • 这是java 的选项/标志。与 websphere 无关(如您标记的那样)。你的命令到底是什么?
  • 我没有使用任何特定的命令。我只是想在 RAD 8 上启动我的 WAS-8 服务器。简单的右键单击并启动。服务器不会启动。 . 我在控制台中得到的只是我在上面粘贴的消息..

标签: websphere-8


【解决方案1】:

您可以检查右键单击并启动服务器时正在执行的脚本。 检查 java 选项中是否有任何不需要的条目,这些条目无法通过 java 命令行确认。

【讨论】:

  • 我如何知道正在执行哪个脚本?请帮忙