TIBCO Spotfire Server is not accessible with error "The server is configured for the NTLM authentication method, but the Jespa component is not installed in the WEB-INF/lib directory" seen in logs

TIBCO Spotfire Server is not accessible with error "The server is configured for the NTLM authentication method, but the Jespa component is not installed in the WEB-INF/lib directory" seen in logs

book

Article ID: KB0080695

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

If the TIBCO Spotfire Server URL cannot be opened successfully (for example a "404 page not found" is seen) and if you check in the server.log, you may see the following error:
The server is configured for the NTLM authentication method, but the Jespa component is not installed in the WEB-INF/lib directory    
at com.spotfire.server.security.NtlmAuthenticator.<init>(NtlmAuthenticator.java:93) ~[server.jar:?]    
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_144]    
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_144]    
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_144]    
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_144]    
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ~[spring-beans.jar:4.3.7.RELEASE]    
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) ~[spring-beans.jar:4.3.7.RELEASE]
Prerequisites: NTLM authentication is enabled on TIBCO Spotfire server
 

Issue/Introduction

This article helps you in resolving the issue when you notice an error "The server is configured for the NTLM authentication method, but the Jespa component is not installed in the WEB-INF/lib directory"

Resolution

This error occurs when the jcifs files required for NTLM authentication to work are missing from the " <spotfire-server installation>/tomcat/webapps/spotfire/WEB-INF/lib" folder.

This jcifs-1.3.19.zip can be downloaded from this link:

​To resolve this issue follow the instructions in the "Downloading third-party components (JCIFS) for NTLM authentication" reference:

  1. Go to http://public.tibco.com/pub/tibco_oss/jcifs/.
  2. Download and extract jcifs_1.3.19.zip to the following directory: <installation directory>\tomcat\webapps\spotfire\WEB-INF\lib.
    The required jcifs.jar file appears in the ...\WEB-INF\lib directory.
  3. Restart the server.

Additional Information

Doc: NTLM authentication Doc: Downloading third-party components (JCIFS) for NTLM authentication