Thanks to ALL who contributed to helping me with this!
----- Original Message -----
From: "Tom K" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 19, 2004 9:54 PM
Subject: RE: Database backups initiated from Tomcat
> But ?????? can't you do something like this????
>
>
> public static final void openFileAndExecuteAssociatedApplication(String
> fullPathAndFileName){
> try {
> Process p = Runtime.getRuntime().exec("cmd /c start
> "+fullPathAndFileName);
> p.waitFor();
> } catch (Throwable ex) {
> ex.printStackTrace();
> }
> }
>
> I do agree that some of this Runtime stuff is dangerous. I'm just trying
> to help, but I don't want to waste time, so this is my last post
> regarding this topic. If anyone has a "proven" solution please share and
> leave the corrections to God!
>
> Tom Kochanowicz
>
> -----Original Message-----
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 19, 2004 3:37 PM
> To: Tomcat Users List
> Subject: Re: Database backups initiated from Tomcat
>
> On Wednesday 19 May 2004 04:22 pm, Tom K wrote:
> > I'm not sure either, but you could try it in a sync block and see if
> it
> > works and let us know ;-)
>
> Yoav Shapira answered that. (getRuntime().exec is non-blocking)
> Read his reply for the details.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.682 / Virus Database: 444 - Release Date: 5/11/2004
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.682 / Virus Database: 444 - Release Date: 5/11/2004
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]