exporting data from a batch file using javabean

Discussions

XML & Web services: exporting data from a batch file using javabean

  1. exporting data from a batch file using javabean (1 messages)

    hi
    my application uses Jrun server on win2000,and oracle 8i on sunsolaris..
    now at particular point of time i want to take the back up..that time i will send a xmlhttp request to bean and i will execute RunTime.exec("main.bat")..in this file i have the following line
    exp userid =demo/[email protected] file=DEVISSbeforeeod_125792001.dmp rows=y indexes=y buffer=2097120
    but its comming out and my log file is not showing any errors...
    Any Suggestions pl advice me..
    Thanx in advance
    [email protected]
  2. I would advice against starting a process from within a bean, if you want to do this then make it a cron-job or a scheduled task in nt.

    Joost.