Re: MVC or Model2 with Tomcat

2011-12-07 Thread Blaxton
From: Blaxton To: Tomcat Users List Sent: Tuesday, December 6, 2011 9:19:00 PM Subject: Re: MVC or Model2 with Tomcat From: Pid * To: Tomcat Users List Sent: Tuesday, December 6, 2011 8:12:40 PM Subject: Re: MVC or

Re: How to I add JSTL Lib to Tomcat with Netbeans

2011-12-07 Thread Kiran Badi
Thanks Mark its working now. Also I will make sure replies goes to the list. I must have used Reply all earlier by oversight. On 12/8/2011 3:35 AM, Mark Eggers wrote: - Original Message - From: Kiran Badi To: Tomcat Users List Cc: Mark Eggers Sent: Tuesday, December 6, 2011 3:51 PM

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Jess Holle
You get an error when that's what's occurring, though. On 12/7/2011 12:55 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jess, On 12/6/11 6:17 PM, Jess Holle wrote: Okay, I now notice this plainly stated in the documentation for JNDIRealm (which I'm using): The

Re: How to I add JSTL Lib to Tomcat with Netbeans

2011-12-07 Thread Mark Eggers
- Original Message - > From: Kiran Badi > To: Tomcat Users List > Cc: Mark Eggers > Sent: Tuesday, December 6, 2011 3:51 PM > Subject: Re: How to I add JSTL Lib to Tomcat with Netbeans > >T hanks Mark, I have added the jars exactly the way you have given > suggestions.but for some rea

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jess, On 12/6/11 6:17 PM, Jess Holle wrote: > Okay, I now notice this plainly stated in the documentation for > JNDIRealm (which I'm using): > > The cached user is *not* saved and restored across sessions > serialisations. > > That seems a bit odd

Re: [OT] Recommendations for Amazon EC2 Linux Flavor

2011-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, On 12/7/11 3:07 AM, Francis GALIEGUE wrote: > On Wed, Dec 7, 2011 at 02:02, André Warnier wrote: > [...]> >> >> I'd comment too on the lack of packages in RHEL. I know that lots >> of missing perl modules won't bother you much, but maybe a

Re: [OT] Recommendations for Amazon EC2 Linux Flavor

2011-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/6/11 8:02 PM, André Warnier wrote: > I'd comment too on the lack of packages in RHEL. I know that lots > of missing perl modules won't bother you much, but maybe a missing > mod_jk will leave you less serene ? You know me: I always build

Re: Any servlet API event to denote change in session id

2011-12-07 Thread Jess Holle
On 12/7/2011 11:47 AM, Mark Thomas wrote: On 07/12/2011 17:04, Jess Holle wrote: I note that in recent versions of Tomcat (e.g. 7.0.23), the session id changes when you do a form-based authentication. I do not see any sort of notice via anything one can listen to via the servlet API to receive

Re: Any servlet API event to denote change in session id

2011-12-07 Thread Mark Thomas
On 07/12/2011 17:04, Jess Holle wrote: > I note that in recent versions of Tomcat (e.g. 7.0.23), the session id > changes when you do a form-based authentication. > > I do not see any sort of notice via anything one can listen to via the > servlet API to receive notice of this change. > > This ma

"VerifyError: ... Illegal constant pool index" when jspx invokes a tagx on Tomcat 7.0.16

2011-12-07 Thread Robert Winch
We have a web application that was consistently getting a VerifyError whenever a jsp invoked a custom tagx. The jsp is a SiteMesh decorator that uses a custom tagx to display a Spring Security Authentication object. The issue was resolved by restarting the war using the Tomcat Manager, but I am con

Re: How many object of the Web Service class will be created?

2011-12-07 Thread Pid
On 07/12/2011 15:43, EmotionalStabilitySlave wrote: > Thanks for your reply. > > Please see my comment. > > > 2011-12-07 > > > > EmotionalStabilitySlave > > > > 发件人: Pid * > 发送时间: 2011-12-07 21:50:19 > 收件人: Tomcat Users List > 抄送: > 主题: Re: How many object of the Web Service class

Any servlet API event to denote change in session id

2011-12-07 Thread Jess Holle
I note that in recent versions of Tomcat (e.g. 7.0.23), the session id changes when you do a form-based authentication. I do not see any sort of notice via anything one can listen to via the servlet API to receive notice of this change. This makes things rather ugly if one is monitoring the s

Session replication fails with "Member send is failing"

2011-12-07 Thread Jürgen Link
Hi all, I'm currently setting up a two-node cluster on a single machine (for testing only). I tried both on my Windows 7 box and on a Debian GNU/Linux 6.0.3 (squeeze) server. Tomcat versions are 7.0.23 and 6.0.35 Java versions are 1.6.0_18 (Linux) and 1.6.0_29 (Windows) My setup is a simple cluste

Re: Re: How many object of the Web Service class will be created?

2011-12-07 Thread EmotionalStabilitySlave
Thanks for your reply. Please see my comment. 2011-12-07 EmotionalStabilitySlave 发件人: Pid * 发送时间: 2011-12-07 21:50:19 收件人: Tomcat Users List 抄送: 主题: Re: How many object of the Web Service class will be created? On 7 Dec 2011, at 10:17, emotional stability wrote: > I create one

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Konstantin Kolinko
2011/12/7 Mohammad M. AbuZer : > It should serialize User and Principles nothing more, no need for password. > > On Wed, Dec 7, 2011 at 4:12 PM, Konstantin Kolinko > wrote: > >> 2011/12/7 Jess Holle : >> > I should have noted that this is with Tomcat 7.0.23, but it seemed >> unlikely >> > to be JVM

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

2011-12-07 Thread Paul Nicolucci
Hello All, After The following update to the EL: https://issues.apache.org/bugzilla/show_bug.cgi?id=51177 I am having a problem when getting values from the RequestParameterMap and sending them to a method using the EL. For example: Page1 - use f:param to set some query string parameters:

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Mohammad M. AbuZer
It should serialize User and Principles nothing more, no need for password. On Wed, Dec 7, 2011 at 4:12 PM, Konstantin Kolinko wrote: > 2011/12/7 Jess Holle : > > I should have noted that this is with Tomcat 7.0.23, but it seemed > unlikely > > to be JVM (Java 6 Update 29) or OS (Windows 7) speci

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Konstantin Kolinko
2011/12/7 Jess Holle : > I should have noted that this is with Tomcat 7.0.23, but it seemed unlikely > to be JVM (Java 6 Update 29) or OS (Windows 7) specific. > > Of course given that I found that the documentation clearly states this > behavior, I suspect this is longstanding Tomcat behavior. > >

Re: How many object of the Web Service class will be created?

2011-12-07 Thread Pid *
On 7 Dec 2011, at 10:17, emotional stability wrote: > I create one web service and deploying on the tomcat with axis2. Exact OS, Java, Tomcat versions? > But I want to know how many objects of the my Web service class will be > created. Why? > When the the web service is called from outsi

RE: Tomcat 5.5 - Context for "MyApp" in MyApp/META-INF/context.xml is always over-writing conf/[enginename]/[hostname]/MyApp.xml

2011-12-07 Thread Peter Smillie
All, My experience was with Tomcat versions 5.5.33 and 5.5.34. Regards Peter Smillie -Original Message- From: Daniel Mikusa [mailto:dmik...@vmware.com] Sent: Thursday, 8 December 2011 0:33 To: Tomcat Users List Subject: Re: Tomcat 5.5 - Context for "MyApp" in MyApp/META-INF/context.xml

Re: Tomcat 5.5 - Context for "MyApp" in MyApp/META-INF/context.xml is always over-writing conf/[enginename]/[hostname]/MyApp.xml

2011-12-07 Thread Daniel Mikusa
On Tue, 2011-12-06 at 18:23 -0800, Peter Smillie wrote: > According to the Tomcat 5.5 documentation page > "tomcat-docs/config/context.html#Introduction" when Tomcat is trying to > decide on the context for a Web application: > > Only if a context file does not exist for the application in the

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Jess Holle
Yes, I now note this in the documentation. The question remains, however: /why /does it work this way? On 12/7/2011 6:34 AM, Mohammad M. AbuZer wrote: Tomcat does that for every all Form Authentication even if you used `DatabaseRealm` it doesn't save logged user. On Wed, Dec 7, 2011 at 2:24 PM

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Mohammad M. AbuZer
Tomcat does that for every all Form Authentication even if you used `DatabaseRealm` it doesn't save logged user. On Wed, Dec 7, 2011 at 2:24 PM, Jess Holle wrote: > I should have noted that this is with Tomcat 7.0.23, but it seemed > unlikely to be JVM (Java 6 Update 29) or OS (Windows 7) specif

Re: Form Authentication vs. Tomcat Restart

2011-12-07 Thread Jess Holle
I should have noted that this is with Tomcat 7.0.23, but it seemed unlikely to be JVM (Java 6 Update 29) or OS (Windows 7) specific. Of course given that I found that the documentation clearly states this behavior, I suspect this is longstanding Tomcat behavior. My remaining question is /why/

How many object of the Web Service class will be created?

2011-12-07 Thread emotional stability
I create one web service and deploying on the tomcat with axis2. But I want to know how many objects of the my Web service class will be created. When the the web service is called from outside firstly, the object of my web service class is created? When will this object of my web service

Re: Occurence of Byte Order Mark (BOM) in responses varies between identical subsequent requests in Tomcat 6.0.35

2011-12-07 Thread Jochen Gazda
-Ursprüngliche Nachricht- Von: "Pid *" Gesendet: Dec 7, 2011 10:26:00 AM An: "Tomcat Users List" Betreff: Re: Occurence of Byte Order Mark (BOM) in responses varies between identical subsequent requests in Tomcat 6.0.35 >On 7 Dec 2011, at 09:11, Jochen Gazda wrote: > >> Gentlemen, >>

Re: Occurence of Byte Order Mark (BOM) in responses varies between identical subsequent requests in Tomcat 6.0.35

2011-12-07 Thread Pid *
On 7 Dec 2011, at 09:11, Jochen Gazda wrote: > Gentlemen, > > The following occurs on Tomcat 6.0.20 or 6.0.35 on 64bit Linux > $ java -version > java version "1.6.0_26" > Java(TM) SE Runtime Environment (build 1.6.0_26-b03) > Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) > > It h

Occurence of Byte Order Mark (BOM) in responses varies between identical subsequent requests in Tomcat 6.0.35

2011-12-07 Thread Jochen Gazda
    Gentlemen,   The following occurs on Tomcat 6.0.20 or 6.0.35 on 64bit Linux  $ java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)   It happends both with and without apache httpd frontend.  

Re: [OT] Recommendations for Amazon EC2 Linux Flavor

2011-12-07 Thread André Warnier
Francis GALIEGUE wrote: On Wed, Dec 7, 2011 at 02:02, André Warnier wrote: [...]> I'd comment too on the lack of packages in RHEL. I know that lots of missing perl modules won't bother you much, but maybe a missing mod_jk will leave you less serene ? Why use mod_jk when you have mod_proxy_aj

Re: [OT] Recommendations for Amazon EC2 Linux Flavor

2011-12-07 Thread Francis GALIEGUE
On Wed, Dec 7, 2011 at 02:02, André Warnier wrote: [...]> > > I'd comment too on the lack of packages in RHEL. > I know that lots of missing perl modules won't bother you much, but maybe a > missing mod_jk will leave you less serene ? > Why use mod_jk when you have mod_proxy_ajp? -- Francis Ga