ERROR - BinaryDataReceiver API Manager 3 wso2 - wso2
I use Api Manager 3.0.0 wso2 in docker and key manager 5.8
and config them but when api manager starting get this error
[2021-01-10 09:42:48,993] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
[2021-01-10 09:42:48,994] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:931) ~[?:1.8.0_222],
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
how can i resolve this problem?
port 9611 and 9711 are open in server!
this is full stack error
JAVA_HOME environment variable is set to /opt/java/openjdk,
CARBON_HOME environment variable is set to /home/wso2carbon/wso2am-3.0.0,
Using Java memory options: -Xms4096m -Xmx6144m -XX:MaxMetaspaceSize=1g,
andes [org.wso2.andes.wso2.internal.QpidBundleActivator] INFO : Setting BundleContext in PluginManager,
[2021-01-13 11:21:41,169] INFO - CarbonCoreActivator Starting WSO2 Carbon...,
[2021-01-13 11:21:41,185] INFO - CarbonCoreActivator Operating System : Linux 4.15.0-74-generic, amd64,
[2021-01-13 11:21:41,185] INFO - CarbonCoreActivator Java Home : /opt/java/openjdk/jre,
[2021-01-13 11:21:41,186] INFO - CarbonCoreActivator Java Version : 1.8.0_222,
[2021-01-13 11:21:41,186] INFO - CarbonCoreActivator Java VM : OpenJDK 64-Bit Server VM 25.222-b10,AdoptOpenJDK,
[2021-01-13 11:21:41,186] INFO - CarbonCoreActivator Carbon Home : /home/wso2carbon/wso2am-3.0.0,
[2021-01-13 11:21:41,187] INFO - CarbonCoreActivator Java Temp Dir : /home/wso2carbon/wso2am-3.0.0/tmp,
[2021-01-13 11:21:41,187] INFO - CarbonCoreActivator User : wso2carbon, en-US,
[2021-01-13 11:21:41,363] INFO - DefaultCryptoProviderComponent 'CryptoService.Secret' property has not been set. 'org.wso2.carbon.crypto.provider.SymmetricKeyInternalCryptoProvider' won't be registered as an internal crypto provider. Please set the secret if the provider needs to be registered.,
[2021-01-13 11:21:42,114] INFO - KafkaEventAdapterServiceDS Successfully deployed the Kafka output event adaptor service,
[2021-01-13 11:21:42,337] INFO - TemplateDeployerServiceTrackerDS Successfully deployed the execution manager tracker service,
[2021-01-13 11:21:44,864] WARN - Digester Match [Server/Service/Connector/SSLHostConfig] failed to set property [sslEnabledProtocols] to [TLSv1.2],
[2021-01-13 11:21:45,844] INFO - ConsentManagerComponent ConsentManagerComponent is activated.,
[2021-01-13 11:21:46,103] INFO - BinaryDataReceiver Started Binary TCP Transport on port : 9611,
[2021-01-13 11:21:46,104] INFO - BinaryDataReceiver Started Binary SSL Transport on port : 9711,
[2021-01-13 11:21:46,175] INFO - DataBridgeDS Successfully deployed Agent Server ,
[2021-01-13 11:21:46,278] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
[2021-01-13 11:21:46,296] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:931) ~[?:1.8.0_222],
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
[2021-01-13 11:21:47,082] INFO - EmbeddedRegistryService Configured Registry in 126ms,
[2021-01-13 11:21:47,111] INFO - EmbeddedRegistryService Connected to mount at configregistry in 6ms,
[2021-01-13 11:21:47,112] INFO - EmbeddedRegistryService Connected to mount at govregistry in 7ms,
[2021-01-13 11:21:47,232] INFO - EmbeddedRegistryService Connected to mount at configregistry in 1ms,
[2021-01-13 11:21:47,233] INFO - EmbeddedRegistryService Connected to mount at govregistry in 2ms,
[2021-01-13 11:21:47,252] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE,
[2021-01-13 11:21:47,279] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
[2021-01-13 11:21:47,284] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:931) ~[?:1.8.0_222],
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
This block is constantly repeated
[2021-01-13 11:21:46,278] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
[2021-01-13 11:21:46,296] ERROR - BinaryDataReceiver Error while reading from the socket. ,
java.net.SocketException: Connection reset,
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_222],
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_222],
at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) ~[?:1.8.0_222],
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:931) ~[?:1.8.0_222],
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_222],
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_222],
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_222],
at org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver$BinaryTransportReceiver.run(BinaryDataReceiver.java:212) [org.wso2.carbon.databridge.receiver.binary_5.2.12.jar:?],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222],
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222],
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222],
Thanks for your attention.
Related
The service on the integrator is not deployed
The message repository/message processor in Enterprise Integrator WSO2 is not deploying. Deployment fails with an error: Couldn't find repository location './repository/deployment/client' Versions: WSO2 enterprise integrator - 6.6.0 Windows 10Pro - 20H2 Server : Linux - CentOS Linux 7 (Core) CPE OS Name - cpe:/o:centos:centos:7 Kernel - Linux 3.10.0-1127.19.1.el7.x86_64 Architecture - x86-64 Logs from wso2carbon.log: ERROR {org.apache.synapse.message.senders.blocking.BlockingMsgSender} - Error initializing BlockingMessageSender org.apache.axis2.AxisFault: Couldn't find repository location './repository/deployment/client' at org.apache.axis2.deployment.FileSystemConfigurator.<init>(FileSystemConfigur ator.java:68) at org.apache.axis2.context.Configur tionContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at org.apache.synapse.message.senders.blocking.BlockingMsgSender.init(BlockingMsgSender.java:98) at org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.initMessageSender(ScheduledMessageProcessor.java:489) at org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.init(ScheduledMessageProcessor.java:101) at org.apache.synapse.message.processor.impl.forwarder.ScheduledMessageForwardingProcessor.init(ScheduledMessageForwardingProcessor.java:52) at org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:58) at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:200) at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifactType(SynapseAppDeployer.java:1099) at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:114) at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:272) at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) TID: [-1234] [] [2022-09-30 12:50:23,169] ERROR {org.apache.synapse.deployers.MessageProcessorDeployer} - Message Processor Deployment from the file : /opt/wso2ei-6.6.0/wso2/tmp/carbonapps/-1234/1664531421939dwhErpTableCapp_1.0.0.car/dwhErpTableMP_1.0.0/dwhErpTableMP-1.0.0.xml : Failed. org.apache.synapse.SynapseException: Error initializing BlockingMessageSender at org.apache.synapse.message.senders.blocking.BlockingMsgSender.handleException(BlockingMsgSender.java:546) at org.apache.synapse.message.senders.blocking.BlockingMsgSender.init(BlockingMsgSender.java:103) at org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.initMessageSender(ScheduledMessageProcessor.java:489) at org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.init(ScheduledMessageProcessor.java:101) at org.apache.synapse.message.processor.impl.forwarder.ScheduledMessageForwardingProcessor.init(ScheduledMessageForwardingProcessor.java:52) at org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:58) at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:200) at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifactType(SynapseAppDeployer.java:1099) at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:114) at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:272) at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: org.apache.axis2.AxisFault: Couldn't find repository location './repository/deployment/client' at org.apache.axis2.deployment.FileSystemConfigurator.<init>(FileSystemConfigurator.java:68) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at org.apache.synapse.message.senders.blocking.BlockingMsgSender.init(BlockingMsgSender.java:98) ... 26 more TID: [-1234] [] [2022-09-30 12:50:23,173] ERROR {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} - Deployment of the Synapse Artifact from file : /opt/wso2ei-6.6.0/wso2/tmp/carbonapps/-1234/1664531421939dwhErpTableCapp_1.0.0.car/dwhErpTableMP_1.0.0/dwhErpTableMP-1.0.0.xml : Failed! org.apache.synapse.deployers.SynapseArtifactDeploymentException: Message Processor Deployment from the file : /opt/wso2ei-6.6.0/wso2/tmp/carbonapps/-1234/1664531421939dwhErpTableCapp_1.0.0.car/dwhErpTableMP_1.0.0/dwhErpTableMP-1.0.0.xml : Failed. at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:483) at org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:77) at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:200) at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifactType(SynapseAppDeployer.java:1099) at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:114) at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:272) at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: org.apache.synapse.SynapseException: Error initializing BlockingMessageSender at org.apache.synapse.message.senders.blocking.BlockingMsgSender.handleException(BlockingMsgSender.java:546) at org.apache.synapse.message.senders.blocking.BlockingMsgSender.init(BlockingMsgSender.java:103) at org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.initMessageSender(ScheduledMessageProcessor.java:489) at org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.init(ScheduledMessageProcessor.java:101) at org.apache.synapse.message.processor.impl.forwarder.ScheduledMessageForwardingProcessor.init(ScheduledMessageForwardingProcessor.java:52) at org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:58) ... 22 more Caused by: org.apache.axis2.AxisFault: Couldn't find repository location './repository/deployment/client' at org.apache.axis2.deployment.FileSystemConfigurator.<init>(FileSystemConfigurator.java:68) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at org.apache.synapse.message.senders.blocking.BlockingMsgSender.init(BlockingMsgSender.java:98) ... 26 more Directory in integrator : enter image description here
FWIW-- this does not look to be an ActiveMQ issue, but an Axis2 issue. Caused by: org.apache.axis2.AxisFault: Couldn't find repository location './repository/deployment/client'
While Connecting external Active Directory through wso2 identity server below error are showing
ERROR {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} - Cannot create connection to LDAP server. Connection URL: ldap://xx.xxx.xx.x:xxx Error message: Error occurred while obtaining LDAP connection, LDAP connection circuit breaker state set to: open INFO {org.wso2.carbon.user.core.common.UserStoreDeploymentManager} - Realm configuration of tenant:-1234 modified with D:\wso2_identity_server\wso2is-5.10.0\wso2is-5.10.0\bin..\repository\deployment\server\userstores\testing.xml INFO {org.wso2.carbon.user.core.common.UserStoreDeploymentManager} - User store: contata.in of tenant:-1234 is removed from realm chain. INFO {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - User store: testing of tenant:-1234 is removed from user store chain. ERROR {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Cannot create org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.createSecondaryUserStoreManager(AbstractUserStoreManager.java:8726) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addSecondaryUserStoreManager(AbstractUserStoreManager.java:8798) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.wso2.carbon.user.core.common.AbstractUserStoreManager$2.run(AbstractUserStoreManager.java:194) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:191) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addSecondaryUserStoreManager(AbstractUserStoreManager.java:8784) at org.wso2.carbon.user.core.common.UserStoreDeploymentManager.deploy(UserStoreDeploymentManager.java:71) at org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer.deploy(UserStoreConfigurationDeployer.java:169) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 at org.wso2.carbon.user.core.ldap.LDAPConnectionContext.(LDAPConnectionContext.java:122) at org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager.(ReadOnlyLDAPUserStoreManager.java:227) at org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager.(ReadWriteLDAPUserStoreManager.java:120) at org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager.(ActiveDirectoryUserStoreManager.java:115) ... 33 more
It seems to be a connectivity problem. Maybe the ldap server is not visible, or port is incorrect. Check it with telnet. If you could detail a little bit more the error and the is version you are using.
Receiving Error while trying to run the WSO2 API Manager 3.1.0
** [2020-09-16 13:25:32,090] ERROR - DataEndpointConnectionWorker Error while trying to connect to the endpoint. Cannot borrow client for ssl://10.1.31.61:9711. org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException: Cannot borrow client for ssl://10.1.31.61:9711. at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:145) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:59) [org.wso2.carbon.databridge.agent_5.2.24.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_261] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_261] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_261] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_261] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_261] Caused by: org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException: Error while trying to login to data receiver :/10.1.31.61:9711 at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:50) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:139) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] ... 6 more Caused by: org.wso2.carbon.databridge.commons.exception.AuthenticationException: java.lang.IllegalStateException: Cannot find suitable mapped attribute for local claim http://wso2.org/claims/userid at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_261] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_261] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_261] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_261] at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryEventSender.processResponse(BinaryEventSender.java:163) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:44) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:139) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] ... 6 more [2020-09-16 13:25:32,169] INFO - QpidServiceComponent Activating Andes Message Broker Engine... [Broker] BRK-1001 : Startup : Version: 0.11 Build: 90784:90849 [Broker] MNG-1001 : Startup [Broker] MNG-1004 : Ready : Using the platform JMX Agent [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [2020-09-16 13:25:32,878] INFO - listening [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8672 [2020-09-16 13:25:32,924] INFO - listening [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8672 [Broker] BRK-1004 : Qpid Broker Ready Caused by: org.wso2.carbon.databridge.commons.exception.AuthenticationException: java.lang.IllegalStateException: Cannot find suitable mapped attribute for local claim http://wso2.org/claims/userid at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_261] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_261] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_261] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_261] at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryEventSender.processResponse(BinaryEventSender.java:163) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:44) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:139) ~[org.wso2.carbon.databridge.agent_5.2.24.jar:?] **
Please check the following generic configs: If it is distributed setup check TM is up and running Check TM's port is correct and 7611 and 7711 is open CHeck throttling related credentials are correct according to TM Based on the logs, there are changes to the claim attribute mapping. Looks like claim http://wso2.org/claims/userid is mapped to non-existing attributes in the user store. Please check and set to correct available attribute,
Connection refused when running a script fragment in a Zeppelin notebook paragraph
I'm following the tutorial here to setup a local apache Zeppelin notebook to test AWS Glue ETL scripts. I think I've done everything mentioned in Tutorial Prerequisites and Tutorial: Local Zeppelin Notebook. But when I run the following script in the notebook. %pyspark import sys from pyspark.context import SparkContext from awsglue.context import GlueContext from awsglue.transforms import * # Create a Glue context glueContext = GlueContext(SparkContext.getOrCreate()) # Create a DynamicFrame using the 'persons_json' table persons_DyF = glueContext.create_dynamic_frame.from_catalog(database="legislators", table_name="persons_json") # Print out information about this data print "Count: ", persons_DyF.count() persons_DyF.printSchema() I got an error saying java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.thrift.transport.TSocket.open(TSocket.java:182) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:51) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37) at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:62) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:133) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:165) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299) at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407) at org.apache.zeppelin.scheduler.Job.run(Job.java:188) at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:307) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Here's my configuration of spark interpreter: I use run zeppelin inside a docker container(docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.8.0). I've also setup port forwarding using the command ssh -i my_private_key.pem -vnNT -L :9007:169.254.76.1:9007 glue#ec2-XXX-XXX-XXX-XXX.region.compute.amazonaws.com. Here's a complete log found in /zeppelin/logs/zeppelin--XXXXXXXXXX.log: INFO [2018-10-18 03:40:29,438] ({qtp1458849419-14} VFSNotebookRepo.java[save]:196) - Saving note:2DS6DYE8N INFO [2018-10-18 03:40:29,471] ({pool-2-thread-2} SchedulerFactory.java[jobStarted]:109) - Job 20181018-033943_1834157789 started by scheduler org.apache.zeppelin.interpreter.remote.RemoteInterpreter-spark:existing_process-existing_process INFO [2018-10-18 03:40:29,473] ({pool-2-thread-2} Paragraph.java[jobRun]:380) - Run paragraph [paragraph_id: 20181018-033943_1834157789, interpreter: , note_id: 2DS6DYE8N, user: anonymous] ERROR [2018-10-18 03:40:29,474] ({pool-2-thread-2} Job.java[run]:190) - Job failed java.lang.RuntimeException: org.apache.zeppelin.interpreter.InterpreterException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:141) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:165) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299) at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407) at org.apache.zeppelin.scheduler.Job.run(Job.java:188) at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:307) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.zeppelin.interpreter.InterpreterException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:53) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37) at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:62) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:133) ... 13 more Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.thrift.transport.TSocket.open(TSocket.java:187) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:51) ... 20 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.thrift.transport.TSocket.open(TSocket.java:182) ... 21 more ERROR [2018-10-18 03:40:29,478] ({pool-2-thread-2} NotebookServer.java[afterStatusChange]:2294) - Error java.lang.RuntimeException: org.apache.zeppelin.interpreter.InterpreterException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:141) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:165) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299) at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407) at org.apache.zeppelin.scheduler.Job.run(Job.java:188) at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:307) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.zeppelin.interpreter.InterpreterException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:53) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37) at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:62) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:133) ... 13 more Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.thrift.transport.TSocket.open(TSocket.java:187) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:51) ... 20 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.thrift.transport.TSocket.open(TSocket.java:182) ... 21 more WARN [2018-10-18 03:40:29,479] ({pool-2-thread-2} NotebookServer.java[afterStatusChange]:2302) - Job 20181018-033943_1834157789 is finished, status: ERROR, exception: java.lang.RuntimeException: org.apache.zeppelin.interpreter.InterpreterException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused), result: %text java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.thrift.transport.TSocket.open(TSocket.java:182) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:51) at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37) at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:62) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:133) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:165) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132) at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299) at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407) at org.apache.zeppelin.scheduler.Job.run(Job.java:188) at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:307) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) INFO [2018-10-18 03:40:29,489] ({pool-2-thread-2} VFSNotebookRepo.java[save]:196) - Saving note:2DS6DYE8N INFO [2018-10-18 03:40:29,494] ({pool-2-thread-2} SchedulerFactory.java[jobFinished]:115) - Job 20181018-033943_1834157789 finished by scheduler org.apache.zeppelin.interpreter.remote.RemoteInterpreter-spark:existing_process-existing_process How can I debug this issue now? I don't find many discussions about this bug online.
I also had this issue when running Zeppelin 0.8.0, but switching to Zeppelin 0.7.3 seemed to resolve it.
Error in consuming sample message from Wso2mb
I tried to run wso2mb-3.1.0/samples/JmsMessageListenerClient but I get below error on server start. Am I missing some config? org.wso2.andes.AMQConnectionFailureException: Unable to Connect at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:328) at org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:443) at com.wickes.common.jms.service.wso2mq.Wso2MessageListener.registerSubscribers(Wso2MessageListener.java:41) at com.wickes.product.web.Controller.get(Controller.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:132) at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:130) at org.wso2.msf4j.internal.MSF4JMessageProcessor.receive(MSF4JMessageProcessor.java:72) at org.wso2.carbon.transport.http.netty.listener.WorkerPoolDispatchingSourceHandler.lambda$publishToWorkerPool$12(WorkerPoolDispatchingSourceHandler.java:125) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) javax.jms.JMSException: Error creating connection: Unable to Connect at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:338) at org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:443) at com.wickes.common.jms.service.wso2mq.Wso2MessageListener.registerSubscribers(Wso2MessageListener.java:41) at com.wickes.product.web.Controller.get(Controller.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:132) at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:130) at org.wso2.msf4j.internal.MSF4JMessageProcessor.receive(MSF4JMessageProcessor.java:72) at org.wso2.carbon.transport.http.netty.listener.WorkerPoolDispatchingSourceHandler.lambda$publishToWorkerPool$12(WorkerPoolDispatchingSourceHandler.java:125) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.wso2.andes.AMQConnectionFailureException: Unable to Connect at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:328) ... 14 more 2017-02-21 16:03 ERROR AMQStateManager:162 - Notifying Waiters([org.wso2.andes.client.state.StateWaiter#520acd8f]) for error:Exception thrown against AMQConnection: Host: localhost Port: 5672 Virtual Host: carbon Client ID: carbon Active session count: 0: org.wso2.andes.AMQDisconnectedException: Server closed connection and reconnection not permitted. 2017-02-21 16:03 ERROR AMQProtocolHandler:485 - Exception processing frame org.wso2.andes.framing.AMQProtocolClassException: Protocol class 1 was expected; received 3 at org.wso2.andes.framing.ProtocolInitiation.checkVersion(ProtocolInitiation.java:190) at org.wso2.andes.client.protocol.AMQProtocolHandler$2.run(AMQProtocolHandler.java:476) at org.wso2.andes.pool.Job.processAll(Job.java:109) at org.wso2.andes.pool.Job.run(Job.java:157) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 2017-02-21 16:03 ERROR AMQConnection:1307 - Throwable Received but no listener set: org.wso2.andes.AMQDisconnectedException: Server closed connection and reconnection not permitted. 2017-02-21 16:03 ERROR AMQConnection:1307 - Throwable Received but no listener set: org.wso2.andes.framing.AMQProtocolClassException: Protocol class 1 was expected; received 3 Thanks, Manish