rotation of catalina.out on restart but no truncation

2012-11-08 Thread Meik Suchlich
Hi, we've got an effekt on catalina.out. We don't use hot deployment. Instead we stop and start our tomcat for installing new Version. The restart causes rotation of catalina.out, but does not truncate. How can we solve this? Meik -

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-08 Thread Asankha C. Perera
On 11/09/2012 02:16 AM, Pid wrote: On 08/11/2012 15:03, Asankha C. Perera wrote: Hi Mark what happens if some other process grabs the port in the meantime: what is Tomcat supposed to do then? In reality I do not know of a single client production deployment that would allocate the same port to

Re: This is just plain ... odd.

2012-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russ, On 11/8/12 6:05 PM, Russ Kepler wrote: > On Thursday, November 08, 2012 07:36:20 PM Lyallex wrote: > >> The only difference between the two executions is the fact that >> the test code executes in it's own instance of the JVM whereas >> the oth

Re: Tomcat Components

2012-11-08 Thread Ram Laxman
No. I am curious about working of Tomcat so I am asking these core questions. that's all !! In my syllabus, no special subject or project related Tomcat, so from onwards question are from my curiosity point of view only; not any assignment or h/w!! Hope u all will understand and guide me !! -

Re: This is just plain ... odd.

2012-11-08 Thread Russ Kepler
On Thursday, November 08, 2012 07:36:20 PM Lyallex wrote: > The only difference between the two executions is the fact that the test > code executes in > it's own instance of the JVM whereas the other execution runs in an > instance shared with the container. > > I accept that the behaviour may b

Re: Tomcat Components

2012-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ram, On 11/8/12 12:06 PM, Ram Laxman wrote: > I want to know what are components of Tomcat 7? Well, first you've got yourself a "T". That's the most important, which makes sense, because it's first one listed. Why wouldn't you put your best foot forw

Re: Form based login authentication

2012-11-08 Thread Russ Kepler
On Friday, November 09, 2012 01:02:55 AM Konstantin Kolinko wrote: > 1. When and how do you obtain the value for your jsessionid? Beware > that the session id is changing when you do authentication. That is > done to prevent session fixation attacks. The .jnlp would be generated on the fly after

Re: This is just plain ... odd.

2012-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyallex, On 11/8/12 8:35 AM, Lyallex wrote: > I thought about posting this to a Java list but I can't reproduce > it 'standalone' so I thought I'd have a go here. There's something to that "can't reproduce it standalone" that you should be worried ab

Re: SSL Certificate Help

2012-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 11/8/12 4:39 AM, Brian Burch wrote: > On 07/11/12 21:13, Alissa Schneider wrote: >> * I recreated the keystore. > > Which will have generate a NEW public/private key pair. +1 >> * I imported the CA-signed certificate. > >

Re: App Initialization Order In Tomcat

2012-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jose, On 11/7/12 8:30 PM, Jose H. Martinez wrote: > Thanks! This is indeed an interesting solution but I was looking > for something more "configurable". Does anybody know if there are > plans to add this functionality to Tomcat in the future? The al

Re: Logging of user's login attempts

2012-11-08 Thread Mark Eggers
On 11/8/2012 12:29 PM, Christopher Gross wrote: Using Tomcat 6.0.36. Realm: Is there a way that I can set it up to do user login auditing, so that I can see when a user logs in, or when they have a failed attempt, etc? Been trying to google an answer, but I haven't been finding anything use

Re: Form based login authentication

2012-11-08 Thread Konstantin Kolinko
2012/11/8 Russ Kepler : > Using: > > Linux main 3.2.0-32 > Tomcat 7.0.32 > Java version "1.7.0_09" > (working through Eclipse Juno) > > I've been assigned what should have been a pretty simple task, a jnlp launcher > following a login to the web server. I've implemented what seemed to me to be > t

Re: Specify order in which war files are deployed under tomcat

