Advertisement

02.07.2007 at 12:42AM PST, ID: 22152685
[x]
Attachment Details

Apache Tomcat: SEVERE: Exception starting filter 'NtlmHttpFilter'

Asked by go4java in Application Servers

Tags: filter, starting, exception, tomcat

Hi all,

we run Java 1.6.0-b105 and Tomcat 5.5.20 for our Web applications.
We usually use Tomcat's Manager to deploy WAR file.

Now, when deploying a Web application /test, application will NOT automatically be started and we receive the error message 'FAIL - Application at context path /test could not be started'.

Having a look to the Tomcat logs, there is a more detailed message:

"Feb 7, 2007 9:06:15 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter NtlmHttpFilter
java.lang.NoClassDefFoundError: javax/servlet/Filter".

Filter 'NtlmHttpFilter' is been defined in application's web.xml:

    <filter>        
        <filter-name>NtlmHttpFilter</filter-name>
        <filter-class>jcifs.http.NtlmHttpFilter</filter-class>

        <init-param>
            <param-name>jcifs.netbios.wins</param-name>
            <param-value>[ip addresses]</param-value>
        </init-param>
        <init-param>
            <param-name>jcifs.smb.client.domain</param-name>
            <param-value>[domain name]</param-value>
        </init-param>        
    </filter>

    <filter-mapping>
        <filter-name>NtlmHttpFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

Filter is been used for single sign-on mechanism NTLM as described under: http://jcifs.samba.org/src/docs/ntlmhttpauth.html

What is causing the problem?

CiaoStart Free Trial
[+][-]02.07.2007 at 01:25AM PST, ID: 18483508

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.13.2007 at 06:39PM PST, ID: 18528165

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Application Servers
Tags: filter, starting, exception, tomcat
Sign Up Now!
Solution Provided By: RichardLi
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32