Hello
I installed (extracted) Executor knime-full_4.2.4.linux.gtk.x86_64.tar.gz
and Knime Server knime-server-installer-4.11.4.0178-5005c61.jar
on a Rhel Production Machine yesterday and cannot remember any faults I made during install.
Testing
http://ProdMachine:8080/
and Tomcat-Site is displayed
testing
http://ProdMachine:8080/knime/
I am getting HTTP Status 404
testing on our Knime TestMachine
http://TestMachine:8080/knime/
I am getting the Knime-Portal Site
Starting executor on out ProdMachine reveals that the executor cant get a resource he needs:
Could not download profiles from http://127.0.0.1:8080/knime/rest/v4/profiles/contents
When I try to download it via browser from the ProdMachine
http://ProdMachine:8080/knime/rest/v4/profiles/contents
the browser responds:
HTTP Status 404
The same attempt on the TestMachine
http://TestMachine:8080/knime/rest/v4/profiles/contents
And the Browser downloads a File preferences.zip
Seems the executor is missing something makes a few attemps an finally stops.
In the right order:
-bash-4.2$ ./startup.sh
Using CATALINA_BASE: /knime_storage/home/knime/apache-tomcat-9.0.36
Using CATALINA_HOME: /knime_storage/home/knime/apache-tomcat-9.0.36
Using CATALINA_TMPDIR: /knime_storage/home/knime/apache-tomcat-9.0.36/temp
Using JRE_HOME: /usr/lib/jvm/zulu-8
Using CLASSPATH: /knime_storage/home/knime/apache-tomcat-9.0.36/bin/bootstrap.jar:/knime_storage/home/knime/apache-tomcat-9.0.36/bin/tomcat-juli.jar
Tomcat started.
…
pwd
/knime_storage/home/knime/knime-full_4.2.4
./start-executor.sh
-bash-4.2$ ./start-executor.sh
CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
Jan 14, 2021 11:16:29 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (521) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http .HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache .cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
Jan 14, 2021 11:16:29 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-hc (522) [org.apache.cxf.transport.http.HTTPConduitFactory, org.apache.cxf.transport.Con duitInitiator]
ERROR main ProfileManager Could not download profiles from http://127.0.0.1:8080/knime/rest/v4/profiles/contents: <!doctype html>H TTP Status 404 Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font- size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}
HTTP Status 404 Not Found
Type Status Report
Message The requested resource [/knime/rest/v4/pr ofiles/contents] is not available
Description The origin server did not find a current representation for the target resource or is not willing to di sclose that one exists.
Apache Tomcat
. No profiles will be applied.java.io.IOException: <!doctype html>HTTP Status 404 Not Foundbody {font-family:Tahoma,Arial,sans-serif ;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {he ight:1px;background-color:#525D76;border:none;}
HTTP Status 404 Not Found
Type Status Report
Mes sage The requested resource [/knime/rest/v4/profiles/contents] is not available
Description The origin server did not find a curr ent representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat
at org.knime.product.profiles.ProfileManager.downloadProfiles(ProfileManager.java:396)
at org.knime.product.profiles.ProfileManager.fetchProfileContents(ProfileManager.java:268)
at org.knime.product.profiles.ProfileManager.applyProfiles(ProfileManager.java:168)
at com.knime.enterprise.executor.KNIMEExecutorApplication.start(KNIMEExecutorApplication.java:44)
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)
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
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:172)
at com.knime.enterprise.executor.msgq.RabbitMQHandler.(RabbitMQHandler.java:138)
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)
WARN main RabbitMQHandler Couldn’t connect to message queue, retry to connect in 10000ms
java.net.ConnectException: Connection refused (Connection refused)
Greeings Bernhard Kochs dt. Telekom