[jcifs] JCIFS with Windows Vista / IE 7

shibaram dunumania at yahoo.co.in
Mon Jan 5 17:24:42 GMT 2009


I am trying to put all the properties in the property file "jcifs.properties"
and configured it in the init-param  tag of the filter tag in web.xml file
like below.


<filter>
    <filter-name>NtlmHttpFilter</filter-name>
    <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
        <init-param>
           <param-name>jcifs.properties</param-name>
           <param-value>/WEB-INF/opt/jcifs.properties</param-value>
        </init-param>
</filter>

But I my application is failing to access the properties file I think.
Because I am getting below exceptions:

jcifs.smb.SmbException: A domain was not specified
	at jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:90)
	at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:157)
	at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:121)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
	at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
	at java.lang.Thread.run(Thread.java:595)
Jan 5, 2009 12:20:44 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet NTLMUserAuth threw exception



Can anyone please let me know where to put the properties file, so that
Config class can read it properly or do I need to extend the Config class or 
NtlmHttpFilter class to set the fully qualified path to the jcifs.properties
file.

Thanks
Shibaram



-- 
View this message in context: http://www.nabble.com/JCIFS-with-Windows-Vista---IE-7-tp6057570p21295345.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.



More information about the jcifs mailing list