Tomcat is not responding to request by load generator .

2006-12-18 Thread Vijay Hatewar
Hi I am testing my web application for Performance which is deployed on Tomcat , While doing so I have to run my test for number of iterations . My test scenario is like I am running one operation in loop for 1000 times each for Single Virtual user . I could run my test successfully for 4

Question on Admin WebApp in Tomcat 6.0

2006-12-18 Thread ritu . x . kedia
Hi, I was taking a look at Tomcat 6.0. The downloads did not have a separate WAR for the Admin WebApp and the Core download also did not include the Admin WebApp. Could someone please let me know from where can I download the Admin WebApp for Tomcat 6.0? I am primarily interested in understan

Re: How to Run Servlet

2006-12-18 Thread Mark Thomas
athula bogoda wrote: > Hi, > I am new to servlet. > > Can any one tell me how to run servlet file in Tomcat 5.0. First off, you will be better off with 5.5.x rather than 5.0.x Then you could try following the following example: http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html There are

How to Run Servlet

2006-12-18 Thread athula bogoda
Hi, I am new to servlet. Can any one tell me how to run servlet file in Tomcat 5.0. When I run my hello world file it views the souce file. But examples are given in Tromcat local server is working fine. Help me. Send instant messages to your online friends http://uk.messenger.yahoo.com

Re: Servlet Processing of POST

2006-12-18 Thread Bill Barker
"Scott Carr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In Tomcat, when does the Servlet Processing get called? > > Is it after Tomcat has read the full request, or does it initiate the call > as soon as it starts processing the request? > It is done after reading the headers

Re: my webapps lost after deleting *.war

2006-12-18 Thread Mark Thomas
dl wrote: > Have I blundered badly? Are the lost webapps non-recoverable from anywhere > (nothing in Recycle bin)? I am afraid they are gone for good. Do have anything in a backup of version control system you can recover from? Mark --

Re: Using 2 Realms for authentication and access control

2006-12-18 Thread Mark Thomas
Workman, Joe wrote: > I have an application that runs on tomcat that by default uses a > JDBCRealm to query a database for authentication. I would like to use > Kerberos for the user password authentication but still use my JDBCRealm > for access control through roles. I was hoping you could point

Re: Character encoding

2006-12-18 Thread Mark Thomas
Mester József wrote: > Hello Mark > >> Mester József wrote: >>> Ok. Let's see my problem. >>> I have a form with text input box. I type Árvíztűrő tükörfúrógép and I get >>> " ÃrvíztűrÅ tükörfúrógép > >> I have tested this with the latest 5.5.x source and it works correctly >> (there have

my webapps lost after deleting *.war

2006-12-18 Thread dl
I have Tomcat 5.5.17 on Win XP (personal localhost development server). I installed a webapp as app.war. Then developed some applications in localhost:8080/app/ (leaving the app.war in webapps directory) Then (later) I manually deleted the app.war (which I thought was now redundant). But .. af

Re: Servlet with POST Request

2006-12-18 Thread Scott Carr
Understand. The chunk stuff is what I am planning on using. Do you know if Tomcat waits until all chunks are in before starting the Servlet processing? Bill Barker wrote: If you don't send a Content-Length, then you need to use 'Transfer-Encoding: chunked'. Otherwise Tomcat (or any other HT

On Tomcat 5.5.9, can't flush the buffer or reduce buffer size < 8192

2006-12-18 Thread Richard Mundell
No one replied, so in the hope someone might have the answer to this, here's a repost... :-) -Original Message- From: Richard Mundell [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 3:37 PM To: users@tomcat.apache.org Subject: On Tomcat 5.5.9, can't flush the buffer or reduce

Servlet Processing of POST

2006-12-18 Thread Scott Carr
In Tomcat, when does the Servlet Processing get called? Is it after Tomcat has read the full request, or does it initiate the call as soon as it starts processing the request? Thanks for your help. - To start a new topic, e-mai

Re: Tomcat Session Replicating Failing under load

2006-12-18 Thread David Rees
On 12/18/06, cifroes <[EMAIL PROTECTED]> wrote: cifroes wrote: > David Rees wrote: >> >> Are you sticky sessions? If not, that will usually fix the issue you >> see. >> > Sorry, I don't know what sticky sessions are... But please note I'm > not using Tomcat loadbalancing, the load balancer is ano

Re: Tomcat Session Replicating Failing under load

2006-12-18 Thread cifroes
cifroes wrote: David Rees wrote: Are you sticky sessions? If not, that will usually fix the issue you see. Sorry, I don't know what sticky sessions are... But please note I'm not using Tomcat loadbalancing, the load balancer is another software that's doing round-robin (and working fine).

Re: Tomcat Session Replicating Failing under load

