无法从RAD启动Websphere Application服务器

时间:2014-02-03 08:23:18

标签: websphere rad

我正在使用WAS 6.1进行应用程序开发。我创建了配置文件并配置了JDBC提供程序和数据源。当我尝试从WAS启动RAD时,我在RAD控制台中收到以下信息时出现超时错误:

Usage: AppServer/java/bin/java [-options] class [args...]
           (to execute a class)
   or  AppServer/java/bin/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
    -assert   print help on assert options*

任何人都有任何想法?

1 个答案:

答案 0 :(得分:1)

得到了同样的错误,这是RAD创建一个错误的脚本以优化Websphere服务器进行开发的错误。

一种解决方法是禁用针对Websphere的RAD脚本生成

双击Websphere实例(在服务器视图中),然后在左下角取消选中选择框:

  
      
  • 服务器    - &GT;优化服务器启动以进行开发:
  •   
     

- &GT; []“使用生成的脚本启动服务器”。

然后你应该能够在RAD中启动你的服务器。

IBM website上有关此问题的更多信息。