wso2ei-6.0.0无法在eclipse中启动

时间:2017-03-04 02:52:22

标签: eclipse wso2 enterprise integrator

我无法在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 个答案:

答案 0 :(得分:3)

我尝试了相同的操作,但在安装更新后无法重现该问题。但是,我可以猜测这可能发生的情况。因此,我建议做以下事情。

  1. 拿一个新的wso2ei-6.0包并解压缩,让我们说解压缩位置EI_HOME
  2. 启动eclipse,开始使用新工作区时(即不使用之前使用的工作区)
  3. 在eclipse中添加新服务器,添加新服务器时,转到"配置运行时环境"如果已有,请删除旧的ei-server配置。
  4. 使用EI_HOME
  5. 添加新的ei服务器
  6. 从eclipse启动服务器
  7. 如果您处于无法使用新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来解决这个问题。

答案 1 :(得分:1)

非常感谢你。我做了一个java升级,从1.8.0_102升级到1.8.0.121,现在工作正常!

答案 2 :(得分:0)

我重新下载了eclipse和最新版本的java。我认为它说你没有安装正确的java版本。重新下载后,它工作正常。