<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hello everyone,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I noticed that the homepage of jCIFS states that version 1.3.18 was released in October 2014.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But in the Maven Central Repository the most current version is 1.3.17 of March 2012.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Any change that this will change in the future?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I also faced an issue regarding the use / creation of threads within the jCIFS library.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>From time to time I have more than 500 threads created by the library also I don't access that many shares and files at once (only one-by-one).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The stack trace of all of these threads looks like this:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>JCIFS-QueryThread: <MYDOMAIN>:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                java.lang.Object.wait(Native Method)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                java.lang.Object.wait(Object.java:502)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                jcifs.netbios.NbtAddress.checkLookupTable(NbtAddress.java:332)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                jcifs.netbios.NbtAddress.doNameQuery(NbtAddress.java:305)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                jcifs.netbios.NbtAddress.getByName(NbtAddress.java:422)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                jcifs.UniAddress$QueryThread.run(UniAddress.java:147)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><MYDOMAIN> is of course a placeholder.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Is it possible that a name lookup is done for every access (means method call) of the jcifs.smv.SmbFile class?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Or at least almost every access, like the #exist(), #delete(), #isFile() methods.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Is it possible to do an address caching so the?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Or to define a thread pool, so I can limit the number of threads, let's say to 20?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Is it somehow possible to prevent the call of the methods which lead to the creation of the threads?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal>Gerrit<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>