
Questions: 23,724 //
Answers: 52,294 //
Contributing Members: 17,991
Hello,
I try run apps, the error appear when add JMS connector. ¿Why, I have the error?
The error was:
********************************************************************** ERROR 2015-10-26 17:19:26,967 [main] org.mule.module.launcher.DefaultArchiveDeployer: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Failed to deploy artifact 'apstart', see below + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ org.mule.module.launcher.DeploymentStartException: ConnectException: Connection refused: connect %|2020813574_1|% %|619142242_2|% %|-375899881_3|% %|-1607205877_2|% %|-1486325437_3|% %|336752424_4|% %|2123371964_7|% %|-1906927415_5|% %|-2055181930_6|% %|238599870_10|% %|-1359653404_11|% %|-666191446_7|% %|1882802475_13|% %|-1568221694_8|% %|-1346857336_15|% Caused by: org.mule.retry.RetryPolicyExhaustedException: Could not connect to broker URL: tcp://localhost:61111. Reason: java.net.ConnectException: Connection refused: co nnect %|1021225276_9|% %|834048202_17|% %|2077782187_10|% %|-81318621_19|% %|-669047033_20|% %|941253620_21|% %|11505607_22|% %|518179810_1|% %|-1624287727_24|% %|-1240387361_25|% %|-608297749_12|% %|931332715_13|% %|-1993787789_14|% %|-376127479_29|% %|1093016935_15|% %|755991833_16|% %|381563454_32|% %|1897196121_33|% %|1030286107_17|% %|506727212_18|% %|-1091595779_19|% %|-384476050_2|% Caused by: javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61111. Reason: java.net.ConnectException: Connection refused: connect %|1509160937_21|% %|1692826245_22|% %|-847903840_40|% %|1244324967_23|% %|-991137590_42|% %|-451647755_43|% %|1404912644_44|% %|-1451292203_24|% %|1557259956_25|% %|2016267947_47|% %|-1702040839_48|% %|716859522_49|% %|-55407317_26|% %|-1904596679_51|% %|-2089086989_27|% %|364236791_53|% %|1926903672_54|% %|-2142422155_55|% %|1781765924_28|% %|1784564792_29|% %|1311838115_30|% %|-1257008605_59|% %|-382767372_60|% %|-1934872170_61|% %|990710074_31|% %|205859301_32|% %|-1970994783_64|% %|-228018232_65|% %|-1545537542_33|% %|161542746_34|% %|-1483366747_35|% %|-1444929124_36|% %|-1577831829_37|% %|-1586227462_38|% %|598658298_72|% Caused by: java.net.ConnectException: Connection refused: connect %|345260203_73|% %|1410008700_74|% %|-269512266_75|% %|-535659905_76|% %|909008179_39|% %|-1988479890_40|% %|-259114680_41|% %|72031998_42|% %|1511630571_81|% %|637735404_82|% %|-1097499272_43|% %|-1079479204_84|% %|-1012141614_44|% %|408097535_86|% %|-1376018881_45|% %|-1245245560_46|% %|1615908440_89|% %|2013244124_90|% %|1292967144_47|% %|-1476832583_92|% %|2023255997_93|% %|554908809_48|% %|-2100401193_49|% %|62943373_96|% %|1967929067_97|% %|-189735311_50|% %|1804376312_99|% %|-1420869862_100|% %|2083790748_101|% %|-784087054_102|% %|-2017055887_103|% %|1349928789_51|% %|-2091197124_105|% %|1133440971_52|% %|715142288_53|% %|-1802628360_108|% %|1170701261_109|% %|1319680346_110|% %|37246110_111|% %|-1240884006_112|% %|2086943905_54|% %|-1401037888_114|% %|1138267317_55|% %|1760944704_116|% %|376644546_56|% %|-490508215_57|% %|-2135410487_119|% %|-798215775_58|% %|1483693865_59|% INFO 2015-10-26 17:19:26,970 [main] org.mule.module.launcher.DeploymentDirectoryWatcher: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Mule is up and kicking (every 5000ms) + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2015-10-26 17:19:26,980 [main] org.mule.module.launcher.StartupSummaryDeploymentListener: ********************************************************************** * - - + DOMAIN + - - * - - + STATUS + - - * ********************************************************************** * default * DEPLOYED * ********************************************************************** ******************************************************************************************************* * - - + APPLICATION + - - * - - + DOMAIN + - - * - - + STATUS + - - * ******************************************************************************************************* * apstart * default * FAILED * *******************************************************************************************************
Thank you
Make sure, Could not connect to broker URL: tcp://localhost:61111 , JMS server is running and listening in that port.
Oct 28, 2015 at 01:34 PM, gopale answered with:
@Claudia,
Please replace all references to localhost
with mu.mulesoft-training.com
in most of your instrictions. For eg: replace http://localhost:8111/admin
with http://mu.mulesoft-training.com/admin/
.
Note: These URLs should be in your APEssentails_snippets.txt file as well (which is in your Student Materials zip file)
Hope that helps,
-gopal
Oct 26, 2015 at 04:44 PM, gopale answered with:
@Cloudia,
As Mailini mentioned, you could be pointing to your ActveMQ server tcp://localhost:61111
(because the that's the default it points to). So, try changing that in JMS Connector Configuration by pointing that to tcp://54.69.115.37:61616
instead. Test it again, let us know how it goes.
-gopal
@Claudia Hi I was facing the same issue. Where exactly in JMS connector configuration I need to mention this apart from the entry I have added in property placeholder.?
Oct 28, 2015 at 09:27 AM, cmvelasquezr answered with:
Thank you, this is ok. Other question, in the video writes: http://localhost:8112/jms url ¿Which is correct url for us?
If you are undergoing training modules, please use ,
Oct 28, 2015 at 09:38 AM, cmvelasquezr answered with:
And ¿Which is correct url for us with localhost:8111/admin?
No. Use the above one as the server running in Mule cloud.
Sep 19, 2016 at 11:19 AM, aatalwar answered with:
Hi I was facing the same issue. Where exactly in JMS connector configuration I need to mention this apart from the entry I have added in property placeholder.?
JMS Server IP is changed. See here: https://forums.mulesoft.com/questions/46003/update-activemq-ip-address-has-changed.html
-gopal
Sep 21, 2016 at 05:16 AM, dcdivya84 answered with:
Hi Akhil,
You can configure activemq in jms connector configuration.
Click on the button beside "+" where you can edit the connection details like url, username and password.