[jcifs] jcifs.util.transport.TransportException Connection timed out

Franck Schmidlin Franck.Schmidlin at northgate-is.com
Wed Nov 14 08:27:10 MST 2012


This btw occurs on the latest release of JCIFS (1.3.17) between 2 windows servers.
The target filepath involves a windows share pointing a SAN.

Any assistance with this will be greatly appreciated.

Thanks

______________________________
Franck Schmidlin
Transformation Technical Consultant - Integration
Technical Architect - Northgate Hub 
Northgate Public Services 
Please consider the environment before printing this e-mail


-----Original Message-----


Hi, could you help me interpret the following JCIFS trace?

This is occurring on a site where everything was working fine yesterday but started timing out today.
I have asked the site network people to check whether the target server was under sever load and apparently it isn't.

I have tried to increase the soTimeout and responseTimeout but it hasn't made any difference.

Does this trace contain any information I could use to figure out the issue?

Is there anything else I can try? 

Thanks

 
java.specification.name=Java Platform API Specification
java.class.version=50.0
sun.management.compiler=HotSpot Client Compiler
wrapper.pid=4268
os.version=6.1
wrapper.java.pid=3436
user.home=C\:\\Users\\sv-XXXX
user.timezone=Europe/London
wrapper.jvmid=1
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.specification.version=1.6
file.encoding=Cp1252
jcifs.smb.client.soTimeout=140000
jcifs.util.loglevel=10
user.name=SYSTEM
java.class.path=.\\jre_1_6_0\\lib\\endorsed\\xml-apis.jar;.\\jre_1_6_0\\lib\\endorsed\\xercesImpl.jar;.\\jre_1_6_0\\lib\\endorsed\\xalan.jar;.\\
jre_1_6_0\\lib\\endorsed\\serializer.jar;.\\lib\\wrapper\\wrapper.jar;.\\bin\\com.anite.connect.startup.jar
java.vm.specification.version=1.0
wrapper.port=32000
sun.arch.data.model=32
java.home=C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0
java.specification.vendor=Sun Microsystems Inc.
user.language=en
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.6.0_10
java.ext.dirs=C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\ext;C\:\\Windows\\Sun\\Java\\lib\\ext
sun.boot.class.path=C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\endorsed\\serializer.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\endorsed\\xalan.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\endorsed\\xercesImpl.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\endorsed\\xml-apis.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\resources.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\rt.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\sunrsasign.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\jsse.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\jce.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\charsets.jar;C\:\\_Northgate_components\\HIE_6688_TEST\\jre_1_6_0\\classes
java.vendor=Sun Microsystems Inc.
file.separator=\\
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
jcifs.smb.client.responseTimeout=120000
wrapper.native_library=wrapper
wrapper.jvm.port.min=31000
sun.desktop=windows
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger

NameQueryRequest[nameTrnId=1,isResponse=false,opCode=QUERY,isAuthAnswer=false,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBroadcast=true,resultCode=0,questionCount=1,answerCount=0,authorityCount=0,additionalCount=0,questionName=PH-BRA-AP-CFDB1<20>,questionType=0x0020,questionClass=IN,recordName=null,recordType=0x0000,recordClass=0x0000,ttl=0,rDataLength=0]

0000: 00 01 01 10 00 01 00 00 00 00 00 00 20 46 41 45  |............FAE|
00010: 49 43 4E 45 43 46 43 45 42 43 4E 45 42 46 41 43 |ICNECFCEBCNEBFAC|
00020: 4E 45 44 45 47 45 45 45 43 44 42 43 41 00 00 20 |NEDEGEEECDBCA..|
00030: 00 01                                           |..|

NetBIOS: new data read from socket

