繁体   English   中英

WSO2 ESB(4.9.0)/ MB(3.1.0)-无法连接到代理(连接被拒绝)

[英]WSO2 ESB (4.9.0) / MB (3.1.0) - Could not connect to broker (Connection refused)

我在运行Ubuntu 16.04.5 LTS的服务器上的挂载驱动器上安装了WSO2 ESB(4.9.0)和WS02 MB(3.1.0)。

ESB的API端点已配置,可以根据发布请求将接收到的数据推送到消息代理。 直到我通过典型的更新命令(即sudo apt-get updatesudo apt-get upgradesudo apt-get dist-upgrade更新服务器,然后重新启动系统为止,此过程一直正常进行。

重新引导并启动MB,然后启动ESB(均通过sh wso2server.sh手动sh wso2server.sh )后,我从ESB收到以下错误:

错误-通过工厂'QueueConnectionFactory'创建连接时,JMSConnectionFactory JMS异常无法连接到代理URL:tcp:// localhost:61616。 原因:java.net.ConnectException:连接被拒绝(连接被拒绝)

警告-JMSPollingConsumer入站JMS端点无法获得连接。

显然,这阻止了ESB向MB发送消息。 是什么原因造成的?

附带说明一下,通过非root用户帐户尝试相同的过程会导致以下错误:

错误:未正确定义JAVA_HOME。 CARBON无法执行Java

以root身份登录Message Broker日志(省略了部分):

root @ [删除]:/ mnt / wso2mb-3.1.0 / wso2mb-3.1.0 / bin#sh wso2server.sh JAVA_HOME环境变量设置为/ usr / lib / jvm / java-8-oracle CARBON_HOME环境变量设置到/mnt/wso2mb-3.1.0/wso2mb-3.1.0 Java HotSpot(TM)64位服务器VM警告:忽略选项MaxPermSize = 256m; 在8.0中删除了支持[2019-02-06 14:01:34,947] WARN {org.apache.axiom.util.stax.dialect.StAXDialectDetector}-无法在bundleresource://13.fwk1845904670上确定StAX实现的方言/ [2019-02-06 14:01:34,947]警告{org.apache.axiom.util.stax.dialect.StAXDialectDetector}-无法在bundleresource://13.fwk1845904670/ INFO {org .wso2.andes.wso2.internal.QpidBundleActivator}-在PluginManager中设置BundleContext [2019-02-06 14:01:35,921]信息{org.wso2.carbon.core.internal.CarbonCoreActivator}-启动WSO2 Carbon ... [ 2019-02-06 14:01:35,922]信息{org.wso2.carbon.core.internal.CarbonCoreActivator}-操作系统:Linux 4.4.0-141-generic,amd64 [2019-02-06 14:01:35,922 ]信息{org.wso2.carbon.core.internal.CarbonCoreActivator}-Java主页:/ usr / lib / jvm / java-8-oracle / jre [2019-02-06 14:01:35,923]信息{org.wso2 .carbon.core.internal.CarbonCoreActivator}-Java版本:1.8.0_201 [2019-02-06 14:01:35,923] IN FO {org.wso2.carbon.core.internal.CarbonCoreActivator}-Java VM:Java HotSpot(TM)64位服务器VM 25.201-b09,Oracle Corporation [2019-02-06 14:01:35,923] INFO {org。 wso2.carbon.core.internal.CarbonCoreActivator}-Carbon主页:/mnt/wso2mb-3.1.0/wso2mb-3.1.0 [2019-02-06 14:01:35,924]信息{org.wso2.carbon.core。 internal.CarbonCoreActivator}-Java临时目录:/mnt/wso2mb-3.1.0/wso2mb-3.1.0/tmp [2019-02-06 14:01:35,924]信息{org.wso2.carbon.core.internal.CarbonCoreActivator }-用户:root,en-GB,Etc / GMT [2019-02-06 14:01:36,067] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}-Carbon配置为使用默认密钥库(wso2carbon.jks)。 为了在部署到生产环境时最大程度地提高安全性,请在生产服务器配置文件中使用唯一密码配置新的密钥库。 [2019-02-06 14:01:36,073]信息{org.wso2.carbon.databridge.agent.thrift.AgentHolder}-代理已创建! [2019-02-06 14:01:36,093] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS}-成功部署了代理客户端[2019-02-06 14:01:37,935] INFO {org .wso2.carbon.registry.core.jdbc.EmbeddedRegistryService}-107毫秒内配置的注册表[2019-02-06 14:01:38,014] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}-注册表模式:读写[2019-02-06 14:01:38,078]信息{org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder}-为度量标准创建JDBC报告程序,其源为[[已编辑]],数据源为'jdbc / WSO2MetricsDB”和60秒的轮询时间段[2019-02-06 14:01:38,079] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder}-为域“ org.wso2.carbon”的度量创建JMX报告器。 metrics [[2019-02-06 14:01:38,090] INFO {org.wso2.carbon.metrics.impl.reporter.AbstractReporter}-开始用于度量标准的JDBC报告程序[2019-02-06 14:01:38,090] INFO { org.wso2.carbon.metrics.impl.reporter.AbstractReporter}-启动了用于度量标准的JMX报告器 [2019-02-06 14:01:38,327]信息{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent}-Carbon UserStoreMgtDSComponent已成功激活。 [2019-02-06 14:01:45,805]信息{org.apache.axis2.deployment.ClusterBuilder}-群集已禁用[2019-02-06 14:01:45,966]信息{org.wso2.carbon.identity .user.store.configuration.deployer.UserStoreConfigurationDeployer}-用户存储配置部署程序已启动。 [2019-02-06 14:01:45,966]信息{org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer}-用户存储配置部署程序已启动。 [2019-02-06 14:01:46,056]信息{org.apache.axis2.deployment.ModuleDeployer}-部署模块:寻址1.6.1-wso2v16-文件:/mnt/wso2mb-3.1.0/wso2mb-3.1 .0 / repository / deployment / client / modules / addressing-1.6.1-wso2v16.mar [2019-02-06 14:01:46,060] INFO {org.apache.axis2.deployment.ModuleDeployer}-部署模块:rampart- 1.6.1-wso2v10-文件:/mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/deployment/client/modules/rampart-1.6.1-wso2v10.mar [2019-02-06 14:01: 46,334] INFO {org.apache.axis2.deployment.DeploymentEngine}-部署Web服务:org.wso2.carbon.andes.admin-3.1.1-[2019-02-06 14:01:46,368] INFO {org.apache .axis2.deployment.DeploymentEngine}-部署Web服务:org.wso2.carbon.andes.event.admin-3.1.1-[2019-02-06 14:01:46,710] WARN {org.apache.axis2.description。 java2wsdl.DefaultSchemaGenerator}-我们不支持方法重载。 忽略[validateAudienceRestriction] [2019-02-06 14:01:47,285] INFO {org.apache.axis2.deployment.DeploymentEngine}-部署Web服务:org.wso2.carbon.tryit-4.4.8-[2019-02- 06 14:01:47,471] INFO {org.wso2.carbon.core.init.CarbonServerManager}-信息库:/mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/deployment/server/ [2019-02- 06 14:01:47,485] INFO {org.wso2.carbon.andes.core.internal.ds.QueueManagerServiceDS}-成功创建队列管理器服务[2019-02-06 14:01:47,489] INFO {org.wso2。 carbon.andes.core.internal.ds.SubscriptionManagerServiceDS}-成功创建了订阅管理器服务[2019-02-06 14:01:47,539] INFO {org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig}-使用租户延迟加载策略... [2019-02-06 14:01:47,549]信息{org.wso2.carbon.core.internal.permission.update.PermissionUpdater}-为租户-1234更新了权限缓存[2019-02-06 14:01:47,607]信息{org.wso2.andes.configuration.AndesConfigurationManager}-Main ande 的配置位于:/mnt/wso2mb-3.1.0/wso2mb-3.1.0/repository/conf/broker.xml [2019-02-06 14:01:47,714] INFO {org.wso2.carbon.andes.internal .QpidServiceComponent}-激活Andes Message Broker引擎... [2019-02-06 14:01:47,728]信息{org.wso2.andes.server.Broker}-使用配置启动Qpid:/mnt/wso2mb-3.1.0 /wso2mb-3.1.0/repository/conf/advanced/qpid-config.xml [2019-02-06 14:01:47,759]信息{org.wso2.andes.server.registry.ApplicationRegistry}-初始化应用程序注册表(org .wso2.andes.server.registry.ConfigurationFileApplicationRegistry @ 683c51f5)[2019-02-06 14:01:47,782]信息{org.wso2.andes.server.plugins.PluginManager}-打开的服务跟踪器[经纪人] BRK-1001:启动:版本:0.11内部版本:90784:90849 [2019-02-06 14:01:47,891]信息{org.wso2.andes.server.management.JMXManagedObjectRegistry}-使用jplatform MBean服务器初始化托管对象注册表[2019-02- 06 14:01:47,896] INFO {org.wso2.andes.server.security.auth.manager.PrincipalData baseAuthenticationManager}-PrincipalDatabase具体实现:org.wso2.carbon.andes.authentication.andes.CarbonBasedPrincipalDatabase [2019-02-06 14:01:47,900] INFO {org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager} -成功初始化PLAIN SASL提供程序[2019-02-06 14:01:47,900]信息{org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager}-其他SASL提供程序已成功注册。 [2019-02-06 14:01:47,900]信息{org.wso2.andes.server.security.auth.manager.PrincipalDatabaseAuthenticationManager}-注册UserManagementMBean [Broker] MNG-1001:启动[Broker] MNG-1004:就绪:使用平台JMX代理[2019-02-06 14:01:48,003] INFO {org.wso2.andes.store.rdbms.RDBMSConnection}-使用jndi config WSO2MBStoreDB建立的JDBC连接[2019-02-06 14:01:48,017 ] INFO {org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl}-初始化了Andes上下文存储[2019-02-06 14:01:48,017] INFO {org.wso2.andes.kernel.AndesKernelBoot}-用org初始化了AndesContextStore。 wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl [2019-02-06 14:01:48,040] INFO {org.wso2.andes.store.rdbms.RDBMSConnection}-使用jndi配置WSO2MBStoreDB建立的JDBC连接[2019-02-06 14 :01:48,067] INFO {org.wso2.andes.store.rdbms.RDBMSMessageStoreImpl}-消息存储已初始化[2019-02-06 14:01:48,067] INFO {org.wso2.andes.kernel.AndesKernelBoot}-安第斯邮件存储初始 由org.wso2.andes.store.rdbms.RDBMSMessageStoreImpl发起[2019-02-06 14:01:48,144] INFO {org.wso2.andes.kernel.Andes}-初始化了Andes API。 信息{org.wso2.carbon.core.init.JMXServerManager}-JMX服务URL:service:jmx:rmi:// localhost:11112 / jndi / rmi:// localhost:10000 / jmxrmi [2019-02-06 14: 01:49,974] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}-服务器:WSO2 Message Broker-3.1.0 [2019-02-06 14:01:49,975] INFO {org.wso2.carbon.core。 internal.StartupFinalizerServiceComponent}-WSO2 Carbon在16秒内启动[2019-02-06 14:01:50,176] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent}-Mgt控制台URL: https:// [已编辑]: 9444 / carbon / [2019-02-06 14:06:45,627] INFO {org.wso2.andes.kernel.AndesChannel}-创建的频道(ID:127.0.0.1:53018)[2019-02-06 14:06: 45,743] INFO {org.wso2.andes.subscription.SubscriptionEngine}-本地订阅已添加[[REDACTED]] ID = 0 @ [REDACTED] / [REDACTED] / T = 1549462005677 / D = true / X = false / O = null /E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1@61094da2/EUD=0/S=true [2019-02-06 14:06:46,630] INFO {org.wso2.andes .kernel.AndesChannel}-创建频道 (ID:127.0.0.1:53022)[2019-02-06 14:06:46,663] INFO {org.wso2.andes.subscription.SubscriptionEngine}-本地订阅已添加[[REDACTED]] ID = 1 @ [REDACTED] / [删除] /T=1549462006662/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1@61094da2/EUD=0/S=true [2019-02-06 14:06:47,636] INFO {org.wso2.andes.kernel.AndesChannel}-创建的频道(ID:127.0.0.1:53026)[2019-02-06 14:06:48,677] INFO { org.wso2.andes.kernel.AndesChannel}-创建频道(ID:127.0.0.1:53030)[2019-02-06 14:06:49,678] INFO {org.wso2.andes.kernel.AndesChannel}-创建频道( ID:127.0.0.1:53034)[2019-02-06 14:06:49,691] INFO {org.wso2.andes.subscription.SubscriptionEngine}-本地订阅已添加[[REDACTED]] ID = 4 @ [REDACTED] / [已删除] /T=1549462009690/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1@61094da2/EUD=0/S=true [ 2019-02-06 14:06:50,689] INFO {org.wso2.andes.kernel.AndesChannel}-创建的频道(ID:127.0.0.1:53040)[2019 -02-06 14:06:50,762]信息{org.wso2.andes.subscription.SubscriptionEngine}-本地订阅已添加[[删除]] ID = 5 @ [删除] / [删除] / T = 1549462010761 / D = false /X=true/O=clientID/E=amq.topic/ET=org.wso2.andes.server.exchange.TopicExchange$1@74034026/EUD=0/S=true [2019-02-06 14:06:51,719 ] INFO {org.wso2.andes.kernel.AndesChannel}-创建的频道(ID:127.0.0.1:53044)[2019-02-06 14:06:52,739] INFO {org.wso2.andes.kernel.AndesChannel}-创建渠道(ID:127.0.0.1:53048)[2019-02-06 14:06:53,784] INFO {org.wso2.andes.kernel.AndesChannel}-创建渠道(ID:127.0.0.1:53052)[2019- 02-06 14:06:54,771] INFO {org.wso2.andes.kernel.AndesChannel}-创建频道(ID:127.0.0.1:53056)[2019-02-06 14:06:54,784] INFO {org.wso2 .andes.subscription.SubscriptionEngine}-本地订阅添加了[[REDACTED]] ID = 9 @ [REDACTED] / [REDACTED] /T=1549462014782/D=true/X=false/O=null/E=amq.direct/ ET=org.wso2.andes.server.exchange.DirectExchange$1@61094da2/EUD=0/S=true

以root身份登录ESB(省略部分):

root @ [已编辑]:/ mnt / wso2esb-4.9.0 / wso2esb-4.9.0 / bin#sh wso2server.sh JAVA_HOME环境变量设置为/ usr / lib / jvm / java-8-oracle CARBON_HOME环境变量设置到/mnt/wso2esb-4.9.0/wso2esb-4.9.0 Java HotSpot(TM)64位服务器VM警告:忽略选项MaxPermSize = 256m; 在8.0中删除了支持[2019-02-06 14:06:27,453] INFO-CarbonCoreActivator启动WSO2 Carbon ... [2019-02-06 14:06:27,458] INFO-CarbonCoreActivator操作系统:Linux 4.4.0-141 -generic,amd64 [2019-02-06 14:06:27,458] INFO-CarbonCoreActivator Java主页:/ usr / lib / jvm / java-8-oracle / jre [2019-02-06 14:06:27,459] INFO- CarbonCoreActivator Java版本:1.8.0_201 [2019-02-06 14:06:27,459]信息-CarbonCoreActivator Java VM:Java HotSpot(TM)64位服务器VM 25.201-b09,Oracle Corporation [2019-02-06 14:06 :27,459] INFO-CarbonCoreActivator Carbon主页:/mnt/wso2esb-4.9.0/wso2esb-4.9.0 [2019-02-06 14:06:27,459] INFO-CarbonCoreActivator Java Temp Dir:/mnt/wso2esb-4.9.0 /wso2esb-4.9.0/tmp [2019-02-06 14:06:27,460]信息-CarbonCoreActivator用户:root,en-GB,Etc / GMT [2019-02-06 14:06:27,629]警告-ValidationResultPrinter Carbon配置为使用默认密钥库(wso2carbon.jks)。 为了在部署到生产环境时最大程度地提高安全性,请在生产服务器配置文件中使用唯一密码配置新的密钥库。 [2019-02-06 14:06:27,639]信息-AgentHolder代理已创建! [2019-02-06 14:06:27,671] INFO-AgentDS成功部署了代理客户端[2019-02-06 14:06:30,171] INFO-EmbeddedRegistryService配置注册表的时间为81ms [2019-02-06 14:06:30,221] INFO-RegistryCoreServiceComponent注册表模式:READ-WRITE [2019-02-06 14:06:32,887] INFO-SolrClient默认初始化的嵌入式Solr Server [2019-02-06 14:06:33,288] INFO-UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent已成功激活。 [2019-02-06 14:06:40,096]信息-已跳过TaglibUriRule TLD。 URI: http ://tiles.apache.org/tags-tiles已经定义[2019-02-06 14:06:40,764] INFO-ClusterBuilder群集已禁用[2019-02-06 14:06:40,926] INFO -UserStoreConfigurationDeployer已启动用户存储配置部署程序。 [2019-02-06 14:06:40,926]信息-UserStoreConfigurationDeployer用户存储配置部署程序已启动。 [2019-02-06 14:06:40,949] INFO-JMSSender JMS Sender已启动[2019-02-06 14:06:40,951] INFO-JMSSender JMS Transport Sender已初始化... [2019-02-06 14:06: 40,951]信息-PassThroughHttpSender初始化直通HTTP / S发送器... [2019-02-06 14:06:40,996]信息-PassThroughHttpSender直通HTTP发送器开始... [2019-02-06 14:06: 40,997] INFO-PassThroughHttpSSLSender初始化传递HTTP / S发送器... [2019-02-06 14:06:41,002] INFO-ClientConnFactoryBuilder HTTPS正在从以下位置加载身份密钥库:repository / resources / security / wso2carbon.jks [2019-02-02 -06 14:06:41,007]信息-ClientConnFactoryBuilder HTTPS从以下位置加载信任密钥库:资源库/资源/安全性/客户端信任库.jks [2019-02-06 14:06:41,010]信息-PassThroughHttpSSLSender传递HTTPS发送器已启动。 .. [2019-02-06 14:06:41,060]信息-JMSConnectionFactory JMS ConnectionFactory:myTopicConnectionFactory已初始化[2019-02-06 14:06:41,061]信息-JMSConnectionFactory JMS ConnectionFac tory:默认初始化[2019-02-06 14:06:41,062] INFO-JMSConnectionFactory JMS ConnectionFactory:myQueueConnectionFactory已初始化[2019-02-06 14:06:41,062] INFO-JMSListener JMS传输接收器/侦听器已初始化... [2019 -02-06 14:06:41,063]信息-PassThroughHttpListener初始化通过HTTP / S侦听器... [2019-02-06 14:06:41,095]信息-PassThroughHttpSSLListener初始化通过HTTP / S侦听器... [2019-02-06 14:06:41,175]信息-ModuleDeployer部署模块:寻址1.6.1-wso2v14-文件:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/client/modules /addressing-1.6.1-wso2v14.mar [2019-02-06 14:06:41,178]信息-ModuleDeployer部署模块:rampart-1.6.1-wso2v12-文件:/mnt/wso2esb-4.9.0/wso2esb-4.9 .0 / repository / deployment / client / modules / rampart-1.6.1-wso2v12.mar [2019-02-06 14:06:42,074]警告-DefaultSchemaGenerator我们不支持方法重载。 忽略[validateAudienceRestriction] [2019-02-06 14:06:42,356] INFO-DeploymentEngine部署Web服务:org.wso2.carbon.message.processor-4.4.10-[2019-02-06 14:06:42,366] INFO -DeploymentEngine部署Web服务:org.wso2.carbon.message.store-4.4.10-[2019-02-06 14:06:42,961]信息-DeploymentInterceptor部署Axis2服务:wso2carbon-sts {super-tenant} [2019- 02-06 14:06:42,983] INFO-DeploymentEngine部署Web服务:org.wso2.carbon.sts-4.5.6-[2019-02-06 14:06:43,089] INFO-DeploymentEngine部署Web服务:org.wso2 .carbon.tryit-4.4.7-[2019-02-06 14:06:43,308]信息-CarbonServerManager存储库:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/server/ [2019- 02-06 14:06:43,442] INFO-TenantLoadingConfig使用租户延迟加载策略... [2019-02-06 14:06:43,453] INFO-PermissionUpdater为租户-1234更新的权限缓存[2019-02-06 14: 06:43,511]信息-RuleEngineConfigDS成功注册了Rule Config服务[2019-02 -06 14:06:43,550] INFO-ServiceBusInitializer启动ESB ... [2019-02-06 14:06:43,564] INFO-ServiceBusInitializer初始化Apache Synapse ... [2019-02-06 14:06:43,571] INFO -使用Synapse主页的SynapseControllerFactory:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/。 [2019-02-06 14:06:43,573]信息-使用synapse.xml位置的SynapseControllerFactory:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/././repository/deployment/server/synapse-configs/默认[2019-02-06 14:06:43,573] INFO-SynapseControllerFactory使用服务器名称:localhost [2019-02-06 14:06:43,580] INFO-SynapseControllerFactory超时处理程序将每隔15秒运行一次[2019-02-06 14:06:43,594] INFO-Axis2SynapseController在以下日期初始化Synapse:周三2月06 14:06:43 GMT 2019 [2019-02-06 14:06:43,605] INFO-CarbonSynapseController从文件系统加载中介配置[2019-02 -06 14:06:43,608] INFO-MultiXMLConfigurationBuilder从位于以下位置的... /。repository / deployment / server / synapse-configs / default的synapse工件存储库构建突触配置[2019-02-06 14:06:43,613] INFO- XMLConfigurationBuilder通过解析XML配置生成Synapse配置模型[2019-02-06 14:06:43,735]信息-MessageStoreFactory成功添加了消息存储 的配置:[JMSMS]。 [2019-02-06 14:06:43,737]信息-MessageStoreFactory成功添加了[WSO2MS]的消息存储配置。 [2019-02-06 14:06:43,752]信息-SynapseConfigurationBuilder从以下位置的工件存储库加载了Synapse配置:././repository/deployment/server/synapse-configs/default [2019-02-06 14:06:43,756 ] INFO-Axis2SynapseController加载中介扩展... [2019-02-06 14:06:43,764] INFO-DeploymentInterceptor部署Axis2服务:echo {super-tenant} [2019-02-06 14:06:43,765] INFO-DeploymentEngine部署Web服务:Echo.aar-文件​​:/mnt/wso2esb-4.9.0/wso2esb-4.9.0/repository/deployment/server/axis2services/Echo.aar [2019-02-06 14:06:43,774]信息- DeploymentInterceptor部署Axis2服务:版本{super-tenant} [2019-02-06 14:06:43,775] INFO-DeploymentEngine部署Web服务:Version.aar-文件​​:/mnt/wso2esb-4.9.0/wso2esb-4.9.0 /repository/deployment/server/axis2services/Version.aar [2019-02-06 14:06:43,775] INFO-Axis2SynapseController部署Synapse服务... [2019-02-06 14:06:43,777] INFO-Axis2SynapseController部署代理服务... [2 019-02-06 14:06:56,493]信息-JMXServerManager JMX服务URL:service:jmx:rmi:// localhost:11111 / jndi / rmi:// localhost:9999 / jmxrmi [2019-02-06 14:06 :56,500] INFO-StartupFinalizerServiceComponent服务器:WSO2企业服务总线4.9.0 [2019-02-06 14:06:56,502] INFO-StartupFinalizerServiceComponent WSO2 Carbon在33秒内启动[2019-02-06 14:06:56,729] INFO -CarbonUIServiceComponent管理控制台URL: https:// [已编辑]:9443 / carbon / [2019-02-06 14:06:57,206]错误-通过工厂'QueueConnectionFactory'创建连接时,JMSConnectionFactory JMS异常无法连接至代理URL: TCP://本地主机:61616。 原因:java.net.ConnectException:连接被拒绝(连接被拒绝)[2019-02-06 14:06:57,207]警告-JMSPollingConsumer入站JMS端点无法获得连接。

由于您的入站端点尝试连接到ActiveMQ,因此发生以下错误。 ActiveMQ的默认端口为61616。

[2019-02-06 14:06:57,206] ERROR - JMSConnectionFactory JMS Exception while creating connection through factory 'QueueConnectionFactory' Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused (Connection refused) 
[2019-02-06 14:06:57,207] WARN - JMSPollingConsumer Inbound JMS endpoint unable to get a connection.

我不确定服务器更新后如何更改它。 无论如何,您应该能够通过以下文档[1]更改入站端点配置以使其与WSO2 MB 3.1.0一起使用。

由于root用户而导致的以下错误无法访问JAVA_HOME。 我的意思是您设置为JAVA_HOME的环境变量对root用户不可见。

Error: JAVA_HOME is not defined correctly. CARBON cannot execute java

希望以上信息将有助于解决问题。

[1] https://docs.wso2.com/display/ESB490/Configuring+the+JMS+Inbound+Protocol+with+WSO2+Message+Broker

干杯!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM