Re: Need to restart tomcat very frequently

2003-06-15 Thread Kief Morris
Paridhi Bansal typed the following on 13:25 14/06/2003 -0500 >In our case,high no. of concurrent requests is not requireqd. no >multithreading is being used at servlet end. So i have put maxProcessors in >server.xml to 30..however, whenevr i start tomcat, it starts with 9 java >threads that incr

Re: Tomcat Porting

2003-02-23 Thread Kief Morris
Jeff Masud typed the following on 01:28 23/02/2003 -0800 >However after switching over one of our application servers, we >noticed some problems. I've tested both J2sdk 1.4 and IBM Java 1.4 and >both have proven to given the same results. Anytime we run Tomcat, >everthying works fine for a lit

Re: Antwort: Re: Antwort: PersistentManager with FileStore

2003-01-28 Thread Kief Morris
[EMAIL PROTECTED] typed the following on 15:02 28/01/2003 +0100 >I have only one testservlet where only the HttpSession Object is created. > >After the first connect to the test servlet and maxima 60 Seconds I get the >Exception. This is strange, because your configuration shouldn't try to swap it

Re: Antwort: PersistentManager with FileStore

2003-01-28 Thread Kief Morris
[EMAIL PROTECTED] typed the following on 08:56 28/01/2003 +0100 >I want to store session information on filesystem so that it is possible >for me to >restart tomcat without loosing all sessioninformations. First of all, you don't need to use PersistentManager to do this - the default session manag

Re: Serving files from the Apache docroot

2003-01-28 Thread Kief Morris
Peter Flynn typed the following on 11:58 28/01/2003 + >> There's no need to mirror content in two directories, nor is there >> any need to point Tomcat at Apache's content root. You can just >> make Apache's doc root the same as Tomcat's Context root and the >> issue goes away. Or, just put y

RE: Quick help with Bindings

2003-01-24 Thread Kief Morris
Lorenti, John typed the following on 09:40 24/01/2003 -0500 >Unfortunately, David, I don't believe that each IP gets its own set of >ports. Instead, the ports belong to the machine itself. If you want to >keep IIS and Tomcat independent on the same machine, then you can assign a >different port t

RE: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Kief Morris
Denise Mangano typed the following on 22:41 21/12/2002 -0500 >Sorry, should have posted this... When I type in >http://localhost/examples/servlets/ I now get a Forbidden message saying >that I do not have permission to access /examples/servlets/index.html. This >message is coming from my Apache a

Re: Checksum error when using 4.1.18 download...

2002-12-22 Thread Kief Morris
Rakesh Kant typed the following on 23:02 21/12/2002 -0800 >I downloaded jakarta-tomcat-4.1.18.tar.gz yesterday to my windows 2000 >machine and then binary ftped to my sun solaris machine. There I tried to >first gunzip and then un-tar the file. > >But I am getting directory checksum error. Anyon

Re: Session timeout setting (URGENT)

2002-12-20 Thread Kief Morris
Kenny G. Dubuisson, Jr. typed the following on 09:05 20/12/2002 -0600 >Simple minded as I am, I still believe with everything I have that there >MUST be a setting in Tomcat that controls how often new session ID's are >generated. This is a standard configuration in the web.xml file, use: 60 Make

Re: Listener Element in Context: class not found Exception

2002-12-20 Thread Kief Morris
[EMAIL PROTECTED] typed the following on 13:29 20/12/2002 +0100 >I always get a ClassNotFound >Exception for the class I specify in the attribute className when I >try to start catalina. ... > > > ... >The corresponding com.mypackage.ListenerClass resides inside it's web >application dire

Re: Problems deploying servlet (expect web.xml is the problem)

2002-12-20 Thread Kief Morris
Lars Preben S. Arnesen typed the following on 10:59 20/12/2002 +0100 >When I start Tomcat I get an exception (included below). I seems like >the problem is in the web.xml, but this works just fine when the >xml-file is included in a war-file. I removed almost all entries and >inserted one by one an

Re: Hi!

2002-12-20 Thread Kief Morris
Abanindra Nath Sarkar typed the following on 15:22 20/12/2002 +0530 > I am facing a typical problem. I am using Apache Tomcat that comes with Java Web >Services Developer Kit (JWSDK) to use a web service that is being deployed within a >Sun ONE app server. The server is in the same LAN with the m

Re: Does anyone know of a release date set for Tomcat 4?

2001-05-08 Thread Kief Morris
James Goodwill typed the following on 09:30 PM 5/7/2001 -0600 >Hello, > >Does anyone know of a release date set for Tomcat 4? Beta 4 should be out within a week, but the final release of Tomcat 4.0 will wait until the servlet 2.3 specification is released. I don't know when this will be. Kief

Re: Tomcat Performance..

2001-05-02 Thread Kief Morris
Steve Brunton typed the following on 04:46 PM 5/1/2001 -0400 > Running Tomcat 3.3M2 with Apache 1.3.19 using mod_jk.so and the apj13 >setup on a HP LPR with 2 500 Mhz PIII's and Solaris 8 x86 with all the >latest and greatest patches on it (Tomcat/Apache/mod_jk.so built >natively on the box) I ge

Re: persistent Session-Storage

2001-04-30 Thread Kief Morris
Jakob Praher typed the following on 08:19 PM 4/28/2001 +0200 >can anybody tell me, whether persistent Session-Storage will be implemented >before the release of tomcat-4.0? It is implemented in the current CVS repository, so should show up in the next beta (not sure when that will be). You can ge

Re: losing track of sessions

2001-04-18 Thread Kief Morris
Gerard Quinn typed the following on 06:22 PM 4/18/2001 +0100 >I am using Tomcat 4 beta 3 to develop a site. >Every so often if I have the "allow session cookies" option set in my browser, >My sessions get lost or invalidated or something. >If I disable this option and let the server use url rewrit

Re: saving session attributes across server machines

2001-04-16 Thread Kief Morris
Raul Valenberg typed the following on 03:36 PM 4/15/2001 -0600 >We are designing a Web application with Servlets and JSPs that has to run on >several machines in a fail-over mode. Each machine also has to participate in >the workload as longs it is up. Furthermore, our requirements state that if a

Re: Tomcat 3 vs Tomcat 4

2001-04-12 Thread Kief Morris
>> Hi, I am in the process of investigating to choose a servlet container for >> our project. I am wondering if we should start off with Tomcat 4.0 or > Tomcat >> 3.2.1. Can anybody tell me what are the major differences in Tomcat 3.x and >> Tomcat 4.x? > >A couple of major differences among other

Re: PLEASE fix mailing list bounces!

2001-03-28 Thread Kief Morris
Torgeir Veimo typed the following on 06:12 PM 3/28/2001 +0200 >> The problem is that neither are directly subscribed to the list - > >But shouldn't the reply-to field point to the mailing list address >instead of the original mailer? The Sender address is the one which mail servers shoul

RE: AW: Sessions not working right

2001-03-27 Thread Kief Morris
Slemp, Douglas, J (Doug) typed the following on 09:46 AM 3/27/2001 -0500 >I'm unfamilir with the method setAttribute for HttpSession(something new?) > >I myself have no problem with session state, as long as I use the >getValue/putValue methods as defined in the HttpSession class. putValue/getVal

Re: SSL--Session Expiry

2001-03-21 Thread Kief Morris
Seshagiri Dev Kurmana typed the following on 03:59 PM 3/21/2001 +0530 > My environment is WinNT, Tomcat3.2, jsse1.0.2.Everything is working fine with cookie >enabled browsers.But when I disable cookies in the browsers the session id is >changing and consequently the original session is becoming

Re: one session per user?

2001-02-15 Thread Kief Morris
mike niemaz typed the following on 09:40 AM 2/15/2001 +0100 >Hi, >I'm having troubles to understand how really sessions are working. >I'm using a servlet to handle every client requests and I'm using >jsp >& session to display & various objects between frames, such as: > >HttpSessi

Re: Stop method should do session serialization first.

2001-02-15 Thread Kief Morris
Chris Zhao typed the following on 12:58 PM 2/14/2001 -0500 >For the reason that temporarily stopping Tomcat would not affect user's >browsing, session serialization should be used instead of expiration. > >Or, configuration may carry a flag to turn on this feature or not. Take a look at Tomcat 4.

RE: req.getSession(true) problems with 3.2.1