2006-12-18 Thread cifroes
David Rees wrote: Are you sticky sessions? If not, that will usually fix the issue you see. Sorry, I don't know what sticky sessions are... But please note I'm not using Tomcat loadbalancing, the load balancer is another software that's doing round-robin (and working fine). My issue is tha

Re: Tomcat Session Replicating Failing under load

2006-12-18 Thread David Rees
On 12/18/06, cifroes <[EMAIL PROTECTED]> wrote: I'm configuring a Tomcat cluster with 2 servers. In front of that I have a loadbalancer (LVS software) doing round-robin between the 2 servers. In my tests I'm finding that the session replication mechanism isn't "fast enough" to replicate the data

RE: invalid sessions

2006-12-18 Thread Asensio, Rodrigo
I saw that method and I read this. Case brand new session Session.getId() has some value Request.getRequestedSessionId() is null because the browser is not trying to reach some particular session Case expired session Session.getId() is different from Request.getRequestedSessionId() Because the br

Tomcat 6.0 vs Tomcat 5.5 Clustering Changes

2006-12-18 Thread Troy Davidson
I am trying to find a list of the differences between Tomcat 6.0 and Tomcat 5.5 clustering and farming. Does anyone have a list like this or where to find the information. Thanks. ++ Troy Davidson ---

Re: invalid sessions

2006-12-18 Thread Veit Guna
I check for invalidated sessions (timeout) the following way: if (! lRequest.isRequestedSessionIdValid() && lRequest.getRequestedSessionId() != null) { log.debug("session expired"); } else { log.debug("the normal way"); } regards, Veit Asensio, Rodrigo schrieb: > Hi guys, Im tr

Tomcat Session Replicating Failing under load

2006-12-18 Thread cifroes
Hi all, I'm configuring a Tomcat cluster with 2 servers. In front of that I have a loadbalancer (LVS software) doing round-robin between the 2 servers. In my tests I'm finding that the session replication mechanism isn't "fast enough" to replicate the data. I have a WS[using Axis] that has

RE: Installing Tomcat and IIS

2006-12-18 Thread Simon Renshaw
I normally need to access http://localhost:9191/luntbuild to see my application. So in theory with that filter thing installed correctly I should be able to access it by going to http://localhost/luntbuild? But for IIS, /luntbuild does not exist. How does it figure out that it is a Tomcat dir?

RE: invalid sessions

2006-12-18 Thread Asensio, Rodrigo
Is really a pain in the ass have a brand new session when the session is dead. Would be great have a session.isNewBecauseTheOldIsDead() -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 12:52 PM To: Tomcat Users List Subject: invalid sessi

Tomcat clustering broken - Unable to send message through cluster sender

2006-12-18 Thread Spurlock, Robert J
All, We've had Tomcat clustering working in test and production for months. We run on HP UX 11.11. We recently upgraded the OS and I think Tomcat clustering quit working at that point. I'm not sure of the OS connection but the session data is not being replicated throughout the cluster. We are run

invalid sessions

2006-12-18 Thread Asensio, Rodrigo
Hi guys, Im trying to reject users whose sessions was invalidated (in purpose because a logout or timeout) But I found that there is not logic combination in the session valid or invalid methods. Case 1 First request Session.isNew() TRUE Request.isRequestedSessionIdValid() FALSE We can say that

RE: Using 2 Realms for authentication and access control

2006-12-18 Thread Workman, Joe
I have not seen any response to this . . . . Can anyone help? Please?!? Cheers Joe From: Workman, Joe Sent: Friday, December 15, 2006 12:30 PM To: 'users@tomcat.apache.org' Subject: Using 2 Realms for authentication and access control I have an application th

RE: Apache SSL + mod_jk

2006-12-18 Thread Bijan Vakili
Hi Rainer, The proxy attributes, as you mentioned, were all I needed. Thanks so much! Bijan Vakili Senior Software Developer Cryptologic Inc. 55 St-Clair W, 3rd floor, Toronto, Ontario, M4V 2Y7 Phone 416.545-1455 Ext 5892 E-Mail: [EMAIL PROTECTED] SKYPE: bijanvakili This message, includin

Re: My webapp is oddly asking for user and password

2006-12-18 Thread Dani
I solved the problem. These lines in the server.xml were preventing my webapp to deploy. They were there because of the configuration of my project within Eclipse and Sysdeo plugin. I still don't understand why Tomcat asked for user/password, though. Thank you Chuck, David, Siomara and Oliv

repost: looking for example using Mbean to for session management across multiple applications

2006-12-18 Thread Bill Milbratz
Hi, (this is a repost. I inadvertently 'thread hijacked' when I initially posted this question). I'm looking for an example of using Mbeans to access the org.apache.catalina.Manager interface to manage HttpSessions. First off, however: is this possible? We're interested in using thi

RE: My webapp is oddly asking for user and password

