Long Startup Time

2005-03-30 Thread Mike Cherichetti \(Renegade Internet\)
Hi, I'm running Tomcat 5.0.28 with JDK 1.5.0_01 on Fedora Core 3. The problem that I'm having is pretty odd. It's taking Tomcat about 30 minutes to fully start up and start accepting connections. Here's where it's getting hung up at from the startup logs: Mar 30, 2005 10:52:10 AM

RE: Weird Red Hat Enterprise Startup

2004-10-12 Thread Mike Cherichetti \(Renegade Internet\)
Hi Everyone, Well, I finally solved this problem. OS patches didn't do the trick, still had segmentation faults and unexplained crashes on startup and shutdown, no core dumps, no error messages, and -server band-aid didn't work for me either (I was running out of options!). The solution was to

Weird Red Hat Enterprise Startup

2004-10-07 Thread Mike Cherichetti \(Renegade Internet\)
Hi, I'm getting this strange error in catalina.out on Red Hat Enterprise Linux AS and CentOS: Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x SIGNAL

RE: Weird Red Hat Enterprise Startup

2004-10-07 Thread Mike Cherichetti \(Renegade Internet\)
with CATALINA_OPTS. Have a nice day ... Sincerely, Mike Cherichetti -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Shankar Unni Sent: Thursday, October 07, 2004 4:24 PM To: [EMAIL PROTECTED] Subject: Re: Weird Red Hat Enterprise Startup Mike Cherichetti (Renegade Internet) wrote

RE: Java Virtual Machines on Linux

2003-09-08 Thread Mike Cherichetti \(Renegade Internet\)
Ryan, I've had good luck with the IBM JVM on Linux. The Sun JVM is slower, uses more memory, and isn't as stable. At least that's been my experience with it. I'd narrow your options down to IBM and BEA. Mike -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent:

Bug in ErrorDispatcherValue?

2003-09-05 Thread Mike Cherichetti \(Renegade Internet\)
I've had this happen twice in the past two days on two rather busy servers. Both are running RedHat Linux 7.3, IBM JDK 1.4.1, and Tomcat 4.1 (one is 4.1.24 and the other is 4.1.27). After these exceptions hit the error log, Tomcat stops responding: 2003-09-05 06:33:06

RE: Bug in ErrorDispatcherValue?

