1
我收到以下錯誤。我不知道爲什麼有些servlet在啓動時需要ActiveMQ服務。我還沒有完成代碼。我現在已經啓動了ActiveMQ服務。我希望在下次部署時不會出現錯誤。 Apache的JBWEB000289部署時出現JBoss錯誤
說
我已經發布了一個答案如何安裝&啓動Apache ActiveMQ的服務....
12:01:37,320 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/aggt]] (ServerService Thread Pool -- 119) JBWEB000289: Servlet aggregatormo threw load() exception: javax.servlet.ServletException: Initialise MO Consumer Failed : <Could not connect to broker URL: tcp://localhost:61615. Reason: java.net.ConnectException: Connection refused: connect>
at com.singtel.pcb.aggregator.servlet.AggregatorMOServlet.init(AggregatorMOServlet.java:79) [classes:]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3593) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3802) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.8.0_45]
at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.8.0_45]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)