RE: "Request entity too large" when using SSO (IIS Integrated Windows authentication -Tomcat )

2009-05-19 Thread pappu
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

RE: "Request entity too large" when using SSO (IIS Integrated Windows authentication -Tomcat )

2009-05-19 Thread Caldarale, Charles R
> 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

Re: "Request entity too large" when using SSO (IIS Integrated Windows authentication -Tomcat )

2009-05-19 Thread pappu
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

RE: Tomcat, , and context.xml

2009-05-19 Thread Caldarale, Charles R
> 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

RE: Performance: switch vs if ... else if

2009-05-19 Thread Caldarale, Charles R
> 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

RE: Tomcat, , and context.xml

2009-05-19 Thread Greg Allen
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"

RE: How to hot swap classes?

2009-05-19 Thread Caldarale, Charles R
> 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

Help needed to run JSTL 1.1 in Tomcat 6.0.16

2009-05-19 Thread Deepa Annamalai
-- 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

Re: Performance: switch vs if ... else if

2009-05-19 Thread Konstantin Kolinko
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

Re: Problem: JSP works in Firefox but not in Internet Explorer

2009-05-19 Thread Jan Peters
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

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-19 Thread Pantvaidya, Vishwajit
> -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

Re: How to hot swap classes?

2009-05-19 Thread Hassan Schroeder
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

RE: How to hot swap classes?

2009-05-19 Thread Dola Woolfe
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

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread Christopher Schultz
-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

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread Christopher Schultz
-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

Re: Apache httpd vs Tomcat static content performance [some results]

2009-05-19 Thread Christopher Schultz
-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 ?

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread Dola Woolfe
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

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-19 Thread Pantvaidya, Vishwajit
> > 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

RE: How to hot swap classes?

2009-05-19 Thread Caldarale, Charles R
> 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

RE: Performance: switch vs if ... else if

2009-05-19 Thread 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, as are your descriptions of when code

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread Hassan Schroeder
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

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread johnrock
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

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread Tony Anecito
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

Re: Performance: switch vs if ... else if

2009-05-19 Thread David kerber
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

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread André Warnier
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

Re: Performance: switch vs if ... else if

2009-05-19 Thread David kerber
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

Re: Performance: switch vs if ... else if

2009-05-19 Thread Konstantin Kolinko
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

Re: Performance: switch vs if ... else if

2009-05-19 Thread George Sexton
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 ...

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread George Sexton
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

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread David kerber
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

Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread johnrock
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?

Re: Performance: switch vs if ... else if

2009-05-19 Thread 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 using an if .. else if construct. Interesting nu

RE: Performance: switch vs if ... else if

2009-05-19 Thread Caldarale, Charles R
> 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

Performance: switch vs if ... else if

2009-05-19 Thread David kerber
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

Re: Problem: JSP works in Firefox but not in Internet Explorer

2009-05-19 Thread Christopher Schultz
-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

Re: Apache httpd vs Tomcat static content performance [some results]

2009-05-19 Thread Christopher Schultz
-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

Re: Apache httpd vs Tomcat static content performance [some results]

2009-05-19 Thread André Warnier
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

Re: How to hot swap classes?

2009-05-19 Thread Christopher Schultz
-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

RE: How to hot swap classes?

2009-05-19 Thread Caldarale, Charles R
> 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

Caching static files in hierarchical directory structure

2009-05-19 Thread Pantvaidya, Vishwajit
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 ?

Re: AJP connections just stop working

2009-05-19 Thread kvancamp
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

Re: How to hot swap classes?

2009-05-19 Thread Dola Woolfe
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

RE: Apache httpd vs Tomcat static content performance [some results]

2009-05-19 Thread Caldarale, Charles R
> 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

Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-19 Thread André Warnier
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

RE: Apache httpd vs Tomcat static content performance [some results]

2009-05-19 Thread Caldarale, Charles R
> 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

Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-19 Thread Hassan Schroeder
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

RE: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Caldarale, Charles R
> 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

RE: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-19 Thread NicolaiFrydenlund Larsen (NLS)
>-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

Re: How to hot swap classes?

2009-05-19 Thread Hassan Schroeder
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

Re: Apache httpd vs Tomcat static content performance [some results]

2009-05-19 Thread Gregor Schneider
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

Re: How to hot swap classes?

2009-05-19 Thread Ken Bowen
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

Re: How to hot swap classes?

2009-05-19 Thread Dola Woolfe
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

Re: Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-19 Thread Hassan Schroeder
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

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Gregor Schneider
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

Re: How to hot swap classes?

2009-05-19 Thread Dola Woolfe
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

Getting Tomcat 6.0.18 to work on ubuntu 9.04 for public connections

2009-05-19 Thread NicolaiFrydenlund Larsen (NLS)
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

RE: How to hot swap classes?

2009-05-19 Thread Caldarale, Charles R
> 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

Re: How to hot swap classes?

2009-05-19 Thread Anurag Kapur
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

How to hot swap classes?

2009-05-19 Thread Dola Woolfe
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

Re: Different resources for different user roles

2009-05-19 Thread Christopher Schultz
-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

Re: Apache httpd vs Tomcat static content performance [some results]

2009-05-19 Thread Christopher Schultz
-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.

Re: Different resources for different user roles

2009-05-19 Thread Claudio80
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

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Christopher Schultz
-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

Re: Problem: JSP works in Firefox but not in Internet Explorer

2009-05-19 Thread Hassan Schroeder
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

RE: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Caldarale, Charles R
> 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

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Gregor Schneider
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

RE: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Caldarale, Charles R
> 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

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Gregor Schneider
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

Re: Different resources for different user roles

2009-05-19 Thread Christopher Schultz
-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

RE: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Caldarale, Charles R
> 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

Re: "Request entity too large" when using SSO (IIS Integrated Windows authentication -Tomcat )

2009-05-19 Thread Christopher Schultz
-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

RE: Running out of tomcat threads - why many threads in RUNNABLEstageeven with no activity

2009-05-19 Thread Caldarale, Charles 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

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread Christopher Schultz
-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

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-19 Thread Christopher Schultz
-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

Caching of static content

2009-05-19 Thread Jukka Raanamo
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

Re: "Request entity too large" when using SSO (IIS Integrated Windows authentication -Tomcat )

2009-05-19 Thread pappu
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

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-19 Thread madhu sudhan bandari
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,

Problem: JSP works in Firefox but not in Internet Explorer

2009-05-19 Thread Jan Peters
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.