RE: Restarting Tomcat on NT - Solved

2001-07-14 Thread Steven Turoff

Turning off ZoneAlarm solved the problem.

Steve

At 06:47 PM 07/03/2001, you wrote:
>Darrell,
>
>I can't think of any apps I'm running that have integrated web servers. 
>Perhaps mySQL? Maybe my firewall (ZoneAlarm)? Emacs?
>
>Steve
>
>At 02:56 PM 07/03/2001, Darrell Porter wrote:
>>Steve,
>>
>>If you're running personal web server, IIS, or some third party apps that
>>have integrated web servers (several webcam products come to mind), then
>>shut these down.  This is most likely the offending application.
>>
>>Darrell
>>
>>
>>-Original Message-
>>From: Steven Turoff [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, July 03, 2001 5:30 AM
>>To: [EMAIL PROTECTED]
>>Subject: RE: Restarting Tomcat on NT
>>
>>
>>Actually, I'm not running Tomcat as a service. I meant that I don't have
>>any problems starting Tomcat after rebooting the machine. I've run netstat
>>-a (results below) and can see that the ports are in use, however that
>>information doesn't seem to be very useful. Perhaps I should try running
>>tomcat as a service?
>>
>>Steve
>>
>>At 05:56 AM 07/03/2001, Randy Layman wrote:
>>
>> > No, there is no way to free a port.  You mentioned that Tomcat
>>comes
>> >up after a reboot, implying that you are running Tomcat as a service.  If
>> >that is the case, the process name is jk_nt_service.exe.  Unless you have
>> >another process that is constantly trying to grab that port, Tomcat is
>>still
>> >running - NT does free the ports when the process dies.
>> >
>> > Also, 2000 (and I believe NT) ship with netstat.  Using "netstat
>>-a"
>> >you can determine which ports are currently in use (and their state).
>> >
>> > Randy
>> >
>> > > -Original Message-
>> > > From: Steven Turoff [mailto:[EMAIL PROTECTED]]
>> > > Sent: Monday, July 02, 2001 7:34 PM
>> > > To: [EMAIL PROTECTED]
>> > > Subject: RE: Restarting Tomcat on NT
>> > >
>> > >
>> > > I've already tried that. Tomcat is dead, alright. Is there a way to
>> > > explicitly free up a port on NT?
>> > >
>> > > At 06:04 PM 07/02/2001, you wrote:
>> > > >Maybe you didn't really kill off Tomcat, but just the DOS
>> > > box it was running
>> > > >in,...  (I've seen it happen after closing the DOS box, but not after
>> > > >Ctrl+C'ing the program.)
>> > > >
>> > > >Try bringing up the Task Manager, and make sure there aren't
>> > > any instances
>> > > >of a "java" image name running.
>> > > >
>> > > > -- Bill K.
>> > > >
>> > > > > -Original Message-
>> > > > > From: Steven Turoff [mailto:[EMAIL PROTECTED]]
>> > > > > Sent: Monday, July 02, 2001 3:30 PM
>> > > > > To: [EMAIL PROTECTED]
>> > > > > Subject: Restarting Tomcat on NT
>> > > > >
>> > > > >
>> > > > > I am having problems restarting Tomcat on NT. After a
>> > > reboot of the
>> > > > > machine, Tomcat starts without a problem. However, if I stop
>> > > > > Tomcat and
>> > > > > then attempt to restart, I get the following error:
>> > > > >
>> > > > > FATAL:java.net.BindException: Address in use: bind
>> > > > > java.net.BindException: Address in use: bind
>> > > > >  at java.net.PlainSocketImpl.socketBind(Native Method)
>> > > > >  at
>> > > java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
>> > > > >  at java.net.ServerSocket.(ServerSocket.java:173)
>> > > > >  at java.net.ServerSocket.(ServerSocket.java:124)
>> > > > >  at
>> > > > > org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(
>> > > > > DefaultServerSocketFactory.java:97)
>> > > > >  at
>> > > > > org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
>> > > > > pEndpoint.java:239)
>> > > > >  at
>> > > > > org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
>> > > > > tor.java,
>> > > > > Compiled Code)
>> > > > >  at
>> > > > > org.apache.tomcat.core.ContextManager.start(ContextManager.jav
>> > > > > a, Compiled Code)
>> > > > >  at
>> > > org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>> > > > >  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>> > > > >
>> > > > > I'm running Tomcat on port 8080. After I receive the above
>> > > > > error, a netstat
>> > > > > -a yields:
>> > > > >
>> > > > >TCPcx628443-b:80070.0.0.0:0  LISTENING
>> > > > >TCPcx628443-b:80070.0.0.0:0  LISTENING
>> > > > >TCPcx628443-b:80800.0.0.0:0  LISTENING
>> > > > >TCPcx628443-b:80800.0.0.0:0  LISTENING
>> > > > >
>> > > > > So, for some reason, stopping Tomcat does not free up the
>> > > > > port. I must then
>> > > > > reboot my machine to run Tomcat again. I'm using Tomcat 3.2.1
>> > > > > and Classic
>> > > > > VM (build JDK-1.2.2-001, native threads, symcjit).
>> > > > >
>> > > > > Ideally, I'd like to fix the problem, however, I'm also
>> > > > > interested in any
>> > > > > solution that doesn't require rebooting my machine. I'll be
>>

Jasper compiler from the command line

2001-07-14 Thread Alex Muc

Hi,

