[jcifs] Need help with jcifs setup

Sabyasachi Mukherjee sabyasachi.mukherjee at ascindia.com
Mon May 29 11:14:25 GMT 2006


Hi,

I have made the changes. Changed log-level to 9 and added a user and
password in the init-params. I am still not getting any messages in the
log file. Does this user need to have any special privileges ? 

Thanks,
Sabyasachi.


>Hi,
>
>Change the log level from 1 to 9. That should give you a lot more 
>information. The logs should show on catalina log file.
>Your problem is that you might need pre-anthentication.

>Yannick

>Sabyasachi Mukherjee wrote:

> *I have setup jcifs on my Tomcat 5.0 server. The setup is on a client 
> machine on a Windows XP network. The web.xml for the application is 
> like this :*
>
>  
>
> <filter>
>
>             <filter-name>NtlmHttpFilter</filter-name>
>
>             <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
>
>             <init-param>
>
>
<param-name>jcifs.smb.client.domain</param-name>
>
>                         <param-value>domainname</param-value>
>
>             </init-param>
>
>             <init-param>
>
>        <param-name>jcifs.netbios.wins</param-name>
>
>        <param-value>192.168.26.13,192.168.26.12</param-value>
>
>     </init-param>
>
>             <init-param>
>
>         <param-name>jcifs.util.loglevel</param-name>
>
>         <param-value>1</param-value>
>
>     </init-param>
>
> </filter>
>
>  
>
> <filter-mapping
>
>     url-pattern='/*'
>
>     filter-name='NtlmHttpFilter'/>
>
>  
>
>  
>
> *When I try to access the example serlvet  from the same machine, I 
> get a 404 error. I cannot see any logs. Which is the default logging 
> location ?  *
>
> *Am I missing something ? Any help will be appreciated. *
>



More information about the jcifs mailing list