wood burning stoves 2.0*
The moose likes Applets and the fly likes TransportException in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "TransportException in applet " Watch "TransportException in applet " New topic
Author

TransportException in applet

prem kanna
Greenhorn

Joined: Sep 10, 2008
Posts: 26
hi all,
i had developed an applet. This applet having one frame class. This applet is called inside a jsp page.The Process of this page is copying files from one folder to another folder in server. Actually this process is working fine in first time. but the problem is i am closing the Applet window not closing the browser. if i reload that applet means the applet is loading but when i am copying a file from SAMBA server then it throw an Exception like:

The Exception is====> jcifs.smb.SmbException:
jcifs.util.transport.TransportException: Transport1[0.0.0.0<00>/172.16.2.1:445]
timedout waiting for response to Trans2QueryPathInformation[command=SMB_COM_TRANSACTION2,received=false,
errorCode=0,flags=0x0018,flags2=0xC003,signSeq=0,tid=1,pid=7121,uid=100,mid=224,
wordCount=15,byteCount=103,totalParameterCount=102,totalDataCount=0,maxParameterCount=2,
maxDataCount=40,maxSetupCount=0,flags=0x00,timeout=0,parameterCount=102,parameterOffset=66,
parameterDisplacement=0,dataCount=0,dataOffset=168,dataDisplacement=0,setupCount=1,pad=1,pad1=0,
informationLevel=0x101,filename=\TEST_AUG18-9780123699999\Latex-P369999\Ch 01-v4]
at jcifs.smb.SmbTransport.send(SmbTransport.java:589)

my code is :

can any one solve my problem please..................

[ UD: Added line break to preserve layout and CODE tags. Please do that in the future whenever you post code. ]
[ September 13, 2008: Message edited by: Ulf Dittmer ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TransportException in applet
 
Similar Threads
File Upload from Servlet Using JCIFS
How to open File on server Using JCIFS or any other method
Uploading a document to SharePoint using Java and Axis2
Opening a File at client
Need Help Reading/Writing an Image using Spring MVC