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

Franck Schmidlin Franck.Schmidlin at northgate-is.com
Tue Nov 13 09:45:24 MST 2012


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_TES
T\\jre_1_6_0\\lib\\endorsed\\xalan.jar;C\:\\_Northgate_components\\HIE_6
688_TEST\\jre_1_6_0\\lib\\endorsed\\xercesImpl.jar;C\:\\_Northgate_compo
nents\\HIE_6688_TEST\\jre_1_6_0\\lib\\endorsed\\xml-apis.jar;C\:\\_North
gate_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\resources.jar;C\:\\_Nort
hgate_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\:\\_Northgat
e_components\\HIE_6688_TEST\\jre_1_6_0\\lib\\jsse.jar;C\:\\_Northgate_co
mponents\\HIE_6688_TEST\\jre_1_6_0\\lib\\jce.jar;C\:\\_Northgate_compone
nts\\HIE_6688_TEST\\jre_1_6_0\\lib\\charsets.jar;C\:\\_Northgate_compone
nts\\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.Jdk14Logg
er

 

NameQueryRequest[nameTrnId=1,isResponse=false,opCode=QUERY,isAuthAnswer=
false,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBro
adcast=true,resultCode=0,questionCount=1,answerCount=0,authorityCount=0,
additionalCount=0,questionName=PH-BRA-AP-CFDB1<20>,questionType=0x0020,q
uestionClass=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,isBroa
dcast=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=300
000,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(TokenRetrieval
ChannelServlet.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:66
0)

            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-0001.html>


More information about the jCIFS mailing list