I've been developing a webapp with Tomcat for a while now and one of the 
problems I keep running up against is that when I make changes to my 
underlying beans (ie. change of method signature) which are used by the 
jsp pages in my webapp that I sometimes forget to make the necessary 
changes across all jsps in the webapp which make use of the changed 
beans.  To help avoid this problem I created an ANT task to automate 
running the Jasper compiler (see my recent message on 
[EMAIL PROTECTED]).  And then let ANT report the compilation 
problems to me.

Before I was able to get this task to run I had to make some 
modifications to the jasper compiler because it wasn't operating 
properly for my jsps.  The problem was that in my jsps I make use of 
static includes which are referenced via relative file paths in the 
<%@include file="../include.jsp"%> directive by jsps which are in 
various subdirectories of the webapp.  This was causing problems for the 
jasper compiler because the context wasn't being set properly in the 
CommandLineContext.java object to be able to handle relative includes in 
pages which were in some subdirectory of the webapp.  Anyways, I made 
some small changes to the constructor of CommandLineContext to fix the 
problem.  It works properly now, and it doesn't seem to introduce any 
other problems.  

I've attached my version of CommandLineContext.java as well as a diff 
file.  Hopefully someone with more appropriate access levels can look 
over and check-in the changes.  The diff file is a little screwy for 
some reason, but I'm not good enough with CVS to be able to figure how 
to fix it.

If you have any questions send me a reply.

Thanks
Alex.

P.S.  Thanks to all the people who work on Tomcat.  I've been using it 
since the first beta and it just keeps on getting better.


/*
 * $Header: /home/cccvs/cc/working/alex/CommandLineContext.java,v 1.2 2001/07/15 
00:42:42 cccvs Exp $
 * $Revision: 1.2 $
 * $Date: 2001/07/15 00:42:42 $
 *
 * 
 * 
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *notice, this list of conditions and the following disclaimer in
 *the documentation and/or other materials provided with the
 *distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *any, must include the following acknowlegement:  
 *   "This product includes software developed by the 
 *Apache Software Foundation (http://www.apache.org/)."
 *Alternately, this acknowlegement may appear in the software itself,
 *if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *Foundation" must not be used to endorse or promote products derived
 *from this software without prior written permission. For written 
 *permission, please contact [EMAIL PROTECTED]
 *
 * 5. Products derived from this software may not be called "Apache"
 *nor may "Apache" appear in their names without prior written
 *permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * 
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * .
 *
 */ 





package org.apache.jasper;

import java.io.*;

import org.apache.jasper.compiler.JspReader;
import org.apache.jasper.compiler.ServletWriter;
import org.apache.jasper.compiler.TagLibraries;
import org.apache.jasper.compiler.CommandLineCompiler;
import org.apache.jasper.compiler.Compiler;

//import org.apache.jasper.runtime.JspLoader;
// Use

Re: java-linux-tomcat configuration problem

2001-07-14 Thread Jeff Kilbride

I would try the IBM JDK before Blackdown (before Sun, too...), but that's
just my personal choice.

The Blackdown port can be found at www.blackdown.org.

--jeff

- Original Message -
From: "Adam Fowler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 14, 2001 3:47 AM
Subject: Re: java-linux-tomcat configuration problem