2001-02-12 Thread Kief Morris
Richard Downey typed the following on 12:37 PM 2/12/2001 + >I can now re-create the stack overflow problem with the two attached >servlets. The problem only occurs when you put something into the session >(in my case I'm using the deprecated getValue, putValue for compatibility >with Webspher

Re: req.getSession(true) problems with 3.2.1

2001-02-12 Thread Kief Morris
Richard Downey typed the following on 09:45 AM 2/12/2001 + >I am moving working applications from 3.1.1 to 3.2.1 and after getting over >the strictly enforced case rules everything seemed to be OK , however I've >noticed that whenever a session expires using HttpSession session = >req.getSess

Re: Creating & Maintanin Sessions using Tomcat 3.2

2001-02-09 Thread Kief Morris
Pravin Jain typed the following on 03:42 PM 2/9/2001 +0500 >Tomcat is configured perfectly ok and is running fine. The only problems I >have is while implementiong "Session" in my servlets. I have a servlet say >"First" servlet, that create's an Httpsession using the getSession() method >and uses

Re: web.xml and session timeout

2001-02-09 Thread Kief Morris
John Clark L. Naldoza typed the following on 09:57 AM 2/9/2001 +0800 >> >> >> 5 >> >> >> >> However, I have a session bean with an HttpSessionBindingListener- I >> would think that my valueUnbound() method would get called after 5 >> minutes and something p

RE: HttpSession across virtual hosts

2001-02-08 Thread Kief Morris
David Oxley typed the following on 01:07 PM 2/8/2001 + >>I sort-of understand what you're doing, but I'm not clear on a couple of >details. >>What do you mean when you say you've "coded a request"? How exactly is >>the session ID passed from the original host to the new host, is this by a >>fo

Re: HttpSession across virtual hosts

2001-02-08 Thread Kief Morris
David Oxley typed the following on 10:38 AM 2/8/2001 + >I know that the HttpSession is only valid on the virtual host it was created >on. This is more of a security question. We currently have our own session >class that gets stored in an HttpSession 1:1 ratio. So we've coded a request >that a

Re: Custom error pages from servlets?

2001-02-08 Thread Kief Morris
Les Hartzman typed the following on 04:36 PM 2/7/2001 -0800 >Using Tomcat 3.2.1, is it possible to define/display custom error pages >based on errors that occur within a servlet? No JSPs are used; this is a >servlet/EJB environment. > >I've seen in the spec for web.xml that there is an error-pag

Re: [Fwd: Session expiration...]

2001-02-08 Thread Kief Morris
Merwin Yap typed the following on 04:27 PM 2/3/2001 +0800 >Hi! I want to ask about sessions in tomcat. How do you change the >elapsed time for the session to expire. In your web.xml put: 30 Change 30 to the number of minutes that must elapse before the server will expire an inactive sessi

Re: Length of JSESSIONID ?

2001-02-07 Thread Kief Morris
[EMAIL PROTECTED] typed the following on 09:56 AM 2/7/2001 +0100 >In order to configure our load balancer to enable cookie based >persistence we have to set the name of the cookie the load balancer will >look for, but we also need to set the number of characters in that >string that are unique. So

Re: Intercepting 404's !! PLEASE HELP

2001-02-07 Thread Kief Morris
Dan Sojka typed the following on 02:28 PM 2/6/2001 -0800 >I am trying to set up a custom error page to intercept Tomcat 404's >I have Apache intercepting static page 404's. > >I am using tomcat 3.2 final.. And I have searched all the archives and >found one common answer: > >in web.xml --> >

Re: Running Tomcat as non-root

2001-02-06 Thread Kief Morris
Jim Crossley typed the following on 12:19 PM 2/6/2001 -0500 >I'm still confused about the -f option, though. You're not creating >your server.xml in the shared installation directory, are you? I >thought tomcat always used $TOMCAT_HOME/conf/server.xml *unless* you >specified another location wit

Re: Running Tomcat as non-root

2001-02-06 Thread Kief Morris
Jim Crossley typed the following on 09:23 AM 2/6/2001 -0500 >Along those same lines, what's the recommended approach for sharing one >installation of tomcat with multiple users? >Should they each create their own server.xml and set the "home" >attribute of the ContextManager to a location benea

Re: Newbie question: How does Tomcat implement HttpSession?

2001-02-06 Thread Kief Morris
[EMAIL PROTECTED] typed the following on 01:10 PM 2/6/2001 +0100 >Our load balancer supports two ways of keeping the state of the sessions >between requests, ip source (all clients from the same subnet will be redirected >to that Tomcat server) and cookie based (a little more flexible approach), t

Re : extracting jsp file name

2001-02-01 Thread Kief Morris
Shahed Ali typed the following on 04:41 PM 1/31/2001 -0600 >I have a MVC framework in which all jsp pages post >data to a controller servlet. > >In this servlet, I need to findout which jsp page invoked it. > >Currently I am passing a hidden variable with value="/callingpage.jsp" ... >I want to r

Re: Q: Request Dispatching with Cookies Turn Off?

2001-01-31 Thread Kief Morris
Nathan N. Vuong typed the following on 09:33 AM 1/31/2001 -0500 >Would like to know how to maintain single Session with >Cookies turn off on the browser with request dispatching: > > 1) request.getRequestDispatcher(URL) > 2) getServletContext().getNamedDispatcher(servlet name) > >My first thoug

Re: session variables in a server farm

2001-01-31 Thread Kief Morris
Ferguson, Doug typed the following on 09:35 AM 1/31/2001 -0600 >Is there an elegant way to implement session variables in a load balancing >senario? If I understand correcty everything is stored on the >server and a sessionID is store in the users browser so that the >server can look it up. But w

Re: Do I need apache for servlet-only use?

2001-01-30 Thread Kief Morris
James Jouett typed the following on 05:00 PM 1/30/2001 -0600 >There are no pages or images - I'm just using HTTP as the mechanism to post a >request to a servlet from a client, so nothing is static. My main concerns are >the configuration options of standalone Tomcat (security, SSL, redirection, >

Re: Trouble with session object

2001-01-30 Thread Kief Morris
Ivo Limmen typed the following on 03:58 PM 1/30/2001 +0100 >I created an object that tracks the amount of sessions and can refer to any >of them if needed be. It uses a weak reference to make it possible that >Tomcat can still drop a session if a user leaves the server. The trouble is >Tomcat does

Re: Tomcat 4.0 Troubles - Bad Major Version Number

2001-01-30 Thread Kief Morris
David Molloy typed the following on 05:27 PM 1/29/2001 -0800 > Having already installed Tomcat3.1 and Tomcat3.2, linking them >with Apache etc. I decided I was ready for Tomcat4.0. ... >Error loading class org.apache.catalina.startup.Bootstrap: Bad major version >number I haven't seen thi

Re: tomcat lisence

2001-01-23 Thread Kief Morris
C. Jason Benedict typed the following on 03:50 PM 1/23/2001 -0600 >ok...so if it is free, can it be used in a production environment that >generates a profit? It is under the same license as the Apache web server, which is the most widely used web server on the Internet for commercial as well as

Re: WebApps and Sub-Projects

2001-01-23 Thread Kief Morris
Waldhoff, Rodney typed the following on 12:57 PM 1/23/2001 -0600 >It occurs to me that others must have encountered similar problems with overlaying >sub-projects onto what for all intents and purposes is a single web application, and >I wonder what if any solutions you have come up with. If an

Re: help need

2001-01-23 Thread Kief Morris
Affan Alim typed the following on 04:37 PM 1/23/2001 + >Any body knows about the big diffrences between the tomcat server, Jrun and Java Web >Server >which is power full and why? Tomcat 3.x is (as I understand it) the replacement for Java Web Server - Sun joined with Apache to form Jakarta,

Re: Tomcat-- SinglethreadModel

2001-01-23 Thread Kief Morris
Saikat Chatterjee typed the following on 01:25 PM 1/23/2001 +0530 >I have a question regarding Tomcat. Does Tomcat implements the >servlets as SingleThreadModel or MultipleThreadModel? Both. According to the servlet spec, by default servlets allow multiple threads, so multiple users c

Re: How can I share Sessions between Contexts?

2001-01-22 Thread Kief Morris
William Boyd typed the following on 03:48 PM 1/22/2001 -0800 >I have a User site and an Admin site, both have their own context entry in >the server.xml file. >Both Sites must also share the same session information as the interface >allows users to move from one site to another while only logging

Re: Howto share objects between mutiple jsp pages

2001-01-20 Thread Kief Morris
>> mall wrote: >> Can anybody tell me if it is possible for the container(tomcat) to >> load an object and to make >> that object available to all the pages/servlets contained within the >> container? I've >> asked this question before but i don't think i made my question clear >> enough the last

Re: Problem with getHeader("Referer")

2001-01-17 Thread Kief Morris
Dan Eppinghoff typed the following on 11:02 PM 1/17/2001 -0500 >Hello all, > I have a problem getting the "Referer" header from the request object in >a JSP. The >only value I get for it is null. I printed a list of the available headers >(via >getHeaderNames()) and this is the list I got: >

Re: Session Tracking Problem

2001-01-17 Thread Kief Morris
Rajeev Bakhru typed the following on 03:24 PM 1/17/2001 -0500 >On the login jsp page in the application, I used a servlet and created a >session with >HttpSession session = req.getSession(true) ... >Then on this page (b) , I used > and passes the same variable again to >the another page (c). Che

Re: Is there nobody who could help me with my session problem?

2001-01-16 Thread Kief Morris
Martin Grüneberg typed the following on 01:42 AM 1/17/2001 +0100 >Because cookies are disabled in many browsers, I prefere >sessionmangment with urlrewriting. (server.xml --> noCookies) >On normal http requests the sessionmanagment make a good job. >But changing to a safe https SSL connection for

Re: Xserver & Tomcat

2001-01-16 Thread Kief Morris
>> I have a servlet that does some .gif creation for graphs and returns the >> gif in a page. I don't seem to be able to setup Linux and Tomcat together >> to do this. I always have to be logged in as root. >> >> I've set xhost +localhost, I've run xauth, I've set DISPLAY=localhost:0.0 >> and =ma

Re: session tracking

2001-01-15 Thread Kief Morris
David Wall typed the following on 09:08 AM 1/15/2001 -0800 >> if (session == null) { >> session = request.getSession(true); >> response.sendRedirect(response.encodeURL()); >> return; >> } > >Since this is a redirect, why aren't you using response.encodeRedirectURL()? >Does it not work?

Re: need help with caching!!!

2001-01-14 Thread Kief Morris
Erick Papadakis typed the following on 09:07 PM 1/13/2001 -0800 >but now the problem is that the client's browsers do >not cache this. if i try images from a physical disk >from my website in the webserver, then it works well - >both IE and netscape remember the images!!! with >servlets as abvoe,

Re: tomcat 3.2 and 3.2.1 slow

2001-01-13 Thread Kief Morris
Mohan Surender typed the following on 03:46 AM 1/13/2001 -0600 >when i run tomcat from jbuilder3 i notice a significant delay in running >jsps ( the num guess jsp for example takes 50 seconds every first time i >start tomcat and run it) >the same jsp executes very fast in tomact 3.1. Is it also s

Re: Install the Binary Version of Tomcat

2001-01-13 Thread Kief Morris
Shicheng TIAN(CMS) typed the following on 01:20 AM 1/13/2001 + >Hello there, >I followed the instruction below trying to install Tomcat (on Windows 2000), >but failed to do so?! ... >D:\jakarta-tomcat-3.2.1\bin\startup > >a new window (Tomcat 3.2) would appear for one/two seconds, then >it kil

RE: Followup (Session references)

2000-12-29 Thread Kief Morris
Billy Turchin typed the following on 12:59 PM 12/28/2000 -0500 > > I am using Tomcat 3.2.1. The session is certainly valid, because >though I get a null pointer exception when I try to invalidate it, I can >still perform actions with that user...ie data is still in the session. >I am storing the

Re: Followup (Session references)

2000-12-28 Thread Kief Morris
Billy Turchin typed the following on 11:18 AM 12/28/2000 -0500 > Hi again, here is a follow up to the problem I was having that I >emailed about earlier. When I would get my first hit, I would save the >HttpSession at that time in a static class accessible by all servlets. >If instead I save the

Re: Why use a web server with Tomcat ?

2000-12-27 Thread Kief Morris
iving events) and I don't want to hang all the web server threads on >this dedicate connections. I don't You might consider pointing directly to Tomcat for this purpose, and have Apache handle images and any other static files. Kief --- Kief Morris Director of Technology bitBull Ltd

Re: Status of overall Tomcat performance

2000-12-27 Thread Kief Morris
I understand it) is more heavily focused on performance. I'd be suprised if 4.0 comes out super-fast since it's a new architecture - hopefully it'll be tightened up over a few point releases. Kief --- Kief Morris Director of Technology bitBull Ltd. http://www.bitBull.com phone +44 020 7598 9938 fax +44 020 7460 4081

Re: how to include querystring in JSP

2000-12-25 Thread Kief Morris
Ted Husted typed the following on 08:34 AM 12/25/2000 -0500 > click > >As a rule, anchor tags should be URL encoded, so you might try > > click A quick nitpick: ">click This will make sure you don't lose the session if the user doesn't eat cookies.

Re: Tomcat threads..

2000-12-24 Thread Kief Morris
ut the threaded architecture of Tomcat. If threads are really keeping you awake at night, the best you can do is cut down on the connector threads: There are still going to be other threads - Tomcat is a threaded application. There's not much you can do about

Re: Tomcat threads..

2000-12-24 Thread Kief Morris
the threads will still be created. Kief --- Kief Morris Director of Technology bitBull Ltd. http://www.bitBull.com phone +44 020 7598 9938 fax +44 020 7460 4081

Re: AW: Custom error pages!!

2000-12-15 Thread Kief Morris
Scott Jones typed the following on 12:33 14/12/2000 -0800 > >500 >/errors/error.jsp > > >However, this doesn't seem to work at all -- an error in a Cocoon page will >just give me a plain-ol' stack dump like I normally get from Tomcat. Does >anyone have any suggestions for

Re: Servlet timeout

2000-12-15 Thread Kief Morris
Saikat Chatterjee typed the following on 12:06 15/12/2000 +0530 >Hello all, >I have a question regarding 'timeout' period of a servlet. >Is it possible for me to set this 'timeout' period of a servlet in >Tomcat?There must be some configuration file where i can set this. I'm not sure

Re: 3.2.1 build fails - any ideas?

2000-12-14 Thread Kief Morris
Stefán F. Stefánsson typed the following on 14:56 14/12/2000 + >Hello. I'm getting the following error when I try to build Tomcat >3.2.1. I've been using (and building) Tomcat 3.2 successfully: >C:\jakarta\jakarta-tomcat\src\share\org\apache\jasper\compiler\JspCompil >er.java:136: Method get

Re: Tomcat and jdk

2000-12-14 Thread Kief Morris
Eoin McCarthy typed the following on 12:39 14/12/2000 + >Which version of java is needed to run jsps with Tomcat (v3.2) ? 1.1 or higher. --- bitBull makes the Internet bite: http://www.bitBull.com/demos/

Re: precompile jsp with Tomcat 3.2

2000-12-14 Thread Kief Morris
Joan Xiao typed the following on 17:01 13/12/2000 -0800 >I've been trying to use jspc to precompile the jsp pages into java classes. I've moved this to tomcat-user, since tomcat-dev is for discussing development of tomcat itself, not how to use tomcat. > Now I have problem with where to put th

Re: debug in tomcat

2000-12-13 Thread Kief Morris
Kief Morris typed the following on 10:07 13/12/2000 + >>Root cause: >>java.lang.NullPointerException >> at >>org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerat >>or.java:196) OK, I've tracked this down. In my own code, this

Re: debug in tomcat

2000-12-13 Thread Kief Morris
alex typed the following on 17:17 13/12/2000 +0900 >hi all!! >i got a problem with my code. >and the most of all. >i cannot find where i made mistake. >i was stuck for several days. >who can help me? I have a similar problem. >Root cause: >java.lang.NullPointerException > at >org.apache.ja

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Catherine Jung typed the following on 16:18 12/12/2000 + >Boy mailing lists have a short memory!, I'd been having trouble with this >last week and posted about it, on tomcat-dev too, but to no avail. > >No-one seems to check the archives/bug database these days :) Actually I did look, bu

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Shahed Ali typed the following on 08:49 12/12/2000 -0600 >I dont know about the specs, but I think all errorpages need the iserrorpage >= true page directive. > >So that could mean that they should be .jsp (?) The spec doesn't seem to say this ... I believe that's just needed if you want the exc

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 14:58 12/12/2000 +0100 >The only difference in what i was trying previously and this one is that >for an error page i was going to an html file whereas now its >working if i redirect to a jsp. Aha, someone else just pointed this out. >Dont know why...

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 12:58 12/12/2000 +0100 >But just for information, can you comment on the tag not >working in the deployment descriptor of Tomcat 3.2 I just tried it, it works fine for me. Are you specifying the full names of the exceptions? e.g. java.lang.IllegalArgumentExce

Re: How can i share session between servlet and jsp

2000-12-12 Thread Kief Morris
Raphaël Lemaitre typed the following on 11:56 12/12/2000 + >But when i want to follow a hyperlink that points to a >servlet, i do not get the same session (session Ids are different). How are you building this hyperlink exactly? Is it a relative link? What exactly does the URL to the JSP pag

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 11:58 12/12/2000 +0100 >So now what i can understand is that it should be Tomcat's problem to >intercept any errors occuring in the servlet and then passing me onto the >specified url in the deployment descriptor. I believe this only applies to JSP pages. For

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 11:17 12/12/2000 +0100 >I want Custom error pages, in my application, the two solutions i have is to use the >"ErrorDocument" directive in Apache or to use the "error-pages" xml element while >deploying my servlet in Tomcat (please note that i am using Apache

Re: Tomcat Build Problem on Solaris

2000-12-12 Thread Kief Morris
Stephen F. Kispersky typed the following on 11:55 11/12/2000 -0800 >- In the README, "servletapi" is referenced, but it is not to be found on the > Tomcat site that I could see. I tried substituting the JSAPI classes on > Sun site (version 2.2). If you go to http://jakarta.apache.org/builds/tom

Re: Session snooper

2000-12-11 Thread Kief Morris
Craig R. McClanahan typed the following on 11:40 08/12/2000 -0800 >> I'm need to create a simple tool for Tomcat so that I can see how many users >> have active sessions for the available Contexts. e.g. how many sessions are >> active for /admin with details for each. ... >Under a servlet 2.3 env

Re: servelet problem

2000-12-08 Thread Kief Morris
Affan Alim typed the following on 14:04 08/12/2000 + >I am running Apache on Linux Redhat 6.2 so could any one please guide me how >to set this up on linux. >as well as where i put the servelet in apache eb server please send the >directory structure of servlet class file. >Please send me

Re: tomat - how it works - caches servlets?

2000-12-07 Thread Kief Morris
First of all, are you using Tomcat 3.2? Version 3.1 has lots of bugs. 3.2 is much better about loading and reloading classes. Riley,R typed the following on 10:39 07/12/2000 + >I've tried starting and stopping tomcat and have all of the servlets class >files in jars in its webapps classes d

Re: Your thoughts on organizing multiple web apps

2000-12-06 Thread Kief Morris
George McKInney typed the following on 08:52 06/12/2000 -0800 >General consensus here seems (in hindsight) to be that /lib is >***NOT*** the place to put .jar files UNLESS the Tomcat administrator can >ensure that every app that will be installed will be happy with them. >Otherwise, the webapp

Re: Cookie problem max age problem

2000-12-05 Thread Kief Morris
Pratik Machchar typed the following on 05:57 PM 12/5/2000 +0530 >I set a cookie with certain maxAge() say 200. >now on logout I wan't to remove that cookie I set maxAge(0) then also this >cookis is not removed Are you getting the cookie with request.getCookies() and changing its maxAge, or creat

Re: session and login

2000-12-04 Thread Kief Morris
Carlos typed the following on 13:41 04/12/2000 +0100 >Hello i am making a jsp pages and i have a problem >For entering in some pages there is necessary the login. >if the user have make login theses pages doesn't ask thelogin but the user >have not make login or 30 minutes have passed the page

RE: send redirect question

2000-11-30 Thread Kief Morris
Anand Prasad typed the following on 19:04 29/11/2000 -0800 >Is there way using RequestDispatcher or sendReDirect() to send a page to >particular frame. > >For example. sendRedirect("index.html" target=_top); Unfortunately it's the browser which decides which frame to load a page into, you can

Re: Tomcat problem. Help!

2000-11-30 Thread Kief Morris
Panagiotis Konstantinidis typed the following on 12:26 30/11/2000 + > Now, I am using Apache v1.3.12 and Tomcat v3.1 (for Windows). The first thing I would recommend is upgrading to Apache 1.3.14 and Tomcat 3.2, since these are the latest stable versions. Tomcat in particular has fixed a l

Re: SOS of total newbie

2000-11-22 Thread Kief Morris
Tomas Marek typed the following on 00:56 23/11/2000 +1100 >Also, because W98 included M$ Personal Web Server doesn't support JSP, I >run Tomcat as a standalone server (just learning anyway). So, what is the >http address of my .jsp files? Try http://localhost:8080 --- bitBull m

Re: Session handling

2000-11-17 Thread Kief Morris
Drasko Kokic typed the following on 09:21 17/11/2000 -0800 >I would need to find out if Tomcat 3.1 have any known >bugs in session management area. The problem we are >facing at the moment is that our application is some >times presenting information belonging to other >customers that we sus