2006-12-18 Thread Caldarale, Charles R
> From: Dani [mailto:[EMAIL PROTECTED] > Subject: Re: My webapp is oddly asking for user and password > > Can I deploy hello.html without a .war file? Yes, I just verified (again) that 5.5.20 with the default config will deploy a webapp that has only a single .html file in its directory. To be

Re: logging the all the request/response http messages for my application

2006-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith, Keith Hawkridge wrote: > Hi, is it possible to give me an answer for both? I'm not sure what you mean. Do you want an implementation for a re-readable request and a sniffable response? I'm unlikely to write that for you without being paid ;)

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
Best way to know if you webapp is correctly deployed is to access the manager webapp: http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Dani a écrit : > On 12/18/06, David Delbecq delbd-at-oma.be |tomcat| > <3unkjagvg90t...> wrote: >> Better try this. >> >> create a rms.war fi

Re: My webapp is oddly asking for user and password

2006-12-18 Thread Dani
On 12/18/06, David Delbecq delbd-at-oma.be |tomcat| <3unkjagvg90t...> wrote: Better try this. create a rms.war file with only one hello.html file inside. Put this .war inside your webapps directory, tomcat should outputs messages in catalina.out (or standard output) telling you it l

Re: logging the all the request/response http messages for my application

2006-12-18 Thread David Delbecq
Either use the requestdumper valve provided by tomcat (to dump headers and form submission) Either create a ServletFilter that will decorate the HttpServletRequest and the HttpServletResponse and forward those decorated object to the followup of processing chain (http://java.sun.com/products/servle

RE: logging the all the request/response http messages for my application

2006-12-18 Thread Keith Hawkridge
Hi, is it possible to give me an answer for both? keith -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 14:35 To: Tomcat Users List Subject: Re: logging the all the request/response http messages for my application -BEGIN PGP SIGNED MESS

RE: My webapp is oddly asking for user and password

2006-12-18 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] > Subject: Re: My webapp is oddly asking for user and password > One thing for sure, creating a folder under webapps/ directory is not > enough to create a webapp That's no longer true - a directory is all you need with the current 5.5 and 6.0 leve

Deploying war files to subdir contexts through web Manager

2006-12-18 Thread Alan Cooper
Hi, I would like to deploy war files through the Manager application but I am having difficulty setting a COntext path that is not in the root folder. E.g., I have a war file called monitoring.war - I can deploy this as "http://servername.com/monitoring"; no problem, but as I'm using

Re: logging the all the request/response http messages for my application

2006-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith, Keith Hawkridge wrote: > Hi, I have an application setup via a context and I want to view all the > http request/response messages that deals with this context. > > Is there any easy way to set this up with tomcats logging? Do you want to log

Re: Tomcat 5.5.20 undeploy problem

2006-12-18 Thread Pierre Goupil
Hello ! IMHO, it has to do with file-locking. See "antiJarLocking" and "antiResourceLocking" in this page : http://tomcat.apache.org/tomcat-5.5-doc/config/context.html The typical symptom is a webapp not being suppressed from the list after having undeployed it with the manager. I didn't under

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
Better try this. create a rms.war file with only one hello.html file inside. Put this .war inside your webapps directory, tomcat should outputs messages in catalina.out (or standard output) telling you it loads rms.war. Then try to access http://localhost:/rms/hello.html and tell us if it still r

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
hi, tomcat is set by default to 8080 because, on unix environments at least, low port numbers (like 80) are restricted to be bindable only by root. I don't know for windows. Dani a écrit : > On 12/18/06, Siomara-at-planalto.gov.br |tomcat| > wrote: >> I thought the default port was 8080. Am I wron

Re: Character encoding

2006-12-18 Thread Mester József
Hello Mark >Mester József wrote: >> Ok. Let's see my problem. >> I have a form with text input box. I type Árvíztűrő tükörfúrógép and I get " >> ÃrvíztűrÅ tükörfúrógép >I have tested this with the latest 5.5.x source and it works correctly >(there haven't been any encoding related fixes

Re: My webapp is oddly asking for user and password

2006-12-18 Thread Dani
On 12/18/06, Siomara-at-planalto.gov.br |tomcat| wrote: I thought the default port was 8080. Am I wrong? Yes, 8080 is the default out-of-the-box Tomcat port. And 80 is the default port for the HTTP protocol all over the Internet. I had this problem once. It was because of a port conflict wi

RE: Cannot access classes in /WEB-INF/lib

2006-12-18 Thread andy.mcneill
Thanks - I have fixed it. Seemed to be a class conflict between jasper and some other graphing libraries. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 17 December 2006 21:25 To: Tomcat Users List Subject: Re: Cannot access classes in /WEB-INF/lib Andy The jar

Re: My webapp is oddly asking for user and password

