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...
4

3 回答 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

如果您有任何文件,上述列表以外的罐子,您可以删除它们。然后按照步骤 2-5。

如果您在应用更新之前启动了 EI 服务器,可能会出现这种情况,它可能会将一些额外的 jar 复制到 EI_HOME/wso2/lib 位置。这导致了这个问题(更新解决了这个问题),因此上述解决方案是通过手动删除复制的 jar 来解决这个问题。

于 2017-03-14T08:43:19.417 回答
1

非常感谢您。我进行了从 1.8.0_102 到 1.8.0.121 的 java 升级,现在可以正常工作了!

于 2017-03-14T10:30:11.413 回答
0

我重新下载了eclipse和最新版本的java。我认为它表示您没有安装正确的 java 版本。我重新下载它们后它工作正常。

于 2017-03-13T21:19:16.493 回答