> Hi,
>
> Many ppl using 1.3.1 specifically have noted huge memory usage increases
> (leaks) which either take a long time to clean themselves up or are
permanent.
>
> The issue has been reported by ppl using JNI, tomcat, app contexts etc etc
so
> is a JDK bug.
>
> Sun still haven't fixed it (I just checked) Maybe 1.4 fixes it, but that
is
> still in Beta so I wouldn't use it on a deployed platform just yet.
>
> Apparently using 1.3 fixes it, but its a real pain to find. Sun don't
> actually advertise its whereabouts on their site.
>
> The blackdown JDK doesn't seem to have this problem so you could try that
(I
> don't know where it can be found)
>
> Hope that helps,
>
> Adam.
>
> 
> Adam Fowler
> Help Desk Live Project
> Information Services
> University of Wales, Aberystwyth
> Web guy+author on the TomcatBook Project
> http://tomcatbook.sourceforge.net
> e-mail: [EMAIL PROTECTED]
> 
>
> On Friday 13 July 2001 16:33, you wrote:
> > What is the infamous bug for jdk?
> >
> > Thanks!
> > Dan
> >
> >
> > From: Adam Fowler <[EMAIL PROTECTED]>
> >
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: java-linux-tomcat configuration problem
> > >Date: Thu, 12 Jul 2001 22:09:53 +
> > >
> > >Hi,
> > >
> > >You have two versions of httpd running!?! Make sure that if you have
two
> > >version using tomcat then you have two tomcat's running. That might
answer
> > >it.
> > >
> > >Otherwise it might be the infamous bug to do with the 1.3.1 JDK
(although,
> > >again, I had no problems on Mandrake! Must be the pretty penguins) You
> > > ould try the 1.3 JDK (if u can find it!) or *cringe* the 1.4 JDK -
> > > although not supported.
> > >
> > >Adam.
> > >
> > >On Thursday 12 July 2001 13:01, you wrote:
> > > > Hello again:
> > > >
> > > > Quick thanks for your responses  .. now more background, as
requested.
> > > >
> > > > a) The contexts that I am running are the ones that came with
apache,
> > > > outlined in server.xml.  I was able to start up those instances with
> > > > jre (but not the example jsps, another problem).
> > > >
> > > > b) I am running Red Hat 6.2.
> > > >
> > > > c) I am using Sun's jdk 1.3.1
> > > >
> > > > d)  Adam, here is the top and ps -x output (the java threads are
> > > > towards the end in ps -x, and are at the top of "top"):
> > > >   PID TTY  STAT   TIME COMMAND
> > > > 1 ?S  0:02 init
> > > > 2 ?SW 0:00 [kflushd]
> > > > 3 ?SW 0:01 [kupdate]
> > > > 4 ?SW 0:00 [kpiod]
> > > > 5 ?SW 0:00 [kswapd]
> > > > 6 ?SW<0:00 [mdrecoveryd]
> > > > 7 ?SW<0:00 [raid1d]
> > > > 8 ?SW<0:00 [raid1d]
> > > > 9 ?SW<0:00 [raid1d]
> > > >10 ?SW<0:00 [raid1d]
> > > >   171 ?S  0:00 syslogd -m 0
> > > >   180 ?S  0:00 klogd
> > > >   209 ?S  0:00 /usr/sausalito/sbin/cced
> > > >   586 ?S  0:00 crond
> > > >   598 ?S  0:00 inetd
> > > >   628 ?S  0:00 named
> > > >   644 ?S  0:00 /usr/sbin/dhcpd -q eth0
> > > >   649 ?S  0:01 /usr/sbin/ahttpd -f
> > >
> > >/etc/admserv/conf/httpd.conf
> > >
> > > >   673 ?S  0:01 /usr/sbin/httpd -f
> > > > /etc/httpd/conf/httpd.conf 705 ?S  0:00 sendmail:
accepting
> > > > connections
> > > >   717 ?S  0:00 sh /usr/bin/safe_mysqld
> > >
> > >--datadir=/var/lib/mysql
> > >
> > > > --pi
> > > >   784 ?S  0:00 /usr/sbin/atalkd
> > > >   807 ?S  0:00 smbd -D
> > > >   816 ?S  0:00 nmbd -D
> > > >   825 ?S  0:00 /sbin/lcdsleep
> > > >   867 ?S  0:00 /sbin/consoled /sbin/getty ttyS0 115200
> > > >   904 ?S  0:00 /usr/sbin/afpd -U
uams_clrtxt.so,uams_dhx.so
> > >
> > >-g
> > >
> > > > guest
> > > > 1353 ?S  0:00 in.telnetd: 10.6.18.30
> > > > 1354 pts/0S  0:00 login -- admin
> > > > 1758 ?S  0:00 in.telnetd: 10.6.18.30
> > > > 1759 pts/1S  0:00 login -- admin
> > > > 1793 pts/1S  0:00 su
> > > > 1794 pts/1S  0:00 bash
> > > > 1952 ?S  0:00 smbd -D
> > > > 2283 pts/0S  0:00 su
> > > > 2284 pts/0S  0:00 bash
> > > > 2403 pts/0R  2:07
> > >
> > >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> > >
> > > > -Dtom
> > > > 2448 pts/0S  0:00
> > >
> > >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> > >
> > > > -Dtom
> > > > 2449 pts/0S  0:00
> > >
> > >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> > >
> > > > -Dtom
> > > > 2450 pts/0S   

Re: apache + tomcat + virtual hosts

2001-07-14 Thread Jeff Kilbride

Hi Connie,

I think the first thing you should do is read the Apache docs on virtual
hosting here:

http://httpd.apache.org/docs/vhosts/index.html

Then go to the archive here:

http://mikal.org/interests/java/tomcat/index.jsp

and do a search on "virtual host jeff" -- this will pull up all my previous
posts on virtual hosting, including examples of my config.

Thanks,
--jeff

- Original Message -
From: "Connie Chan" <[EMAIL PROTECTED]>
To: "Jack Hui" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 6:04 AM
Subject: RE: apache + tomcat + virtual hosts


