Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
TIBCO Spotfire Server fails to start with error "No public HTTP endpoint(s) found or configured"
Solution:
The TIBCO Spotfire Server fails to start with the error "No public HTTP endpoint(s) found or configured" seen in the server.log. For example:
SEVERE: Exception sending context initialized event to listener instance of class com.spotfire.server.lifecycle.SpotfireServerInitializer org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectorConfiguration' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is com.spotfire.server.ServerInitializationException: No public HTTP endpoint(s) found or configured at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
When there is proxy in the network communication and the TIBCO Spotfire Server public address has not been configured then this error may occur. The public address is used when generating absolute URLs and must be configured if the Spotfire Server is accessed through a load balancer or reverse proxy.
To resolve this issue follow the below steps to configure the public address:
Version 7.9 and higher:
- Export the configuration using the below command
config export-config --force
- Run following command to configure the public address
config set-public-address --url=https://<spotfireserverurl>
- Import configuration back by running the following command
config import-config -c "configured public address"
- Restart the TIBCO Spotfire Server service
- Stop and start Web Player service
Version 7.8:
- Export the configuration using the below command
config export-config --force
- Run following command to configure the public address
config config-public-address --enabled=true --url=https://<spotfireserverurl>
- Import configuration back by running the following command
config import-config -c "configured public address"
- Restart the TIBCO Spotfire Server service
- Stop and start Web Player service
Version 7.7 and lower:
- Export the configuration using the below command
config export-config --force
- Run following command to configure the public address
config config-public-endpoint --enabled=true --url=https://<spotfireserverurl>
- Import configuration back by running the following command
config import-config -c "configured public address"
- Restart the TIBCO Spotfire Server service
- Stop and start Web Player service
Comments
0 comments
Article is closed for comments.