BACKGROUND INFORMATION:
I have used mod_jk to configure Apache to work as a load balancer for
two Tomcat server instances. To these Tomcat instances, I have
deployed two Web Applications, ts_core_virtual_repository and pum.
These Web Applications are actually simple servlets that DO NOT use
J2EE
Hello,
After hours of googling and browsing documentation, i came to the conclusion
that what i want is either so trivial that everybody knows how to do it, or so
complicated that no one ever tried it...
I want to accomplish the following in Tomcat 5.5:
http://myserver:80/xxx just does
On 23.11.2009 01:37, Ahmed Medhat wrote:
Hello,
Setting connection_pool_size to a non-zero value (100 in my case) have
no effect at all..
It's not necessary (but it works). mod_jk when used with Apache
automatically sizes its pool in each processo to the number of request
threads configured
On 23.11.2009 09:53, Tero Karttunen wrote:
BACKGROUND INFORMATION:
I have used mod_jk to configure Apache to work as a load balancer for
two Tomcat server instances. To these Tomcat instances, I have
deployed two Web Applications, ts_core_virtual_repository and pum.
These Web Applications are
2009/11/23 Looijmans, Mike mike.looijm...@oce.com
Hello,
After hours of googling and browsing documentation, i came to the
conclusion that what i want is either so trivial that everybody knows how to
do it, or so complicated that no one ever tried it...
I want to accomplish the following
On 23.11.2009, at 11:08, Looijmans, Mike mike.looijm...@oce.com
wrote:
Hello,
After hours of googling and browsing documentation, i came to the
conclusion that what i want is either so trivial that everybody
knows how to do it, or so complicated that no one ever tried it...
I want
Peter Crowther wrote:
...
You might, however, be able to get what you want using a combination of
http://tuckey.org/urlrewrite/ and two Connectors defined on the same
Service.
That indeed looks to me like a way, if you want to stay entirely within
Tomcat. It would have the benefit that there
...
Note that you'll end up with two independent copies of the
servlet in your two webapp directories, and they won't share
things like Sessions between them.
And, as I mentioned, I don't want that to happen.
You might, however, be able to get what you want using a
combination of
We are installing TC behind a proxy. The proxy will map all requests of form
http(s)://host/prefix/* to tomcat.
Is there a config option to change the context root?
i.e.:
webapps/ROOT = http://localhost/prefix/
webapps/manager = http://localhost/prefix/manager/
webapps/examples =
The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead.
--David
Jason Pyeron wrote:
We are installing TC behind a proxy. The proxy will map all requests of form
http(s)://host/prefix/* to tomcat.
Is there a config option to change the context root?
i.e.:
webapps/ROOT =
i use 3 tomcats in one PC, in each tomcat i have a webservice, for each
webservice i use a mysql database.
my question is:
how can i write a config file in each tomcat to let tomcat1 load DB1,
tomcat2 load DB2 and tomcat3 load DB3.
thanks.
--
View this message in context:
On 23/11/2009 13:00, dishmily wrote:
i use 3 tomcats in one PC, in each tomcat i have a webservice, for each
webservice i use a mysql database.
my question is:
how can i write a config file in each tomcat to let tomcat1 load DB1,
tomcat2 load DB2 and tomcat3 load DB3.
thanks.
I'm guessing
Because you want different sets of webapps served on your
different connectors, I *think* you'll need two different
Services in your server.xml:
Server
Service for port 80
Connector for port 80
Engine for port 80
Host for port 80, specifying base directory for your
On 23/11/2009 13:06, Looijmans, Mike wrote:
Because you want different sets of webapps served on your
different connectors, I *think* you'll need two different
Services in your server.xml:
Server
Service for port 80
Connector for port 80
Engine for port 80
Host for port
I tried this, just to be able to make some progress on the actual
project, but it does not work as expected. I copied
theserver part
and replaced:
Host name=localhost appBase=webapps /
with
Host name=localhost appBase=webapps/myapp /
You're telling the
-Original Message-
From: David Smith [mailto:d...@cornell.edu]
Sent: Monday, November 23, 2009 7:51
To: Tomcat Users List
Subject: Re: Moving the webapps context root or adding a prefix
The super simple answer is deploy your 'ROOT' webapp as
'prefix' instead.
But that won't
Some additional information: The blank page is actually a 400 Bad
Request response.
A 404 I could understand - especially when the directoy does not exist -
but why it returns 400 is a total mystery. There's nothing in the log
files, the access log just mentions the 400 response. There is also
Jason Pyeron wrote:
-Original Message-
From: David Smith [mailto:d...@cornell.edu]
Sent: Monday, November 23, 2009 7:51
To: Tomcat Users List
Subject: Re: Moving the webapps context root or adding a prefix
The super simple answer is deploy your 'ROOT' webapp as
'prefix'
thanks. the tomcat i use is Tomcat 6.0.
i will have a look at the URL.
Pid Ster wrote:
On 23/11/2009 13:00, dishmily wrote:
i use 3 tomcats in one PC, in each tomcat i have a webservice, for each
webservice i use a mysql database.
my question is:
how can i write a config file in each
Looijmans, Mike wrote:
I tried this, just to be able to make some progress on the actual
project, but it does not work as expected. I copied
theserver part
and replaced:
Host name=localhost appBase=webapps /
with
Host name=localhost appBase=webapps/myapp /
You're
No. You want webapps/myapp to be treated as the ROOT context
for a host.
appBase=webapps/myapp means look in the webapps/myapp
directory to find contexts for this host. The ROOT context in
that case would be webapps/myapp/ROOT
As a general rule any configuration that boils down to
-Original Message-
From: Mark Thomas
Sent: Monday, November 23, 2009 8:41
To: Tomcat Users List
Subject: Re: Moving the webapps context root or adding a prefix
Jason Pyeron wrote:
-Original Message-
From: David Smith Sent: Monday, November 23, 2009 7:51
To:
2009/11/23 Looijmans, Mike mike.looijm...@oce.com
No. You want webapps/myapp to be treated as the ROOT context
for a host.
appBase=webapps/myapp means look in the webapps/myapp
directory to find contexts for this host. The ROOT context in
that case would be webapps/myapp/ROOT
As a
-Original Message-
From: Jason Pyeron
Sent: Monday, November 23, 2009 9:09
To: 'Tomcat Users List'
Subject: RE: Moving the webapps context root or adding a prefix
-Original Message-
From: Mark Thomas
Sent: Monday, November 23, 2009 8:41
To: Tomcat Users List
AlbundySzabolcs wrote:
Hi,
I have been trying to solve a problem, but I have not found any good
solution yet.
The problem is:
I have a web app and this web app is deployed to the
$TOMCAT_HOME/webapps/XXX directory.
I can reach that on the http://localhost:8080/XXX address
BUT, I would like to
Looijmans, Mike wrote:
...
Instead of introducing a third party component, it seems possible to
write a custom Filter to do this. All it needs to do is look at the
incoming port and if that equals 666 insert the /myapp into the url?
The documentation on Filters is large but provides - again -
i have made few changes, but it didn't work.
(my project uses tomcat and hibernate.)
1) $Tomcat_Home\conf\context.xml was changed to:
Context
WatchedResourceWEB-INF/web.xml/WatchedResource
Resource name=jdbc/mysql auth=Container
type=javax.sql.DataSource
Hi,
I would like to use tomcat 4.0 and configure it in my IBM- Rational
Application developer. In order to configure Tomcat into my IDE, I have
downloaded the tomcat and I just need to provide the path of the
installation directory.I tried with bin, lib and other directories but RAD
is saying -
Hi,
I am working on a project for a customer and before i put the final dot i'd
like to know if 1.2.29 is a couple weeks off or sometime next year sometime.
many thanks - Fred
--
View this message in context:
From: File Send [mailto:file.sen...@gmail.com]
Subject: Fwd: Installation directory path for Tomcat 4.0
I would like to use tomcat 4.0
Stop right there. Using a seven-year-old, completely outmoded and unsupported
version of Tomcat is utterly pointless.
- Chuck
THIS COMMUNICATION MAY
I just had to remove one on one of my servers (I create one per instance and
just deleted an instance).
The registry path is HKLM\Software\Microsoft\Windows\CurrentVersion\Run.
The default key name is ApacheTomcatMonitor.
Jeff
-Original Message-
From: André Warnier
On 23/11/2009 16:03, dishmily wrote:
i have made few changes, but it didn't work.
(my project uses tomcat and hibernate.)
You didn't mention that before.
You need to configure Hibernate to use the DataSource jdbc/mysql that
you've created. It doesn't appear to be correctly configured at
On 11/23/2009 05:22 PM, fredk2 wrote:
Hi,
I am working on a project for a customer and before i put the final dot i'd
like to know if 1.2.29 is a couple weeks off or sometime next year sometime.
Should be by the end of this year so that we keep two releases/year rythm :)
There are few bugs
good to know the rythm :) thanks - fred
Mladen Turk-3 wrote:
On 11/23/2009 05:22 PM, fredk2 wrote:
Hi,
I am working on a project for a customer and before i put the final dot
i'd
like to know if 1.2.29 is a couple weeks off or sometime next year
sometime.
Should be by the end of
ok, works ... thanks :-)
-Ursprüngliche Nachricht-
Von: Tim Funk [mailto:funk...@apache.org]
Gesendet: Donnerstag, 19. November 2009 13:38
An: Tomcat Users List
Betreff: Re: per context access log
Sorry - (AFAICT) there isn't a way to do that. You have to
configure each one.
Ludwig,
What is your dev language?
-Original Message-
From: Ludwig Magnusson [mailto:lud...@itcatapult.com]
Sent: Monday, November 23, 2009 11:24 AM
To: users@tomcat.apache.org
Subject: Problems finding the right filepath
Hello!
We are a team developing a webapp running on a tomcat
From: Ludwig Magnusson [mailto:lud...@itcatapult.com]
Subject: Problems finding the right filepath
We are a team developing a webapp running on a tomcat server.
What version of Tomcat? (Be precise.) What JVM?
We need to list the files in a certain directory in our
application, but we
Or... maybe within a initialization parameter for a servlet if you are
using Java
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Monday, November 23, 2009 11:59 AM
To: Tomcat Users List
Subject: RE: Problems finding the right filepath
From:
We are running Tomcat 6.0.20.
The JDK is 1.6 but not the exact same version on all machines. My computer
has 1.6.0.17, the server has 1.6.0.07
We are developing on both windows and mac. The server is ubuntu.
To specify what I want, here is a model of my filesystem:
/Tomcat-folder
/conf
Ludwig, it's been a while, but there used to be a function getRealPath
or something very close to that on the ServletContext object where you
can get a system-proper path of a resource. Have you tried that?
-Original Message-
From: Ludwig Magnusson [mailto:lud...@itcatapult.com]
Sent:
Thank you, that one worked.
/Ludwig
-Original Message-
From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]
Sent: den 23 november 2009 19:25
To: Tomcat Users List
Subject: RE: Problems finding the right filepath
Ludwig, it's been a while, but there used to be a function
On 23/11/2009 18:41, Ludwig Magnusson wrote:
Thank you, that one worked.
/Ludwig
May I ask what you're searching for?
p
-Original Message-
From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]
Sent: den 23 november 2009 19:25
To: Tomcat Users List
Subject: RE: Problems finding
From: Ludwig Magnusson [mailto:lud...@itcatapult.com]
Subject: RE: Problems finding the right filepath
Thank you, that one worked.
Again, getRealPath() is not guaranteed to return anything - it's up to the whim
of the container. To quote from the API doc:
This method returns null if the
The Apache Tomcat team announces the immediate availability of Apache
Tomcat Native 1.1.18 stable. This release includes few bug fixes over
Apache Tomcat Native 1.1.16 and fixes the client initiated part of
cve-2009-3555, note that the server initiated renegociation was added in
1.1.17 (and is
Thanks Team for the fixes and any enhancements!
So does one need to uninstall the older version before installing this one?
Regards,
-Tony
--- On Mon, 11/23/09, jean-frederic clere jfcl...@gmail.com wrote:
From: jean-frederic clere jfcl...@gmail.com
Subject: [ANN] Apache Tomcat Native 1.1.18
45 matches
Mail list logo