---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: Johnny Kewl
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: Johnny Kewl
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: David Kerber
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: Johnny Kewl
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: Johnny Kewl
Hi,
I want to make the application contextPath independent. Normally this is not
a problem because I can use request.getContextPath() however I need to know
the contextPath during startup:
servlet
servlet-namestartup/servlet-name
servlet-class.../servlet-class
Hi!
I would like to put to run two tomcat at the same time ( tomcat 5.5 and
tomcat 5.0 jwsdp), Is it possible?
I try to change the port of one tomcat (8080 for 8009) but do not working
the two tomcat at time.
Could someone help me?
Thanks very much.
--
View this message in context:
lissette wrote:
I would like to put to run two tomcat at the same time ( tomcat 5.5 and
tomcat 5.0 jwsdp), Is it possible?
Yes.
I try to change the port of one tomcat (8080 for 8009) but do not working
the two tomcat at time.
You have to make sure that *all* ports are different.
if you mean during the init() method:
/*
* (non-Javadoc)
* @see javax.servlet.GenericServlet#init(javax.servlet.ServletConfig)
*/
@Override
public void init(ServletConfig config) throws ServletException {
//
ServletContext context =
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
Russ,
1. I think that configuring /WEB-INF/lib2 is not possible. The spec
has no provision for it.
2. You may place all these jars into shared jars folder in tomcat configuration,
and exclude them from your war.
In tomcat 5.5.x, the place is ${catalina.base}/shared/lib/
See
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
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: embedded Tomcat (5.5.23) application logging
(java.util.logging)
This java.util.logging.manager is part of Java, not Tomcat...
So on the command line as Java starts it inits this...
So I think even if this property is set as the
-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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
Pid wrote:
ServletContext context = config.getServletContext();
String path = context.getContextPath();
I can't remember if this is the same thread (the original message has
fallen off my list queue), but I thought the OP was
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
Yes. It has AT (command line) and a scheduler (GUI). You can do a batch file
and set it to run at a certain time, day and frequency. I had a client that
I setup the dhcp service to stop, copy the database over to a backup
directory and then restart the service in a batch file. Then I called it
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: David Kerber
Hi ,
i have a site configured on every possible place to utf8 , when i use it on
my computer everything runs ok beside a little problem where i had to use a
file uploaded with commons.fileupload , there i used get with windows1255
but everything works on my computer
when i uploaded the file to
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?
Apache httpd and Tomcat do not share any memory, so there is not any
explicit memory-copying going on.
How do they share data? For example, when Tomcat creates an HTTP
response containing 50k of HTML, I assume that data exists in Tomcat's
memory space. How does that data move over to apache's
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 security permissions to
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
exactly, that was it. thanks a lot!
albert
Is there anything interesting in httpd's error.log file?
Symbolic link not allowed: /usr/share/tomcat6
There you go. You have Options FollowSymLinks listed for
/usr/share/tomcat6/webapps/my_app, but not for either / or
/usr/share or something
-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..
Hello,
I am trying to setup SSL in my Tomcat 5.5.25 (on Debian Linux) and thus
downloaded a binary version of Tomcat from the Tomcat website.
Now I tried to create a keystore:
# keytool -genkey -v -keyalg RSA
The server.xml is as follows:
Connector port=8443 maxHttpHeaderSize=8192
I really appreciate the timeliness of all the responses and the theory
behind how and when logging is configured and initialized has been explained
really well.
However I'm not so sure I have explained where I actually am very well. I
have been able to configure Java logging via the command line
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[]
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: David Kerber
33 matches
Mail list logo