在Domino Java代理中,我正在訪問需要使用JCIFS庫進行身份驗證的共享驅動器,並設法訪問該文件並通過它進行循環。但是,我不斷收到服務器日誌中的消息「錯誤清理代理線程」。我added some code顯示線程發生了什麼,但不知道我可以關閉或回收什麼。使用JCIFS的Domino Java代理 - 清除代理線程時出錯
這裏是代碼和服務器日誌。我已經註釋了該文件的處理過程,但是該消息仍然與註釋掉的代碼一起出現。
代碼片段:
NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("testdomain", "test user", "password"); SmbFile csvImportFile = new SmbFile("smb://sap/general/"+ filePattern, auth); Reader reader = new InputStreamReader(csvImportFile.getInputStream()); /* process file */ reader.close(); System.out.println("Dump the current threadgroup:\n"); dumptg(null);
服務器LOG:
27/05/2015 05:03:42 PM HTTP JVM: Dump the current threadgroup: 27/05/2015 05:03:42 PM HTTP JVM: ThreadGroup UTG: JavaAgent, objid = 982530704 27/05/2015 05:03:42 PM HTTP JVM: subgroups = 0 27/05/2015 05:03:42 PM HTTP JVM: total threads = 6 27/05/2015 05:03:42 PM HTTP JVM: Thread Name, ThreadID, ThreadGroup 27/05/2015 05:03:42 PM HTTP JVM: JCIFS-QueryThread: testdomain, 587342594, UTG: JavaAgent 27/05/2015 05:03:42 PM HTTP JVM: Transport1, 1880453141, UTG: JavaAgent 27/05/2015 05:03:42 PM HTTP JVM: Transport2, 621094149, UTG: JavaAgent 27/05/2015 05:03:42 PM HTTP JVM: JCIFS-NameServiceClient, 1103184321, UTG: JavaAgent 27/05/2015 05:03:42 PM HTTP JVM: JCIFS-QueryThread: testdomain, 342692973, UTG: JavaAgent 27/05/2015 05:03:42 PM HTTP JVM: AgentThread: JavaAgent, 279056546, UTG: JavaAgent 27/05/2015 05:03:43 PM HTTP JVM: Error cleaning up agent threads