Hi Team,
 
We have a project here whose primary purpose is to call a script on a
unix server from a java client ( via a swing UI). For this i have
selected Jsch as my connecting component between java and the unix
server. The script is called fine, however there is an issue. The jsch
fails to detect the closing signal from the script.
 
The script contains a call to the oracle 'exp' command with a file
argument and log argument. The line is shown here : 
 
exp $dbusr/$db...@$oracle_service file=expdb_`date +%d-%m-%G`.dmp
log=explog_`date +%d-%m-%G`.log statistics=none.
 
The control is getting struck here. The channel.isClosed() always return
false.  For all the other commands, even the sqlplus commands and other
functions it is working fine.
 
Please advise as iam unable to proceed further.
 
Regards,
P.V.R.Kartik
 
 
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to