2012-11-08 Thread Pid
On 07/11/2012 21:32, Jose H. Martinez wrote: > Hello, > > I am running two applications under tomcat. One application is a web > service and the other is a web app that depends on the web service to be > started first before it can be initialized. The problem I am having is that > the web app is s

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-08 Thread Pid
On 08/11/2012 15:03, Asankha C. Perera wrote: > Hi Mark what happens if some other process grabs the port in the meantime: what is Tomcat supposed to do then? >>> In reality I do not know of a single client production deployment that >>> would allocate the same port to possibly conflictin

Re: Tomcat Components

2012-11-08 Thread Pid
On 08/11/2012 17:06, Ram Laxman wrote: > Hi, > > I want to know what are components of Tomcat 7? > > As mentioned in wiki , tomcat 4 has Catalina,Coyote and Jasper components!!! > > But as I searched through the tomcat change notes I have observed several > others > > such as Cluster, Web

Logging of user's login attempts

2012-11-08 Thread Christopher Gross
Using Tomcat 6.0.36. Realm: Is there a way that I can set it up to do user login auditing, so that I can see when a user logs in, or when they have a failed attempt, etc? Been trying to google an answer, but I haven't been finding anything useful or specific. Let me kno

Re: Stress test on tomcat

2012-11-08 Thread André Warnier
Luciano Andress Martini wrote: Hi friend sorry if i am repeating same topic, but actually what is the better thing to do a stress test on tomcat6. You are probably not getting an answer, because it is a rather stupid question. Hint : what do you want to test or check or measure ?

Stress test on tomcat

2012-11-08 Thread Luciano Andress Martini
Hi friend sorry if i am repeating same topic, but actually what is the better thing to do a stress test on tomcat6. Thanks ! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h..

Re: This is just plain ... odd.

2012-11-08 Thread Lyallex
> [snip] > > You got the same (wrongish) results since you gave the sort the same order > in > the list. I can't recall how merge sort can freak out when given > conflicting > compares, I seem to recall that you might get an endless loop under some > circumstances as it orders and reorders the

Tomcat Components

2012-11-08 Thread Ram Laxman
Hi,  I want to know what are components of Tomcat 7?  As mentioned in wiki ,  tomcat 4 has Catalina,Coyote and Jasper components!!! But  as I searched through the tomcat change notes I have observed several others such as Cluster, Web Application but not getting fix no in this release !! Hel

Re: This is just plain ... odd.

2012-11-08 Thread Russ Kepler
On Thursday, November 08, 2012 10:05:43 AM djohn...@desknetinc.com wrote: > > This is closer, but still doesn't work correctly if two "Misc" categories > are being compared, or one "Misc" category is compared to itself. > Try: > > @Override > public int compareTo(Category c) { > if(catego

Re: This is just plain ... odd.

2012-11-08 Thread Russ Kepler
On Thursday, November 08, 2012 03:06:51 PM Lyallex wrote: > > I'm not sure that you can ever get consistent results if the input order > > is > > random. > > Well perhaps 'random' was a bit 'random' the select returns the data in the > same order it was entered, ordered by id. > Not necessarily th

Form based login authentication

2012-11-08 Thread Russ Kepler
Using: Linux main 3.2.0-32 Tomcat 7.0.32 Java version "1.7.0_09" (working through Eclipse Juno) I've been assigned what should have been a pretty simple task, a jnlp launcher following a login to the web server. I've implemented what seemed to me to be the simplest solution - form based login

Re: This is just plain ... odd.

2012-11-08 Thread Lyallex
> I'm not sure that you can ever get consistent results if the input order is > random. Well perhaps 'random' was a bit 'random' the select returns the data in the same order it was entered, ordered by id. Not necessarily the same as alpha as I'm sure you appreciate. the fact is that the data was

Re: This is just plain ... odd.

