Not sure whether this is applicable here... but encountered similar issue with
Tomcat and XAPOOL...
When DB server fails, connection pool has maximum connection initialised (but
not working). Thus with restart of DB server, Tomcat need to be restarted to
initialize active connections of pool,
On 09/12/2009 08:57, Hadole, Nishant IN BOM SISL wrote:
Not sure whether this is applicable here... but encountered similar issue with
Tomcat and XAPOOL...
When DB server fails, connection pool has maximum connection initialised (but
not working). Thus with restart of DB server, Tomcat need
Nishant,
that didn't quite work, actually.
After some struggle with our outsourcers, we added a new machine
running Tomcat 6.0.20 *without tcnative* (they misplaced the .so
files).
That eventually resulted in a worse behaviour: within a few minutes
from startup all the TP-Processor threads on
On 09/12/2009 11:00, Alessandro Bahgat wrote:
Nishant,
that didn't quite work, actually.
After some struggle with our outsourcers, we added a new machine
running Tomcat 6.0.20 *without tcnative* (they misplaced the .so
files).
That eventually resulted in a worse behaviour: within a few minutes
Hi
We have deployed same TOMCAT 6.0.20on Windows / Linux
1) In case of Windows the Catalina. out is not generated in /log
folder while on Linux the same is generated on every start
2) Tomcat on windows is Slow compared to Linux in request /response
Why is this ?
Hi,
I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and
db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to
run the tomcat, server started up properly.
Now I have removed these jar from common/lib and put under shared/lib,
server throws an error saying
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com
We have deployed same TOMCAT 6.0.20on Windows / Linux
Just to check: in both cases, you downloaded the same installation files
from http://tomcat.apache.org and installed them?
Exactly the same JVM revision on both
Karthik Nanjangude wrote:
Hi
We have deployed same TOMCAT 6.0.20on Windows / Linux
1) In case of Windows the Catalina. out is not generated in /log
folder while on Linux the same is generated on every start
2) Tomcat on windows is Slow compared to Linux in request
2009/12/9 Mohammad, Hammad Kasim Bekur hammadkasimbekur.moham...@misys.com
I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and
db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to
run the tomcat, server started up properly.
Now I have removed these jar from
Hi
Os/ : Windows 2000 / Linux
Same Tomcat 6.0.20 from
http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip
RAM is 2 GB on Linux on Windows is 1.5 GB
No extra applications are running when the same was executed
Machine details
Windows 2000
4 CPU
Tomcat: apache-tomcat-5.5.27
OS: Windows NT.
Ant: 1.7
Not from OS, downloaded version.
many thanks
Kasim
-Original Message-
From: peter.crowth...@googlemail.com
[mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
Sent: 09 December 2009 19:07
To: Tomcat Users List
Mohammad,
Look in your Tomcat/conf/catalina.properties file. Within there you'll
find a shared.loader= line, and I suspect it is empty. You'll likely
want to enter a value there, such as
shared.loader=${catalina.home}/shared,${catalina.home}/shared/*.jar
-Original Message-
From:
Joseph Morgan wrote:
Mohammad,
Look in your Tomcat/conf/catalina.properties file. Within there you'll
find a shared.loader= line, and I suspect it is empty. You'll likely
want to enter a value there, such as
shared.loader=${catalina.home}/shared,${catalina.home}/shared/*.jar
Nope. That
Mohammad, Hammad Kasim Bekur wrote:
I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and
db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to
run the tomcat, server started up properly.
Now I have removed these jar from common/lib and put under shared/lib,
server
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com
Same Tomcat 6.0.20 from
http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip
OK.
RAM is 2 GB on Linux on Windows is 1.5 GB
No extra applications are running when the same was executed
It verified and it as given as
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/li
b/*.jar
many thanks
Kasim
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: 09 December 2009 19:39
To: Tomcat Users List
Subject: Re: db jars in common/lib and
On 09/12/2009 14:12, Peter Crowther wrote:
2009/12/9 Karthik Nanjangudekarthik.nanjang...@xius-bcgi.com
Same Tomcat 6.0.20 from
http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip
OK.
RAM is 2 GB on Linux on Windows is 1.5 GB
No extra
Karthik Nanjangude wrote:
Also, both Windows 2000 and Java 1.5 are in the no longer supported
Off the topic - Does this mean Every Hardware /S/w for 6 months needs
replacement
Not really off the topic, if you are talking about comparisons and
benchmarks.
Peter Crowther wrote:
...
- A much older JVM, I think - this looks like the original 1.5 release,
compared to 1.5.0_18 on Linux.
- The client VM rather than the server VM is running.
I would expect both of these to slow down the Windows box.
Especially the client vs server vm, IME.
D
I'm teaching a Web Programming course and am using Tomcat 6 for the
servlet/jsp portion of the course. I have created a context for each student
in the server.xml file and it seems to work pretty good but if a student
modifies the web.xml file in their application I have to restart the sever
09.12.2009 15:31, steflik:
I'm teaching a Web Programming course and am using Tomcat 6 for the
servlet/jsp portion of the course. I have created a context for each student
in the server.xml file and it seems to work pretty good but if a student
modifies the web.xml file in their application I
From: steflik [mailto:stef...@binghamton.edu]
Subject: Tomcat Config Question
I have created a context for each student in the server.xml file
Don't do that - very strongly discouraged to have any webapp-specific
information in server.xml. The Context elements should be in
Hi
As Andre points out, you also don't give any information on the tests you're
running, which makes it difficult to know what you're actually comparing.
For example, if your webapp accesses an external database, the version of the
database software will make a massive difference.
Most of the
The global conf/context.xml file should have a
WatchedResource element for WEB-INF/web.xml; Tomcat should
automatically restart the webapp unless you've removed that
or disabled deployOnStartup in the Host element.
In my experience, Tomcat has problems reloading webapps
on occasion. This
Karthik Nanjangude wrote:
Hi
As Andre points out, you also don't give any information on the tests you're
running, which makes it difficult to know what you're actually comparing.
For example, if your webapp accesses an external database, the version of the
database software will make a
On 09/12/2009 14:52, Neil Aggarwal wrote:
The global conf/context.xml file should have a
WatchedResource element for WEB-INF/web.xml; Tomcat should
automatically restart the webapp unless you've removed that
or disabled deployOnStartup in theHost element.
In my experience, Tomcat has
2009/12/9 steflik stef...@binghamton.edu
I'm teaching a Web Programming course and am using Tomcat 6 for the
servlet/jsp portion of the course. I have created a context for each
student
in the server.xml file and it seems to work pretty good but if a student
modifies the web.xml file in
Thanks a lot for this great tip. Can I ask one more question?
What about those links in the static HTML? How does it access to context
path?
Thanks again,
run
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Run,
On 12/8/2009 4:39 PM, pprun wrote:
I
Karthik Nanjangude wrote:
...
When something is in Production it really gets pickles to upgrade the Jdk /OS ,
Realy worried :(
Karthik,
generally speaking, the gurus on this list - of which I am not - tend to
be sceptical about benchmarks. That is because, as Mark indicated in
Tomcat version: 5.5.27
Java version: 1.5.0_14-b03
I have a datasource configured in global context (via present in
[tomcat_home]/conf/context.xml) as follows:
Context
Resource name=*@tomcat.context.ece.read.ds.resource@* auth=*Container
type=@tomcat.context.driver.type@ driverClassName=
Anurag Kapur wrote:
Tomcat version: 5.5.27
Java version: 1.5.0_14-b03
I have a datasource configured in global context (via present in
[tomcat_home]/conf/context.xml) as follows:
snip/
I know a DS defined as above is visible across all the contexts defined in
the container. What I want
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tero,
(Moving this discussion back onto the tomcat-user list.)
On 12/9/2009 2:50 AM, Tero Karttunen wrote:
In this configuration I regularly need to deploy or re-deploy new
applications to all the Tomcat instances, and I was surprised to find
out
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 12/8/2009 6:28 PM, André Warnier wrote:
So now I can go to sleep peacefully, knowing that these parts of the
cookie do not in effect contain control characters.
I'm surprised that nobody else has noticed that the control characters
in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vas,
On 12/8/2009 6:58 PM, groupalias v wrote:
Thanks Chris. I was beginning to realize that myself. It hit me
yesterday that session management (though I have not started to deal
with it yet) could cause me problems if the apache mount and the
Gurdeep Kaur (gurdeep) wrote:
I am going to add some more information to the question I asked
yesterday.
I am running a TLS test case to do a TLS handshake on port 8443 of our
server that is running Tomcat 5.5.
I noticed in the log file that there are two threads currently running
on the
Thanks Mark.
Can you confirm that I can have one data source shared across all contexts
with the following configurations:
In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as
follows:
GlobalNamingResources
...
...
Resource name=*@tomcat.context.ece.read.ds.resource@*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Run,
On 12/9/2009 10:57 AM, pprun wrote:
What about those links in the static HTML? How does it access to context
path?
When it comes to static HTML/CSS, you have at least 4 options:
1) Hard-code the path and remember to change them if you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 12/9/2009 9:15 AM, Pid wrote:
[r...@teleglb bin]# uname -a
Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT
2006
i686 i686 i386 GNU/Linux
So you appear to have 2 processors in the linux machine.
Or maybe three: two
That doesn't mean someone didn't ax it.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Wednesday, December 09, 2009 8:09 AM
To: Tomcat Users List
Subject: Re: db jars in common/lib and shared/lib
Joseph Morgan wrote:
Mohammad,
Look in your
Not required for the web app unless you are using connection pooling
within tomcat. The DB drivers can be in shared.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Wednesday, December 09, 2009 8:10 AM
To: Tomcat Users List
Subject: Re: db jars in common/lib and
Kasim.. did you see Mark's note??? If you are using the connection pool
under Tomcat, then the DB drivers need to be located in shared.
-Original Message-
From: Mohammad, Hammad Kasim Bekur
[mailto:hammadkasimbekur.moham...@misys.com]
Sent: Wednesday, December 09, 2009 8:14 AM
To:
Dang it... the db drivers need to be located in common/lib if being used
as a source for a connection pool... Sorry for the mistake...
-Original Message-
From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]
Sent: Wednesday, December 09, 2009 12:04 PM
To: Tomcat Users List
Subject:
Anurag Kapur wrote:
Thanks Mark.
Can you confirm that I can have one data source shared across all contexts
with the following configurations:
In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as
follows:
GlobalNamingResources
...
...
Resource
Perfect Thanks!
The type I use would be:
jhttp://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html
avax.sql.DataSource
(I was using untokenized reference in my example)
Thanks for your help.
Regards
Anurag
--
Anurag
On 09/12/2009 18:01, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 12/9/2009 9:15 AM, Pid wrote:
[r...@teleglb bin]# uname -a
Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT
2006
i686 i686 i386 GNU/Linux
So you appear to have 2
Chris,
Christopher Schultz wrote:
I'm surprised that nobody else has noticed that the control characters
in question were already posted by Itay... it's just that nobody
bothered to read the error message properly :)
And we are quite flabbergasted that you did not peruse the thread
Hi All,
I have an application which needs to be deployed and accessed with
multilevel context path in the url.
So I have updated the TOMCAT_HOME/Conf/Server.xml with an appropriate
entry for this.
For Example:
If my application name is Doc.war and I want it to be accessed
You are absolutely right, I decided to follow your perference. Thank you very
much for the suggestions.
Regards,
run
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Run,
On 12/9/2009 10:57 AM, pprun wrote:
What about those links in the static HTML? How
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 12/9/2009 1:22 PM, Pid wrote:
On 09/12/2009 18:01, Christopher Schultz wrote:
Pid,
On 12/9/2009 9:15 AM, Pid wrote:
[r...@teleglb bin]# uname -a
Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT
2006
i686 i686 i386
As for the mangled ubuntu version, tomcat_home is /usr/share/
tomcat5.5, here is the directory listing
total 20
drwxr-xr-x 5 root root 4096 Dec 9 00:35 .
drwxr-xr-x 121 root root 4096 Dec 9 00:37 ..
drwxr-xr-x 2 root root 4096 Dec 9 00:35 bin
drwxr-xr-x 6 root root 4096 Dec 9 00:35
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 12/9/2009 1:35 PM, André Warnier wrote:
Chris,
Christopher Schultz wrote:
I'm surprised that nobody else has noticed that the control characters
in question were already posted by Itay... it's just that nobody
bothered to read the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Prashantha,
On 12/9/2009 2:05 PM, Prashantha H wrote:
If my application name is Doc.war and I want it to be accessed using
multilevel context path dco/smartfolder. (
http://localhost:8080/dco/smartfolder/)
Heh. So, you're on Windows,
Christopher Schultz wrote:
I'm surprised that nobody else has noticed that the control
characters
in question were already posted by Itay... it's just that nobody
bothered to read the error message properly :)
And we are quite flabbergasted that you did not peruse the thread
carefully, or
From: Egeste [mailto:ege...@egeste.net]
Subject: Re: tomcat, uPortal, error messages and confusion
As for the mangled ubuntu version, tomcat_home is /usr/share/
tomcat5.5, here is the directory listing
Yup, mangled - notice the soft links to files scattered all over, rather than
the
-Original Message-
From: Vadim Letitchevski [mailto:vletitchev...@teledyne.com]
Sent: Friday, December 04, 2009 4:49 PM
To: Tomcat Users List
Subject: RE: Can service output be redirected to the terminal window?
I am working under Linux actually.
Open a new window and change to
Hi All,
I am having tremendous difficulty configuring contexts on tomcat.
I've had to split my perfectly working application into two applications
as the jsp now requires Form based authentication and the XML components
require Http Basic authentication as before. As I've learned the very
hard
From: Anthony Jay [mailto:anthony...@fastmail.fm]
Subject: Contexts and Path and Authentication
I've had to split my perfectly working application into
two applications as the jsp now requires Form based
authentication and the XML components require Http Basic
authentication as before.
From: Caldarale, Charles R
Subject: RE: Contexts and Path and Authentication
What you could do is create a simple default (ROOT) webapp that
analyzes each request URI and then forwards it to one of the two real
apps, which would continue to be deployed as /formauth and /basicauth.
A filter
Chuck,
Thanks again for all your help with this. After following your
instructions and restarting tomcat, i know see my index.html when I
browse to localhost:8080. However, I still only see a 404 message when
I browse to localhost:8080/uPortal. Any further suggestions?
On Dec 9, 2009, at
Can you use url-rewriting (tukey.com) to get what you want:
/secure/yyy -- /formauth/secure/yyy -- Form based auth
etc???
On Dec 9, 2009, at 4:07 PM, Anthony Jay wrote:
Hi All,
I am having tremendous difficulty configuring contexts on tomcat.
I've had to split my perfectly working
From: Egeste [mailto:ege...@egeste.net]
Subject: Re: tomcat, uPortal, error messages and confusion
to localhost:8080. However, I still only see a 404 message when
I browse to localhost:8080/uPortal.
Look in the Tomcat logs (assuming you can find them) for any pertinent error
messages; it's
Ken Bowen wrote:
Can you use url-rewriting (tukey.com) to get what you want:
/secure/yyy -- /formauth/secure/yyy -- Form based auth
etc???
On Dec 9, 2009, at 4:07 PM, Anthony Jay wrote:
Hi All,
etc...
Ok, my try here. And by the same token - haha - I will give a chance to
Chris to
Many thanks Chuck and Ken for the tip. I am surprised that the solution
is a 'hack' rather than configuration, but kinda glad that I wasn't
losing my marbles.
URL Rewriting is probably going to be the easiest way out, I am
considering using mod_jk on the apache side so I could get away with
using
From: Anthony Jay [mailto:anthony...@fastmail.fm]
Subject: Re: Contexts and Path and Authentication
I am surprised that the solution is a 'hack' rather than
configuration
It's not by any means a hack; this is exactly the kind of thing filters are
intended to do.
I am considering using
Hi,
FYI just hit another stumbling block which may be of interest to
other users.
UrlRewriteFilter will not forward any of my requests, even to the sample
demo rule for /rewrite-status/ itself! It will, however, redirect
perfectly well (when type is changed to type=redirect) meaning that I
Hi
had to use roleSearch=(mail={1}) instead of roleSearch=(mail={0})
{0} takes the user dn where as {1} takes the username.
Regards
Shashank.
On Fri, 2009-12-04 at 16:04 +0530, Shashank Rachamalla wrote:
Hi
The following is the Realm configuration being used:
Realm
Can you please provide a link from apache or good site to have
justification?
many thanks
Kasim
-Original Message-
From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]
Sent: 09 December 2009 23:36
To: Tomcat Users List
Subject: RE: db jars in common/lib and shared/lib
Dang
Hi,
Iam using Tomcat 6. In my applicaion, when Users entered any url like
'www.google.com' then it will check for the status of the User. If he is
Inactive, then it will send a http packet to redirect to the particular URL:
like http://192.168.100.125:8080/; . Tomcat is listening to this port
Hi,
My application is having a restriction that I cannot change or add jars
to common/lib, is there anyway I can create a new directory which is
equalent to common/lib? What additional changes I need to make for
adding another directory?
Since If I open I can find tomcat/common/lib, server/lib,
I have found from tomcat wiki page http://wiki.apache.org/tomcat/HowTo
it says that:
How do I add JARs or classes to the common classloader without adding
them to $CATALINA_HOME/common/lib?
Edit the file catalina.properties under $CATALINA_BASE/conf; there is a
property called common.loader to
Try following changes in catalina.properties (Avoid spaces)
common.loader=${catalina.home}/common/classes,${catalina.home}/common/i1
8n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/
lib/*.jar,${catalina.home}/test/lib,${catalina.home}/test/lib/*.jar
With best regards,
71 matches
Mail list logo