When attempting to stop Filr java.net.ConnectException: Connection refused

  • 7018377
  • 09-Dec-2016
  • 09-Dec-2016

Environment

Micro Focus Filr 3.0
Novell Filr 2.0

Situation

When attempting to Stop Filr service from command-line (using rcfilr stop), the following error stack is thrown:

Shutting down Filr Tomcat
Using CATALINA_BASE:   /opt/novell/filr/apache-tomcat
Using CATALINA_HOME:   /opt/novell/filr/apache-tomcat
Using CATALINA_TMPDIR: /opt/novell/filr/apache-tomcat/temp
Using JRE_HOME:        /usr/lib64/jvm/java/jre
Using CLASSPATH:       /opt/novell/filr/apache-tomcat/bin/bootstrap.jar:/opt/novell/filr/apache-tomcat/bin/tomcat-juli.jar
Dec 09, 2016 7:52:54 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Could not contact localhost:8005. Tomcat may not be running.
Dec 09, 2016 7:52:54 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:370)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:231)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:213)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:404)
        at java.net.Socket.connect(Socket.java:643)
        at java.net.Socket.connect(Socket.java:590)
        at java.net.Socket.<init>(Socket.java:454)
        at java.net.Socket.<init>(Socket.java:234)
        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:498)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
        at java.lang.reflect.Method.invoke(Method.java:620)
        at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:370)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:457)

Resolution

This error indicates that the Filr service was not already running when attempt to Stop the Filr service was made.
You can use rcfilr status command to determine whether the Filr service is currently running or not before issuing the stop command.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.