2006-12-18 Thread Dani
On 12/18/06, David Delbecq delbd-at-oma.be |tomcat| <3unkjagvg90t...> wrote: Dani a écrit : > On 12/18/06, Siomara-at-planalto.gov.br |tomcat| > wrote: >> don´t you have to include the port tomcat is listening? >> >> http://localhost:8080/rms or any other port like: >> http://localho

Re: My webapp is oddly asking for user and password

2006-12-18 Thread Dani
On 12/18/06, David Delbecq delbd-at-oma.be |tomcat| <3unkjagvg90t...> wrote: How did you deploy your simple webapp? I followed these instructions: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ Actually I made a new directory C:\apache-tomcat-5.5.20\webapps\RMS and put a hello

RES: My webapp is oddly asking for user and password

2006-12-18 Thread Siomara
I thought the default port was 8080. Am I wrong? I had this problem once. It was because of a port conflict with Oracle that was using port 8080. The solution was to set tomcat to listen to any other port but 8080 or 80. My tomcat listen to 8899 and the conflict (and the login screen ) is gone. -

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
Dani a écrit : > On 12/18/06, Siomara-at-planalto.gov.br |tomcat| > wrote: >> don´t you have to include the port tomcat is listening? >> >> http://localhost:8080/rms or any other port like: >> http://localhost:8899/rms > > No, because I changed it to the default HTTP port 80. But thanks. Do you r

logging the all the request/response http messages for my application

2006-12-18 Thread Keith Hawkridge
Hi, I have an application setup via a context and I want to view all the http request/response messages that deals with this context. Is there any easy way to set this up with tomcats logging? Thanks in advance, Keith

Re: My webapp is oddly asking for user and password

2006-12-18 Thread Dani
On 12/18/06, Siomara-at-planalto.gov.br |tomcat| wrote: don´t you have to include the port tomcat is listening? http://localhost:8080/rms or any other port like: http://localhost:8899/rms No, because I changed it to the default HTTP port 80. But thanks. -Mensagem original- De: Dani

RES: My webapp is oddly asking for user and password

2006-12-18 Thread Siomara
don´t you have to include the port tomcat is listening? http://localhost:8080/rms or any other port like: http://localhost:8899/rms -Mensagem original- De: Dani [mailto:[EMAIL PROTECTED] Enviada em: domingo, 17 de dezembro de 2006 17:43 Para: users@tomcat.apache.org Assunto: My webapp is

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
Tries with tomcat 5.5.7, i put in webapps/ directory a theTest.war file with only one html file inside. Works perfectly, here is output in console: INFO: Deploying web application archive theTest.war Dec 18, 2006 1:04:46 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missi

Re: My webapp is oddly asking for user and password

2006-12-18 Thread Dani
My out-of-the-box Tomcat is asking for user/password when I try to connect to a hello world HTML in a new webapp. On 12/17/06, olivier nouguier olivier.nouguier-at-. |tomcat| wrote: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html I don't have a web.xml in my project yet. And

RE: JSP's not recompiling

2006-12-18 Thread Johnson, David
A very good point, I'll check exactly what timestamps are being written. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 11:20 To: Tomcat Users List Subject: Re: JSP's not recompiling Hi, could this be your problem (considering rsync does set times

RE: JSP's not recompiling

2006-12-18 Thread Johnson, David
It actually looks as if adding the reloadable paramater into conf/web.xml has fixed it, contrary to initial reports from impatient developers! -Original Message- From: Dani [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 10:58 To: users@tomcat.apache.org Subject: Re: JSP's not recompilin

Re: JSP's not recompiling

2006-12-18 Thread David Delbecq
Hi, could this be your problem (considering rsync does set timestamp to the source timestamps and not the current time)? 1) tomcat start, file X.jsp (version 1) has timestamp t 2) remote content management does a modification, remote X.jsp (version 2) has timestamp t+1 3) in the meanwhile, a clien

Re: JSP's not recompiling

2006-12-18 Thread Dani
Maybe this is not the problem, but, did you turn on Servlet reloading? http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Servlet-Reloading Hope this helps. On 12/18/06, Johnson, David d.johnson-at-cranfield.ac.uk |tomcat| < hh49jagu9t0t...> wrote: We're having some issues with J

JSP's not recompiling

2006-12-18 Thread Johnson, David
We're having some issues with JSP files not being recompiled when they should be, and was wondering if anyone can shed some light on it. We have Jasper set up in development mode, with the following in conf/web.xml: jsp org.apache.jasper.servlet.JspServlet fork

Tomcat 5.5.20 undeploy problem

2006-12-18 Thread Diego Belliardo
I'm using Tomcat 5.5.20 on Windows 2003 Server. This is my problem: I'm using ant task to deploy my web application: undeploy=org.apache.catalina.ant.UndeployTask deploy=org.apache.catalina.ant.DeployTask http://smbcti.enigen.it:8080/manager"; username= "admin" password