[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 has
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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:[EMAIL
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
webapp that will
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 time
- From: David Kerber [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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
Message - From: David Kerber [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Sunday, October 14, 2007 9:49 PM
Subject: Re: Copying large files around
Pid wrote:
Johnny Kewl wrote:
---
HARBOR: http://coolharbor.100free.com
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: David Kerber
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org; [EMAIL PROTECTED]
Sent: Saturday, October 13, 2007 12:41 PM
Subject: Re: Copying large files around
---
HARBOR: http://coolharbor.100free.com/index.htm
Now
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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 a cool
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
-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
to a
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
it
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 users@tomcat.apache.org
Sent: Saturday, October 13, 2007 11:29 AM
Subject: Re: Copying large files
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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: I am working
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[] array? Or what?
PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, October 13, 2007 11:29 AM
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: I am working
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
-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 what?
If
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[]
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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 real time
back up
26 matches
Mail list logo