Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.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
Eclipse 从EI工具启动wso2 enterprise integrator服务器_Eclipse_Wso2_Wso2esb - Fatal编程技术网

Eclipse 从EI工具启动wso2 enterprise integrator服务器

Eclipse 从EI工具启动wso2 enterprise integrator服务器,eclipse,wso2,wso2esb,Eclipse,Wso2,Wso2esb,我正在使用EnterpriseIntegrator 6.0启动一个新项目,到目前为止,我无法从EI工具附带的eclipse发行版中启动服务器 当我使用ESB时,我曾经创建一个服务器并创建一个运行时环境,将CARBON\u HOME变量指向/bin,但是如果我使用Enterprise Integrator也这样做,我会得到以下错误: 配置错误 java.io.FileNotFoundException:C:\Users\…\wso2ei-6.0.0\repository\conf\etc\logg

我正在使用EnterpriseIntegrator 6.0启动一个新项目,到目前为止,我无法从EI工具附带的eclipse发行版中启动服务器

当我使用ESB时,我曾经创建一个服务器并创建一个运行时环境,将
CARBON\u HOME
变量指向
/bin
,但是如果我使用Enterprise Integrator也这样做,我会得到以下错误:

配置错误
java.io.FileNotFoundException:C:\Users\…\wso2ei-6.0.0\repository\conf\etc\logging-bridge.properties(系统找不到指定的路径)
位于java.io.FileInputStream.open0(本机方法)
位于java.io.FileInputStream.open(未知源代码)
位于java.io.FileInputStream。(未知源)
位于java.io.FileInputStream。(未知源)
位于org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:466)
位于org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:311)
位于java.util.logging.LogManager$3.run(未知源)
位于java.util.logging.LogManager$3.run(未知源)
位于java.security.AccessController.doPrivileged(本机方法)
位于java.util.logging.LogManager.readPrimordialConfiguration(未知源)
位于java.util.logging.LogManager.access$800(未知来源)
位于java.util.logging.LogManager$2.run(未知源)
位于java.security.AccessController.doPrivileged(本机方法)
在java.util.logging.LogManager.ensureLogManagerInitialized处(未知源)
位于java.util.logging.LogManager.getLogManager(未知源)
位于java.util.logging.Logger.demandLogger(未知源)
位于java.util.logging.Logger.getLogger(未知源)
位于com.sun.jmx.remote.util.ClassLogger。(未知源)
位于sun.management.jmxremote.ConnectorBootstrap。(未知源)
位于sun.management.Agent.startOcalManagementAgent(未知来源)
位于sun.management.Agent.startAgent(未知源)
位于sun.management.Agent.startAgent(未知源)
java.lang.ClassNotFoundException:org.wso2.carbon.server.Main
位于java.net.URLClassLoader.findClass(未知源)
位于java.lang.ClassLoader.loadClass(未知源)
位于java.lang.ClassLoader.loadClass(未知源)
位于org.wso2.carbon.bootstrap.bootstrap.loadClass(bootstrap.java:59)
位于org.wso2.carbon.bootstrap.bootstrap.main(bootstrap.java:45)
Java HotSpot(TM)64位服务器VM警告:忽略选项MaxPermSize=256m;支持已在8.0中删除

我可以从控制台启动EI服务器,但从长远来看,直接从eclipse启动EI服务器要容易得多。有人能解释一下如何进行这种配置吗?
我运行的是java jdk 1.8.0_25,windows 10。

因此,eclipse在启动配置中使用的默认参数显然都是错误的。它对ESB项目使用了文件结构,这就是导致
FileNotFoundException
的原因。例如,默认服务器配置的

-Dconf.location=“/repository/conf”

何时应该:

-Dconf.location=“\conf”

在使用
integrator.bat
脚本进行了一些挖掘之后,我发现了这一点。可以找到有关ESB和EI之间配置差异的信息

-编辑-

看来这些问题都要解决了