[jcifs] Problems with Wins Resolution

andrea.lanza at frameweb.it andrea.lanza at frameweb.it
Wed Sep 25 02:08:45 EST 2002


Hi, I am new to jcifs...(pls. don't be too severe with me !)

I succeded in developing a servlet to browse my network via browser.

My problem is this: if I query for an host or a domain name or a group name
registered in Wins server , everything is OK

But if I just query for smb:// in order to obtain the list of workgroups
from the master browser, I only get a:

java.net.UnknownHostException: ..__MSBROWSE__.<01>

In my WINS Server I see the rigth entry, registered with the correct 16th
character of the NetBIOS name.

Moreover, If I query a workgroup name or a domain name or an host name, I
see the statistics increasing in my wins server (number of total query,
number of resolved query, ...)

But if I query the master browser nothing happens, there is no increase,
and I assume that no queries are sent to and/or received from the wins
server.

I try to configure the wins property in two ways:
1st  way) setting -Dwins=192.168.69.6  argument in my java servlet engine
(I am using IBM WebSphere 3.5.6)
2nd way) using      jcifs.Config.setProperty("jcifs.netbios.wins",
"192.168.69.6")  BEFORE using any other jcifs class

no matter the way, the result is the same.

any help would be appreciated,

thanks,

Andrea





More information about the jcifs mailing list