AW: AW: How much connections are handled per thread?

2011-12-21 Thread Uwe . Hellmann
Hello Chris, you helped me enough with all the infos or hints you and the other persons on this list have provided. I can't provide any code, because I am not allowed to do so. My work is to try to prove that it is not our infrastructure including tomcat which does create this issue. Until now

Re: Tomcat AJP Thread Spike and System Hang

2011-12-21 Thread markt
John Minchuk wrote: >Quick overview of our setup. Http request flow from our load >balancers, to >squid proxys, to Apaches, to our Tomcat servers. We migrated to this >setup >from an Oracle App Server. > >Apache: 2.2.3 >Tomcat: 7.0.11.0 >JVM: 1.6.0_22-b04 >Linux: 2.6.18-194.17.1.el5 > >Our pro

Re: Tomcat AJP Thread Spike and System Hang

2011-12-21 Thread Igor Cicimov
What module are you using on apache side mod_proxy or mod_jk? Also you might post the Connector settings from tomcat. Sorry typing from my mobile just think that info might be useful to some one who can help you more. On Dec 22, 2011 10:57 AM, "John Minchuk" wrote: > Quick overview of our setup.

Re: [OT] Displaying Time Zones for user preferences

2011-12-21 Thread Konstantin Kolinko
2011/12/21 Christopher Schultz : > > We're getting to the point in our project where allowing users to > identify their own time zone so we can display adjusted timestamps is > something we can no longer do without. I'm trying to figure out how to > display a list of time zones in a drop-down list

Re: [Discussion]Problem passing parameters to a Method ( Looking for incorrect argument Type )

2011-12-21 Thread Konstantin Kolinko
2011/12/22 Paul Nicolucci : > Thanks for the response, I'll try to clarify as best I can and can provide > a test case directly if needed ( since the mailing list strips attachments, > sorry about that  I was unaware ). > > -We are experiencing this problem on Websphere Application Server V8 which

RE: [OT] Displaying Time Zones for user preferences

2011-12-21 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] Displaying Time Zones for user preferences > Can you not use GeoIP to find out where a user is connecting > from, and select his time zone automatically for him/her ? Not reliably. For example, it says my desktop PC is in Penns

RE: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Caldarale, Charles R
> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] > Subject: Re: Login fails, then works subsequently (Tomcat 7) > No "testWhileIdle" / "validationQuery" settings? > 10 to 1 you've got stale connections in your pool Did we just go off on a tangent? Isn't the OP talking about logging

Re: Security Constraints With URL Rewrite filter

2011-12-21 Thread Konstantin Kolinko
2011/12/22 Jerry Malcolm <2ndgenfi...@gmail.com>: > I structure my webapps with different JSP folders for different user role > access, and define the folder patterns in web.xml for each role access. > This has worked for many years in my webapps.  But in the interest of > getting cleaner URLs, I'v

RE: Security Constraints With URL Rewrite filter

2011-12-21 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] > Subject: Security Constraints With URL Rewrite filter > I assume that the security constraint now applies to the > pattern that come INTO the filter. Not sure what you mean by "now applies", but it's always that way. > So instead of constr

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Brian Burch
On 22/12/11 06:39, Jerry Malcolm wrote: About a month ago, I upgraded two different servers from TC 5 to TC 7. The migration went cleanly, and everything has been working fine with the exception of one thing. About 50% of the time, when I log in to the realm for my web app (form-based login),

Re: Hosted environment

2011-12-21 Thread r.sriram
you sound quite obnoxious and you don't seem to have any valid answers other than insulting others. I need my virtual host to work. I need to configure Tomcat to make it work. Mark provided specific steps and I followed it, but it didn't work. I need specifically why it didn't work. do you have

Tomcat AJP Thread Spike and System Hang

2011-12-21 Thread John Minchuk
Quick overview of our setup. Http requests flow from our load balancers, to squid proxys, to Apaches, to our Tomcat servers. We migrated to this setup from an Oracle App Server. Apache: 2.2.3 Tomcat: 7.0.11.0 JVM: 1.6.0_22-b04 Linux: 2.6.18-194.17.1.el5 Our production environment has max threads

Re: Security Constraints With URL Rewrite filter

2011-12-21 Thread Chema
Well, I don't know about this , but What is the "URLRewrite" filter ? A Servlet filter ? You can try to write a Valve and test if it works. I think it's processed before calling container code. Maybe ... Or to configure a proxy web to rewrite . I did't make this before, but I know it's possible.

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Chema
> 10 to 1 you've got stale connections in your pool; first try fails, second > one gets a fresh connection I thought the same autoReconnect Should the driver try to re-establish stale and/or dead connections? If enabled the driver will throw an exception for a queries issued on a stale or dea

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Hassan Schroeder
On Wed, Dec 21, 2011 at 2:23 PM, Jerry Malcolm <2ndgenfi...@gmail.com> wrote: > Here is the line from in server.xml: No "testWhileIdle" / "validationQuery" settings? 10 to 1 you've got stale connections in your pool; first try fails, second one gets a fresh connection and away you go. Just a WA

RE: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Daniel Mikusa
>The http trace would show if the id/pw were different. But that would >pretty much imply that the browser is messing up what it sends. I guess >that's always a possibility. Not necessarily, the browser will send things other than the login and password like headers and cookies. >But I hav

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Jerry Malcolm
Here is the line from in server.xml: The http trace would show if the id/pw were different. But that would pretty much imply that the browser is messing up what it sends. I guess that's always a possibility. But I haven't changed browsers in months. And it's sending a saved id/pw in all cas

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Chema
You can try to set traces into the code of your realm class, if it's a custom realm : to watch the query executed , to watch the user/password passed from browser, to catch exceptions and print stack trace ... If you dont have a custom realm, you can try to create one for testing Can you paste yo

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Daniel Mikusa
On Wed, 2011-12-21 at 12:39 -0800, Jerry Malcolm wrote: > About a month ago, I upgraded two different servers from TC 5 to TC 7. The > migration went cleanly, and everything has been working fine with the > exception of one thing. About 50% of the time, when I log in to the realm > for my web ap

Security Constraints With URL Rewrite filter

2011-12-21 Thread Jerry Malcolm
I structure my webapps with different JSP folders for different user role access, and define the folder patterns in web.xml for each role access. This has worked for many years in my webapps. But in the interest of getting cleaner URLs, I've written a URLRewrite filter. The rewrite filter is corr

Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Jerry Malcolm
About a month ago, I upgraded two different servers from TC 5 to TC 7. The migration went cleanly, and everything has been working fine with the exception of one thing. About 50% of the time, when I log in to the realm for my web app (form-based login), the login will fail. When I try again wit

Re: [Discussion]Problem passing parameters to a Method ( Looking for incorrect argument Type )

2011-12-21 Thread Paul Nicolucci
Thanks for the response, I'll try to clarify as best I can and can provide a test case directly if needed ( since the mailing list strips attachments, sorry about that I was unaware ). -We are experiencing this problem on Websphere Application Server V8 which included a snap shot of the org.apach

Re: [OT] Displaying Time Zones for user preferences

2011-12-21 Thread Hassan Schroeder
On Wed, Dec 21, 2011 at 11:24 AM, André Warnier wrote: > Can you not use GeoIP to find out where a user is connecting from, and > select his time zone automatically for him/her ? You still need to offer a manual selection option, because it's just not always accurate. Once I was investigating g

Re: [OT] Displaying Time Zones for user preferences

2011-12-21 Thread André Warnier
Christopher Schultz wrote: ...> I feel like I've got a Catch-22, here: despite the wealth of information provided by the JVM, I think I might still have to just have a giant list of supported time zones and hand-localize them, especially if I want to have "America/New York"-style labels. Does an

Re: [Discussion]Problem passing parameters to a Method ( Looking for incorrect argument Type )

2011-12-21 Thread Pid
On 21/12/2011 18:05, Paul Nicolucci wrote: > > > I'm just following up on this issue as I did not see any responses from the > community. Can anyone help out here? Please don't cross post. > (See attached file: JSF20EL.war) The list strips attachments. > Instructions for reproducing this iss

[Discussion]Problem passing parameters to a Method ( Looking for incorrect argument Type )

2011-12-21 Thread Paul Nicolucci
I'm just following up on this issue as I did not see any responses from the community. Can anyone help out here? (See attached file: JSF20EL.war) Instructions for reproducing this issue are in the previous email attached below. Thanks for your time and help, Regards, Paul Nicolucci __

Re: Hosted environment

2011-12-21 Thread Pid
On 21/12/2011 17:38, r.sriram wrote: > is it possible for you to give me steps on what I should do please to > make the virtual host work. > I have domain name x.com, y.com and z.com (for example). For this what > should the setup be so www.x.com, www.y.com and www.z.com take me to the > servlet a

Re: Hosted environment

2011-12-21 Thread r.sriram
is it possible for you to give me steps on what I should do please to make the virtual host work. I have domain name x.com, y.com and z.com (for example). For this what should the setup be so www.x.com, www.y.com and www.z.com take me to the servlet appropriate for each? --

Re: Table display disappears when moving to Tomcat 6.0.29

2011-12-21 Thread Pid
On 21/12/2011 13:09, Zonsheine, David wrote: > Hi, > > I want to share a table display issue we spent a few days on fixing when > moving our tomcat webapp from tomcat 6.0.16 to 6.0.32. > > It took us a while to understand that an 'offers' page does not work > correctly (does not display a tabl

[OT] Displaying Time Zones for user preferences

2011-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, We're getting to the point in our project where allowing users to identify their own time zone so we can display adjusted timestamps is something we can no longer do without. I'm trying to figure out how to display a list of time zones in a drop-

Re: Hosted environment

2011-12-21 Thread Pid
On 20/12/2011 11:55, Pid wrote: > On 20/12/2011 09:21, r.sriram wrote: >> Thanks Andre. >> a few quick questions. >> >> Questions with respect to your response: >> Your response: >> >> >>... >> >> >> >>... >> >> >> Questions: >> >> * which is the file where I should add the

Re: Hosted environment

2011-12-21 Thread Pid
On 21/12/2011 07:00, Pid * wrote: > On 21 Dec 2011, at 06:52, "r.sriram" wrote: > >> Thanks Mark. >> >> this is great. I just wanted to make sure, for each of the virtual >> hosts, I can create the webapps directory outside of Apache directory >> structure can't I? e.g. >> >> C:\inetpub\vhosts\

Re: AW: How much connections are handled per thread?

2011-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uwe, On 12/20/11 11:11 AM, uwe.hellm...@t-systems.com wrote: > I tried everything the last half year to convince him to switch to > current tomcat or at least to tomcat 6. It was a waste of energy. Tomcat 5.5 will experience EOL on 30 September 2012

Re: Logging per webapp per instance

2011-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon, On 12/21/11 2:55 AM, Simon wrote: > It is not really a hack in log4j configuration to redirect the logs > in stdout, as it is exactly what does the ConsoleAppender by > default... True, log4j supports log-to-console. It's only a hack because o

Re: Hosted environment

2011-12-21 Thread Mark Eggers
- Original Message - > From: r.sriram > To: Tomcat Users List > Cc: > Sent: Wednesday, December 21, 2011 6:38 AM > Subject: Re: Hosted environment > > I went and checked, I couldn't find the e-mail where you have provided > the info. > can you send it again with the steps I need to do

Re: Survivor space fine tuning

2011-12-21 Thread Pid *
On 21 Dec 2011, at 14:23, Pandian R wrote: Hi, This is the problem I am facing. I have a tomcat 7 server running on JDK 7 - Win2008 32 bit. Exactly which versions? There are 23 of Tomcat to choose from. I am monitoring all the memory areas. I am seeing the Survivor Space is highly consumed al

RE: Survivor space fine tuning

2011-12-21 Thread Caldarale, Charles R
> From: Pandian R [mailto:barat...@gmail.com] > Subject: Survivor space fine tuning > I have a tomcat 7 server running on JDK 7 - Win2008 32 bit. Be precise: always state the _exact_ Tomcat version, and the _exact_ JDK level. > I am monitoring all the memory areas. Why? Do you have a performa

Re: Hosted environment

2011-12-21 Thread r.sriram
I went and checked, I couldn't find the e-mail where you have provided the info. can you send it again with the steps I need to do. Mark sent me a doc that listed the steps. I followed that. On 12/21/2011 7:52 PM, Pid * wrote: On 21 Dec 2011, at 13:44, "r.sriram" wrote: Hello, I followed:

Re: Hosted environment

2011-12-21 Thread Pid *
On 21 Dec 2011, at 13:44, "r.sriram" wrote: > Hello, > > I followed: http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts > and made the following changes: > > C:\inetpub\vhosts\x.com\httpdocs\webapps > > added the following in Server.xml: > > > appBase="C:\inetpub\vhosts\x.

Survivor space fine tuning

2011-12-21 Thread Pandian R
Hi, This is the problem I am facing. I have a tomcat 7 server running on JDK 7 - Win2008 32 bit. I am monitoring all the memory areas. I am seeing the Survivor Space is highly consumed almost all times. I have reduced the survivor ratio to 6. But unfortunately no improvements. I have changed the

RE: wicket 1.3.7 RestartResponseAtInterceptPageException post data lost

2011-12-21 Thread Caldarale, Charles R
> From: 鄂力炜 [mailto:daura...@gmail.com] > Subject: wicket 1.3.7 RestartResponseAtInterceptPageException post data lost > I am using wicket 1.3.7 for our product. > Can anyone help me for this issue? Perhaps someone familiar with Wicket can, but this is a Tomcat mailing list; the only mention o

Re: Hosted environment

2011-12-21 Thread r.sriram
Hello, I followed: http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts and made the following changes: C:\inetpub\vhosts\x.com\httpdocs\webapps added the following in Server.xml: For virtual host x.com- copied *manager.xml* to $CATALINA_HOME/conf/Catalina/

Table display disappears when moving to Tomcat 6.0.29

2011-12-21 Thread Zonsheine, David
Hi, I want to share a table display issue we spent a few days on fixing when moving our tomcat webapp from tomcat 6.0.16 to 6.0.32. It took us a while to understand that an 'offers' page does not work correctly (does not display a table) not because of a data problem (We have moved to a new a

Re: Tomcat 7.0.23 windows zip CRC failure

2011-12-21 Thread Konstantin Kolinko
2011/12/21 Walid Gafsi : > Hi, > > I encountered a CRC failure error while trying to unzip this file using > winrar: > > http://apache.mirror.tn/tomcat/tomcat-7/v7.0.23/bin/apache-tomcat-7.0.23-windows-x86.zip > > The error message is : > !   apache-tomcat-7.0.23-windows-x86.zip: CRC failed in > a

Tomcat 7.0.23 windows zip CRC failure

2011-12-21 Thread Walid Gafsi
Hi, I encountered a CRC failure error while trying to unzip this file using winrar: http://apache.mirror.tn/tomcat/tomcat-7/v7.0.23/bin/apache-tomcat-7.0.23-windows-x86.zip The error message is : ! apache-tomcat-7.0.23-windows-x86.zip: CRC failed in apache-tomcat-7.0.23\lib\ecj-3.7.jar. The fi

Re: stack traces in the log become one line

2011-12-21 Thread Rainer Jung
On 21.12.2011 08:32, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 12/20/11 4:31 PM, Rainer Jung wrote: If you really want to get the stacks in all cases, you can set the JVM start flag: -XX:-OmitStackTraceInFastThrow I'm astonishe

wicket 1.3.7 RestartResponseAtInterceptPageException post data lost

2011-12-21 Thread 鄂力炜
Hi all, I am using wicket 1.3.7 for our product. Currently, I have encountered a problem, a form submitting is corrupted by session timeout, description as follows, - there is a report page, and a form in it, a user fill some parameter in that form, method post - after the user's session

Re: MBean InitialContext() Tomcat query- pls help

2011-12-21 Thread S B
On Wed, Dec 21, 2011 at 12:09 AM, Pid * wrote: > On 20 Dec 2011, at 15:47, S B wrote: > > > On Tue, Dec 20, 2011 at 7:00 PM, Pid wrote: > > > >> On 20/12/2011 11:57, S B wrote: > >>> MBeanImpl code is packaged as a war and deployed in tomcat along with > >> it's > >>> mbeans-descriptor.xml > >>