How to detect expired session vs. no session?

2004-12-08 Thread LAM Kwun Wa Joseph
Hi, How can I tell between a request using an expired session vs a request with no session at all? I need to show different messages to users being kicked due to inactivity and to anonymous users. Thanks! Regards, Joseph Lam

RE: How to detect expired session vs. no session?

2004-12-08 Thread Steve Kirk
if you call request.getSession(false) this will return null if the request is not associated with a request already. the false param turns off the default behaviour of creating a new session when none exists. -Original Message- From: LAM Kwun Wa Joseph [mailto:[EMAIL PROTECTED] Sent:

RE: Implementing Realm

2004-12-08 Thread Morten Andersen
Sorry if I'm being stupid, but it simply doesn't match my experiences. I'm using tomcat 4.1.30 as it is with standard MemoryRealm implementation. The username/passwords are created using the tomcat-users.xml, but If I change these without restarting tomcat the usernames and passwords are not

RE: How to detect expired session vs. no session?

2004-12-08 Thread LAM Kwun Wa Joseph
But does it have the same effect for a request with an expired session vs a request with no session at all? I think it will return null in both cases. if you call request.getSession(false) this will return null if the request is not associated with a request already. the false param turns off

RE: How to detect expired session vs. no session?

2004-12-08 Thread Ben Souther
if you call request.getSession(false) this will return null if the request is not associated with a request already. the false param turns off the default behaviour of creating a new session when none exists. On Wed, 2004-12-08 at 04:35, LAM Kwun Wa Joseph wrote: But does it have the

RE : Threads issues in Tomcat 5.0.28

2004-12-08 Thread LERBSCHER Jean-Pierre
2. you can use kill -3 command to dump the thread stack and execute the same command few seconds later. You obtain two stack trace that you can compare to identify the potential source of inativity. -Message d'origine- De : Matt Robinson [mailto:[EMAIL PROTECTED] Envoyé : mercredi 8

Multiple domains on single machine

2004-12-08 Thread Mayuresh Kshirsagar
Hi I have setup a test machine so that it should host two sites 1. http://admin 2. http://support But only one (http://admin) is accessible and the other one is not. Can you give any pointers. I set up virtual hosts as (httpd.conf): NameVirtualHost *:80 VirtualHost *:80ServerName

RE: How to detect expired session vs. no session?

2004-12-08 Thread Steve Kirk
I haven't tested this, but I *think* that a request containing an expired session will still return a non-null session object, but a different instance to the one that would have been returned pre-timeout. But I don't know that for a fact. why not just test it out yourself, it's not that hard,

HttpSessionListener Interface - Mail Archive not working so apologies for repost

2004-12-08 Thread Mark Benussi
I am sure this has ben tackled by somebody before. In my web.xml I have web-app id=WebApp display-nameSite/display-name listener listener-classhelpers.SessionHelper/listener-class /listener servlet My SessionHelper class implements

Re: HttpSessionListener Interface - Mail Archive not working so apologies for repost

2004-12-08 Thread Ben Souther
My SessionHelper class implements HttpSessionListener and in my local test environment it works fine. But on my Tomcat I get zilch nowt yadda. What do you mean when you say you get nothing on Tomcat? What are you trying to do?

Re: HttpSessionListener Interface - Mail Archive not working soapologies for repost

2004-12-08 Thread Mark Benussi
Sorry what I mean is that the methods implemented for the HttpSessionListener do not get called when I invoke a new session. Original Message Follows From: Ben Souther [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: HttpSessionListener

Re: HttpSessionListener Interface - Mail Archive not working soapologies for repost

2004-12-08 Thread Ben Souther
Sorry what I mean is that the methods implemented for the HttpSessionListener do not get called when I invoke a new session. You've extended HttpServlet, implemented HttpSessionListener, and the code in the sessionCreated(HttpSessionEvent event) method is not being called when you create a

Re: HttpSessionListener Interface - Mail Archive not workingsoapologies for repost

2004-12-08 Thread Mark Benussi
Hi Ben, I have not extended httpservlet, I don't see why I would have to do this? package helpers; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; public class SessionHelper implements HttpSessionListener { public void

RE: How to detect expired session vs. no session? (Solved)

2004-12-08 Thread LAM Kwun Wa Joseph
Confirmed that request.getSession(false)==null for both expired session requests and anonymous requests, if I have %@ page session=false % in my pages. I just figured out the follow which work exactly what I wanted: boolean hasSessionID = (request.isRequestedSessionIdFromURL() ||

Re: HttpSessionListener Interface - Mail Archive not workingsoapologies for repost

2004-12-08 Thread Ben Souther
I have not extended httpservlet, I don't see why I would have to do this? You don't... sorry (was still on first cup of coffeee ;)) You've tried putting println statements in the sessionCreated and sessionDestroyed methods to verify that they're not being called? On Wed, 2004-12-08 at

Server Status and connection information

2004-12-08 Thread Olve Hansen
I see in the manager app that only server status information about connections to the manager app has extended information attached to it. For our production webapp the only information is that it is a Keep alive connection, and it has no metric about bytes sent or received, or what the request

Re: Inside eclipse...

2004-12-08 Thread Vamsee Kanakala
Vamsee Kanakala wrote: Hi all, I have a problem when I start tomcat from inside eclipse I found out the problem. It's not about the plugin per se, it must be the fact that eclipse starts tomcat or something... Anyways, I googled for similar error messages, turns out that security.policy

Re: HttpSessionListener Interface - Mail Archive notworkingsoapologies for repost

2004-12-08 Thread Mark Benussi
Solved. For any of you using Websphere Studio to attach and debug a remote Tomcat instance be warned. The line numbers seem to be one out on my class and it worked when I put more than one LOC and a few more debug points (As well as some logging thanks Ben ;) ) Original Message Follows

Thread safety for RequestDispatcher

2004-12-08 Thread Phil Shaw
I'm looking at design options for a servlet that uses forwarding. If I were to get a RequestDispatcher in the init method (from ServletContext) and store it as a static field, it would save getting a RequestDispatcher for every request object. That may minimise unnecessary repetition, but I

OutOfMemory! Tomcat meets sudden spikes of used memory sometimes.

2004-12-08 Thread Li Zhenxing
Hi folks, I am puzzled by the situation that Tomcat 4.1.31 meets sudden spikes of used memory sometimes. Then it will increase to throw OutOfMemory Exception and tomcat is hanging. Those memory spikes appear in my Web application for a long time. The odd thing is that it does not seem to

taglib-application config

2004-12-08 Thread D. Stimits
It appears that the application taglib docs are out of date, and I'm trying to configure this taglib. One example of it being out of date is that it refers to application.tld, which currently is taglibs-application, not application. Even the example fails to load. Maybe this is because I'm

RE: Best place to store files ?

2004-12-08 Thread Shapira, Yoav
Hi, What Wendy said is right on, so I'm glad you're already down that path. If the files are temporary, i.e. you don't mind them being erased when the server restarts, you can use the javax.servlet.context.tempdir context attribute. That's the portable, preferred way to handle temporary

RE: OutOfMemory! Tomcat meets sudden spikes of used memory sometimes.

2004-12-08 Thread Dale, Matt
The fact that you have the same symptons in tomcat 4 and in 5 points towards your application as being the culprit. Is there any reason why you chose tomcat 5.0.18 instead of one of the many newer releases? I would find another profiler that works with both and try your tests again. Ta Matt

RE: HttpServletResponse.setStatus and setContentType

2004-12-08 Thread Shapira, Yoav
Hi, You know, the JavaDoc for HttpServletResponse#setStatus is pretty clear on this ;) Use sendError for errors, setStatus for normal responses. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Dunlop, Aaron [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004

RE: Best place to store files ?

2004-12-08 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Tomcat is not deficient or lacking here in any way: if something is lacking, it's the Servlet Spec, but I personally don't think it's lacking because there's still a use-case for the no-filesystem servlet container. Hmm. Sorry, Yoav, but I

RE: Implementing Realm

2004-12-08 Thread Shapira, Yoav
Hi, I'm using tomcat 4.1.30 as it is with standard MemoryRealm implementation. Ahh, I assumed you were using 5.x, my bad there. I haven't used 4.x in a while and don't want to waste time on it, so I believe you. The username/passwords are created using the tomcat-users.xml, but If I change

RE: Best place to store files ?

2004-12-08 Thread Shapira, Yoav
Hi, From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Tomcat is not deficient or lacking here in any way: if something is lacking, it's the Servlet Spec, but I personally don't think it's lacking because there's still a use-case for the no-filesystem servlet container. Hmm. Sorry, Yoav, but I

Re: Multiple domains on single machine

2004-12-08 Thread Mayuresh Kshirsagar
Any pointers on this one please...its urgent - Original Message - From: Mayuresh Kshirsagar To: [EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 3:27 PM Subject: Multiple domains on single machine Hi I have setup a test machine so that it should host two

RE: OutOfMemory! Tomcat meets sudden spikes of used memory sometimes.

2004-12-08 Thread Shapira, Yoav
Hi, Besides what Dale said, which is true, I'd like to point out a couple of other additional things. Those memory spikes appear in my Web application for a long time. The odd When a spike appears for a long time it's not a spike: it's the steady state. This is three pictures of the gc log.

RE: Thread safety for RequestDispatcher

2004-12-08 Thread Shapira, Yoav
Hi, You're right that a static request dispatcher is a negligible performance gain for a large thread-safety risk. You can obviously test it out with a client that will send multiple concurrent test requests. But if you don't have the time or desire to test it out, you can know that obtaining a

RE: Threads issues in Tomcat 5.0.28

2004-12-08 Thread Shapira, Yoav
Hi, Once you get the thread dump, post it, and we can try to help you figure out what's wrong. The Tomcat thread pools should automatically recover unused threads, subject to your configuration (see the maxSpareThreads and releated Connector configuration attributes). Yoav Shapira

RE: wrongly URI-decoded request.getPathInfo()

2004-12-08 Thread Shapira, Yoav
Hi, I guess you're not a big fan of JavaDocs? ;) Check out the JavaDoc for HttpServletRequest#getPathInfo, especially the Returns section, which is fairly unambiguous as these things go: Returns: a String, decoded by the web container, specifying extra path information that comes after the

RE: Server Status and connection information

2004-12-08 Thread Shapira, Yoav
Hi, I see in the manager app that only server status information about connections to the manager app has extended information attached to it. That's not exactly true. The application status, VM state, and thread pool status is output for all applications on the Host. Have you tried doing

RE: I don't know what's wrong.

2004-12-08 Thread Warron French
Yes, I do have JBoss-3.2.5 running on this server. I have also recently found out that the data is on a windows server running MSSQL. Any ideas on how to test that connectivity? Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA

RE: I don't know what's wrong.

2004-12-08 Thread Warron French
THANK YOU! It will be forthcoming! Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent:

RE: I don't know what's wrong.

2004-12-08 Thread Phillip Qin
If you want to test the MySQL connectivity, make sure that MySQL server allows your IP to remote login otherwise you will have to GRANT PRIVILEDGE. -Original Message- From: Warron French [mailto:[EMAIL PROTECTED] Sent: December 8, 2004 10:42 AM To: Tomcat Users List Subject: RE: I don't

RE: I don't know what's wrong.

2004-12-08 Thread Peter Crowther
From: Phillip Qin [mailto:[EMAIL PROTECTED] If you want to test the MySQL connectivity, make sure that MySQL server allows your IP to remote login otherwise you will have to GRANT PRIVILEDGE. The original poster specified MSSQL noy mySQL. Two irritatingly close acronyms, I agree!

Tomcat 5, jdk1.5 and xsl

2004-12-08 Thread Thomas Kroner
Hi, Why does a xsl:include href=whatsoever.xsl/ directive not work under tomcat 5 (jdk1.5), but works under tomcat 5 and jdk1.4 with the compat package for tomcat? Greets thomas - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: I don't know what's wrong.

2004-12-08 Thread Wade Chandler
Peter Crowther wrote: From: Phillip Qin [mailto:[EMAIL PROTECTED] If you want to test the MySQL connectivity, make sure that MySQL server allows your IP to remote login otherwise you will have to GRANT PRIVILEDGE. The original poster specified MSSQL noy mySQL. Two irritatingly close acronyms,

RE: I don't know what's wrong.

2004-12-08 Thread Peter Crowther
From: Warron French [mailto:[EMAIL PROTECTED] Yes, I do have JBoss-3.2.5 running on this server. I have also recently found out that the data is on a windows server running MSSQL. Any ideas on how to test that connectivity? One approach is to start SQL Profiler on the SQL Server box

RE: Multiple domains on single machine

2004-12-08 Thread Benjamin Armintor
You may not even need to use the Apache HTTPD web server, in which case you should just have Tomcat listen on port 80 itself, and refer to the documentation for Hosts on the Tomcat site. If you really need to use the Apache web server, you'd probably get better advice from the HTTPD list for

RE: I don't know what's wrong.

2004-12-08 Thread Warron French
Sorry you misunderstood. The database is Microsoft MSSQL on a Windows box (of course) on another server. Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004

RE: I don't know what's wrong.

2004-12-08 Thread Warron French
Wade that was true originally, but I also stated that I recently discovered the data was being housed on a MS MSSQL database. I am very sorry for the confusion. Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC -Original Message- From: Wade Chandler

RE: How to detect expired session vs. no session? (Solved)

2004-12-08 Thread Steve Kirk
I'm a bit puzzled. There is something not quite right here (or maybe I'm not quite understanding correctly). Aren't sessions created as soon as a JSP within a ServletContext is accessed, irrespective of whether the user authenticates or not? Thus invalid sessions vs anonymous sessions is not an

Re: I don't know what's wrong.

2004-12-08 Thread Wade Chandler
Warron French wrote: Wade that was true originally, but I also stated that I recently discovered the data was being housed on a MS MSSQL database. I am very sorry for the confusion. Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC -Original Message- From:

java.net.SocketException: socket closed

2004-12-08 Thread Chirag
There are no servers running on the port 8080.I checked myself with netstat -a and there is no PWS or IIS installed There is no property Screen Buffer Size over the Properties Window of DOS on Windows98 Machine. Yes I changed the Initial Size to 50 lines and not more than that can be done as

RE: HttpServletResponse.setStatus and setContentType

2004-12-08 Thread Dunlop, Aaron
Thanks for the suggestion, Yoav, but thus far in my experiments, sendError seems to --Send Content-Type: text/html;charset=utf-8 --Ignore the content I've written (using ServletResponse.getOutputStream()) and instead send the generic Tomcat HTML 'Server Error' message. Which of course is even

what to do about port for Tomcat 4 on Linux?

2004-12-08 Thread Stephen Charles Huey
I want to move to Tomcat 5 right now, but can't yet, and for the time being we need to move from Tomcat 4.1.23 on Windows to 4.1.31 on Red Hat, so I'm now facing a question of what to do about the port Tomcat runs on. I've read stuff online that suggests it's best to leave it at 8080 since 80 is

RE: Slightly OT: Yet another IE woe...

2004-12-08 Thread Robert Hunt
Thanks for the link. Very informative and best of all, it works! -- RH

Binding Mail to a Context

2004-12-08 Thread Razzakul H Chowdhury
I have a web app installed in the C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\InfoSeek folder and the servlets are in .\WEB-INF\classes. A jsp fill-out form gets user input and populates a MySQL table and at the same time retrieves email address from the another table and

RE: Binding Mail to a Context

2004-12-08 Thread Shapira, Yoav
Hi, RTFM: the Resource configurations have changed from Tomcat 5.0 to 5.5, and certainly from 4.x. You need to modify your configuration files accordingly. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.htm l. Yoav Shapira http://www.yoavshapira.com -Original

RE: [OT] SCWCD Exam 1.4

2004-12-08 Thread Januski, Ken
You might find some interesting opinions on this book, by the author, at this O'Reilly page. I'm not trying to push this book. I just find it interesting to juxtapose the high praise it gets there and elsewhere with the cold shower it's gotten in this thread:

RE: Possible to Authenticate from Servlet/Webapp Code?

2004-12-08 Thread Sawlor . TM
Thanks for the info Yoav; however, I've tried what you suggested, and everything I can think of myself, and no luck. I don't know of anything in the declarative security that would help with this. Most of my apps use the standard for security, but there's one app that uses it's own login from a

deleteOnExit() doesn't work in Tomcat on temp files

2004-12-08 Thread eph1v3t8-list8124
I've run into a bug that I only experience in Tomcat. If, within a servlet, I create a temporary file using File.createTempFile(...), Tomcat puts the file in its temp directory, which is fine. However, if I call deleteOnExit() on the file, the file doesn't get deleted when Tomcat is shut

RE: Help: Windows Server on Linux Client

2004-12-08 Thread Benson Margulies
You don't need IIS to get rid of 8080. You need to shut down IIS and reconfigure server.xml to put tomcat on port 80. However, if you get rid of IIS, you can't possibly have domain login unless you want to write your own NTLM realm. -Original Message- From: Aris Javier [mailto:[EMAIL

RE: Help: Windows Server on Linux Client

2004-12-08 Thread Benson Margulies
Now you have to turn on security in Tomcat. If you want to talk to the AD for this purpose, well, lots of luck. You will need a custom realm or to implement this by hand in your servlets. Once you have security enabled at all, the browser (on Linux or wherever) will pop up a 'basic auth' dialog,

Re: [Fwd: %@page isThreadSafe=false % does not work]

2004-12-08 Thread Jan Luehe
I compared two servlets' source code compiled from JSPs, at the beginning of one jsp I add page directive: [EMAIL PROTECTED] isThreadSafe=false % and the other, [EMAIL PROTECTED] isThreadSafe=true %. But the two servlet are the same , I had thought the first servlet will implement

Tomcat synchronous shutdown?

2004-12-08 Thread Kevin A. Burton
Currently Tomcats shutdown model is to politely request that the server shutdown. Most of the time Tomcat is friendly and will shutdown as requested but sometimes it won't do as its told and run forever. This seems to happen if a shutdown hook has problems or it runs out of memory. This is

Displaying XML in Safari

2004-12-08 Thread Eric VERGNAUD
Hi, The current version of Safari has no support for pure XML à la Internet Explorer. What a pity ! I was wondering if there is a simple way to convert an XML document to HTML that would display properly in Safari. This is merely an utility, and all I'm looking for is something that will make

RE: Tomcat synchronous shutdown?

2004-12-08 Thread Shapira, Yoav
Hi, The Tomcat shutdown script provides support for a -force option, which does a kill -9 on the process ID after the normal shutdown. If you want something beyond that, do it yourself. Accounting for reasons like an OOME or your own code spawning non-daemon threads is outside Tomcat's scope.

RE: Threads issues in Tomcat 5.0.28

2004-12-08 Thread Matt Robinson
Hi Yoav, Thanks for the response I will be sure to include my Thread dump. Meanwhile it sames that AJP13 in Tomcat5 has no parameters such as maxSpareThreads, maxThreads, etc. We are using AJP13 to handle all requests... The documentation (and all searches I have done) do not mention the ability

Re: Displaying XML in Safari

2004-12-08 Thread Alain Gaeremynck
Use mozilla and or Firefox. It works perfectly for me Eric VERGNAUD wrote: Hi, The current version of Safari has no support for pure XML à la Internet Explorer. What a pity ! I was wondering if there is a simple way to convert an XML document to HTML that would display properly in Safari. This is

Re: Tomcat synchronous shutdown?

2004-12-08 Thread Kevin A. Burton
Shapira, Yoav wrote: Hi, The Tomcat shutdown script provides support for a -force option, which does a kill -9 on the process ID after the normal shutdown. If you want something beyond that, do it yourself. Accounting for reasons like an OOME or your own code spawning non-daemon threads is

Re: Tomcat synchronous shutdown?

2004-12-08 Thread Roberto Cosenza
Will tomcat wait until time consuming requests are completed before shutting down? /rob - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:36 PM Subject: RE: Tomcat synchronous shutdown? Hi, The Tomcat

Re: Displaying XML in Safari

2004-12-08 Thread Larry Meadors
If you have a String, you could use c:out, and the escapeXml attribute. [EMAIL PROTECTED] 12/8/2004 1:33:00 PM Hi, The current version of Safari has no support for pure XML à la Internet Explorer. What a pity ! I was wondering if there is a simple way to convert an XML document to HTML that

Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Roberto Cosenza
Hi cats worldover. It's been a while that I've reading the posts on this mailing list and I can easily say that about 30% are not pertinent to tomcat but are related to web technology in general. Isn't it time to route this traffic to other mailing lists? Can't the tomcat project host new list

RE: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Caldarale, Charles R
From: Roberto Cosenza [mailto:[EMAIL PROTECTED] Subject: Tomcat mailing list is full of non tomcat topics Isn't it time to route this traffic to other mailing lists? Are you volunteering to be the policeman? Believe me, moderating any mailing list is a thankless task. Been there, done

directory for compiled JSPs

2004-12-08 Thread Yu, John
Sorry if this has been asked before. I searched archive but couldn't find exactly what I'm looking for. The issue happened is that when using Tomcat5 and deploying web applications with same context root (path), the second web app deployed (and Tomcat restarted) will still have browser pointing

Re: deleteOnExit() doesn't work in Tomcat on temp files

2004-12-08 Thread Shankar Unni
[EMAIL PROTECTED] wrote: I am using Tomcat 5.5 on WindowsXP. Tomcat is installed as a service, Somehow when Tomcat is installed as a Windows service, the shutdown doesn't go through the orderly steps (i.e. servlet destroy()s aren't called, and I suspect the process is just *killed* instead of

Re: Displaying XML in Safari

2004-12-08 Thread Eric VERGNAUD
le 8/12/04 22:33, Larry Meadors à [EMAIL PROTECTED] a écrit : If you have a String, you could use c:out, and the escapeXml attribute. [EMAIL PROTECTED] 12/8/2004 1:33:00 PM Hi, The current version of Safari has no support for pure XML à la Internet Explorer. What a pity ! I was

Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Roberto Cosenza
I'm not talking about moderating but about informing the users that this is not the right place. Many important (and related) question do not get enough attention in this sea of messages. /rob - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

RE: deleteOnExit() doesn't work in Tomcat on temp files

2004-12-08 Thread Noel J. Bergman
DO NOT EVER use deleteOnExit(). Especially not in something like a web app, which has an indeterminate but generally long lifetime. Consider the API removed from Java. Period. Instead, use the PhantomReference-based code that I contributed to Jakarta Commons. (A) it works. (B) it cleans up

Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Wendy Smoak
From: Roberto Cosenza [EMAIL PROTECTED] I'm not talking about moderating but about informing the users that this is not the right place. Many important (and related) question do not get enough attention in this sea of messages. How do you know that's not happening? I often reply privately to

Profilers for Tomcat

2004-12-08 Thread Cumbers
Hey guys Just wondering if there are any profilers for Tomcat5 that are free, currently a student working on a final year project and it would be nice to run a profiler over our webapp, but being a student, cost is an issue! Any info very much appreciated! Cheers Rich

Re: Profilers for Tomcat

2004-12-08 Thread Larry Meadors
JProbe is the coolest profiler on the planet, expensive, but you can get a 2-week trial version...if that is enough time. If not, netbeans has one called JFluid as a plug-in that is free. Larry [EMAIL PROTECTED] 12/08/04 4:29 PM Hey guys Just wondering if there are any profilers for Tomcat5

Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread QM
On Wed, Dec 08, 2004 at 11:41:28PM +0100, Roberto Cosenza wrote: : Many important (and related) question do not get enough attention in this : sea of messages. Get enough attention? Please explain. As someone who answers to questions now and then (I used to respond more often ;) I'll tell you, I

Re: Profilers for Tomcat

2004-12-08 Thread QM
On Wed, Dec 08, 2004 at 11:29:09PM +, Cumbers wrote: : Just wondering if there are any profilers for Tomcat5 that are free, : currently a student working on a final year project and it would be nice : to run a profiler over our webapp, but being a student, cost is an : issue! Any info very

tomcat run app

2004-12-08 Thread maged.shake
hello , when i run jakarta-tomcat-5.0.19-13 on SuSE linux Enterprise server 9 /etc/init.d/tomcat start is start done but when write url in the browser localhost:8080 is appear blank screen not open index of tomcat home page what can i do

How to start multiple Tomcats

2004-12-08 Thread Robert Lin
Hi, Sorry this might be a newbie question, I'm an intern and I have no idea what's going on here. We are trying to setup an automated J-Unit test from Ant using Cruise Control where we need multiple copies of tomcat servers running (by supplying different server.xml files). I tried

load balance standalone tomcat 4

2004-12-08 Thread Stephen Charles Huey
Is it actually possible to use a load balancing appliance (Big IP) with a couple of web servers running standalone Tomcat 4? Actually, I know it's possible...what I mean is, do I have to do anything special with Tomcat, or can I set each Tomcat up as if it was the only server, and then just put

Re: what to do about port for Tomcat 4 on Linux?

2004-12-08 Thread Parsons Technical Services
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg126929.html - Original Message - From: Stephen Charles Huey [EMAIL PROTECTED] To: Tomcat User [EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 12:54 PM Subject:

Re: Profilers for Tomcat

2004-12-08 Thread Cumbers
Thank you to Larry for suggesting JProbe, there is a community edition that does all i need, Cheers Rich QM wrote: On Wed, Dec 08, 2004 at 11:29:09PM +, Cumbers wrote: : Just wondering if there are any profilers for Tomcat5 that are free, : currently a student working on a final year

[ANNOUNCE] JSP 2.1 and Faces 1.2 Early Draft Review

2004-12-08 Thread Jan Luehe
We're pleased to announce the availability of the Early Draft Review of the next versions of the specification for JavaServer Pages and Faces. JavaServer Pages (JSP) 2.1 is developed under JSR-245 and JavaServer Faces (Faces) 1.2 is developed under JSR-252. The two expert groups are working

RE: How to detect expired session vs. no session? (Solved)

2004-12-08 Thread Steve Kirk
Following my comments below I thought I'd follow up a bit with some brief testing of my own. This is what I think it going on. Someone with more knowledge/experience, please correct me if anything I say here is wrong. I'm assuming that the browser is cooperating with sessions OK, i.e. not

Re: OutOfMemory! Tomcat meets sudden spikes of used memory sometimes.

2004-12-08 Thread Li Zhenxing
On Wed, 8 Dec 2004 09:10:02 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: When a spike appears for a long time it's not a spike: it's the steady state. Yes, it's the steady state. I just aim at the gc figure, the spike. Maybe this word don't discribes the figure exactly. I am sorry for my

RE: How to detect expired session vs. no session? (Solved)

2004-12-08 Thread LAM Kwun Wa Joseph
String id = request.getRequestedSessionId(); if (null==id) { // there was no jsessionid in the request } else if (request.isRequestedSessionIdValid()) { // there was a valid jsessionid in the request } else { // there was an invalid jsessionid in the request } In

Apache 2.0 + Tomcat 5.5.4 scalability

2004-12-08 Thread Dave Fetterman
Dear Tomcat users, I'm a new tomcat user evaluating it for FreeBSD5.2. I'm trying to ascertain how well Tomcat will scale from 1- to 2- and 4-proc BSD machines. The only problem is, no matter how I configure workers.properties and server.xml, I get about the same RPS and TTLB for all setups,

[OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Ben Souther
On Wed, 2004-12-08 at 17:41, Roberto Cosenza wrote: I'm not talking about moderating but about informing the users that this is not the right place. Many important (and related) question do not get enough attention in this sea of messages. /rob I think this page:

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Justin Ruthenbeck
Personally, it seems like truly off-topic messages get tagged pretty quickly on this list. I think that's a reasonable solution to handle this problem. As for the *root* of the problem, the VAST majority of questions come from novice users who, predictably, don't know the difference between a

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Ben Souther
That said, lengthly threads that banter about the merits of various JSRs and specs clearly don't belong here and should either be relocated or (more likely), marked OT. Where Tomcat is used as the reference implementation for the Servlet and JSP specs, and where the mission of the Tomcat

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Parsons Technical Services
And then there are the cases that would be deemed OT only to end up as a full blown Tomcat discussion. Some guy asked a question about IIS and at first it's OT. But after a few exchanges the solution is Tomcat. So even if the person is OT sometimes the answer is Tomcat. Doug - Original

RE: Threads issues in Tomcat 5.0.28

2004-12-08 Thread Arnab Chakravarty
Hey, The connector tag in the server.xml where you mention the port for ajp13 is the place where you should specify the thread configuration. You can find more information here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html Hope it helps. Arnab -Original Message-

Re: Profilers for Tomcat

2004-12-08 Thread Larry Meadors
WOW! Awesome! I did not know about that version! Thanks for mentioning it! Larry (downloading now ;-) [EMAIL PROTECTED] 12/08/04 5:24 PM Thank you to Larry for suggesting JProbe, there is a community edition that does all i need, Cheers Rich QM wrote: On Wed, Dec 08, 2004 at 11:29:09PM

RE: Threads issues in Tomcat 5.0.28

2004-12-08 Thread Arnab Chakravarty
Hi, Here is an example you can follow: Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=9000 protocol=AJP/1.3 address=111.222.333.444 numThreads=20 maxThreads=100 minSpareThreads=25

Re: Multiple domains on single machine

2004-12-08 Thread Mayuresh Kshirsagar
Hi, I have to use APACHE. I have seen one example given in the APACHE documentation: -- NameVirtualHost * VirtualHost * ServerName www.domain.tld DocumentRoot /www/domain /VirtualHost VirtualHost * ServerName

Re: Multiple domains on single machine

2004-12-08 Thread Mayuresh Kshirsagar
My problem is that I have two domains mapped to the same IP ? Please could you help me in this. - Original Message - From: Mayuresh Kshirsagar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 09, 2004 11:25 AM Subject: Re: Multiple domains on single