PROBLEMS:> memory / cpu usage - Tomcat 3.2.1

2003-08-30 Thread Sai Sivanesan
We have a box[P3/700/512MBram] serving JSPs, with about 20 virtual hosts - and the server comes to a grinding halt after about 12-18 hours. The server gets about 30K hits per week, so it not exactly overloaded... versions: RedHat 7.2 Apache 1.3.20 Tomcat 3.2.1 mod_jk.so mod_jk.so-ap1.3.27-eapi-rh

Virtual directories/Host via mod_JK2

2003-08-30 Thread Sai Sivanesan
We have a bunch of customers using JSP on JDK 1.3.1 / Tomcat 3.1?2? / mod_jk / Apache 1.3. The default directory setup for these customers is DIRECTORY http://- path- - ./site_url/htmlhttp://siteurl ./site_url/jsp http:

Re: [Sundararaman] [Help me]

2003-08-30 Thread Miro
Timer? I am not java know-man but with C++ we use thread instead timer because thread it is more efficient. Java has thread too and I have some example of thread with java if you want I can send. - Original Message - From: "Christopher Williams" <[EMAIL PROTECTED]> To: "Tomcat Users List

Re: Tomcat and MsSQL

2003-08-30 Thread James Harman
Frank, What linux user are you using to run tomcat and what user was websphere running under? I am wondering if there are some weird firewalling issues here that allow websphere to open the socket but not tomcat. It seems like a networking issue... Of course, this might be totally the wrong

Error starting latest beta version of catalina - help please

2003-08-30 Thread Neil M. Johnson
I have just installed the new version 5 beta 5.0.9.  I have been unable to start any v5.0.x version on my system.  The following messages are produced when I run catalina to show the output.  Note that it will not start as a service, or as a startup.bat command. One odd thing, after the inst

Re: mod_jk and Tomcat 3.2.4

2003-08-30 Thread Marco Tedone
I'm using mod_jk2-2.0.43.dll with Tomcat 4.1.27 and everything is working fine. Marco - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 30, 2003 4:39 AM Subject: Re: mod_jk and Tomcat 3.2.4 > AFAIK, the latest-and-greatest should

Re: Tomcat and MsSQL

2003-08-30 Thread Frank von Daak
Hi, Am Samstag, 30. August 2003 12:33 schrieb Christopher Williams: > Question: Are you certain that SQL Server is listening on port 1433? I've > seen it using port 1141. Use the SQL Server network utility to check the > TCP port. yes, I'm sure it is, because I use the same jsp-file under websp

Re: Tomcat and MsSQL

2003-08-30 Thread Christopher Williams
Question: Are you certain that SQL Server is listening on port 1433? I've seen it using port 1141. Use the SQL Server network utility to check the TCP port. - Original Message - From: "Frank von Daak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 30, 2003 10:51 AM Su

Tomcat and MsSQL

2003-08-30 Thread Frank von Daak
Hi, maybe, someone of you can help me... I try to port a webapplication from asp to java... First, I have used Websphere for this and everything worked ok, but then I decided to use tomcat4 (both under debian-linux) My problem is the connection to a MSSQL-Database. As JDBC-Driver I'm u

Re: [Sundararaman] [Help me]

2003-08-30 Thread Christopher Williams
I would strongly advise against using the Swing timer object. Try using a java.util.Timer object instead. I use this in a servlet to perform automatic daily backups and other automated tasks. - To unsubscribe, e-mail: [EMAIL P

Re: Unable to obtain a module (.so) for JK2 on Linux (RH9)

2003-08-30 Thread jerome moliere
Eric J. Pinnell wrote: Hi, thanks eric, JK2 should compile with just the following: ./configure --with-apxs2=/path/to/apache/bin/apxs make yes ,it should . but I still can't have this fu... module compiled It should create mod_jk2.so in the build directory tree not in the directory

Re: application working only partially with mod_jk2

2003-08-30 Thread Bill Barker
Basically: no. The AJP13 protocol (used by mod_jk(2)) currently does not have an 'authorize' state. The request currently must be handled entirely either by Apache or Tomcat. "ToFu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi All, I've got an app that is configured and worki

Re: mod_jk and Tomcat 3.2.4

2003-08-30 Thread Bill Barker
AFAIK, the latest-and-greatest should still work with 3.2.x. "Armenio Pinto" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi there, can anyone tell me, please, where can I find the most suitable version of mod_jk to use with Tomcat 3.2.4? Thanks in advance, Arménio Pinto --

Re: /usr/ucb/cc: language optional software package not installed

2003-08-30 Thread Bill Barker
Like the message says, you need a working compiler (which on Solaris /usr/ucb/cc definitely isn't ;-). I've never tried it, but I believe that the Forte (or, rather, whatever it is being called these days) complier can be used to build gcc. Otherwise, you are stuck with downloading the binary gcc

Re: Catching JSP Custom tag errors

2003-08-30 Thread Bill Barker
Yet another one for the FAQ ;-). An error-page element for a status code of 500 won't be invoked if the Servlet/JSP throws an exception out of the service method. For that, you need to have an error-page element with an exception-type, e.g.: java.lang.Exception /Error.jsp "Erez E

Re: [File Upload]Multiple Destination ??

2003-08-30 Thread Bill Barker
Another alternative (depending on your network config, and network policies) is to upload the file once and rsync the uploaded file to the various locations. "Tim Funk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The client (SWING app) will need to perform multiple HTTP requests

Re: Tomcat 3 and use of sessions

2003-08-30 Thread Bill Barker
It's much the same as in Tomcat 5: HttpSession session = request.getSession(true); session.setAttribute("foo", "bar"); "Chitale, Sandip V" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Folks, Is there a way in Tomcat 3 , when embedded in an application, to create a HttpSessio

RE: First Servlet 404 error

2003-08-30 Thread Jeff Tulley
One more nit-pick. As I said earlier, use "/servlet/login" instead of "servlet/com.onjava.login". Then you can turn off the InvokerServlet, which could be used for security exploits. Your current mapping (in your last email) had login /servlet What exactly are you trying to achieve here? T