Re: MBean InitialContext() Tomcat query- pls help

2011-12-21 Thread S B
On Wed, Dec 21, 2011 at 12:09 AM, Pid * p...@pidster.com wrote: On 20 Dec 2011, at 15:47, S B sbl...@gmail.com wrote: On Tue, Dec 20, 2011 at 7:00 PM, Pid p...@pidster.com 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

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

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

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

Re: Tomcat 7.0.23 windows zip CRC failure

2011-12-21 Thread Konstantin Kolinko
2011/12/21 Walid Gafsi walid.ga...@gmail.com: 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

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

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: Host name=x.com appBase=C:\inetpub\vhosts\x.com\httpdocs\webapps

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 of

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: Hosted environment

2011-12-21 Thread Pid *
On 21 Dec 2011, at 13:44, r.sriram sri...@rstech.net 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: Host name=x.com

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.sriramsri...@rstech.net wrote:

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 performance

Re: Survivor space fine tuning

2011-12-21 Thread Pid *
On 21 Dec 2011, at 14:23, Pandian R barat...@gmail.com 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

Re: Hosted environment

2011-12-21 Thread Mark Eggers
- Original Message - From: r.sriram sri...@rstech.net To: Tomcat Users List users@tomcat.apache.org 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

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 of

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: Hosted environment

2011-12-21 Thread Pid
On 21/12/2011 07:00, Pid * wrote: On 21 Dec 2011, at 06:52, r.sriram sri...@rstech.net 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.

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: Host name=host1.domain1.com... appBase=/path1/webapps/ .. ... /Host Host name=host2.domain2.com...

[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

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 table) not

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: 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

[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: [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 issue

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

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 a...@ice-sa.com 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

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

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

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

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 app

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

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

2011-12-21 Thread Jerry Malcolm
Here is the line from GlobalNamingResources in server.xml: Resource name=jdbc/.com auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true username=*** password=*

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

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 GlobalNamingResources 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

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 dead

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.

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

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

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: 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 constraining

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've

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 into

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

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

2011-12-21 Thread Konstantin Kolinko
2011/12/22 Paul Nicolucci pnico...@us.ibm.com: 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

Re: [OT] Displaying Time Zones for user preferences

2011-12-21 Thread Konstantin Kolinko
2011/12/21 Christopher Schultz ch...@christopherschultz.net: 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

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 minchuk.j...@gmail.com wrote: Quick

Re: Tomcat AJP Thread Spike and System Hang

2011-12-21 Thread markt
John Minchuk minchuk.j...@gmail.com 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:

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