2017-03-04 80 views
7

我無法在eclipse中啓動wso2ei-6.0.0。wso2ei-6.0.0無法在eclipse中啓動

我使用的版本是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... 

回答

0

我重新下載了eclipse和最新版本的java。我認爲它說你沒有安裝正確的java版本。在我重新下載它們之後它工作正常。

1

我試過了,安裝更新後無法重現問題。不過,我可以猜測可能發生這種情況。因此我建議做以下事情。

  1. 將新的wso2ei-6.0包和解壓的,可以說,在解壓縮位置EI_HOME
  2. 啓動Eclipse,並開始使用時,新的工作區(即不使用你先前使用的工作區)
  3. 在添加新服務器時,在eclipse中添加一個新服務器,轉到「配置運行時環境」並刪除舊的ei-server配置(如果已經有這樣的配置)。
  4. 從日食

添加新的服務器EI使用EI_HOME

  • 啓動服務器如果你在,你不能用一個新的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位置。導致此問題的原因(更新解決了此問題),因此上述解決方案是通過手動刪除複製的瓶子來解決該問題。

  • +0

    我有與EI 6.1相同的問題,並能解決這個答案 –

    1

    非常感謝。我做了從1.8.0_102到1.8.0.121的java升級,現在它工作正常!