2

開発者サイト ( Creating First Hybrid Application )の基本的な例に従おうとしましたが、開発サーバーを正常に起動できませんでした。

Eclipse 用の MobileFirst Studio プラグイン 7.0、Java 1.7 で Eclipse Luna を使用し、Mac OS 10.9.5 で実行しています。

Worklight サーバーを起動するとロードが開始されますが、20% (多かれ少なかれ) でプロセスが停止し、最終的に Eclipse の MobileFirst コンソールに次のエラーが表示されます。

[2015-04-17 13:18:44] Starting build process: application 'Test', all environments 
[2015-04-17 13:18:51] Application 'Test' with all environments build finished.
[2015-04-17 13:18:51] Deploying application 'Test' with all environments to MobileFirst Server... 
[2015-04-17 13:20:28] Failed to deploy application 'Test' to MobileFirst Server: : Socket operation timed out before it could be completed 

サーバーのコンソール出力は次のとおりです。

objc[60261]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Listening for transport dt_socket at address: 10777
Launching worklight (WebSphere Application Server 8.5.5.4/wlp-1.0.7.cl50420141121-1414) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_71-b14 (en_US)
[AUDIT   ] CWWKE0001I: The server worklight has been launched.
[AUDIT   ] CWWKZ0058I: Monitoring dropins for applications. 
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://192.168.2.1:10080/_MobileBrowserSimulator/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://192.168.2.1:10080/analytics/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://192.168.2.1:10080/IBMJMXConnectorREST/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://192.168.2.1:10080/Test/
[AUDIT   ] CWWKZ0001I: Application _MobileBrowserSimulator started in 1.047 seconds.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:/Users/jorgemorales/Developement/mobilefirstWorkspace/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://192.168.2.1:10080/analytics-service/
[AUDIT   ] CWWKZ0001I: Application AnalyticsUI started in 5.124 seconds.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://192.168.2.1:10080/worklightconsole/
[AUDIT   ] CWWKZ0001I: Application WorklightConsole started in 6.248 seconds.
[AUDIT   ] CWWKZ0001I: Application Test started in 6.466 seconds.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://192.168.2.1:10080/worklightadmin/
[WARNING ] CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[AUDIT   ] CWWKZ0001I: Application AnalyticsServices started in 13.256 seconds.
[AUDIT   ] CWWKZ0001I: Application WorklightServices started in 14.172 seconds.
[AUDIT   ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[ERROR   ] FWLSE3000E: A server error was detected.
Socket operation timed out before it could be completed

注釈として、別の JVM (1.6) を使用して JavaLauncherHelper に関する警告を解決できましたが、メインのエラーが続くため、元の JVM (1.7) に戻りました。

これは誰かに起こったことがありますか?このエラーに関する詳細情報を入手できる場所を知っている人はいますか? このサイトと IBM フォーラムで検索しています。

4

1 に答える 1

1

Java エラーは既知であり、Java と Mac の間にあります。MobileFirst Platform とは何の関係もありません。

本当の問題は、ソケットのタイムアウトです。

ソケット操作が完了する前にタイムアウトしました

試すこと:

  • Java 7 をJava 7 (8 ではない)の最新の公開ビルドに更新してから、再試行してください。
  • Java プロセスを強制終了してから、再試行してください
  • 複数の IP アドレスを持っていないことを確認してください (ifconfig 経由)。Eclipse でアドレスをバインド > サーバー ビュー > 「MobileFirst Development Server」をダブルクリックし、ホスト値を変更します。
于 2015-04-17T18:44:27.540 に答える