Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SMB connection is not working for Windows 2008 R2

 
Naresh Kavala
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am trying to read some flat file from remote windows machine using smb protocol. I am using jcifs- 1.3.15. Its working fine with Windows 2003, 2000 but not with 2008 R2.
Could anybody explain is it not compatible with 2008 R2?. Is there any other alternative which will work for all windows versions.

I get following exception for 2008 servers.

java.lang.NullPointerException
at jcifs.smb.SmbFile.getType(SmbFile.java:1278)
at jcifs.smb.SmbFile.doEnum(SmbFile.java:1733)
at jcifs.smb.SmbFile.listFiles(SmbFile.java:1715)
at jcifs.smb.SmbFile.listFiles(SmbFile.java:1648)
at com.ge.nbcu.dashboard.core.util.Test.fetchLatestMonValueFile(Test.java:44)
at com.ge.nbcu.dashboard.core.util.Test.main(Test.java:75)


Regards,
Naresh.
 
Naresh Kavala
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any Suggestions Please ......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic