It would probably be helpful to see some logs. My hunch is that wit the shared directory (using jcifs) there are authentication problems. If you are using NTLM authentication to gain access to the files, then probably something is going wrong with the handshake.
It might be easier to use FTP instead of your current approach, but that is pure speculation not knowing the code or the exceptions.
Regards,
–mark
#webMethods-BPMS#webMethods#MWS-CAF-Task-Engine