WSO2 APIM Analytics服务器设置问题

时间:2018-05-08 10:30:40

标签: wso2 wso2-am

为了为API-Manager设置分析服务器,我按照与以下wso2文档中指定的步骤完全相同的步骤进行操作。 https://docs.wso2.com/display/AM220/Configuring+APIM+Analytics

但是,在运行API-M和API-Analytic实例时,我遇到了以下问题。

  

WSO2 API-M :    [2018-05-08 02:52:05,378]错误 - DataEndpointConnectionWorker尝试连接到端点时出错。不能借客户   对于ssl:// localhost:7712   org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException:   无法为ssl:// localhost:7712借用客户端           at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:99)           at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:42)           at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:471)           at java.util.concurrent.FutureTask $ Sync.innerRun(FutureTask.java:334)           at java.util.concurrent.FutureTask.run(FutureTask.java:166)           在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)           at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)           at java.lang.Thread.run(Thread.java:724)引起:org.wso2.carbon.databridge.agent.exception.DataEndpointSecurityException:   尝试连接到ssl:// localhost:7712时出错           在org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:81)           at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.makeObject(AbstractClientPoolFactory.java:39)           at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)           at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:91)           ... 7更多引起:org.apache.thrift.transport.TTransportException:无法连接到   端口7712上的localhost           在org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:237)           at org.apache.thrift.transport.TSSLTransportFactory.getClientSocket(TSSLTransportFactory.java:169)           在org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:63)           ... 10更多引起:java.net.ConnectException:连接被拒绝:连接           at java.net.DualStackPlainSocketImpl.connect0(Native Method)           在java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)           at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)           at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)           at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)           在java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)           在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)           在java.net.Socket.connect(Socket.java:579)           在sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)           at sun.security.ssl.SSLSocketImpl。(SSLSocketImpl.java:407)           at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)           在org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:233)           ... 12更多[2018-05-08 02:52:34,371]警告 - DataEndpointGroup重新连接时无法访问接收器,将尝试   每30秒重新连接一次[2018-05-08 02:52:35,378]错误 -   DataEndpointConnectionWorker尝试连接时出错   SSL://本地主机:7712   org.wso2.carbon.databridge.agent.exception.DataEndpointSecurityException:   尝试连接到ssl:// localhost:7712时出错           在org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:81)           at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.makeObject(AbstractClientPoolFactory.java:39)           在org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)

     

WSO2 API-Analytic:    JAVA_HOME环境变量设置为C:\ Program Files \ Java \ jdk1.7.0_25 CARBON_HOME环境变量设置为   C:\ WSO2AM~4 \ WSO2AM~1 \ bin ..加载火花环境变量   [2018-05-08 02:36:02,932]信息   {org.wso2.carbon.core.internal.CarbonCoreActivator} - 启动WSO2   碳... [2018-05-08 02:36:02,936]信息   {org.wso2.carbon.core.internal.CarbonCoreActivator} - 运作   系统:Windows Server 2008 R2 6.1,amd64 [2018-05-08 02:36:02,936]   INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home   :C:\ Program Files \ Java \ jdk1.7.0_25 \ jre [2018-05-08 02:36:02,936]   INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java   版本:1.7.0_25 [2018-05-08 02:36:02,937]信息   {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM
  :Oracle公司的Java HotSpot(TM)64位服务器VM 23.25-b01   [2018-05-08 02:36:02,937]信息   {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home
  :C:\ WSO2AM~4 \ WSO2AM~1 \ bin .. [2018-05-08 02:36:02,937]信息   {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java临时目录
  :C:\ WSO2AM~4 \ WSO2AM~1 \ bin .. \ tmp [2018-05-08 02:36:02,937]信息   {org.wso2.carbon.core.internal.CarbonCoreActivator} - 用户
  :wsoadm_dev_svc,en-US,America / Los_Angeles [2018-05-08 02:36:03,570]   信息   {} org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS    - 成功部署了Kafka输出事件适应[2018-05-08 02:36:03,887] INFO   {} org.wso2.carbon.event.template.manager.core.internal.ds.TemplateDeployerServiceTrackerDS    - 成功部署了执行管理器[2018-05-08 02:36:15,048] INFO   {} org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver    - 在端口上启动二进制SSL传输:9712 [2018-05-08 02:36:15,050]信息   {} org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver    - 在端口上启动二进制TCP传输:9612 [2018-05-08 02:36:15,207]信息   {org.wso2.carbon.databridge.core.internal.DataBridgeDS} -   已成功部署的代理服务器[2018-05-08 02:36:15,388]信息   {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -   配置注册表在64毫秒[2018-05-08 02:36:15,912] INFO   {} org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent    - 注册表模式:READ-WRITE [2018-05-08 02:36:22,854] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - 创建JMX   域名指标记者&org.wso2.carbon.metrics' [2018年5月8日   02:36:22,861]信息   {org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - 创建   带有源' SOADEVV001',数据源' jdbc /的度量标准的JDBC记者   [2018-05-08 02:36:22,862]信息   {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - 已开始   JMX Metrics报告[2018-05-08 02:36:22,870] INFO   {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - 已开始   用于度量的JDBC记者[2018-05-08 02:36:26,352] INFO   {org.wso2.carbon.registry.indexing.solr.SolrClient} - 默认   嵌入式Solr服务器已初始化[2018-05-08 02:36:27,524]信息   {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - 碳   UserStoreMgtDSComponent已成功激活。    [2018-05-08 02:37:32,134] WARN {org.wso2.carbon.core.init.CarbonServerManager} - 碳   由于以下不满意的项目,初始化会延迟:   [2018-05-08 02:37:32,498]警告   {org.wso2.carbon.core.init.CarbonServerManager} - 等待   必需的OSGi服务:org.apache.axis2.engine.AxisObserver   [2018-05-08 02:38:32,135]警告   {org.wso2.carbon.core.init.CarbonServerManager} - 碳   由于以下不满意的项目,初始化会延迟:

注意:我对API-M和API API-Analytic实例使用相同的计算机。 对于APIM Offset设置为0,对于API-Analytic设置为1。 我正在使用默认的H2 DB。

任何帮助将不胜感激。

0 个答案:

没有答案