Re: Designing for scalability ?

2002-04-12 Thread Jon Barber
There is an excellent article at The ServerSide about adding in-memory session sharing across Tomcat engines : http://www.theserverside.com/resources/article.jsp?l=Tomcat Using an RDBMS as the session store would add a high degree of resiliency at the cost of performance. The approach above

Re: solaris netscape

2002-05-07 Thread Jon Barber
I bet you're not setting the MIME type of the response correctly (can't remember the API call off the top of my head). But the default is not text/html, and Mozilla correctly asks the user what to do. Internet Explorer treis to guess the content type from the stream, so you can often get away

Re: Fed up to the back teeth with tomcat !!!

2001-04-12 Thread Jon Barber
You may have already tried this, but you could always download a different servlet engine such as JRun and try out your servlets with the new engine. If you see the same problems then the problem probably isn't with tomcat. Jon. On Thursday 12 April 2001 08:34, you wrote: - Original

Re: Timeout issue

2001-04-23 Thread Jon Barber
Hi Shravan, I've recently had the same situation and we solved it thus : Encapsulate the lengthy process in an object that implements Runnable, complete with an isFinished() call. Start a seperate thread to execute this and place the object in the httpsession. Send a page back to the user

Re: Timeout issue

2001-04-23 Thread Jon Barber
On Monday 23 April 2001 09:05, Endre Stølsvik wrote: Basically different threads, differnt stacks.. Each thread is executing the function with it's own little memory-space, and thus each users have their own rendering of the servlet. But if you use class fields (variables) you'll get that

Re: WebAccess (Novell) on Tomcat.

2001-06-12 Thread Jon Barber
Not that I don't believe you, but double check your classpath by creating a simple servlet in the same web application that does: log(Classpath is + System.getProperty(java.class.path)) On Monday 11 June 2001 18:30, Jim Michael wrote: Does *anyone* in the known universe know how to get

RE: TOMCAT SUCKS

2001-06-27 Thread Jon Barber
Well, funnily enough I've just done some stress testing with our web app against Apache Tomcat and Apache Resin. With 100 concurrent connections Resin locked up the server (a Solaris 8 Ultra 10) because the mod_caucho uses precess forking which ran out of space. mod_jk, on the other hand,

RE: Super Newbie...

2001-03-19 Thread Jon Barber
Hi Joel, Are you using Win95 or similar ? These tend to have small environment spaces command line lengths, which is what you are seeing. You can get around these (a bit) by setting more environment space in your DOS box. However, a better solution is to use a generic solution where a Win32

RE: Super Newbie...

2001-03-19 Thread Jon Barber
-Original Message- From: Jon Barber [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 4:26 PM To: [EMAIL PROTECTED] Subject: RE: Super Newbie... Hi Joel, Are you using Win95 or similar ? These tend to have small environment spaces command line lengths, which is what you are seeing. You

Re: ?? Hardware Recommendations + Database replication, any ideas ??

2001-01-10 Thread Jon Barber
This is probably going off the topic somewhat, but seeing how critical this seems to be (replication etc) are you sure about using MySQL ? I understand it doesn't support transactions (or didn't until recently). Are you happy that you data integrity is assured ? Jon. On Wednesday 10

Re: running tomcat from CD

2003-08-21 Thread Jon Barber
samckins wrote: Thanks for all the help. I will have access to a writ able drive and will direct outputs accordingly. Well, maybe not Have a look at the Knoppix Linux project. This is a Linux distro that runs from CD, and sets up RAM disk for write operations. I've always wanted to set