Hello everybody!
I need to send JMS messages from Appian On-Premise installation with JBoss app server on one machine to external JMS queue on another machine, but having the following error while trying to do that:
Failed to connect to any server. Servers tried: [remote://x.x.x.x:7002 (Operation failed with status WAITING after 5000 MILLISECONDS)]
I'm using the JMS Queue plugin (https://community.appian.com/b/appmarket/posts/jms-queue---send-and-receive) and have the following configuration options provided for my Send Message to JMS Queue node:
Connection Factory Name: "jms/AppianProcessIntegrationConnectionFactory"Correlation Id: <empty>Destination: "xmlcall-tpa"Message: <some valid XML>Property Names: <empty>Property Values: <empty>Provider URL: "remote://x.x.x.x:7002" (x.x.x.x is a real IP address)Scs External System Key: <scs-key name which I configured with 2 keys and values: principal and credential>Use Per User Credentials: false
I have also read this article https://community.appian.com/w/the-appian-playbook/148/integrating-using-jms , but this didn't help me to fix the issue I'm facing.
Could anyone help me to identify the issue and fix it?
Discussion posts and replies are publicly visible
Log snippet (I masked IP address as x.x.x.x):
jboss | 13:02:40,187 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) javax.naming.CommunicationException: Failed to connect to any server. Servers tried: [remote://x.x.x.x:7002 (Operation failed with status WAITING after 5000 MILLISECONDS)] [Root exception is java.net.ConnectException: Operation failed with status WAITING after 5000 MILLISECONDS]jboss | 13:02:40,191 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.HaRemoteNamingStore.failOverSequence(HaRemoteNamingStore.java:239)jboss | 13:02:40,191 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.HaRemoteNamingStore.namingStore(HaRemoteNamingStore.java:149)jboss | 13:02:40,191 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.HaRemoteNamingStore.namingOperation(HaRemoteNamingStore.java:130)jboss | 13:02:40,191 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.HaRemoteNamingStore.lookup(HaRemoteNamingStore.java:271)jboss | 13:02:40,192 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.RemoteContext.lookupInternal(RemoteContext.java:104)jboss | 13:02:40,192 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:93)jboss | 13:02:40,192 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:146)jboss | 13:02:40,192 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at javax.naming.InitialContext.lookup(InitialContext.java:417)jboss | 13:02:40,192 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at javax.naming.InitialContext.lookup(InitialContext.java:417)jboss | 13:02:40,193 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.ps.jmsqueue.SendMessageToJmsQueue.run(SendMessageToJmsQueue.java:68)jboss | 13:02:40,193 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.lambda$call$0(DefaultActivityExecutor.java:131)jboss | 13:02:40,193 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.plugins.PluginUsageLogger.runWithPluginInformation(PluginUsageLogger.java:52)jboss | 13:02:40,193 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:131)jboss | 13:02:40,193 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:125)jboss | 13:02:40,193 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)jboss | 13:02:40,194 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:125)jboss | 13:02:40,194 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:83)jboss | 13:02:40,194 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)jboss | 13:02:40,194 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.ContinuationRequest.executeOuter(ContinuationRequest.java:71)jboss | 13:02:40,194 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:100)jboss | 13:02:40,194 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:35)jboss | 13:02:40,194 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:59)jboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:239)jboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)jboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)jboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at java.lang.Thread.run(Thread.java:748)jboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) Caused by: java.net.ConnectException: Operation failed with status WAITING after 5000 MILLISECONDSjboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.protocol.IoFutureHelper.get(IoFutureHelper.java:97)jboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) at org.jboss.naming.remote.client.HaRemoteNamingStore.failOverSequence(HaRemoteNamingStore.java:198)jboss | 13:02:40,195 INFO [stdout] (Appian Work Item - 1 - execution02 : UnattendedJavaActivityRequest) ... 25 more