javax.naming.CommunicationException:无法连接到任何服务器。服务器尝试过:[http-远程处理:

时间:2019-07-16 13:43:04

标签: amazon-ec2 jboss

我们正在尝试在码头上运行一个应用程序 在应用程序的aplication.properties中,我们配置了:

java.naming,provider.url=http-remoting//ec2 application url

运行应用程序后,当它尝试连接到此提供程序URL时,我们将收到以下错误消息:

17:38:29.728 [qtp309271464-20] ERROR ALERT.com.some.proj - code="PROJ-RUNTIME-A-1003: JTC-001,Failed to send message to App via JMS",(“possibleReason="unable to connect",rootCause="Failed to connect to any server. Servers tried: [http-remoting://ec2 url (java.net.BindException: Cannot assign requested address: connect)]",exception="Failed to connect to any server. Servers tried: [http-remoting://ec2 url (java.net.BindException: Cannot assign requested address: connect)]"
javax.naming.CommunicationException: Failed to connect to any server. Servers tried: [http-remoting://ec2 url (java.net.BindException: Cannot assign requested address: connect)]
    at org.jboss.naming.remote.client.HaRemoteNamingStore.failOverSequence(HaRemoteNamingStore.java:244) ~[jboss-remote-naming-2.0.4.Final.jar:2.0.4.Final]
    at org.jboss.naming.remote.client.HaRemoteNamingStore.namingStore(HaRemoteNamingStore.java:149) ~[jboss-remote-naming-2.0.4.Final.jar:2.0.4.Final]
    at org.jboss.naming.remote.client.HaRemoteNamingStore.namingOperation(HaRemoteNamingStore.java:130) ~[jboss-remote-naming-2.0.4.Final.jar:2.0.4.Final]
    at org.jboss.naming.remote.client.HaRemoteNamingStore.lookup(HaRemoteNamingStore.java:272) ~[jboss-remote-naming-2.0.4.Final.jar:2.0.4.Final]
    at org.jboss.naming.remote.client.RemoteContext.lookupInternal(RemoteContext.java:104) ~[jboss-remote-naming-2.0.4.Final.jar:2.0.4.Final]

0 个答案:

没有答案