繁体   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