Chuck,
---
If by "Tomcat 5" you really mean "Tomcat 5.0", please be aware that 5.0 has
not been supported for quite some time. You do need to move up.
---
Yes I do mean Tomcat 5.0. The reason why we are having this version is
because we have Business Objects (A
> From: pappu [mailto:anaga_mahade...@infosys.com]
> Subject: Re: "Request entity too large" when using SSO (IIS Integrated
> Windows authentication -Tomcat )
>
> So we having Tomcat 5 means that we cannot change this.
If by "Tomcat 5" you really mean "Tomcat 5.0", please be aware that 5.0 has no
Chris,
What mod_jk change? What does running Tomcat 5 (specifically) have to do
with it?
-
The link of tomcat below gives instructions on how to increase the
max_packet_size for AJP. This mentions that this is available only f
> From: Greg Allen [mailto:gregory.al...@sierraatlantic.com]
> Subject: RE: Tomcat, , and context.xml
>
> I have set up my realm in my webapp's META-INF directory, like this:
>
>
Take out the path attribute; it's not allowed.
Where is your webapp deployed? (I'll presume at webapps/test, for t
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
> Subject: Re: Performance: switch vs if ... else if
>
> Regarding "Server VM": I accept it as my mistake. I know, that Client
> VM is optimized for faster startup (and, well, it is written in the
> FAQ [1]), but I do not know why I though
I changed to use 5.5.27 (latest 5.5 version), and still have the same
problem.
I have set up my realm in my webapp's META-INF directory, like this:
ldap://localhost:10389";
digest="SHA"
allRolesMode="authOnly"
userPassword="userPassword"
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: RE: How to hot swap classes?
>
> I added a context.xml file under WEB-INF with the following content:
Let's have a little quiz; what part of the following did you not read carefully?
Hint: read Hassan's message.
> --- On Tue, 5/19/09, C
-- Forwarded message --
From: Deepa Annamalai
Date: 2009/5/20
Subject: Help needed to run JSTL 1.1 in Tomcat 6.0.16
To: users@tomcat.apache.org
Hi All,
Help needed to run JSTL 1.1 in Tomcat 6.0.16
I am trying to run the example given in
http://tomcat.apache.org/tomcat-6.0-doc/j
2009/5/20 Caldarale, Charles R :
>> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
>> Subject: Re: Performance: switch vs if ... else if
>>
>> Server VM precompiles code before using it, while Classic one compiles
>> heavily used parts of code on-the-fly.
>
> Your terminology is incorrect
Hi Christopher,
Christopher Schultz schrieb:
> When you say "embeds a Flash object within a JSP page", do you mean that
> your JSP generates a .swf document, or are you saying that the HTML your
> JSP generates causes a .swf document to be fetched by the browser?
>
>
The latter.
>
> Wow, does M
> -Original Message-
> From: Rainer Jung [mailto:rainer.j...@kippdata.de]
> Sent: Monday, May 18, 2009 11:10 PM
> To: Tomcat Users List
> Subject: Re: Running out of tomcat threads - why many threads in
> RUNNABLEstage even with no activity
>
> On 19.05.2009 02:54, Caldarale, Charles R wro
On Tue, May 19, 2009 at 3:43 PM, Dola Woolfe wrote:
> I added a context.xml file under WEB-INF with the following content:
WEB-INF != META-INF
>> > Where do I find the context.xml for a specific
>> webapp?
>>
>> The author of the webapp (you) would normally create it in
>> the webapp's META-INF
Hi,
I added a context.xml file under WEB-INF with the following content:
With that file I'm not having the desired effect. Nothing is restarting when a
class file changes.
--- On Tue, 5/19/09, Caldarale, Charles R wrote:
> From: Caldarale, Charles R
> Subject: RE: How to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
On 5/19/2009 4:55 PM, Tony Anecito wrote:
> Does Tomcat support gzip?
Do you mean Content-Encoding:gzip? Yup, Tomcat has that.
> Does Tomcat support sub-domains?
What is a sub-domain? My guess is that Tomcat supports that, too.
> Just curiou
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/19/2009 4:37 PM, André Warnier wrote:
> Well, maybe Chris could add one column to his tests, showing Apache +
> mod_jk proxying the requests to Tomcat ?
Yup, I'll be doing that, too. I think I'll add mod_proxy_ajp and
mod_proxy_http to th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/19/2009 2:28 PM, André Warnier wrote:
> Christopher Schultz wrote:
> ...
> Thanks for the work. At least it may put to rest some gross
> misconceptions.
>
> Now just a question : in the httpd tests, did you have an AccessLog
> enabled ?
Personally, I've just been running Tomcat standalone on port 80.
--- On Tue, 5/19/09, André Warnier wrote:
> From: André Warnier
> Subject: Re: Deploy Tomcat Standalone - good idea or not?
> To: "Tomcat Users List"
> Date: Tuesday, May 19, 2009, 4:37 PM
> johnrock wrote:
> > I am going to be
> > Yes, sure - we will upgrade at some point of
> > time. But since upgrading all our servers will be some work, that may
> > not happen right away.
>
> Upgrading mod_jk is the least painful of all of these, and the most
> likely to affect you.
>
[Pantvaidya, Vishwajit] I understand and agree an
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: How to hot swap classes?
>
> Did you mean "a separate ClassLoader for all the JSPs"?
Not quite, but what I said was incomplete. From looking at the code, it
appears that each context gets its own instance of Jasper
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
> Subject: Re: Performance: switch vs if ... else if
>
> Server VM precompiles code before using it, while Classic one compiles
> heavily used parts of code on-the-fly.
Your terminology is incorrect, as are your descriptions of when code
On Tue, May 19, 2009 at 2:12 PM, johnrock wrote:
> Thank you for your comments. I would love to simply run tomcat on port 80 as
> tomcat user. I have not yet discovered how to do this and have been running
> as 'tomcat' user on port 8080. I had seen some posts mentioning JSVC but I
> remain uncle
George Sexton wrote:
>
> Use JSVC to run tomcat on Port 80 without having it run as root. Unpack
> the source for jsvc from the bin directory and compile it.
>
Thank you for your comments. I would love to simply run tomcat on port 80 as
tomcat user. I have not yet discovered how to do this a
Does Tomcat support gzip? Does Tomcat support sub-domains?
Just curious. I decided to stick with Apache because of the modules I needed. I
also used JBoss and for me it reduced by factor of 10-100x the delays due to
using 1 classloader instead of two. But then that was becasue I decided to use
Konstantin Kolinko wrote:
...
1. If you are doing tests with the classic VM, allow it some time to warmup and
compile your code. That is, run the same test first with a smaller count of
iterations.
Server VM precompiles code before using it, while Classic one compiles
heavily used parts of code
johnrock wrote:
I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that
is JSP based and has hardly any static content..I am planning to start out
with 1 tomcat server and 1 db server.
I think that I do not need an apache front end and can simply run tomcat
standalone. Is th
Konstantin Kolinko wrote:
2009/5/19 David kerber :
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Performance: switch vs if ... else if
I had to process based on a parameter that could take
one of 6 different single-character string values. I
had
2009/5/19 David kerber :
> Caldarale, Charles R wrote:
>>>
>>> From: David kerber [mailto:dcker...@verizon.net]
>>> Subject: Performance: switch vs if ... else if
>>>
>>> I had to process based on a parameter that could take
>>> one of 6 different single-character string values. I
>>> had been usi
If you're only doing a single character, you would probably get better
performance with:
switch (sString.char(0)) {
case 'A':
case 'B':
case 'C':
}
David kerber wrote:
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Performance: switch vs if ...
johnrock wrote:
I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that
is JSP based and has hardly any static content..I am planning to start out
with 1 tomcat server and 1 db server.
I think that I do not need an apache front end and can simply run tomcat
standalone. Is
johnrock wrote:
I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that
is JSP based and has hardly any static content..I am planning to start out
with 1 tomcat server and 1 db server.
I think that I do not need an apache front end and can simply run tomcat
standalone. Is th
I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that
is JSP based and has hardly any static content..I am planning to start out
with 1 tomcat server and 1 db server.
I think that I do not need an apache front end and can simply run tomcat
standalone. Is this a bad idea?
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Performance: switch vs if ... else if
I had to process based on a parameter that could take
one of 6 different single-character string values. I
had been using an if .. else if construct.
Interesting nu
> From: David kerber [mailto:dcker...@verizon.net]
> Subject: Performance: switch vs if ... else if
>
> I had to process based on a parameter that could take
> one of 6 different single-character string values. I
> had been using an if .. else if construct.
Interesting numbers. Can you show us
This isn't directly related to tomcat, but does relate to the
performance testing people have done over the last couple of days.
I have a section of code in a frequently-called (~3.5 million times per
day) servlet where I had to process based on a parameter that could take
one of 6 different s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jan,
On 5/19/2009 3:47 AM, Jan Peters wrote:
> I developed a mapserver client application that embeds a
> Flash object within a JSP page using a taglib to trigger a JSP
> database query to create a new map for the viewer.
Wow!
When you say "embeds a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 5/19/2009 12:59 PM, Gregor Schneider wrote:
> I'm a bit puzzled:
>
> In your previous tests it looked like that Apache is "outperforming"
> (ok, not really) Coyote w APR when the files grew bigger.
I disagree with that conclusion. My inte
Christopher Schultz wrote:
...
Thanks for the work. At least it may put to rest some gross misconceptions.
Now just a question : in the httpd tests, did you have an AccessLog
enabled ? I would imagine you did not have an AccessLogValve enabled in
Tomcat, and I wonder if it makes any practical
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/19/2009 12:37 PM, Caldarale, Charles R wrote:
>> From: Dola Woolfe [mailto:dolac...@yahoo.com] Subject: How to hot
>> swap classes?
>>
>> When developing a web application I change my classes all the time
>> and therefore need to restart
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: Re: How to hot swap classes?
> Where do I find the context.xml for a specific webapp?
The author of the webapp (you) would normally create it in the webapp's
META-INF directory.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND
Is there anyway to cache sets of files in multiple levels of a hierarchical
directory structure e.g.
/js/*.js
/js/1/*.js
/js/1/1/*.js
I was checking this out on the httpd side using mod_file_cache, mod_headers,
mod_expires. The Directory and other directives seem to take wildcards like *
and ?
Rainer Jung-3 wrote:
>
> Can you try to get a couple of full thread dump (e.g. 3 dumps, each 3
> seconds apart form each other), when the problem happens next time? If
> the problem lasts for some time, your could e.g. generate those dumps
> automatically using cron.
>
http://www.nabble.com/fi
Thanks!
Where do I find the context.xml for a specific webapp?
--- On Tue, 5/19/09, Hassan Schroeder wrote:
> From: Hassan Schroeder
> Subject: Re: How to hot swap classes?
> To: "Tomcat Users List"
> Date: Tuesday, May 19, 2009, 12:59 PM
> On Tue, May 19, 2009 at 9:55 AM, Dola
> Woolfe
> w
> From: Caldarale, Charles R
> Subject: RE: Apache httpd vs Tomcat static content performance [some
> results]
>
> > In your last results I can't see that pattern - actually, I don't see
> > /any/ pattern...
>
> Quantum mechanics?
More seriously, we may be seeing artifacts of various buffering s
NicolaiFrydenlund Larsen (NLS) wrote:
Since I've installed the tomcat from remote I haven't tried to see if it >is
working with localhost.
Why not? That would be a good first step.
I only have remote access to the server via putty so I can't browse to
localhost.
Try this (one line) :
..p
> From: Gregor Schneider [mailto:rc4...@googlemail.com]
> Subject: Re: Apache httpd vs Tomcat static content performance [some
> results]
>
> In your last results I can't see that pattern - actually, I don't see
> /any/ pattern...
Quantum mechanics?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONF
On Tue, May 19, 2009 at 10:05 AM, NicolaiFrydenlund Larsen (NLS)
wrote:
> This is a copy-paste of the browsers error message:
> Explanation: The Web server refused the connection.
> Technical Information (for support personnel)
>
> * Error Code 10061: Connection refused
> * Backgro
> From: Gregor Schneider [mailto:rc4...@googlemail.com]
> Subject: Re: How to get thread dump on Tomcat 6 (windows)
>
> but only with 1.6?
Do you have access to another Windows box to experiment with?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL a
>-Original Message-
>From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com]
>Sent: 19. maj 2009 18:55
>To: Tomcat Users List
>Subject: Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public
>>connections
>
>On Tue, May 19, 2009 at 9:41 AM, NicolaiFrydenlund Larsen (NLS)
> wrote
On Tue, May 19, 2009 at 9:55 AM, Dola Woolfe wrote:
>
> My apologies - worked as advertised!
>
> The only thing I noticed is that it restarts the webapp right away - and all
> of the webapps that depend on the class.
Is this comment at the top of that file not meaningful enough???
>> in tomca
I'm a bit puzzled:
In your previous tests it looked like that Apache is "outperforming"
(ok, not really) Coyote w APR when the files grew bigger.
In your last results I can't see that pattern - actually, I don't see
/any/ pattern...
Any idea how come?
Cheers
Gregor
--
just because your parano
I use MyEclipse (a commercial extension of Eclipse -- pretty
inexpensive). It supports hot swapping of classes, jsps, css, js --
pretty much everything but things like web.xml, for which Tomcat must
be restarted (no surprise).
On May 19, 2009, at 12:28 PM, Dola Woolfe wrote:
Hi,
When
My apologies - worked as advertised!
The only thing I noticed is that it restarts the webapp right away - and all of
the webapps that depend on the class.
Is there way to make the webapp restart only when a page is requested and only
the webapp that's being used?
Thanks again!
--- On Tu
On Tue, May 19, 2009 at 9:41 AM, NicolaiFrydenlund Larsen (NLS)
wrote:
> I've installed the tomcat on the ubuntu machine, and by looking at the logs
> tomcat is running, on port 80. My problem is that when trying to connect to
> it from a public computer the browser gives me a "connection refus
hm, there are only two possible scenarioes I can think of:
- either the key-combination is somehow intercepted in the
swing-app I was using (actually pretty unlikely)
- german keyboard might interfere
but only with 1.6?
strrange...
cheers
gregor
--
just because your paranoid, doesn't m
You mean like this
in tomcat/conf/context.xml
Seems to have had no effect.
--- On Tue, 5/19/09, Anurag Kapur wrote:
> From: Anurag Kapur
> Subject: Re: How to hot swap classes?
> To: "Tomcat Users List"
> Cc: "Tom Cat"
> Date: Tuesday, May 19, 2009, 12:36 PM
> Refer : http://tomcat.apa
Hi,
I've installed Tomcat 6.0.18 on my ubuntu 9.04. My goal is to have it running
as standalone for offering web services.
Until now I have a tomcat running on my windows laptop and I'm developing in
netbeans, and everything works fine on localhost. I figured that I would have
the same web se
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: How to hot swap classes?
>
> When developing a web application I change my classes all the time and
> therefore need to restart tomcat every time.
No, you only need to restart the webapp; there's no need to restart Tomcat.
> Could it hot
Refer : http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
reloadable
Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and
/WEB-INF/lib for changes, and automatically reload the web application if a
change is detected. This feature is very useful during applicatio
Hi,
When developing a web application I change my classes all the time and
therefore need to restart tomcat every time. Is there a way to avoid restarting
tomcat? Could it hot swap the new class in?
(It does somehow hot swap recompiled .jsp's doesn't it?)
Many thanks in advance,
Dola
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Claudio,
On 5/19/2009 11:42 AM, Claudio80 wrote:
> After looking for that soultion i found the class PerUserPoolDataSource.
> The tomcat's website describes how to deploy a PerUserPoolDataSource
> datasource.
>
> I followed all the instructions but
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
So, I have some data from last night. It's about what you'd expect,
except that the NIO+sendfile connector test failed most of the time: the
client got something like "apr_connect: Connection reset by peer" when
it tried to connect to the server.
Thanks for you answer Chris,
i will try to provide you more details.
Initially i was using just one Datasource object to connect my application
to an IBM DB2 database.
I preferred to use the Datasource solution instead the DriverManger one for
the connection pooling support provided by tomcat.
T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/19/2009 10:18 AM, Caldarale, Charles R wrote:
> I get thread dumps from Tomcat and two different swing apps
> under JVM 1.6 on Vista with ctrl-break done in their respective
> windows; also works with jstack, of course.
Same here:
C:\Use
On Tue, May 19, 2009 at 12:47 AM, Jan Peters wrote:
> I developed a mapserver client application that embeds a Flash object within
> a JSP page using a taglib to trigger a JSP database query to create a new map
> for the viewer. All of this works perfectly in Firefox but Internet Explorer
> ex
> From: Gregor Schneider [mailto:rc4...@googlemail.com]
> Subject: Re: How to get thread dump on Tomcat 6 (windows)
>
> is he running TC as a service?
The OP does not appear to be running Tomcat as a service, but since he couldn't
find jstack.exe in the JDK, the reliability of his postings may n
Hi Chuck,
is he running TC as a service? I couldn't find any information on that
in the post - otoh, as Rainer pointed out, my eysight seems not to be
the best...
Just tested it with a sample Java-Swing-Application:
- getting a thread-dump with on JDK 1.5, don't get it
with JDK 1.6 - hm, strang
> From: Gregor Schneider [mailto:rc4...@googlemail.com]
> Subject: Re: How to get thread dump on Tomcat 6 (windows)
>
> Thread-Dump on Windows:
>
> If I'm not mistaken, the key-combination should
> do the trick on /most/ JVMs
Not when running as a service on Windows.
- Chuck
THIS COMMUNICA
Thread-Dump on Windows:
If I'm not mistaken, the key-combination should do the
trick on /most/ JVMs
Rgds
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Claudio,
On 5/13/2009 12:35 PM, Claudio80 wrote:
> I need to access to a DB2 database using those 3 different roles in order to
> limite the access to some tables' rows.
> So i tried to use the PerUserPerUserPoolDataSource in order to use the
> metho
> From: madhu sudhan bandari [mailto:madhu.band...@gmail.com]
> Subject: Re: How to get thread dump on Tomcat 6 (windows)
>
> i have downloaded JDK1.6 and installed on windows. but i didn't find
> jstack utility in the package..
If you really downloaded and installed a JDK, the jstack.exe program
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
AM,
On 5/19/2009 6:59 AM, pappu wrote:
> We are running our application on Tomcat 5 and have authorization done by
> IIS and have configured the IIS to tomcat communication using the
> iisapi_Redirect.
>
> We are facing this issue where we get the "R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Running out of tomcat threads - why many threads in
> RUNNABLEstageeven with no activity
>
> Or, maybe Java's thread states don't differentiate between
> actually runnable and runnable but blocked (as opposed to
> WA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Madhu,
On 5/19/2009 4:21 AM, madhu sudhan bandari wrote:
> i have downloaded JDK1.6 and installed on windows. but i didn't find jstack
> utility in the package.
Did you get the JDK or the JRE? I have the JRE installed and it looks
like jstack.exe is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/18/2009 8:54 PM, Caldarale, Charles R wrote:
>> From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
>> Subject: RE: Running out of tomcat threads - why many threads in
>> RUNNABLEstage even with no activity
>>
>> Ok - so then th
Hi,
I was trying to create a Filter that generates the some content as files (if
required) into the file system and lets the default servlet handle the rest.
However I noticed that if the uri was such that TC would interpret it as
"static content" like /foobar.html - I would get a 404 on the first
Hi,
We are running our application on Tomcat 5 and have authorization done by
IIS and have configured the IIS to tomcat communication using the
iisapi_Redirect.
We are facing this issue where we get the "Request Entity too Large" error
when we try for certain ids.
Since we are running on Tomcat
Hi Christopher,
i have downloaded JDK1.6 and installed on windows. but i didn't find jstack
utility in the package.. also googled for downloaind the same and found that
it will support on windows..
please suggest any other means of getting the thread dump..
regards
Madhu Bandari
On Fri, May 15,
Dear all,
I developed a mapserver client application that embeds a Flash object within a
JSP page using a taglib to trigger a JSP database query to create a new map for
the viewer. All of this works perfectly in Firefox but Internet Explorer exits
with the error "Site [mysite] cannot be loaded.
78 matches
Mail list logo