wso2 - 装有 ESB 4.9.0 的 AXIS2Server 在 4.8.0 正常工作时无法启动

标签 wso2 apache-axis wso2-esb

使用 ESB 4.9.0 打包的 AXIS2Server 在 4.8.0 正常工作时无法启动...任何帮助

您好,我在 Win 7 OS 64-it 上运行 ESB 4.9.0。 假设我的 esb 在以下位置可用 D:\wso2esb\samples\axis2Server 根据运行示例的说明,我能够使用 ant 成功构建示例应用程序,但 axis2 服务器根本无法启动。当我执行 axis2server.bat 时,它在 CMD 上打印以下内容。我错过了什么吗?

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

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

C:\Users\kashif.kazi>d:

D:\>cd wso2esb\samples\axis2Server\

D:\wso2esb\samples\axis2Server>axis2server.bat
"Starting Sample Axis2 Server ..."
Using AXIS2_HOME:        D:\wso2esb\samples\AXIS2S~1\
Using JAVA_HOME:       C:\Program Files\Java\jdk1.7.0_65
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
    -hotspot      is a synonym for the "server" VM  [deprecated]
                  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>
                  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
    -? -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
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for m
ore details.
D:\wso2esb\samples\axis2Server>

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

最佳答案

您可以使用旧版 WSO2 ESB 4.8.0 中的 .bat 或 .sh 或修复该问题: 只需使用文本编辑器打开 .bat 或 .sh 并找到包含此字符串的行(对于 Windows SO):

-Djava.io.tmpdir="%AXIS2_HOME%..\..\tmp\" 

尝试删除 tmp 后面的\并再次运行你的服务器,就这样了。

关于wso2 - 装有 ESB 4.9.0 的 AXIS2Server 在 4.8.0 正常工作时无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32866263/

相关文章:

java - 使用 Java 创建与服务器的可信 ssl 握手

java - 轴 2 WS-互操作性基本配置文件 1.1

web-services - 获取 403 Forbidden,尝试访问安全的 Web 服务

windows - 是否建议在 Windows 上运行 WSO2 ESB 进行生产?

wso2 esb - XML 到 JSON 转换的问题

wso2 - 来自 wso2 esb 中自定义 java 中介的 XSSF/xlsx 文件

database - 如何从 WSO2 EI Studio 调用外部 Rest API?

linux - 如何安装WSO2和ActiveMQ

java - WSO2 Balana 文档

wso2 - wso2 企业服务总线中的 WSDL 端点