2003-09-05 Thread Mike Cherichetti \(Renegade Internet\)
has already been committed should it? Maybe I'm only seeing this because I've disabled keep alive connections. Anyone have any input? Should I submit something as a bug here? Thanks, Mike -Original Message- From: Mike Cherichetti (Renegade Internet) [mailto:[EMAIL PROTECTED] Sent: Friday

RE: Servlet mappings?

2003-09-03 Thread Mike Cherichetti \(Renegade Internet\)
I don't think this can be done with mappings. You can put an index.jsp file with only a forward/redirect call in it to transfer control to your servlet. I've done this before, seems to work quite well. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: maxProcessors problem

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 9:24 PM To: Tomcat Users List Subject: Re: maxProcessors problem If I may ask how much physical memory do you have in the first place ? Do you really have that much to give to the for the max heap size ? Mike Cherichetti (Renegade Internet) wrote

RE: How to send back data without to wait for the complete page.

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
Stefano, You would probably be better off creating a thread to run this lengthy process in the background and have your Servlet send back a please wait response and refresh automatically after several seconds to check the status until it completes and you can display all of the results. If

RE: maxProcessors problem

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
: Ben Ricker [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 10:18 AM To: [EMAIL PROTECTED] Subject: RE: maxProcessors problem On Tue, 2003-08-19 at 16:59, Mike Cherichetti (Renegade Internet) wrote: Doh! My mistake...I am thinking of the variable name *I* use in a script that passes

RE: Installing Tomcat as a Service

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
I use the following script on RedHat 7.3 (I save this as /etc/rc.d/init.d/tomcat): #!/bin/bash # # Startup script for the Tomcat Web Server # # chkconfig: 345 84 16 # description: Tomcat is a World Wide Web server. It is used to serve \ # HTML, JSP, and servlets, and CGI if needed.

RE: maxProcessors problem

2003-08-19 Thread Mike Cherichetti \(Renegade Internet\)
19, 2003 9:12 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: maxProcessors problem Howdy, What's your -Xmx setting to the JVM? Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike Cherichetti (Renegade Internet) [mailto:[EMAIL PROTECTED] Sent: Monday, August

RE: maxProcessors problem

2003-08-19 Thread Mike Cherichetti \(Renegade Internet\)
: Ben Ricker [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 11:18 AM To: Tomcat Users Subject: Re: maxProcessors problem On Mon, 2003-08-18 at 15:42, Mike Cherichetti (Renegade Internet) wrote: java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create anymore threads due

maxProcessors problem

2003-08-18 Thread Mike Cherichetti \(Renegade Internet\)
First off, I'm using RedHat Linux 7.3, IBM JDK 1.4.1, and Tomcat 4.1.24 on an IBM xSeries with Dual Xeon 2 GHz processors, 2 GB RAM, and SCSI disks. I'm trying to get Tomcat to handle a lot of traffic (4-5 million hits per day) and bumping up against a problem I for life of me can't figure out.

RE: Session Security

2003-08-17 Thread Mike Cherichetti \(Renegade Internet\)
Todd, Putting the IP address of the user in the session won't work too well. An AOL user for example may have a different IP address every time they send in a request. And, it's obviously possible for someone to spoof an IP address. The best solution I've found to prevent sessions from being

RE: Tuning KeepAlive Connections?

2003-08-14 Thread Mike Cherichetti \(Renegade Internet\)
) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:619) at java.lang.Thread.run(Thread.java:568) Have a nice day ... Sincerely, Mike Cherichetti Renegade Internet Internet Advertising Delivery Solutions www.renegadeinternet.com Phone (724) 658-6346

RE: Custom Tag Lib

2003-08-14 Thread Mike Cherichetti \(Renegade Internet\)
doStartTag() throws JspException { try { ... } catch (Exception exception) { throw new JspException(exception); } finally { release(); } return SKIP_BODY; } Have a nice day ... Sincerely, Mike Cherichetti Renegade Internet Internet Advertising Delivery Solutions

RE: Forwarding control

2003-08-14 Thread Mike Cherichetti \(Renegade Internet\)
James, Use response.sendRedirect() instead of the RequestDispatcher. That will change the URL in the browser. If you want to stick with the RequestDispatcher, you'll have to add some logic to catch a resubmission of the same data (possibly use a hidden field in your forms with a unique

RE: Custom Tag Lib

2003-08-14 Thread Mike Cherichetti \(Renegade Internet\)
: Thanks so very much... I saw their is a config option in the Jasper to turn off tag pooling. do you thing that would work too, of shouldI impliment it in my source code. I'm gonna take a look at it right now. Shawn -Original Message- From: Mike Cherichetti (Renegade Internet) [mailto

RE: Custom Tag Lib

2003-08-10 Thread Mike Cherichetti \(Renegade Internet\)
positive performance gain. For our site, which has many tags per page, it is the latter case :) If you're thinking about turning pooling off you'll need to test the effects on performance. Jon PS We had to go through this process on the upgrade. I share your pain Mike Cherichetti (Renegade Internet

Tuning KeepAlive Connections?

2003-08-09 Thread Mike Cherichetti \(Renegade Internet\)
RedHat Linux 7.3 IBM JDK 1.4.1 Tomcat 4.1.24 Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1 connector? If it's not possible to turn them off, is it possible to lower the request limit and timeout period for them? Have a nice day ... Sincerely, Mike Cherichetti

RE: Tuning KeepAlive Connections?

2003-08-08 Thread Mike Cherichetti \(Renegade Internet\)
on the Connector. Tomcat 5 has a more intuitive option, but it works the same way. If you have the maxKeepAliveRequests 1, then the 'connectionTimeout' attribute on the Connector determines how long it will wait for the next request. Mike Cherichetti (Renegade Internet) [EMAIL PROTECTED] wrote in message