wso2 样本不起作用 [英] wso2 samples not working

查看:23
本文介绍了wso2 样本不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照 https://docs.wso2.com/display/ESB490/Sending+a+Simple+Message+Through+the+ESB

并已成功构建(和部署)项目

And have successfully got the project to build (and deploy)

但是,当我按照说明启动轴服务器时,我得到以下内容

However, when I go to start the axis server as per the instructions I get the below

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\humphriesa>set JAVA_HOME=C:\Programs\Java\jdk1.8.0_92

C:\Users\humphriesa>cd C:\wso2esb-4.9.0\samples\axis2Server

C:\wso2esb-4.9.0\samples\axis2Server>axis2server.bat
"Starting Sample Axis2 Server ..."
Using AXIS2_HOME:        C:\WSO2ES~1.0\samples\AXIS2S~1\
Using JAVA_HOME:       C:\Programs\Java\jdk1.8.0_92
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; sup
port was removed in 8.0
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32          use a 32-bit data model if available
    -d64          use a 64-bit data model if available
    -server       to select the "server" VM
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -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

    -splash:<imagepath>
                  show splash screen with specified image

C:\wso2esb-4.9.0\samples\axis2Server>

感谢任何帮助

推荐答案

看起来像报告了同样的问题 在这张 jira 票中.尝试那里给出的解决方案,看看.您必须按照 jira 注释中的说明编辑axis2server.bat 文件.

Looks like the same problem reported in this jira ticket. Try the solution given there and see. You'll have to edit the axis2server.bat file as explained in the jira comments.

这篇关于wso2 样本不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