I have updated KNIME Server from 4.10 to 4.12 and the executor from 4.1.4 to 4.3 but now my executor is not working and it says in webportal that no executor information is available.
Also when i try to run any job it say no RMI executor running
Below is my Server configuration file for executor where knime_exe is the soft link for knime 4.3 analytics platform
I have followed the documentation and KNIME executor is 4.3 with all extensions.
When I tried to use the message queue and start the executor using startexecutor.sh i get the below error.
!MESSAGE Application error
!STACK 1
java.io.IOException: Could not create a connection to message queue: Connection refused (Connection refused)
at com.knime.enterprise.executor.msgq.RabbitMQHandler.createConnection(RabbitMQHandler.java:194)
at com.knime.enterprise.executor.msgq.RabbitMQHandler.(RabbitMQHandler.java:139)
at com.knime.enterprise.executor.KNIMEExecutorApplication.start(KNIMEExecutorApplication.java:59)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
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:607)
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60)
at com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection(RecoveryAwareAMQConnectionFactory.java:62)
at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init(AutorecoveringConnection.java:156)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1104)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1063)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:885)
at com.knime.enterprise.executor.msgq.RabbitMQHandler.createConnection(RabbitMQHandler.java:175)
… 15 more
I think I misunderstood your message – I thought you had updated the Executor you already had, but if you downloaded one from the scratch as the upgrade meant this should be fine.
I am just rewriting with a more complete answer: with KNIME Server 4.11, we change the communication method between server and executor from RMI and have officially moved to using qpid.
If you would like to use qpid, you need to add the following line to the KNIME.ini of the executor
Additionally, in the knime-server.config, you need to comment out the com.knime.server.executor.knime_exe configuration (just add a # at the start of the line), and check if the following line exists in your server configuration: com.knime.enterprise.executor.embedded-broker=true (if it does not exist, please add it to it).
This way, the embedded message broker will be able to manage the messages between the executor and server correctly
I already did that but when i start the executer i get the error. On the other note can i still use the RMI executor
WARN main RabbitMQHandler Couldn’t connect to message queue, retry to connect in 10000ms
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:607)
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60)
at com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection(RecoveryAwareAMQConnectionFactory.java:62)
at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init(AutorecoveringConnection.java:156)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1104)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1063)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:885)
at com.knime.enterprise.executor.msgq.RabbitMQHandler.createConnection(RabbitMQHandler.java:175)
at com.knime.enterprise.executor.msgq.RabbitMQHandler.(RabbitMQHandler.java:139)
at com.knime.enterprise.executor.KNIMEExecutorApplication.start(KNIMEExecutorApplication.java:59)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
I have already sent you the email using the email you have provided for your forum account. I have sent you an email again, please let me know if you have received it by replying to it.
@Dariush given this topic is quite old and the information might be outdated, please start a new one describing your problem.
With all KNIME Servers subscriptions you also have access to our Enterprise Support, to create a ticket with us please send an EMail to support@knime.com