Jump to content

Spotfire 10.3.5 on Windows server not starting, Ignite ports in use.


Sean Flaherty 2

Recommended Posts

Hello,

I am working on getting Spotfire Server running on Windows server. I am running the catalina.bat file and it appears to spin up a Spotfire server on the 8080, 9080 and 9443 ports, destroys them and starts ignite. However, it appears the ports are still in use when Ignite tries to start and fails.

Am I reading this correctly and any suggestions on how to fix the issue

 

Error log listed below:

 

spotfire-server_1 | 20-Jan-2020 08:26:17.058 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

spotfire-server_1 | 20-Jan-2020 08:26:17.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9080"]

spotfire-server_1 | 20-Jan-2020 08:26:17.089 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9443"]

spotfire-server_1 | 20-Jan-2020 08:26:17.089 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,045] milliseconds

spotfire-server_1 | 20-Jan-2020 08:26:17.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [spotfire]

spotfire-server_1 | 20-Jan-2020 08:26:17.105 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.27]

spotfire-server_1 | 20-Jan-2020 08:26:20.408 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing com.spotfire.server.root.RootHttpMethodsFilter

spotfire-server_1 | 20-Jan-2020 08:26:20.432 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [C:tibcotss10.3.5tomcatconfSpotfirelocalhostspotfire.xml]

spotfire-server_1 | 20-Jan-2020 08:26:30.730 INFO [main] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath

spotfire-server_1 | ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2

spotfire-server_1 | 20-Jan-2020 08:26:34.175 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext

spotfire-server_1 | 20-Jan-2020 08:26:39.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-9080"]

spotfire-server_1 | 20-Jan-2020 08:26:39.446 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-9443"]

spotfire-server_1 | [08:26:46] __________ ________________

spotfire-server_1 | [08:26:46] / _/ ___/ |/ / _/_ __/ __/

spotfire-server_1 | [08:26:46] _/ // (7 7 // / / / / _/

spotfire-server_1 | [08:26:46] /___/___/_/|_/___/ /_/ /___/

spotfire-server_1 | [08:26:46]

spotfire-server_1 | [08:26:46] ver. 2.7.6#20190911-sha1:21f7ca41

spotfire-server_1 | [08:26:46] 2019 Copyright© Apache Software Foundation

spotfire-server_1 | [08:26:46]

spotfire-server_1 | [08:26:46] Ignite documentation: http://ignite.apache.org

spotfire-server_1 | [08:26:46]

spotfire-server_1 | [08:26:46] Quiet mode.

spotfire-server_1 | [08:26:46] ^-- Logging to file 'C:tibcotss10.3.5tomcat/logs/server.log'

spotfire-server_1 | [08:26:46] ^-- Logging by 'Log4J2Logger [quiet=true, config=C:tibcotss10.3.5tomcatspotfire-configlog4j2.xml]'

spotfire-server_1 | [08:26:46] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}

spotfire-server_1 | [08:26:46]

spotfire-server_1 | [08:26:46] OS: Windows Server 2016 10.0 amd64

spotfire-server_1 | [08:26:46] VM information: Java SE Runtime Environment 1.8.0_231-b26 Oracle Corporation Java HotSpot 64-Bit Server VM 25.231-b26

spotfire-server_1 | [08:26:46] Please set system property '-Djava.net.preferIPv4Stack=true' to avoid possible problems in mixed environments.

spotfire-server_1 | [08:26:47] Configured plugins:

spotfire-server_1 | [08:26:47] ^-- None

spotfire-server_1 | [08:26:47]

spotfire-server_1 | [08:26:47] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=[sYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]]]

spotfire-server_1 | [08:26:47] Security status [authentication=off, tls/ssl=on]

spotfire-server_1 | [08:26:49] Nodes started on local machine require more than 80% of physical RAM what can lead to significant slowdown due to swapping (please decrease JVM heap size, data region size or checkpoint buffer size) [required=5834MB, available=8191MB]

spotfire-server_1 | [08:26:50] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}

spotfire-server_1 | [08:26:50] Data Regions Configured:

spotfire-server_1 | [08:26:50] ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB, persistence=false]

spotfire-server_1 | [08:26:50]

spotfire-server_1 | [08:26:50] Ignite node started OK (id=92eafb90, instance name=TIBCO-Spotfire)

spotfire-server_1 | [08:26:50] Topology snapshot [ver=1, locNode=92eafb90, servers=1, clients=0, state=ACTIVE, CPUs=2, offheap=1.6GB, heap=4.0GB]

spotfire-server_1 | 20-Jan-2020 08:27:04.292 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc'

spotfire-server_1 | 20-Jan-2020 08:27:07.663 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc-oauth2'

spotfire-server_1 | 20-Jan-2020 08:27:08.285 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc-nodemanager'

spotfire-server_1 | 20-Jan-2020 08:27:08.785 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc-wp'

spotfire-server_1 | 20-Jan-2020 08:27:09.933 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc-custom-services'

spotfire-server_1 | 20-Jan-2020 08:27:10.153 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'public-api'

spotfire-server_1 | 20-Jan-2020 08:27:15.282 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [C:tibcotss10.3.5tomcatconfSpotfirelocalhostspotfire.xml] has finished in [54,851] ms

spotfire-server_1 | 20-Jan-2020 08:27:15.292 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

spotfire-server_1 | 20-Jan-2020 08:27:15.383 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9080"]

spotfire-server_1 | 20-Jan-2020 08:27:15.384 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-9080]]

spotfire-server_1 | org.apache.catalina.LifecycleException: Protocol handler initialization failed

spotfire-server_1 | at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)

spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)

spotfire-server_1 | at org.apache.catalina.core.StandardService.addConnector(StandardService.java:227)

spotfire-server_1 | at com.spotfire.server.nodemanager.trust.TrustBootstrapper$ConnectorRegistrator.lifecycleEvent(TrustBootstrapper.java:564)

spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)

spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)

spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:193)

spotfire-server_1 | at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)

spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

spotfire-server_1 | at org.apache.catalina.startup.Catalina.start(Catalina.java:633)

spotfire-server_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

spotfire-server_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

spotfire-server_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

spotfire-server_1 | at java.lang.reflect.Method.invoke(Method.java:498)

spotfire-server_1 | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)

spotfire-server_1 | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)

spotfire-server_1 | Caused by: java.net.BindException: Address already in use: bind

spotfire-server_1 | at sun.nio.ch.Net.bind0(Native Method)

spotfire-server_1 | at sun.nio.ch.Net.bind(Net.java:433)

spotfire-server_1 | at sun.nio.ch.Net.bind(Net.java:425)

spotfire-server_1 | at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

spotfire-server_1 | at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

spotfire-server_1 | at org.apache.tomcat.util.net.NioEndpoi

Link to comment
Share on other sites

Hello,

 

I see the following error in the log.

-------------------

Caused by: java.net.BindException: Address already in use: bind

-------------------

You would be generally getting this error if the ports are being used by any other application.

Run "netstat -o -n -a" to find what is running on Port 8080,9080,9443,9005,9501,9502.

By any chance do you have another version of the Spotfire server on the same machine which is using these ports

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...