NameQueryResponse[nameTrnId=1,isResponse=true,opCode=QUERY,isAuthAnswer=true,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBroadcast=false,resultCode=0,questionCount=0,answerCount=1,authorityCount=0,additionalCount=0,questionName=null,questionType=0x0000,questionClass=IN,recordName=PH-BRA-AP-CFDB1<20>,recordType=0x0020,recordClass=IN,ttl=300000,rDataLength=12,addrEntry=[Ljcifs.netbios.NbtAddress;@4788d5]

00000: 00 01 85 00 00 00 00 01 00 00 00 00 20 46 41 45 |............FAE|
00010: 49 43 4E 45 43 46 43 45 42 43 4E 45 42 46 41 43 |ICNECFCEBCNEBFAC|
00020: 4E 45 44 45 47 45 45 45 43 44 42 43 41 00 00 20 |NEDEGEEECDBCA..|
00030: 00 01 00 04 93 E0 00 0C 00 00 0A 05 8D 8F 00 00 |.....?..........|
00040: 0A 67 05 03                                     |.g..|

Invalid state: 4

Unexpected exception caught here as a last resort -  : {1}  Please read all error messages carefully and check your configuration and environment. 
If you cannot easily identify the cause of this error, please contact support. Be prepared to provide them with a copy of the relevant log files. 
            at com.anite.connect.http.TokenRetrievalChannelServlet.doGet(TokenRetrievalChannelServlet.java:344)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
            at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:660)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1723)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1673)
            at org.mortbay.http.HttpServer.service(HttpServer.java:879)
            at org.mortbay.http.HttpConnection.service(HttpConnection.java:783)
            at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:945)
            at org.mortbay.http.HttpConnection.handle(HttpConnection.java:800)
            at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
            at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
            at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)

Caused by: jcifs.smb.SmbException: jcifs.util.transport.TransportException
java.net.ConnectException: Connection timed out: connect

 

______________________________
Franck Schmidlin
Transformation Technical Consultant - Integration Technical Architect - Northgate Hub 

Northgate Public Services 

Please consider the environment before printing this e-mail

 


-----------------------------------------------------------------------------------------
This email is sent on behalf of Northgate Information Solutions Limited and its associated companies ("Northgate") and is strictly confidential and intended solely for the addressee(s).  
 
If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully;  (ii) contact Northgate immediately on +44 (0)1442 232424 quoting the name of the sender and the addressee then delete it from your system.
 
Northgate has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted.  You should scan attachments (if any) for viruses.
 
Northgate Information Solutions Limited. Registered in England no. 06442582  -  Northgate Information Solutions UK Limited. Registered in England no. 968498  -  NorthgateArinso UK Limited .Registered in England no. 1587537  -  Moorepay Limited.  Registered in England no. 891686  - First Business Support Limited. Registered in England no. 3056267 -  Registered Office: Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire HP2 4NW 
 
Northgate Managed Services Limited (NI).  Registered in Northern Ireland no. NI032979  -  LearnServe Limited (NI).  Registered in Northern Ireland no. NI043825 Registered Office: Hillview House, 61 Church Road, Newtownabbey, Co. Antrim, BT36 7LQ 

-----------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20121113/48f9670f/attachment.html>

------------------------------

_______________________________________________
jCIFS mailing list
jCIFS at lists.samba.org
https://lists.samba.org/mailman/listinfo/jcifs


End of jCIFS Digest, Vol 119, Issue 1
*************************************

------------------------------------------------------------------------------------
The Northgate IS Content Screening and Inspection system has scanned this message for malicious and inappropriate content and none was found. Please take care when opening attachments even when these are expected and from known and trusted sources. 
------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
This email is sent on behalf of Northgate Information Solutions Limited and its associated companies ("Northgate") and is strictly confidential and intended solely for the addressee(s).  
 
If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully;  (ii) contact Northgate immediately on +44 (0)1442 232424 quoting the name of the sender and the addressee then delete it from your system.
 
Northgate has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted.  You should scan attachments (if any) for viruses.
 
Northgate Information Solutions Limited. Registered in England no. 06442582  -  Northgate Information Solutions UK Limited. Registered in England no. 968498  -  NorthgateArinso UK Limited .Registered in England no. 1587537  -  Moorepay Limited.  Registered in England no. 891686  - First Business Support Limited. Registered in England no. 3056267 -  Registered Office: Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire HP2 4NW 
 
Northgate Managed Services Limited (NI).  Registered in Northern Ireland no. NI032979  -  LearnServe Limited (NI).  Registered in Northern Ireland no. NI043825
Registered Office: Hillview House, 61 Church Road, Newtownabbey, Co. Antrim, BT36 7LQ 

-----------------------------------------------------------------------------------------


More information about the jCIFS mailing list