WSO2EI-6.0.0无法在Eclipse中启动。

8

我无法在eclipse中启动wso2ei-6.0.0。

我使用的版本是developer-studio-ei-eclipse-jee-mars-2-win64-x86_64-1.0.0版本,jdk为1.8.0。

当我配置服务器时,我选择了WSO2 Enterprise Integrator 6.0.0其他默认选项,尝试启动它时遇到了错误。

OSGi console has been enabled with options: -console
osgi> [2017-03-04 10:33:35,314] [EI-Core]  INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2017-03-04 10:33:35,318] [EI-Core]  INFO - CarbonCoreActivator Operating System : Windows 7 6.1, amd64
[2017-03-04 10:33:35,319] [EI-Core]  INFO - CarbonCoreActivator Java Home        : C:\Program Files\Java\jdk1.8.0_112\jre
[2017-03-04 10:33:35,319] [EI-Core]  INFO - CarbonCoreActivator Java Version     : 1.8.0_112
[2017-03-04 10:33:35,319] [EI-Core]  INFO - CarbonCoreActivator Java VM          : Java HotSpot(TM) 64-Bit Server VM 25.112-b15,Oracle Corporation
[2017-03-04 10:33:35,319] [EI-Core]  INFO - CarbonCoreActivator Carbon Home      : D:/wso2/wso2ei-6.0.0
[2017-03-04 10:33:35,319] [EI-Core]  INFO - CarbonCoreActivator Java Temp Dir    : D:/wso2/wso2ei-6.0.0/tmp
[2017-03-04 10:33:35,320] [EI-Core]  INFO - CarbonCoreActivator User             : zhu, zh-CN, Asia/Shanghai
[2017-03-04 10:33:35,528] [EI-Core]  WARN - ValidationResultPrinter Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2017-03-04 10:33:35,580] [EI-Core]  INFO - GoogleTokenGenDSComponent Activating GoogleTokengen DS component
[2017-03-04 10:33:35,855] [EI-Core]  INFO - KafkaEventAdapterServiceDS Successfully deployed the Kafka output event adaptor service
[2017-03-04 10:33:36,037] [EI-Core]  INFO - ManagementModeConfigurationLoader CEP started in Single node mode
[2017-03-04 10:33:45,956] [EI-Core]  INFO - EmbeddedRegistryService Configured Registry in 256ms
[2017-03-04 10:33:46,062] [EI-Core]  INFO - RegistryCoreServiceComponent Registry Mode    : READ-WRITE
[2017-03-04 10:33:58,313] [EI-Core]  INFO - SolrClient Default Embedded Solr Server Initialized
[2017-03-04 10:33:58,700] [EI-Core]  INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully.
[2017-03-04 10:34:44,397] [EI-Core]  INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
[2017-03-04 10:35:46,336] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:35:46,341] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
[2017-03-04 10:36:46,335] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:36:46,336] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
[2017-03-04 10:37:46,334] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:37:46,335] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
[2017-03-04 10:38:46,334] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:38:46,334] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
[2017-03-04 10:39:46,335] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:39:46,335] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
[2017-03-04 10:40:46,334] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:40:46,334] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
[2017-03-04 10:41:46,335] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:41:46,335] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
[2017-03-04 10:42:46,334] [EI-Core]  WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-04 10:42:46,334] [EI-Core]  WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24
Carbon Server WSO2 Enterprise Integrator 6.0.0 at localhost is shutting down...
Carbon Server WSO2 Enterprise Integrator 6.0.0 at localhost has shut down...
3个回答

3

我尝试了同样的方法,并在更新后无法重现此问题。然而,我可以猜到可能会出现这种情况的情况。因此,我建议按照以下步骤进行操作。

  1. 获取新的wso2ei-6.0包并解压缩,假设解压缩位置为EI_HOME
  2. 启动eclipse时,使用一个新的工作空间(即不要使用之前使用过的工作空间)
  3. 在eclipse中添加一个新的服务器,当添加新服务器时,转到“配置运行环境”,如果您已经有旧的ei-server配置,请删除它。
  4. 使用EI_HOME添加新的ei服务器
  5. 从eclipse启动服务器

如果您不能使用新的ei-6.0包,您可以执行以下操作。

进入EI_HOME / wso2 / lib文件夹并列出文件和目录,应该具有以下文件和目录。(即在新的包中)

ant-contrib-1.0b3.jar
cipher-text.properties
commons-lang-2.6.0.wso2v1.jar
endorsed/
esapi-2.0.1.jar
org.wso2.carbon.logging-4.4.14.jar
org.wso2.carbon.server-4.4.14.jar
org.wso2.ciphertool-1.0.0-wso2v3.jar
runtimes/
sandesha2-core-1.6.1-wso2v1.jar
tomcat/
transactions.properties
xercesImpl-2.8.1.wso2v2.jar

如果您有任何文件、JAR包不在上述列表中,您可以将其删除。然后按照步骤2-5进行操作。
如果您在应用更新之前启动了EI服务器,则可能会将一些附加的JAR包复制到EI_HOME/wso2/lib位置。这会导致问题(更新解决此问题),因此上述解决方案是通过手动删除复制的JAR包来修复该问题。

我在使用EI 6.1时遇到了同样的问题,并且通过这个答案得以解决。 - Rodrigo Vasconcelos
我想你是wso2的开发团队成员。最近发布了6.4版本,但这个问题是在2年前发布的。你们应该在这个版本中解决这个问题。 - Ravikant
现在我的问题是"put all jars there"的意思是什么?你能解释一下吗? - Ravikant

1
非常感谢。我将Java升级从1.8.0_102到1.8.0.121,现在它可以正常工作了!

0

我重新下载了Eclipse和最新版本的Java。我认为它说你没有安装正确的Java版本。在我重新下载它们之后,它可以正常工作。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接