Issue with Lan File Target

Issue:

We are having issues with Lan File Target. In the Lan File Target activity when clicked on “TEST” it takes a long time to test. It also takes a lot of time to copy file on LAN target.

The error is

jcifs.smb.SmbException: The handle is invalid.

at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)

at jcifs.smb.SmbTransport.send(SmbTransport.java:645)

at jcifs.smb.SmbSession.send(SmbSession.java:244)

at jcifs.smb.SmbTree.send(SmbTree.java:119)

at jcifs.smb.SmbFile.send(SmbFile.java:770)

at jcifs.smb.SmbFileOutputStream.writeDirect(SmbFileOutputStream.java:245)

at jcifs.smb.SmbFileOutputStream.write(SmbFileOutputStream.java:216)

at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)

at org.apache.commons.vfs.util.MonitorOutputStream.write(MonitorOutputStream.java:91)

at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)

at com.adeptia.indigo.services.transport.support.AbstractStreamTarget.readInputStreamCallback(AbstractStreamTarget.java:84)

rethrown as

com.adeptia.indigo.services.ServiceException: The handle is invalid.

at com.adeptia.indigo.services.transport.support.AbstractStreamTarget.readInputStreamCallback(AbstractStreamTarget.java:88)

at com.adeptia.indigo.services.transport.lanfile.LanFileTarget.readInputStreamCallback(LanFileTarget.java:378)

rethrown as


Resolution:

This issue can be resolved just by adding -Djcifs.resolveOrder=DNS in launcher.properties file. See below screenshot for location where this property needs to be added:

screenshot.jpg

Have more questions? Submit a request

0 Comments

Article is closed for comments.