簡體   English   中英

錯誤[oracle.adfmf.framework.exception.AdfException]-連接被拒絕(連接被拒絕)

[英]ERROR [oracle.adfmf.framework.exception.AdfException] - Connection refused (Connection refused)

啟動我的應用程序時出現錯誤。
我試圖從WS獲取數據,但是卻得到了這個:

在此處輸入圖片說明

這是單擊按鈕獲取數據時的日志:

D/Proxy Selector(31153): >>> Java_com_oracle_net_ProxySelectorImpl_getProxyForURL0

D/Proxy Selector(31153): >>> Call getProxyForURL

D/Proxy Selector(31153): >>> initDalvikPointers: 0x60d7ee31 0x60d7ee49 0x60d84030 0x60d8402c

D/Proxy Selector(31153): >>> attachCurrentThreadToDalvik: Attach returned JNIEnv=0x0x69167984

I/System.out(31153): DalvikProxySelector.getProxyForURL(): No proxy found

D/Proxy Selector(31153): >>> detachCurrentThreadFromDalvik: Detach current thread from dalvik VM

D/Proxy Selector(31153): proxy not found!

D/JVM     (31153): [SEVERE - oracle.adfmf.framework - RestTransportLayer - readResponse] Exception lors de la lecture de la réponse : java.io.IOException

D/JVM     (31153): java.lang.reflect.InvocationTargetException

D/JVM     (31153):  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

D/JVM     (31153):  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

D/JVM     (31153):  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

D/JVM     (31153):  at java.lang.reflect.Method.invoke(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.framework.contract.adf.application.GenericInvokeRequestHandler.invoke(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.framework.contract.adf.application.EmbeddedGenericInvokeRequestHandler.invoke(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.framework.contract.adf.application.GenericInvokeRequestHandler.invoke(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.framework.contract.adf.application.GenericInvokeRequestHandler.process(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.framework.FeatureContext.handle(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.framework.AdfChannel.handle(Unknown Source)

D/JVM     (31153):  at com.oracle.vm.channel.impl.VMChannelImpl.run(Unknown Source)

D/JVM     (31153):  at java.lang.Thread.run(Unknown Source)

D/JVM     (31153): Caused by: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - Connection refused (Connection refused)

D/JVM     (31153):  at oracle.adfmf.dc.ws.rest.RestWebServiceOperation.invoke(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.dc.JavaBeanOperation.lambda$execute$4(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.util.MonitorUtil.monitorFunction(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.dc.JavaBeanOperation.execute(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.invokeOperation(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.bindings.dbf.AmxMethodActionBinding.lambda$execute$10(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.util.MonitorUtil.monitorFunction(Unknown Source)

D/JVM     (31153): 

D/JVM     (31153):  at oracle.adfmf.bindings.dbf.AmxMethodActionBinding.execute(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.bindings.dbf.AmxMethodActionBinding.execute(Unknown Source)

D/JVM     (31153):  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

D/JVM     (31153):  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

D/JVM     (31153):  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

D/JVM     (31153):  at java.lang.reflect.Method.invoke(Unknown Source)

D/JVM     (31153):  at de.odysseus.el.tree.impl.ast.AstProperty.invoke(Unknown Source)

D/JVM     (31153):  at de.odysseus.el.tree.impl.ast.AstEval.invoke(Unknown Source)

D/JVM     (31153):  at de.odysseus.el.TreeMethodExpression.invoke(Unknown Source)

D/JVM     (31153):  at oracle.maf.api.amx.taghandler.UITagHandler._invokeListenerMethod(Unknown Source)

D/JVM     (31153):  at oracle.maf.api.amx.taghandler.UITagHandler.handleAmxEvent(Unknown Source)

D/JVM     (31153):  at oracle.maf.impl.amx.Dispatch.processAmxEvent(Unknown Source)

D/JVM     (31153):  ... 12 more

D/JVM     (31153): Caused by: ERROR [oracle.adfmf.framework.exception.AdfException] - Connection refused (Connection refused)

D/JVM     (31153):  at oracle.adfmf.dc.ws.rest.RestTransportLayer.sendReceiveBytes(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.dc.ws.rest.RestWebServiceOperation.invokeHttpRequestRaw(Unknown Source)

D/JVM     (31153):  ... 31 more

D/JVM     (31153): Caused by: java.io.IOException: Connection refused (Connection refused)

D/JVM     (31153):  at oracle.microedition.io.HttpConnectionImpl.getResponseCode(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.dc.ws.rest.RestTransportLayer.getInputStream(Unknown Source)

D/JVM     (31153):  at oracle.adfmf.dc.ws.rest.RestTransportLayer.readResponse(Unknown Source)

D/JVM     (31153):  ... 33 more

D/JVM     (31153): [SEVERE - oracle.adfmf.framework - GenericInvokeRequestHandler - invoke] InvocationTargetException Erreur : oracle.adfmf.framework.exception.AdfInvocationRuntimeException

D/JVM     (31153): [SEVERE - oracle.adfmf.framework - GenericInvokeRequestHandler - process] Exception AdfException de processus détectée : oracle.adfmf.framework.exception.AdfInvocationRuntimeException

I/System.out(31153): [SEVERE - oracle.adfmf.framework - ADFMobileShell - invokeJavaMethod] Exception : ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - Connection refused (Connection refused)

I/System.out(31153): [SEVERE - oracle.adfmf.framework - adf.mf.internal - logError] Une erreur est survenue au cours de la demande.

應該是評論未回答,但我還沒有50rep。

我假設您在PC上運行WS,而應用程序在同一本地網絡/ WiFi中的真實android設備上。 首先嘗試在設備上的網絡瀏覽器中訪問資源(例如/ rest / employees)。 如果也拒絕連接,請檢查PC上的防火牆是否沒有阻止訪問。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM