Re: Listing all currently logged users

2002-05-27 Thread Mats Nyberg
not beeing the expert I'd take any suitable Realm-interceptor (e.g.* org.apache.tomcat.request.SimpleRealm*, or whatever you use depending on your source of userdata). I'd subclass it only to maintain a list of people logging in. should be done in a jiffy, eh ;) ~mats Ben Walding wrote:

Re: strange shut down problem

2002-05-22 Thread Mats Nyberg
i have the same problem (found out yesterday). it might be specific to/when running with IBM JDK (don't know). what i did so far was [tim-mn@spiderman src]$ ps -efd|grep tomcat.home find the %JAVA_HOME%/bin/java -Dtomcat.home ... process with PPID = 1 (the mother of devil's spawn) and

Re: strange shut down problem

2002-05-22 Thread Mats Nyberg
and a guru told me to [tim-mn@spiderman src]$ ps -Af|awk '{ if ($3 == 1) { print ; } }' |grep $JAVA_HOME|awk '{ print $2}' you probably could backtick the whole line and issue kill on it, provided you don't have any conflicting java stuff going on that gets killed in the process. Mats

Re: Problem in restarting Tomcat

2002-05-20 Thread Mats Nyberg
hi, yourself, Zhongwen Zhu (LMC) wrote: Hi In linux OS, when Tomcat is shut down, the port which is used by Tomcat is not released. Hence it is impossible to re-start Tomcat. Do you have any solution so that the system is forced to release the port when Tomcat is shut down? yes, don't shut

Re: automatic login

2002-05-13 Thread Mats Nyberg
Vincenzo Marchese wrote: by the way, vincenzo: your idea worked - will write HOWTO for the list No doubt Mats ;) we use it in a production site :) The only potential flaw is that if you look in your browser's cache you may find the authentication form filled with username and

Re: patch

2002-05-13 Thread Mats Nyberg
try shutdown.bat for starters. the two systems are installed on separate machines i assume? ~mats dhyan S Raj wrote: sir, i am using tomacat stand alone server in win2000. i have installed it in two systems, but in one ther is an exception report looks like the following.

automatic login

2002-05-10 Thread Mats Nyberg
friends, cohorts; have an application involving user registration and declarative authorization. in the end of an user registration i want the newly created user also to be logged in without providing a now you can use your new id and password to log in-screen. HOWTO? i vanely thought

Re: automatic login

2002-05-10 Thread Mats Nyberg
with the code you wrote down below. You can control in form-login page if you come from a registration procedure and then do the automatic post. Mats Nyberg wrote: friends, cohorts; have an application involving user registration and declarative authorization. in the end of an user

Re: Problems serving PDF to Netscape browsers

2002-05-10 Thread Mats Nyberg
we've had the same problem. it turned out that the PDF we were serving wasn't optimized for the web. we produced it using adobe acrobat, i don't know what this corresponds to in the PDF produced. Andy Eastham wrote: Jeff, I just tried this through my apache(1.3.20)-tomcat(4.0.4b1)

Re: automatic login

2002-05-10 Thread Mats Nyberg
wrote: On Fri, 10 May 2002, Mats Nyberg wrote: Date: Fri, 10 May 2002 12:03:07 +0200 From: Mats Nyberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: automatic login friends, cohorts; have an application involving user registration and declarative

Re: automatic login

2002-05-10 Thread Mats Nyberg
Craig R. McClanahan wrote: On Fri, 10 May 2002, Mats Nyberg wrote: Date: Fri, 10 May 2002 20:00:51 +0200 From: Mats Nyberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: automatic login locking myself in is no problem