我在mobilefirst 7.1 web移動應用程序和Liberty服務器中工作,我的應用程序在我的開發服務器中正常工作,但是當iive部署指向我的遠程服務器的同一應用程序時IP不是域),但該應用程序給我一個403錯誤。我的適配器有一個移動Web應用程序中的Mobilefirst 7.1適配器調用失敗
securityTest="wl_unprotected"
如果我直接運行我的適配器作爲休息服務從他的url直接運行正常。
客戶端日誌
Request [/worklight/apps/services/api/TestConexion/mobilewebapp/query]
worklight.js:5349 Application details header: {"applicationDetails":{"platformVersion":"7.1.0.0","nativeVersion":""}}WL.Logger.__log @ worklight.js:5349
http://xxx.xxx.xx.xx:xxxx/worklight/apps/services/api/TestConexion/mobilewebapp/query Failed to load resource: the server responded with a status of 403 (Forbidden)
服務器日誌:
[11/4/15 11:41:16:877 ART] 0000006e com.ibm.ws.webcontainer.extension W SRVE0190E: File not found: /201509231601/login/nls/redirection.js
多個日誌
Cannot find application environment, application=TestConexion, version=null, environment=mobilewebapp
Error code: 1, error description: INTERNAL_ERROR, error message: FWLSE0062E: An internal error occurred during browser request. [project worklight]Cannot find application environment, application=TestConexion, version=null, environment=mobilewebapp, User Identity {wl_directUpdateRealm=null, SubscribeServlet=null, wl_authenticityRealm=null, AuthRealm=null, wl_remoteDisableRealm=null, SampleAppRealm=null, wl_antiXSRFRealm=null, wl_deviceAutoProvisioningRealm=null, wl_deviceNoProvisioningRealm=null, FarmalinkRealm=null, WASLTPARealm=null, wl_anonymousUserRealm=null}. [project worklight]
和獨立模式的錯誤:
FWLSE0373W: Deployment of application 'TestConexion': The server is running in session independent mode, which the environment 'mobilewebapp' does not support.
有什麼想法?
我們可以在問題出現的時候看到設備日誌和服務器日誌嗎?將應用程序部署到遠程服務器時,是否爲遠程服務器重新構建應用程序(使用正確的服務器詳細信息和上下文根)? – patbarron
IVE只需添加一些日誌後 – user2449016