Sean Flaherty 2 Posted January 17, 2020 Share Posted January 17, 2020 Hello, I am getting an error trying to start Spotfire server 10.3.5 on Windows. I am starting the service with theSERVER_FRONTEND_PORT=8080 flag but I think it is using the default port 80 and running into a port conflict. I get the following error: spotfire-server_1 | Starting Spotfire Server spotfire-server_1 | Using CATALINA_BASE: "C:tibcotss10.3.5tomcat" spotfire-server_1 | Using CATALINA_HOME: "C:tibcotss10.3.5tomcat" spotfire-server_1 | Using CATALINA_TMPDIR: "C:tibcotss10.3.5tomcattemp" spotfire-server_1 | Using JRE_HOME: "C:tibcotss10.3.5jdkjre" spotfire-server_1 | Using CLASSPATH: "C:tibcotss10.3.5tomcatbinbootstrap.jar;C:tibcotss10.3.5tomcatbintomcat-juli.jar" spotfire-server_1 | 17-Jan-2020 10:12:54.371 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"] spotfire-server_1 | 17-Jan-2020 10:12:54.387 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-80]] 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.core.StandardService.initInternal(StandardService.java:533) spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) spotfire-server_1 | at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1057) spotfire-server_1 | at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) spotfire-server_1 | at org.apache.catalina.startup.Catalina.load(Catalina.java:584) spotfire-server_1 | at org.apache.catalina.startup.Catalina.load(Catalina.java:607) 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.load(Bootstrap.java:304) spotfire-server_1 | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474) 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.NioEndpoint.initServerSocket(NioEndpoint.java:230) spotfire-server_1 | at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:213) spotfire-server_1 | at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1124) spotfire-server_1 | at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1137) spotfire-server_1 | at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:575) spotfire-server_1 | at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74) spotfire-server_1 | at org.apache.catalina.connector.Connector.initInternal(Connector.java:980) spotfire-server_1 | ... 13 more spotfire-server_1 | 17-Jan-2020 10:12:54.403 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9080"] spotfire-server_1 | 17-Jan-2020 10:12:54.418 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9443"] spotfire-server_1 | 17-Jan-2020 10:12:54.418 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,206] milliseconds spotfire-server_1 | 17-Jan-2020 10:12:54.434 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [spotfire] spotfire-server_1 | 17-Jan-2020 10:12:54.434 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.27] spotfire-server_1 | 17-Jan-2020 10:12:57.686 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing com.spotfire.server.root.RootHttpMethodsFilter spotfire-server_1 | 17-Jan-2020 10:12:57.714 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [C:tibcotss10.3.5tomcatconfSpotfirelocalhostspotfire.xml] spotfire-server_1 | 17-Jan-2020 10:13:09.059 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 | 17-Jan-2020 10:13:12.824 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext spotfire-server_1 | 17-Jan-2020 10:13:19.074 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-9080"] spotfire-server_1 | 17-Jan-2020 10:13:19.074 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-9443"] spotfire-server_1 | [10:13:27] __________ ________________ spotfire-server_1 | [10:13:27] / _/ ___/ |/ / _/_ __/ __/ spotfire-server_1 | [10:13:27] _/ // (7 7 // / / / / _/ spotfire-server_1 | [10:13:27] /___/___/_/|_/___/ /_/ /___/ spotfire-server_1 | [10:13:27] spotfire-server_1 | [10:13:27] ver. 2.7.6#20190911-sha1:21f7ca41 spotfire-server_1 | [10:13:27] 2019 Copyright© Apache Software Foundation spotfire-server_1 | [10:13:27] spotfire-server_1 | [10:13:27] Ignite documentation: http://ignite.apache.org spotfire-server_1 | [10:13:27] spotfire-server_1 | [10:13:27] Quiet mode. spotfire-server_1 | [10:13:27] ^-- Logging to file 'C:tibcotss10.3.5tomcat/logs/server.log' spotfire-server_1 | [10:13:27] ^-- Logging by 'Log4J2Logger [quiet=true, config=C:tibcotss10.3.5tomcatspotfire-configlog4j2.xml]' spotfire-server_1 | [10:13:27] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat} spotfire-server_1 | [10:13:27] spotfire-server_1 | [10:13:27] OS: Windows Server 2016 10.0 amd64 spotfire-server_1 | [10:13:27] 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 | [10:13:27] Please set system property '-Djava.net.preferIPv4Stack=true' to avoid possible problems in mixed environments. spotfire-server_1 | [10:13:28] Configured plugins: spotfire-server_1 | [10:13:28] ^-- None spotfire-server_1 | [10:13:28] spotfire-server_1 | [10:13:28] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=[sYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]]] spotfire-server_1 | [10:13:29] Security status [authentication=off, tls/ssl=on] spotfire-server_1 | [10:13:31] 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 | [10:13:32] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat} spotfire-server_1 | [10:13:32] Data Regions Configured: spotfire-server_1 | [10:13:32] ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB, persistence=false]spotfire-server_1 | [10:13:32] spotfire-server_1 | [10:13:32] Ignite node started OK (id=151c8179, instance name=TIBCO-Spotfire) spotfire-server_1 | [10:13:32] Topology snapshot [ver=1, locNode=151c8179, servers=1, clients=0, state=ACTIVE, CPUs=2, offheap=1.6GB, heap=4.0GB] spotfire-server_1 | 17-Jan-2020 10:13:46.340 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc' spotfire-server_1 | 17-Jan-2020 10:13:50.313 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc-oauth2' spotfire-server_1 | 17-Jan-2020 10:13:50.903 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc-nodemanager' spotfire-server_1 | 17-Jan-2020 10:13:51.364 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'spring-mvc-wp' spotfire-server_1 | 17-Jan-2020 10:13:55.039 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'sp Link to comment Share on other sites More sharing options...
Prashant Anand Posted January 18, 2020 Share Posted January 18, 2020 Hello, It looks like the connector port used by Spotfire is already is use. Please change the connector port in the "server.xml" file located underC:tibcotss10.3.5tomcatconf and restart the Spotfire Server. Please make sure the port that you use is open and available. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now