> Jack,
>
> I try a few configuration settings:
>
> Configuration 1:
> I put the default server name in the NameVirtualHost and then create the
> virutal host tag for the virtual host 
>  .  It does not work.  When I browse the default web
> server, the virtual host displays.
>
> Configuration 2:
> I put the default server name in the NameVirtualHost and then create the
> virutal host tag for the default server 
>   and the virtual host 
>  .  It does not work.  When I browse the default web
> server, I get 403 Forbidden error (The error displays You don't have
> permission to access / on this server).
>
> Configuration 3:
> I put '*' in the NameVirtualHost and then create the virutal host tags
> for the default server    and the
> virtual host   .  It does not work.
> Both servers give me 403 Forbidden error.
>
>
> Is the configuration 2 correct?  Should I create another server name as
> the default server name and then have different name for my default web
> server?  Please help.
>
> Thanks,
> Connie
>
>
> -Original Message-
> From: Jack Hui [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 9:32 PM
> To: '[EMAIL PROTECTED]'; Connie Chan
> Subject: RE: apache + tomcat + virtual hosts
>
>
> Connie,
>
> Your default server and virtual server are using the SAME IP AND SAME
> PORT
> no., right ?
> What did you put in the NameVirtualHost ? should be the IP of the
> default
> server, right ?
>
> According to the documentation, you have to set the IP to either way (
> not
> 100% sure, but I read before )
>
> But, why don't you put your default sever into the virtual host too ??
> If it
> can be only recognize by the NAME
> the client enter in the browser.
>
> Another solution is you are going to set another IP for all virtual
> host,
> but it involves modifying the DNS entries.
>
> Jack
>
> -Original Message-
> From: Connie Chan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 9:25 PM
> To: [EMAIL PROTECTED]
> Subject: apache + tomcat + virtual hosts
>
>
> Hi,
> Currently, I'm using apache with tomcat.  I have set up the server such
> that it serves a default web server, ssl server (being set up as a
> virtual host with using port 443), and a virtual host (with using port
> 80).  But the document root for default web server and virtual host is
> mixed up. My virtual host and default web server are using the same IP
> address. When I type the default web server, the welcome file for
> virtual host displays. When I type the virtual host, the welcome file
> for the virtual host displays as well. However, if I specify port 8080
> (the HTTP port for tomcat) in the url (for testing tomcat only without
> going thru apache), the default web url would display the correct
> welcome page.
> In my httpd.conf, I have declared
> DocumentRoot d:/jakarta-tomcat/webapps/myapp
> AND
> 
> ServerName vh1.mycomp.com
> DocumentRoot d:/jakarta-tomcat/webapps/vh1
> JkMount /*.jsp ajp12
> JkMount /servlet/* ajp12
> JkMount /email/* ajp12
> 
> AllowOverride None
> deny from all
> 
> 
> AllowOverride None
> deny from all
> 
> 
>
> Do I miss anything?
>
> Thanks,
> Connie
>




Re: help with compiling mod_jk

2001-07-14 Thread Paul D. Bain

At Saturday 7/14/01 11:16 AM , you wrote:
>Hi.  I am trying to configure Apache(2.0.16) on my linux system


My
understanding is that Apache modules written for Apache 1.3 (such as
mod_jk) cannot be made to work with the new Apache, version 2.x. In order
to run with the new Apache, an Apache module must be rewritten, and I
suspect that mod_jk has not yet been rewritten.

> (redhat 
>7.1) with tomcat (3.2).  According to tomcat's documentation, I
should 
>try to compile my own mod_jk module by downloading the source for

>jakarta-tomcat.  I downloaded it and then I ran the command as
per 
>documentation:
>
>apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include  
>-I/usr/local/jdk/include/linux -c *.c ../jk/*.c
>
>I have adjusted the java path accordingly so that it reflects
$JAVA_HOME 
>on my system.  However when I ran this command, I get the
following errors:
>
>libtool --silent --mode=compile gcc -pthread 
>-I/usr/local/apache2/include -I../jk -I/usr/local/java/include 
>-I/usr/local/java/include/linux  -c mod_jk.c && touch
mod_jk.slo
>mod_jk.c:76:31: http_conf_globals.h: No such file or directory
>apxs:Break: Command failed with rc=65536
>
>It says that it can't find the http_conf_globals.h file but I
couldn't 
>find it on my system even after doing a search.
>
>Please help.  Thanks,
>Michael.
>



Re: Fwd: NoClassDefFound

2001-07-14 Thread John Baker

On Friday 13 July 2001 23:30 pm, you wrote:
> Sorry, you're right about that! stop(), suspend(),
> resume() and countStackFrames() are deprecated.

Well now we've cleared that one up, let's get back to topic. Why is this 
happening? It looks like a pretty serious bug. 

> --- John Baker <[EMAIL PROTECTED]> wrote:
> > On Friday 13 July 2001 12:23 pm, you wrote:
> > > --- John Baker <[EMAIL PROTECTED]> wrote:
> > > > On Thursday 12 July 2001 23:04 pm, you wrote:
> > > >
> > > > MyThread t = new MyThread(); // MyThread extends
> > > > Thread
> > > > t.start(); // fails
> > >
> > > Aren't t.start() and t.stop() deprecated?
> >
> > Err, stop is, but if start was deprecated then
> > threads would be a little
> > difficult to run!
>
> =
> -
> [EMAIL PROTECTED]
> Hacking is a "Good Thing!"
> See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/



mod_jk ajp13 question

2001-07-14 Thread Gurinder Randhawa




How do we build mod_jk ? I have looked through documentation and it doesn't
work for me.
We are using oracle's 9iAS and Apache 1.3.19 is shipped with it. I can't
build mod_jk using
apxs and there is no build.sh.anyone done this before ?

Thanks

Gurinder





Thread Pool Exception ! Urgent

2001-07-14 Thread Manjunath BHat

Hi,

I have encountered following exception while running tomcat.
**
2001-07-14 09:30:18 - ThreadPool: Unexpected exception - 
sjava.lang.InterruptedEx
ception
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:480)
at java.lang.Thread.run(Thread.java:484)
***

What may be the cause for the Exception. I am running Tomcat with IIS4.0 on 
WinNT

In /conf/tomcat.properties following lines .

# Thread Pool parameters
#

# Enables or disables the use of the thread pool.
# Syntax: pool=[true|false] (boolean)
# Default: false
# WARNING: the pool has not been extensively tested and may generate 
deadlocks.
# For this reason, we advise against using this code in production 
environments.
pool=false

# Indicates the number of idle threads that the pool may contain.
# Syntax: pool.capacity=(int)>0
# Default: 10
# NOTE: depending on your system load, this number should be low for 
contantly
# loaded servers and should be increased depending on load bursts.
pool.capacity=10

Should I change value for parameter "pool" to "true"???
What should be the optimum value for "pool.capacity" for the production 
environment???


Thanks in advance


Manjunath
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Thread Pool Exception ! Urgent

2001-07-14 Thread Manjunath BHat

Hi,

I have encountered following exception while running tomcat.
**
2001-07-14 09:30:18 - ThreadPool: Unexpected exception - 
sjava.lang.InterruptedEx
ception
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:480)
at java.lang.Thread.run(Thread.java:484)
***

What may be the cause for the Exception. I am running Tomcat with IIS4.0 on 
WinNT

In /conf/tomcat.properties following lines .

# Thread Pool parameters
#

# Enables or disables the use of the thread pool.
# Syntax: pool=[true|false] (boolean)
# Default: false
# WARNING: the pool has not been extensively tested and may generate 
deadlocks.
# For this reason, we advise against using this code in production 
environments.
pool=false

# Indicates the number of idle threads that the pool may contain.
# Syntax: pool.capacity=(int)>0
# Default: 10
# NOTE: depending on your system load, this number should be low for 
contantly
# loaded servers and should be increased depending on load bursts.
pool.capacity=10

Should I change value for parameter "pool" to "true"???
What should be the optimum value for "pool.capacity" for the production 
environment???


Thanks in advance


Manjunath
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




help with compiling mod_jk

2001-07-14 Thread Michael Lai

Hi.  I am trying to configure Apache(2.0.16) on my linux system (redhat 
7.1) with tomcat (3.2).  According to tomcat's documentation, I should 
try to compile my own mod_jk module by downloading the source for 
jakarta-tomcat.  I downloaded it and then I ran the command as per 
documentation:

apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include  
-I/usr/local/jdk/include/linux -c *.c ../jk/*.c

I have adjusted the java path accordingly so that it reflects $JAVA_HOME 
on my system.  However when I ran this command, I get the following errors:

libtool --silent --mode=compile gcc -pthread 
-I/usr/local/apache2/include -I../jk -I/usr/local/java/include 
-I/usr/local/java/include/linux  -c mod_jk.c && touch mod_jk.slo
mod_jk.c:76:31: http_conf_globals.h: No such file or directory
apxs:Break: Command failed with rc=65536

It says that it can't find the http_conf_globals.h file but I couldn't 
find it on my system even after doing a search.

Please help.  Thanks,
Michael.





Re: Simple ajp13 question

2001-07-14 Thread D. Straumfjord

Thank you,

D.

- Original Message -
From: "Adam Fowler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 14, 2001 4:57 AM
Subject: Re: Simple ajp13 question


> Hi,
>
> You will need to make sure that the commands to start/stop tomcat are in
the
> script (On my mandrake system it points to /etc/rc.d/init.d/httpd )
>
> I made my own script to start tomcat on boot. It should be up at
> http://willow.cc.edu/adminguide or http://users.aber.ac.uk/aff9
>
> Its for mandrake and is used for a bizarre install so you'll need to
change
> the paths in the script, but it works fine.
>
> Full instructions should be up too. E-mail me if they are not.
>
> Adam.
>
> 
> Adam Fowler
> Help Desk Live Project
> Information Services
> University of Wales, Aberystwyth
> Web guy+author on the TomcatBook Project
> http://tomcatbook.sourceforge.net
> e-mail: [EMAIL PROTECTED]
> 
>
>
> On Friday 13 July 2001 18:53, you wrote:
> > All:
> >
> > Linux 7.1 Redhat, tomcat 3.2.2.
> >
> > Question:
> >
> > With the ajp13 working correctly tomcat should start from within the
> >
> > S85httpd start script and shutdown accordingly ?
> >
> > Any known problems ?
> >
> > D.
>
> 
> Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> Content-Transfer-Encoding: quoted-printable
> Content-Description:
> 
>




Re: Tomcat & Frames

2001-07-14 Thread RV Tobin

I think I've solved my problem.  I don't know if it'll help anyone else
experiencing this, and it's hard to tell if I've really fixed it this time,
because the situation seems to get better sometimes, and then gets worse
again, but so far it looks like it's okay now.

I use UD4 to write my JSPs, and the MM code does not close all the
connections.  It closes the recordsets and the database connections, but it
does not explicitly close the preparedStatements, and that results in memory
leaks.  I think the problem is exacerbated when you use frames, because the
connections never get closed, the frames are always displaying and getting
refreshed, and so, eventually, it takes longer and longer to refresh the
pages.  I've gone through all  my pages and added the statement to close the
preparedStatements, and the pages seem to be loading correctly now every
time, regardless of how often I refresh them.

Val

- Original Message -
From: "Cory Powers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 11:34 AM
Subject: Tomcat & Frames


> I saw an earlier post that described the exact same problem I was having
> with Tomcat 3.2.2 Final and Tomcat 4.0b5 but, I have not seen a response
> yet. I have made a bug report in Bugzilla with no response from there
> either. Here is the problem once again...
>
> I have an index.html file that contains 4 frames all of which are jsp
pages.
> It has been working fine for 2 months. I recently added a link to one of
the
> pages and when I brought the frames page tomcat would not load the
modified
> page, the browser will constantly try and load the page with no success. I
> go directly to the page URL (outside of the frameset) and the page
compiles
> and loads just fine. I go back to the frames page and the page will still
> not load. Tomcat is compiling the page OK but will not server the page.
>
> Has anyone seen a similar problems.
>
> BTW I have restarted the server and tried accessing Tomcat directly on
port
> 8080 instead of using apache and neither have resolved the problem.
>
> Thanks,
> Cory
> [EMAIL PROTECTED]




Re: Tomcat & Frames

2001-07-14 Thread Stephane Meier

The same type of problem occured, one one workstation but not the other.

I renamed index.html to index.jsp and it worked.

Stephane







Re: ad!!!

2001-07-14 Thread Adam Fowler

??? yes???

On Wednesday 11 July 2001 21:36, you wrote:
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/



Re: SSI

2001-07-14 Thread Adam Fowler

Hi,

You'll need to rebuild your mod_jk/mod_jserv for debian.

Instructions are available at http://willow.cc.edu/adminguide
or http://users.aber.ac.uk/aff9

mod_jserv will work with tc 3.2.x and (I think) with 3.3. But not 4.0

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 


On Friday 13 July 2001 09:51, you wrote:
> I've tried to get ssi working on Apache/Tomcat combo running Debian Linux
> with no luck.  Does anyone know if the old Apache JservSSI jar file and the
> mod_jserv_tomcat.so still work with the latest versions of Apache/Tomcat? 
> Can't get past LoadModule errors on the .so -- it says it's garbled and may
> not be a valid DSO.



RE: Bug with tomcat ?

2001-07-14 Thread Saurabh Shukla



Saurabh Shukla wrote:
>
> hiii,
>
> i am using RedHat 7, apache 1.3.20, tomcat 3.3-m3.
>
> When ever i send a request for a jsp page which does not exist , i am
> returned a response CODE 500. Which should be 404 .

>Code 500 Stands for Internal Server error or Server error  Perhaps
>your Servlet container is not configured to execute jsp page requests?

 It handles all servlets/jsp's perfectly.  I would not have tried calling it
a bug otherwise.






Re: jsse??

2001-07-14 Thread Adam Fowler

Hi,

By default tomcat is not built with JSSE. 

If you want to use SSL use need JSSE. To do this download the source and JSSE 
jars from Sun and follow ssl-howto.

Adam.

On Friday 13 July 2001 13:33, you wrote:
> Hi there,
> How can I config to build Tomcat 3.2.2 without the JSSE?
>
> Thanks!
> Yue



Re: error page has different session in some cases. why?

2001-07-14 Thread Adam Fowler

Hi,

You could catch the exception in forwardTest.jsp, set the attributes in the 
catch clause, then rethrow the exception.

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 


On Saturday 14 July 2001 01:55, you wrote:
> Hello,
>
> I wrote a 'LoginServlet' which forwards a request to 'forwardTest.jsp'.
> If any exception is thrown inside 'forwardTest.jsp', I pass error context
> to the 'error.jsp' page.
> Before writing a real program, I wrote a very simple test program, which
> were attached with this email.
>
> Everything works fine except the error page.
> Since I needed to pass some information of 'forwardTest.jsp' to
> 'error.jsp', I used session to store the informtion as an object named
> 'context'. Then, 'error.jsp' will call 'session.getAttribute("context")' to
> get 'context'. However, in some cases, session of 'error.jsp' is different
> from session of 'forwardTest.jsp' and 'LoginServlet', so
> 'session.getAttribute("context")' returns null, which is not good and I
> don't know why 'error.jsp' uses a different session in some cases.
>
> How I can solve this situation?
> (I think I can pass 'context' object from 'forwardTest.jsp' to
> 'error.jsp' using 'request.setAttribute("context", context)' but I am not
> sure whether this kind of approach is valid with other JSP/Servlet
> containers.)
>
> Thank you,
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> The following is my approaches:
> (Please, read the program at the end of this email first...)
>
> -- with LINE (A) ---
> doGet : 5koh27xub1
> ForwardTest.jsp : 5koh27xub1
> Error.jsp : 78h6nzxuc1 ---> why does this page uses a different
> session?
> Context is null
> -- pressed Ctrl-R 
> doGet : 1fpwtdxux1
> ForwardTest.jsp : 1fpwtdxux1
> Error.jsp : yg3in1xux2
> Context is null
>
> - removed LINE (A), compiled and deployed, and restarted Tomcat ---
> doGet : 3weph8xx11
> ForwardTest.jsp : 3weph8xx11
> Error.jsp : nmsi0cxx31---> This is not very good situation, either.
> Context is nullWithout LINE (A), only the first try
> will fail.
> -- pressed Ctrl-R  And I don't know why.
> doGet : nmsi0cxx31
> ForwardTest.jsp : nmsi0cxx31
> Error.jsp : nmsi0cxx31
> Context is java.lang.Object@24c4a3
> -- pressed Ctrl-R 
> doGet : nmsi0cxx31
> ForwardTest.jsp : nmsi0cxx31
> Error.jsp : nmsi0cxx31
> Context is java.lang.Object@69c82e
>
> -- instead of accessing LoginServlet, --
> -- I typed ../jsp/test/forwardTest.jsp -
> -- and this worked as I had expected -
> ForwardTest.jsp : upfvmyxyh1
> ** new session
> Error.jsp : upfvmyxyh1
> Context is java.lang.Object@1fc2fb
> -- pressed Ctrl-R 
> ForwardTest.jsp : upfvmyxyh1
> Error.jsp : upfvmyxyh1
> Context is java.lang.Object@3fea1d
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>  SOURCE CODE
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> -=-=-=-=-=-=-=-= LoginServlet.java -=-=-=-=-=-=-=-=-=-=-=-=
> package whatever;
>
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
>
> public class LoginServlet extends HttpServlet
> {
> public void doGet(HttpServletRequest req, HttpServletResponse resp)
>   throws ServletException, IOException
> {
> req.getSession().invalidate();  // LINE (A)
>
> HttpSession session = req.getSession();
> session.setAttribute("user", "something");
>
> System.out.println("doGet : " + session.getId());
>
> try
> {
> forward(req, resp, "/jsp/test/forwardTest.jsp");
> }
> catch (Exception e)
> {
> e.printStackTrace();
> }
> }
>
> protected void forward(HttpServletRequest req,
>HttpServletResponse resp,
>String file) throws ServletException,
> IOException {
> getServletConfig().getServletContext()
>   .getRequestDispatcher(file)
>   .forward(req, resp);
> }
> }
>
> -=-=-=-=-=-=-=-=-=-= FORWARD.JSP -=-=-=-=-=-=-=-=-=-=-=-=-=
> <%@ page language="java"
>  import="java.util.*"
>  errorPage="error.jsp"
> %>
> <%
> System.out.println("ForwardTest.jsp : " + session.getId());
>
> try  {
> if (session.isNew() )
> System.out.println("** new session");
> } catch (Exception e)  {
> System.out.println("** illigal state");
> }
>
> Object context = new Object();
> session.setAttribute("context", context);
>
> if (true)
>throw new com.thoughtworks.util.SystemException(
>"This exception will be handled by error.jsp");
> %>
>
> -=-=-=-=-=-=-=-=-=-= ERROR.JSP -=-=-=-=-=-=-=-=-=-=-=-=-

Re: Simple ajp13 question

2001-07-14 Thread Adam Fowler

Hi,

You will need to make sure that the commands to start/stop tomcat are in the 
script (On my mandrake system it points to /etc/rc.d/init.d/httpd )

I made my own script to start tomcat on boot. It should be up at 
http://willow.cc.edu/adminguide or http://users.aber.ac.uk/aff9

Its for mandrake and is used for a bizarre install so you'll need to change 
the paths in the script, but it works fine.

Full instructions should be up too. E-mail me if they are not.

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 


On Friday 13 July 2001 18:53, you wrote:
> All:
>
> Linux 7.1 Redhat, tomcat 3.2.2.
>
> Question:
>
> With the ajp13 working correctly tomcat should start from within the
>
> S85httpd start script and shutdown accordingly ?
>
> Any known problems ?
>
> D.


Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 




Re: java.lang.SecurityException: sealing violation?

2001-07-14 Thread Adam Fowler

Hi,

Oh dear. TOMCAT IS A JAVA APPLICATION!!!

The only time you should need to recompile it is if you want to use JSSE (For 
SSL)

You might want to recompile mod_jk or the like, but thats completely 
different.

You may be getting an error as you do not have the correct privileges to 
execute the commands in the script. (If it needs to access something from the 
JDK in Security)

Why didn't tomcat work the first time??? Its all very well complaining about 
it but if you don't give precise details about OS/Tomcat/JDK versions and 
what happened then we can't help.

Post exact details and I'll take a look.

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 


On Friday 13 July 2001 18:45, you wrote:
> Okay, I gave up on my tomcat installation. I wiped
> everything clean and then got all the source in the
> hopes that it might work better if I compiled
> vs. dropping binaries.
>
> So, there are many confusing aspects of the
> installation instructions regarding building the
> source. Seems like maybe the docs don't match up with
> the behavior of the current releases?
>
> Anyway, I plodded thru, I think I got everything
> straight. BUT, when I run startup.sh, I get the
> following:
>
> java.lang.SecurityException: sealing violation
>
> I followed the install instructions that came with the
> JSSE from Sun. Have no idea what this error means.
>
> Can anyone help?
>
> Thanks.
>
>  - Jeremy



Re: please help(isapi_redirector and virtual host)

2001-07-14 Thread Adam Fowler

Hi,

I have no idea why u can't get it (try resting cursor over hyperlink in index 
page and see if its pointing to wrong URL - may be your webserver is 
asserting a different domain)..ok, so I lied.

A HTTP 200 response though indicates success!!! Which is quite strange.

Hope that helps,
Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Friday 13 July 2001 16:42, you wrote:
> Same to me.  I hosts three sites with IIS on Windows 2000 and configured
> the filter for one site (or for all at  machine level).  I can browse the
> http://localhost//examples/jsp/index.html once after IIS restarts and
> iis_redirect.log show read ok status, but unable to execute the examples.
> Then following up requests shown 404 error without any  message in
> iis_redirect.log.
>
> Sometimes after tomcat restarts , the
> http://localhost//examples/jsp/index.html  does not show and iis_w3srvc
> reports GET /jakarta/isapi_redirect.dll error 200 in log even I rechecked
> the execute permission for both the virtual directory /jakarta/ and the
> physical file.
>
> Any help will be appreciate by me too,
> Baohua
>
> - Original Message -
> From: "Dhwani K. Bhayani" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 2:17 AM
> Subject: please help(isapi_redirector and virtual host)
>
> > hi!
> > I have installed Tomcat 3.2.1 on Windows 2000 and configured everything
> > as
> > instructed in IIS-howto pages and also did what ever required after
> > reading the archives at this site.I can access by local http://127.
> > 0.0.1:8080/examples/jsp/index.html and all jsp and servlets.But
> > I want to configure for www.concept.com i.e for virtual host,so I
> > installed isapi-filter and it also shows green up pointing arrow.
> > I checked
> > the registries also.I am getting 404 error but noting got solved
> > after reading each and every problem posted on this site.Please anyone
> > can help me
> > out.I have also added in server.xml the following lines:
> > 
> > > docBase="/office/inetpub/wwwroot/cway" debug="0"
> >  reloadable="true" />
> >
> > 
> > and in uriworkermap.properties:
> > /*.jsp=ajp12
> > The uriworkermap-auto.properties file shows also
> > ###
> > # Auto generated configuration. Dated: Thu Jul 12 15:48:58 GMT+05:
> > 30 2001
> > ###
> >
> > #
> > # Default worker to be used through our mappings
> > #
> > default.worker=ajp12
> >
> > #
> > # Root context mounts for Tomcat
> > #
> > /servlet/*=$(default.worker)
> > /*.jsp=$(default.worker)
> >
> > But when I execuet jsp it shows code in browser and servlet it gives
> > 404 error.I have stored jsp in C:/office/inetpub/wwwroot/cway what
> > I need to do.I cannot execute through localhost also as instructed
> > in docs but can access through 127.0.0.1:8080
> > Please help me
> > Dhwani



Re: java-linux-tomcat configuration problem

2001-07-14 Thread Adam Fowler

Hi,

Many ppl using 1.3.1 specifically have noted huge memory usage increases 
(leaks) which either take a long time to clean themselves up or are permanent.

The issue has been reported by ppl using JNI, tomcat, app contexts etc etc so 
is a JDK bug.

Sun still haven't fixed it (I just checked) Maybe 1.4 fixes it, but that is 
still in Beta so I wouldn't use it on a deployed platform just yet.

Apparently using 1.3 fixes it, but its a real pain to find. Sun don't 
actually advertise its whereabouts on their site.

The blackdown JDK doesn't seem to have this problem so you could try that (I 
don't know where it can be found)

Hope that helps,

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Friday 13 July 2001 16:33, you wrote:
> What is the infamous bug for jdk?
>
> Thanks!
> Dan
>
>
> From: Adam Fowler <[EMAIL PROTECTED]>
>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: java-linux-tomcat configuration problem
> >Date: Thu, 12 Jul 2001 22:09:53 +
> >
> >Hi,
> >
> >You have two versions of httpd running!?! Make sure that if you have two
> >version using tomcat then you have two tomcat's running. That might answer
> >it.
> >
> >Otherwise it might be the infamous bug to do with the 1.3.1 JDK (although,
> >again, I had no problems on Mandrake! Must be the pretty penguins) You
> > ould try the 1.3 JDK (if u can find it!) or *cringe* the 1.4 JDK -
> > although not supported.
> >
> >Adam.
> >
> >On Thursday 12 July 2001 13:01, you wrote:
> > > Hello again:
> > >
> > > Quick thanks for your responses  .. now more background, as requested.
> > >
> > > a) The contexts that I am running are the ones that came with apache,
> > > outlined in server.xml.  I was able to start up those instances with
> > > jre (but not the example jsps, another problem).
> > >
> > > b) I am running Red Hat 6.2.
> > >
> > > c) I am using Sun's jdk 1.3.1
> > >
> > > d)  Adam, here is the top and ps -x output (the java threads are
> > > towards the end in ps -x, and are at the top of "top"):
> > >   PID TTY  STAT   TIME COMMAND
> > > 1 ?S  0:02 init
> > > 2 ?SW 0:00 [kflushd]
> > > 3 ?SW 0:01 [kupdate]
> > > 4 ?SW 0:00 [kpiod]
> > > 5 ?SW 0:00 [kswapd]
> > > 6 ?SW<0:00 [mdrecoveryd]
> > > 7 ?SW<0:00 [raid1d]
> > > 8 ?SW<0:00 [raid1d]
> > > 9 ?SW<0:00 [raid1d]
> > >10 ?SW<0:00 [raid1d]
> > >   171 ?S  0:00 syslogd -m 0
> > >   180 ?S  0:00 klogd
> > >   209 ?S  0:00 /usr/sausalito/sbin/cced
> > >   586 ?S  0:00 crond
> > >   598 ?S  0:00 inetd
> > >   628 ?S  0:00 named
> > >   644 ?S  0:00 /usr/sbin/dhcpd -q eth0
> > >   649 ?S  0:01 /usr/sbin/ahttpd -f
> >
> >/etc/admserv/conf/httpd.conf
> >
> > >   673 ?S  0:01 /usr/sbin/httpd -f
> > > /etc/httpd/conf/httpd.conf 705 ?S  0:00 sendmail: accepting
> > > connections
> > >   717 ?S  0:00 sh /usr/bin/safe_mysqld
> >
> >--datadir=/var/lib/mysql
> >
> > > --pi
> > >   784 ?S  0:00 /usr/sbin/atalkd
> > >   807 ?S  0:00 smbd -D
> > >   816 ?S  0:00 nmbd -D
> > >   825 ?S  0:00 /sbin/lcdsleep
> > >   867 ?S  0:00 /sbin/consoled /sbin/getty ttyS0 115200
> > >   904 ?S  0:00 /usr/sbin/afpd -U uams_clrtxt.so,uams_dhx.so
> >
> >-g
> >
> > > guest
> > > 1353 ?S  0:00 in.telnetd: 10.6.18.30
> > > 1354 pts/0S  0:00 login -- admin
> > > 1758 ?S  0:00 in.telnetd: 10.6.18.30
> > > 1759 pts/1S  0:00 login -- admin
> > > 1793 pts/1S  0:00 su
> > > 1794 pts/1S  0:00 bash
> > > 1952 ?S  0:00 smbd -D
> > > 2283 pts/0S  0:00 su
> > > 2284 pts/0S  0:00 bash
> > > 2403 pts/0R  2:07
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2448 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2449 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2450 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2451 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2452 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2453 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2454 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2455 pts/0S  0:00
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 25

Bug with tomcat ?

2001-07-14 Thread Saurabh Shukla


hiii,

i am using RedHat 7, apache 1.3.20, tomcat 3.3-m3.

When ever i send a request for a jsp page which does not exist , i am
returned a response CODE 500. Which should be 404 .

Regards,
saurabh