---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: "David Kerber" <
Kewl" <[EMAIL PROTECTED]>
To: "Tomcat Users List" ; <[EMAIL PROTECTED]>
Sent: Saturday, October 13, 2007 12:41 PM
Subject: Re: Copying large files around
---
HARBOR: http://coolharbor.100free.co
Kewl" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, October 13, 2007 1:11 PM
Subject: Re: Copying large files around
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also
David Kerber wrote:
> What is the most efficient (=fastest) way of copying large (> 1GB [yes,
> that's a Giga]) files around the network in java when running under
> tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a
> large byte[] array? Or what?
I think that the NIO apis were
Pid wrote:
David Kerber wrote:
What is the most efficient (=fastest) way of copying large (> 1GB [yes,
that's a Giga]) files around the network in java when running under
tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a
large byte[] array? Or what?
I think that th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Kerber wrote:
> Let me give a bit more detail: I am working on a utility function in my
> webapp that will periodically copy the database file from the db server
> to a backup server on the LAN.
Uh cron and cp, anyone? You can even
On 10/13/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> David,
>
> David Kerber wrote:
> > Let me give a bit more detail: I am working on a utility function in my
> > webapp that will periodically copy the database file from the db server
>
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Kerber wrote:
Let me give a bit more detail: I am working on a utility function in my
webapp that will periodically copy the database file from the db server
to a backup server on the LAN.
Uh c
every night before the tape backup ran.
AT is a lot lighter than Scheduler so using it is preferable.
Doug
- Original Message -
From: "David Kerber" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, October 13, 2007 11:29 AM
Subject: Re:
erber" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, October 13, 2007 5:29 PM
Subject: Re: Copying large files around
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Kerber wrote:
Let me give a bit more detail:
David Kerber wrote:
> Pid wrote:
>> David Kerber wrote:
>>
>>> What is the most efficient (=fastest) way of copying large (> 1GB [yes,
>>> that's a Giga]) files around the network in java when running under
>>> tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a
>>> large byte[]
t; <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, October 13, 2007 11:29 AM
Subject: Re: Copying large files around
> Christopher Schultz wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > David,
> >
> >
Pid wrote:
David Kerber wrote:
Pid wrote:
David Kerber wrote:
What is the most efficient (=fastest) way of copying large (> 1GB [yes,
that's a Giga]) files around the network in java when running under
tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a
large
Martin Gainty wrote:
Sadly no cron (and sadly no .htaccess file available either)
wrap the java %java_opts% -cp %classpath% classname
in either a cmd or .bat
On a 7 year old wintel box the application is called Task Scheduler where
you want to select that cmd/bat
Be sure to set sufficient securit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Kerber wrote:
> Does Windows 2003 server have a version of cron?
Yes, it's called the Microsoft Task Scheduler.
> I've never used it.
:(
> And building it into my webapp lets all the configuration be done from
> the same interface..
> From: David Kerber [mailto:[EMAIL PROTECTED]
> What is the most efficient (=fastest) way of copying large (>
> 1GB [yes,
> that's a Giga]) files around the network in java when running under
> tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a
> large byte[] array? Or wha
Seconding Peter's comments: It is extremely unlikely that you can beat the
Windows tools for this sort of thing (been there, done that). Also, if your
webapp isn't physically on one or the other boxes (as Peter said, preferably
the reciever), then you are pretty much guaranteed to lose.
That
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
What is the most efficient (=fastest) way of copying large (>
1GB [yes,
that's a Giga]) files around the network in java when running under
tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a
large byte[] arr
erber" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, October 14, 2007 2:56 AM
Subject: Re: Copying large files around
If it Postgresql you using, a while a go I wrote a replication system for
Postgres, and its a TC servlet. So what you could to is make a re
gt; - Original Message - From: "David Kerber" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Sunday, October 14, 2007 2:56 AM
> Subject: Re: Copying large files around
>
> If it Postgresql you using, a while a go I wrote a replication system for
>
Message - From: "David Kerber" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, October 14, 2007 2:56 AM
Subject: Re: Copying large files around
If it Postgresql you using, a while a go I wrote a replication system for
Postgres, and its a TC servlet. So what y
erber" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, October 14, 2007 9:49 PM
Subject: Re: Copying large files around
Pid wrote:
Johnny Kewl wrote:
---
HARBOR: http://coolharbor.100free.c
On Sat, Oct 13, 2007 at 11:02:59AM -0400, Jim Cox wrote:
> On 10/13/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > David,
> >
> > David Kerber wrote:
> > > Let me give a bit more detail: I am working on a utility function in my
> >
On Sat, Oct 13, 2007 at 12:41:45PM +0200, Johnny Kewl wrote:
> OK... now if you on a LAN... thats cool, but for the internet this is not
> good enough...
>
> If you have a look at something like the Opera browser's file transfer it
> does some cool things, like if you shut down the machine, next
[Marked off-topic as this has, indeed, come a long long way from the
original question]
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> but yes if the user could consider replication
> and the required
> dB design, much better than moving GB files around.
Not always. For example, replication h
wther" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, October 15, 2007 11:38 AM
Subject: [OT] Replication (was RE: Copying large files around)
[Marked off-topic as this has, indeed, come a long long way from the
original question]
From: Johnny Kewl [mailto:[E
26 matches
Mail list logo