2016-08-15 18 views
0

WSO2 APIマネージャー2.0を試していて、サーバーの起動に失敗しました。あなたは手を差し伸べたいですか?ありがとうマイケルcentos 7.0でwso2 API Manager v2.0.0を起動できません

以下はバージョン情報です。

​​

しかし、私は、コマンド "--start wso2server.sh" とAPI Managerを起動したとき、私はwso2carbon.logに次のエラー情報を見つけました。

ID: [-1234] [] [2016-08-15 09:48:32,824] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Initialised PLAIN SASL provider successfully {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} 
TID: [-1234] [] [2016-08-15 09:48:32,825] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Additional SASL providers successfully registered. {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} 
TID: [-1234] [] [2016-08-15 09:48:32,825] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} - Registering UserManagementMBean {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} 
TID: [-1] [] [2016-08-15 09:48:35,634] WARN {java.util.prefs.FileSystemPreferences} - Could not lock System prefs. Unix error code 32577. {java.util.prefs.FileSystemPreferences} 
TID: [-1] [] [2016-08-15 09:48:35,635] WARN {java.util.prefs.FileSystemPreferences} - Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. {java.util.prefs.FileSystemPreferences} 
TID: [-1] [] [2016-08-15 09:48:52,850] WARN {org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever} - Failed retrieving throttling data from remote endpoint: Connection refused. Retrying after 15 seconds... {org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever} 
TID: [-1] [] [2016-08-15 09:48:52,862] WARN {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} - Failed retrieving Blocking Conditions from remote endpoint: Connection refused. Retrying after 15 seconds... {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} 
TID: [-1] [] [2016-08-15 09:48:53,073] WARN {org.wso2.carbon.application.deployer.internal.AppDeployerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService, {org.wso2.carbon.application.deployer.internal.AppDeployerServiceComponent} 
TID: [-1] [] [2016-08-15 09:48:53,092] WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Waiting for required OSGi services: org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent, {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} 
TID: [-1] [] [2016-08-15 09:49:05,628] WARN {java.util.prefs.FileSystemPreferences} - Could not lock System prefs. Unix error code 32577. {java.util.prefs.FileSystemPreferences} 
TID: [-1] [] [2016-08-15 09:49:05,628] WARN {java.util.prefs.FileSystemPreferences} - Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. {java.util.prefs.FileSystemPreferences} 
TID: [-1] [] [2016-08-15 09:49:07,854] WARN {org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever} - Failed retrieving throttling data from remote endpoint: Connection refused. Retrying after 15 seconds... {org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever} 
TID: [-1] [] [2016-08-15 09:49:07,865] WARN {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} - Failed retrieving Blocking Conditions from remote endpoint: Connection refused. Retrying after 15 seconds... {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} 
TID: [-1] [] [2016-08-15 09:49:24,583] WARN {org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever} - Failed retrieving throttling data from remote endpoint: Connection refused. Retrying after 15 seconds... {org.wso2.carbon.apimgt.gateway.throttling.util.KeyTemplateRetriever} 
TID: [-1] [] [2016-08-15 09:49:24,593] WARN {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} - Failed retrieving Blocking Conditions from remote endpoint: Connection refused. Retrying after 15 seconds... {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} 
+0

jdkの問題のため、同様の問題が発生しました。たとえば、2つのJDKがインストールされていて、binとHOMEへのパスが適切に与えられていない場合など、それを確認できますか?あなたはJDKとは何ですか? – Bee

答えて

1

この警告が原因のJava環境サブシステムがディレクトリ/etc/.java/.systemPrefsに書き込むことができないに発生する可能性があります。 /etc/.java/.systemPrefsディレクトリがシステムに存在することを確認できますか?存在する場合は、JVMインスタンスを実行しているユーザーに対して書き込み可能ですか?そうでない場合は、許可を与えてAPIMを再起動してください。

上記がうまくいかない場合は、以下の回避策を試すこともできます。

1)JVMを実行しているユーザーがアクセスできる場所にディレクトリを作成し、次のサブストラクチャを作成します。ブロッキング条件の例外についてJavaオプション-Djava.util.prefs.systemRoot=<CREATED_DIR>/.java

0

と/.java/.systemPrefs

2)スタートWSO2 APIMサーバ

TID: [-1] [] [2016-08-19 17:33:32,455] WARN {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} - Failed retrieving Blocking Conditions from remote endpoint: Connection refused. Retrying after 15 seconds... {org.wso2.carbon.apimgt.gateway.throttling.util.BlockingConditionRetriever} 

これが唯一のクラスタ化配備[X1出版社、と私のために表示されますx1ストア、x1ゲートウェイマネージャ、x2ゲートウェイワーカー]。この問題はスタンドアロンセットアップでは現れません。

トラフィックマネージャ(tm)ノードを設定し、tmノード(https://docs.wso2.com/display/CLUSTER44x/Clustering+API+Manager+2.0.0)にゲートウェイとパブリッシャノードを指定しようとしましたが、これで問題が解決されません。

私は、Javaシステム環境設定の修正を適用した後でも、ブロッキング状態の警告に遭遇していますが、もはやUnixファイルロックの例外はないと仮定します。

関連する問題