2012-11-08 Thread DJohnson
Russ Kepler wrote on 11/08/2012 09:22:41 AM: > From: Russ Kepler > To: Tomcat Users List , > Date: 11/08/2012 09:23 AM > Subject: Re: This is just plain ... odd. > > On Thursday, November 08, 2012 01:35:55 PM Lyallex wrote: > > I have tried everything I can think of to reproduce this behaviou

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-08 Thread Asankha C. Perera
Hi Mark what happens if some other process grabs the port in the meantime: what is Tomcat supposed to do then? In reality I do not know of a single client production deployment that would allocate the same port to possibly conflicting services, that may grab another's port when its suffering und

Re: This is just plain ... odd.

2012-11-08 Thread Russ Kepler
On Thursday, November 08, 2012 01:35:55 PM Lyallex wrote: > I have tried everything I can think of to reproduce this behaviour > in a standalone Java program but the list is always returned > as required. When I call the method from a servlet the list is always > returned > in it's natural order,

This is just plain ... odd.

2012-11-08 Thread Lyallex
Java 1.6 Tomcat 6.0.35 Ubuntu Linux 12.04 I thought about posting this to a Java list but I can't reproduce it 'standalone' so I thought I'd have a go here. It's quite long and involved... I have a web application that lists items for sale by category I have a facade that publishes a method tha

Re: SSL Certificate Help

2012-11-08 Thread Ognjen Blagojevic
Alissa, On 7.11.2012 22:13, Alissa Schneider wrote: Here are the steps I have taken thus far: * I deleted my original keystore that held my self-signed certificate. * I deleted the self-signed certificate. * I recreated the keystore. * I imported the CA-signed

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-08 Thread Mark Thomas
On 08/11/2012 03:35, Asankha C. Perera wrote: > Hi Esmond >> Closing the listening socket, as you seem to be now suggesting, is a >> very poor idea indeed: > I personally do not think there is anything at all bad about turning it > off. After all, if you are not ready to accept more, you should be

Re: SSL Certificate Help

2012-11-08 Thread Brian Burch
On 07/11/12 21:13, Alissa Schneider wrote: Hi - I'm a novice Tomcat user. I've only used the tool to support BusinessObjects. I recently was asked to set up SSL for the first time. Initially I created my own self-signed certificate and was able to get everything working fine, although I would

AW: AW: Problem WAR-file-deployment tomcat 6.0.36

2012-11-08 Thread Meik Suchlich
Hi, we had an error in the call of the anttask for the creation of the warfile. the webxml parameter was set with the Folder, where the web.xml is in not the web.xml itself. This results not in an error but in the creation of Folder web.xml in the warfile. Greetings, Meik Suchlich -Urs

Re: AW: Problem WAR-file-deployment tomcat 6.0.36

2012-11-08 Thread Mark Thomas
On 08/11/2012 08:22, Meik Suchlich wrote: > Hi, > > that seems to be the cause. I check, why there is this empty folder which > should not be created. > But it works with tomcat-6.0.35. Why does this error not occur in the > previous Version. > Is it because of the bugfix ? Yes. This looks like

AW: Problem WAR-file-deployment tomcat 6.0.36

2012-11-08 Thread Meik Suchlich
Hi, that seems to be the cause. I check, why there is this empty folder which should not be created. But it works with tomcat-6.0.35. Why does this error not occur in the previous Version. Is it because of the bugfix ? Thanks, Meik -Ursprüngliche Nachricht- Von: Konstantin Kolinko

Re: Problem WAR-file-deployment tomcat 6.0.36

2012-11-08 Thread Konstantin Kolinko
2012/11/8 Meik Suchlich : > Hi, > > I just changed the tomcat from 6.0.35 to 6.0.36, by simply changing the > symlink from the apache-6.0.35 to the apache 6.0.36-folder and cleaning > work-directory. > After that the deployment of warfiles fails with following Exception: > > Nov 08, 2012 6:38:50