Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/328.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 运行wso2 Windows服务_Java_Cmd_Wso2_Wso2esb_Wso2carbon - Fatal编程技术网

Java 运行wso2 Windows服务

Java 运行wso2 Windows服务,java,cmd,wso2,wso2esb,wso2carbon,Java,Cmd,Wso2,Wso2esb,Wso2carbon,我是wso2的新手,在一个项目中遇到了一些小问题。我能够在本地机器上创建一个服务。但是当我试图在项目的服务器上实现同样的功能时,我遇到了一些bug。同样的情况如下: WARNING|wrapper|"WSO2 Server"|17-07-18 17:26:21|YAJSW: yajsw-stable-11.03 WARNING|wrapper|"WSO2 Server"|17-07-18 17:26:21|OS : Windows Server 2012 R2/6.3/amd64 WARNI

我是wso2的新手,在一个项目中遇到了一些小问题。我能够在本地机器上创建一个服务。但是当我试图在项目的服务器上实现同样的功能时,我遇到了一些bug。同样的情况如下:

WARNING|wrapper|"WSO2 Server"|17-07-18 17:26:21|YAJSW: yajsw-stable-11.03
WARNING|wrapper|"WSO2 Server"|17-07-18 17:26:21|OS   : Windows Server 2012 R2/6.3/amd64
WARNING|wrapper|"WSO2 Server"|17-07-18 17:26:21|JVM  : Oracle Corporation/1.8.0_131
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:22|set state IDLE->STARTING
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:22|Controller State: UNKNOWN -> WAITING
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:22|working dir c:\omniPOS
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:22|create script: scripts/trayMessage.gv
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:22|found script scripts/trayMessage.gv
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:22|started process with pid 8528
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:22|set state STARTING->RUNNING
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|[INFO] StandardFileSystemManager - Using "c:\omniPOS\wso2\tmp\vfs_cache" as temporary files store.
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|platform null
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|Controller State: WAITING -> ESTABLISHED
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|Controller State: ESTABLISHED -> LOGGED_ON
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|[2017-07-18 17:26:23,789] ERROR {org.wso2.carbon.server.extensions.DropinsBundleDeployer} -  Invalid Bundle found in the dropins directory: com.typesafe.config.config_1.0.0.jar
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|[2017-07-18 17:26:23,794] ERROR {org.wso2.carbon.server.extensions.DropinsBundleDeployer} -  Invalid Bundle found in the dropins directory: hadoop-client.config_1.0.0.jar
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|[2017-07-18 17:26:23,795] ERROR {org.wso2.carbon.server.extensions.DropinsBundleDeployer} -  Invalid Bundle found in the dropins directory: org.wso2.carbon.logging.propfile_1.0.0.jar
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|java.lang.reflect.InvocationTargetException
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:23|Trigger found: Exception in line: 
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:23|java.lang.reflect.InvocationTargetException
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:23|start script scripts/trayMessage.gv
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at java.lang.reflect.Method.invoke(Method.java:498)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:63)
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:23|end script scripts/trayMessage.gv
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:45)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at java.lang.reflect.Method.invoke(Method.java:498)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:53)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:36)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|Caused by: java.lang.RuntimeException: Could not find framework
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:23|Trigger found: Exception in line: 
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:23|Caused by: java.lang.RuntimeException: Could not find framework
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.wso2.carbon.server.CarbonLauncher.buildInitialPropertyMap(CarbonLauncher.java:201)
INFO|wrapper|"WSO2 Server"|17-07-18 17:26:23|start script scripts/trayMessage.gv
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:74)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.wso2.carbon.server.Main.launchCarbon(Main.java:160)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    at org.wso2.carbon.server.Main.main(Main.java:94)
INFO|8528/0|"WSO2 Server"|17-07-18 17:26:23|    ... 12 more
如果有人能帮助我,我将非常感激。
谢谢大家。

看起来dropins目录中的jar由于某种原因已损坏。删除
存储库/组件/dropins
目录中的所有JAR,然后重试。如果不起作用,请装上那些罐子


编辑:根据,当
CARBON\u HOME
有尾随斜杠时,可能会发生错误。检查一下,如果是这样的话就把它取下来

你好,巴西亚。首先,谢谢你的帮助。我能够解决一些问题。我认为主要的问题是碳之家最终配置了“\”。示例:“C:\wso2\”,它不允许cmd找到正确的.jar方法。我想可能是这样的。现在它正在运行,但我的问题是另一个,即使使用“EI611”教程的.conf,该服务也没有运行我需要的正确链接,我将在回答中更好地解释,以放置我的conf存档。