How to setup CRL in Tomcat

2002-08-29 Thread Mario Klaver
I'm using Tomcat with SSL but I can't figure out how I can setup a Certificate Revocation List (CRL) in tomcat? Thanx in advance, Regards, Mario Mario Klaver Senior Consultant Cap Gemini Ernst & Young Telecom Media Network

Re: Servlet Instances

2002-08-29 Thread Bill Barker
I'm guessing that you have either 2 unused Hosts or Connectors (or some combination thereof) in your server.xml. This will cause the servlet to get initialized multiple times. "Rui Fernandes" <[EMAIL PROTECTED]> wrote in message 009b01c24f48$9ab9c260$4600a8c0@server">news:009b01c24f48$9ab9c260$4

RE: OT - Jdk1.4 XML support

2002-08-29 Thread neal
Cool. That answers that question, I suppose. ;-) Neal -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:11 PM To: Tomcat Users List Subject: Re: OT - Jdk1.4 XML support On Thu, 29 Aug 2002, neal wrote: > Date: Thu, 29 Aug 20

DBCP: optimum settings

2002-08-29 Thread neal
Im wondering what the maximum active conn objects is in a DBCP pool. On my production server I'm running Tomcat 4.0.4 on Linux, using Connector/J 2 and MySQL 3.23. I'm running a 733 PII, with 256 MB RAM. I've got resourceParams maxWait set to 100 and maxIdle set to 3000. Does anyone know what

Re: mod_jk and EAPI

2002-08-29 Thread Bill Barker
If I had to guess, I'd say that you have incorrectly inserted a Valve/Realm into your "server.xml" that is not really a Valve/Realm. This error is way too far down the pipeline to have anything to do with mod_jk. My guess is that if you enable the stand-alone Connector and attempt to connect on

Can Tomcat Using SYBASE_CTLIB connect to Sybase by JNDI ?

2002-08-29 Thread huangzh
Hi: I am trying to use the Sybase Open client to connect to the backend Sybase Sql server,can tomcat using the SYBASE_CTLIB Driver to connect to the Sybase ? If it is possible to do it,I will try to go ahead. Any advise is welcome. Jackson Huang

Re: OT - Jdk1.4 XML support

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, neal wrote: > Date: Thu, 29 Aug 2002 20:51:42 -0700 > From: neal <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: OT - Jdk1.4 XML support > > Hope you don't mind a slightly off-topic question >

TC404: slightly changed struts-exercise-taglib doesn't execute ActionServlet.init()

2002-08-29 Thread David M. Karr
I'm using TC4.0.4 on Win2k, using JDK1.4. I've built Struts1.1b2 from source. I've deployed the "struts-exercise-taglib" to TC, and it works fine. In my debugger, I see it execute ActionServlet.init() and load the configuration. I've also built a library all of whose tags derive from the Struts

OT - Jdk1.4 XML support

2002-08-29 Thread neal
Hope you don't mind a slightly off-topic question Anyone here working with the JDK1.4+ and XML (and possibly XSLT)? I see that the JDK now provides basic XML support and per my understanding it even included the latest Xalan libs for XSLT. Is this sufficient for production-quality XML work,

Re: Tomcat and Crystal Reports (Urgent)

2002-08-29 Thread Randy Secrist
I hunted around segates site - since I haven't been there in a LONG time, and only found a 4 page PDF document which says it integrates with J2EE stuff. However - i can't find documentation on an API set. Also - it appears only to come with the advanced edition... Randy - Original Message

RE: Servlet Instances

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Rui Fernandes wrote: > Date: Thu, 29 Aug 2002 17:30:13 +0200 > From: Rui Fernandes <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Servlet Instances > > I don't understand what you say. > Would

Re: Database write delay?!?!?!?

2002-08-29 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Aug 30, 2002 at 09:32:49AM +1000, Josh G wrote: > On Fri, 30 Aug 2002 9:22 am, Peter T. Abplanalp wrote: > > > > tired? i don't think that is tired. it still makes me chuckle; > > although, i've heard that M$ has doubled their mean time to f

RE: Are you successfully using DataSources with MySQL?

2002-08-29 Thread neal
Yes. Just set it up. Went pretty smoothly though I have to admit I haven't done a great deal of testing on it yet. Did you: 1. Download and install dbcp, collections, and pool from the Jarakta Commons lib, and install them into common/lib? 2.Did you install Connector/J COM and ORG packages in

Re: Database write delay?!?!?!?

2002-08-29 Thread Josh G
On Fri, 30 Aug 2002 9:22 am, Peter T. Abplanalp wrote: > > tired? i don't think that is tired. it still makes me chuckle; > although, i've heard that M$ has doubled their mean time to failure so > i suppose the updated version is to reboot once a day. ;-) Oh crap. My XP box at home stays up fo

Are you successfully using DataSources with MySQL?

2002-08-29 Thread stevem
Okay, instead of trying to figure out what is wrong with my configuration, maybe I should ask what is right with yours. If anyone is successfully using MySQL DataSources with Tomcat 4.0.4, I would like to here from you. Steve Mitchell e-Business Architect/Developer Integrated Corporate Solution

Re: Database write delay?!?!?!?

2002-08-29 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Aug 30, 2002 at 09:15:48AM +1000, Josh G wrote: > On Fri, 30 Aug 2002 8:47 am, Mike Jackson wrote: > > > Are you using the JDBC-ODBC bridge? If so then I'd not worry about > > the delayed writes, I'd worry about restarting your app often > >

Re: Database write delay?!?!?!?

2002-08-29 Thread Josh G
On Fri, 30 Aug 2002 8:47 am, Mike Jackson wrote: > Are you using the JDBC-ODBC bridge? If so then I'd not worry about > the delayed writes, I'd worry about restarting your app often > (daily/weekly), and your database engine for that matter. > Feel like explaining that one? Is there a bug in th

Re: Is this a Bug in request.getServletPath() ?

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Mark R. Diggory wrote: > > > >There won't necessarily be a static resource that corresponds to every > >valid servlet mapping. > > > Unfortunately, that is true, that can point at a in a > which is different than the or > in a representing of the particular > JSP/Servl

Re: single sign on and time outs

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Srinadh Karumuri wrote: > Date: Thu, 29 Aug 2002 16:29:40 -0400 > From: Srinadh Karumuri <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: single sign on and time outs > > > >More precisely, both

RE: Where should i put dynamically generated graphics

2002-08-29 Thread Sexton, George
It depends. One way I have done it is to have the generator servlet save it on the session, and have the page the generator servlet writes make a request to a simple servlet that returns the graphic, and then deletes it from the session. Another way would be to write it to the temp dir. From the

Re: STILL need help w. Tomcat installation!!

2002-08-29 Thread micael
Okay, Steve. I won't bother you any more. At 06:08 PM 8/28/2002 -0400, you wrote: > Hello Micael, I appreciate the "useful" [-sic]advice which you offered > to me re. setting the system variables for the Tomcat installation, > however I really don't appreciate at all you inferring that I am

DBCP - slow to starup

2002-08-29 Thread neal
I've setup connection pooling via JDNI/DBCP on tomcat and things seem to be working fine (initially). One thing I noticed though is that startup of Tomcat now takes significantly longer than it use to (I'm on Windows 2000). Tomcat startup use to take 5-10 seconds ... now its up to 20-30 seconds b

RE: Database write delay?!?!?!?

2002-08-29 Thread Mike Jackson
Are you using the JDBC-ODBC bridge? If so then I'd not worry about the delayed writes, I'd worry about restarting your app often (daily/weekly), and your database engine for that matter. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Josh McDonald [mailto:[E

Re: Database write delay?!?!?!?

2002-08-29 Thread Josh McDonald
Using jdbc->odbc->jet (don't bother telling me it wasn't my decision) - would this be a problem? Does it even support transactions? -Josh And can you tell me, doctor, why I still can't get to sleep? And why the Channel Seven chopper chills me to my feet? And what's this rash that comes and goes,

DB2 DataSources and Tomcat 4.0.4

2002-08-29 Thread Vance Christiaanse
Tomcat fans, I've been trying to configure a DataSource in Tomcat 4.0.4 to use DB2 for... well, for longer than I'd like to admit. I've searched the web and experimented with jars vs. zips, with renaming them vs. rebuilding them, with the lib folder vs. the common\lib folder, with "url" vs. "driv

Re: Is this a Bug in request.getServletPath() ?

2002-08-29 Thread Mark R. Diggory
Craig R. McClanahan wrote: >On Thu, 29 Aug 2002, Mark R. Diggory wrote: > > > >>Date: Thu, 29 Aug 2002 15:13:21 -0400 >>From: Mark R. Diggory <[EMAIL PROTECTED]> >>Reply-To: Tomcat Users List <[EMAIL PROTECTED]> >>To: Tomcat Users List <[EMAIL PROTECTED]> >>Subject: Re: Is this a Bug in request

Re: Tomcat and Crystal Reports (Urgent)

2002-08-29 Thread Joel Sather
This is true, but I think it requires 9 (the Java SDK that is). There was also an ad in the recent Java Dev Journal about it. >From the the crystal website: Java, .NET and COM SDKs - A rich set of Java, .NET, and COM APIs let you control how end users interact with reports and modify them at r

Where should i put dynamically generated graphics

2002-08-29 Thread Andy Wagg
Hello I have a web application that generates a gif file that is then subsequently displayed. It expects to find the gif file in the context of the web application. The web app is deployed as a war so obviously the generated files cant be put there. Any suggestions as to where these files cou

RES: Tomcat and Crystal Reports (Urgent)

2002-08-29 Thread Jose Euclides da Silva Junior - DIGR.O
They uses to sell an extra api, which integrates with Java. But, as somebody said before, they are working closely with M$. Euclides. -Mensagem original- De: Dom [mailto:[EMAIL PROTECTED]] Enviada em: quinta-feira, 29 de agosto de 2002 18:50 Para: Tomcat Users List Assunto: Re: Tomcat and

Re: Tomcat and Crystal Reports (Urgent)

2002-08-29 Thread Dom
They say that new version 9.0 is fully supporting java. Didn't MicroSoft pay their last bill ? Dom - Original Message - From: "Randy Secrist" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 6:41 AM Subject: Re: Tomcat and Crystal Reports (U

Re: Opinion: Tomcat/SOAP/Java Web Start

2002-08-29 Thread Mona Wong-Barnum
Hi Mark: > Has > anyone had any real experience with Java Web Start? Does it really make > installation and upgrades as painless as Sun claims? I'll answer via the list briefly. We use Java Web Start to distribute our Java 2D/3D programs. It does makes distribution of our programs ve

Tomcat 4.0 DataSources

2002-08-29 Thread Vance Christiaanse
Tomcat fans, Here is some experimental data on trying to configure a DataSource with Tomcat 4.0.4. I don't have it working yet but have drawn the following conclusions: (A) Putting the driver zip file on the catalina class path seems to make no difference (B) Putting the driver zip file renamed

RE: DOS Error Msg.

2002-08-29 Thread Sexton, George
Using the instructions previously given, edit the setting for the JAVA_HOME variable and remove the trailing semi-colon. -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: 29 August, 2002 2:05 PM To: Tomcat Users List Subject: DOS Error Msg. Hello all, I need some

DOS Error Msg.

2002-08-29 Thread STEVE R BURRUS
Hello all, I need some degree of immediate help/assistance w. installing the Tomcat server! After I THINK that I have gotten all of the various components in place needed for the installation, and set the environment variables correctly, when I try to activate Tomcat, I seem to always get a DOS e

Re: single sign on and time outs

2002-08-29 Thread Srinadh Karumuri
>More precisely, both sessions will be invalidated. I didn't get this. Lets say I have two webapps sharing one Tomcat3.0. If timeout for webapp1 = 5 min. and timeout for webapp2 = 10 min. Does it mean both will get timed out after 5 min. I don't think so. -Sri At 04:00 PM 8/29/

Re: single sign on and time outs

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, HAVENS,PETER (HP-Cupertino,ex3) wrote: > Date: Thu, 29 Aug 2002 15:25:20 -0400 > From: "HAVENS,PETER (HP-Cupertino,ex3)" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: single sign on and time ou

RE: [Q] WebDAV servlet authentication...

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Per Kreipke wrote: > Date: Thu, 29 Aug 2002 15:16:13 -0400 > From: Per Kreipke <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: [Q] WebDAV servlet authentication... > > > > Does anyone know whet

Re: Does Tomcat Ever Unload WebApp Due To Inactivity?

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Peter Alvin wrote: > Date: Thu, 29 Aug 2002 12:16:39 -0600 > From: Peter Alvin <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Does Tomcat Ever Unload WebApp Due To Inactivity? > > Does Tomcat ever

Re: Is this a Bug in request.getServletPath() ?

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Mark R. Diggory wrote: > Date: Thu, 29 Aug 2002 15:13:21 -0400 > From: Mark R. Diggory <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Is this a Bug in request.getServletPath() ? > > Craig R. M

single sign on and time outs

2002-08-29 Thread HAVENS,PETER (HP-Cupertino,ex3)
I have a question regarding SingleSignOn. It seems that if any web app is accessed and then not visited for a period of time equal to the time out value of the global web.xml then the user will be de-authenticated for all webapps. To clarify, if I have two webapps, demo1 and demo2, and I log ont

RE: Open source ODBC driver for SQL Server 7

2002-08-29 Thread Jim Urban
We could run stored procs that took input parameters and updated/inserted/deleted records and returned output parameters. The problem was this: turn off autocommit. run proc 1 insert a record and returned an ident field. run proc 2 insert a record using the ident field from the record inserted i

RE: [Q] WebDAV servlet authentication...

2002-08-29 Thread Per Kreipke
> > Does anyone know whether the webdav servlet can use form based > > authentication when the client is not a browser (e.g. DAVExplorer or Web > > Folders)? > > > > Isn't this really a question of whether your *client* can understand how > to interact using form based login? That seems pretty un

Re: Is this a Bug in request.getServletPath() ?

2002-08-29 Thread Mark R. Diggory
Craig R. McClanahan wrote: >You seem to be making an unwarranted assumption, that there *is* such a >thing as a directory for a context. > Not neccessarily unwarranted, It is apparent that there is a JNDI Context available for resources in Tomcat and that the Servlet API specifies that the I

RE: Open source ODBC driver for SQL Server 7

2002-08-29 Thread Jeffrey Polaski
Sorry--I wasn't clear. You had problems feeding the results of one stored procedure call back in to another stored procedure call. But you could run a call to a stored procedure and then display the results without any problem, right? Jeff Polaski Webmaster Research & Graduate Studies

RE: Apach2 and Tomcat4.0 Integration..

2002-08-29 Thread Raj Mettai
Hi John, I was successfull in connecting Apache1.3.26 with tomcat4.0 by using your documentation...http://www.johnturner.com/howto/apache-tomcat-howto.html I had two web applications defined on tomcat, but the one I have defined to root (path="/") is not working from webserver. the other appli

easier way to configure IIS with tomcat

2002-08-29 Thread Ike Ahmed
JRun has an easy way using admin tool to configure JRun application with IIS. Wondering if Tomcat has something like that ___ Ike Ahmed Phone: 972-699-2226 Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Log out Screen

2002-08-29 Thread Mike Jackson
I usually save the data the user provided, validate them, then go back to the real "process the form" page. Since the data's saved I then just pull it and process giving them the success/fail message. I hadn't thought of not saving the data, that would be really annoying. --mikej -=- mike j

Re: MVC and caching

2002-08-29 Thread Anthony Geoghegan
Additionally to use the clientside cache as it was meant to be used have a look at the "last-modified" response header. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. - Original Message - From: "Andreas Mohrig" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTEC

RE: Open source ODBC driver for SQL Server 7

2002-08-29 Thread Jim Urban
The problems were with stored procs. Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax: (630) 250-3046 CONFIDENTIALITY NOTICE This message and any included attachments ar

Re: Log out Screen

2002-08-29 Thread Dan Lipofsky
> In most cases, this is true ... but I think everyone can agree that there > is nothing more frustrating than filling out some web-based form with lots > of information (takes a long time to complete), attempting to submit, > running into a session timeout, and not being able to get back to the >

Does Tomcat Ever Unload WebApp Due To Inactivity?

2002-08-29 Thread Peter Alvin
Does Tomcat ever unload webapps (specifically the app's ServletContext object--the "global variables" shared across sessions) due to user inactivity? Pete -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Log out Screen

2002-08-29 Thread Srinadh Karumuri
Well...it depends on the type of application I guess. We have a data entry application used mostly for entering weekly time worked. We had lots of complaints where user thought he/she is still logged in and entered the data for the whole week and pressed "Save" button. At this point since the

RE: Open source ODBC driver for SQL Server 7

2002-08-29 Thread Jeffrey Polaski
> > > Check out http://www.thinweb.com/products_twfreetds.html it's a free > > > commercially supported version of freetds. > > > > Jim, in a note at the bottom of the page it says that TWFreeTDS "is not > > recommended for commercial application". Do you know why? It sounds like it > > may

Re: Is this a Bug in request.getServletPath() ?

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Mark R. Diggory wrote: > Date: Thu, 29 Aug 2002 13:08:38 -0400 > From: Mark R. Diggory <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Is this a Bug in request.getServletPath() ? > > My problem

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-29 Thread stevem
Vance, Good eye. It use to be driverName but got changed along the way to URL. Probably when I started following the 4.1 how-to. In any case, I changed back to driverName and, alas, same problem. Vance, do you get the same error? javax.naming.NamingException: Exception creating DataSource: o

RE: Log out Screen

2002-08-29 Thread Justin Ruthenbeck
In most cases, this is true ... but I think everyone can agree that there is nothing more frustrating than filling out some web-based form with lots of information (takes a long time to complete), attempting to submit, running into a session timeout, and not being able to get back to the scre

tomcat log: interpreting and controlling

2002-08-29 Thread Dan Lipofsky
In my tomcat log, I see a LOT of repetitions of this message: 2002-08-29 10:37:13 - Ctx( ): 400 R( /) null 2002-08-29 10:37:54 - Ctx( ): 400 R( /) null What does this mean? How can I suppress these messages? I also get a lot of the following message, which I would like suppress, or at least s

RE: Log out Screen

2002-08-29 Thread Mike Jackson
Does it matter when the redirect is done? If the user sits on the page without the session being valid where's the problem with that? You just want to make sure that they are valid when the pages that are secured are being accessed. --mikej -=- mike jackson [EMAIL PROTECTED] > -Origina

RE: Open source ODBC driver for SQL Server 7

2002-08-29 Thread Jim Urban
We had used it for a while. We dropped it because our application became to complex for it to handle. We needed to run multiple stored procs which took output from one as input the next proc which in a unit of work. We ended up purchasing a 3rd party driver which met our requirements. Jim Urb

Bug in Tomcat 4.0.2 with running JDBC-ODBC-Bridge/MS Access

2002-08-29 Thread Christiansen,Bernd,VEVEY,GL-IS/IT
> Hi, > > I have written a small JSP that is accessing a MS Access database > using the JDBC-ODBC-Bridge. The Access database is defined as > a Datasource in the Microsoft ODBC Administration Tool. > Now I have just reorganized my project file structure so that the > definition in this Datasource

RE: Log out Screen

2002-08-29 Thread Srinadh Karumuri
Small correction for method #2 (you need to convert it to seconds): At 01:34 PM 8/29/2002, you wrote: >This redirection works only when user submits a form (when server is hit). >We cannot do automatic redirection using only Java. > >Other alternatives are: >1. Use Javascript and have a timer (

RE: Open source ODBC driver for SQL Server 7

2002-08-29 Thread Jeffrey Polaski
> Check out http://www.thinweb.com/products_twfreetds.html it's a free > commercially supported version of freetds. Jim, in a note at the bottom of the page it says that TWFreeTDS "is not recommended for commercial application". Do you know why? It sounds like it may be a feature-limited release

RE: Log out Screen

2002-08-29 Thread Srinadh Karumuri
This redirection works only when user submits a form (when server is hit). We cannot do automatic redirection using only Java. Other alternatives are: 1. Use Javascript and have a timer (set value as request.getSession().getMaxInactiveInterval()) to redirect the page automatically. 2. Use brows

Re: Denial of Service vulnerability on Windows fixed in 4.0.4?

2002-08-29 Thread Josh Schroeder
Having not heard anything from this list about my question, I emailed [EMAIL PROTECTED] In case anyone wonders about this bug in the future, here's the answer. -Josh -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 5:01 AM To: [EMAIL PROT

Re: Is this a Bug in request.getServletPath() ?

2002-08-29 Thread Mark R. Diggory
My problem seems to be that the Servlet API works relative the the Servlets Context and not the actuall servlet. So even getResource / getResourceAsStream resolve relative to the Servlet Context Root and not the Servlet/JSP i.e. application.getResource("") returns resources relative to the Con

RE: Log out Screen

2002-08-29 Thread Mike Jackson
That works, but I'd use a servlet to manage all page accesses and a request dispatcher so that the user's machine doesn't know that it's been redirected. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Dan Lipofsky [mailto:[EMAIL PROTECTED]] > Sent: Thursday,

Re: Log out Screen

2002-08-29 Thread Dan Lipofsky
Set the timeout in web.xml inside the tags like this 720 To check for the timeout, store something in the session when they log in, like this session.putValue(StringConstants.USER_DATA,userInfo); and then check it on each page like this if (session.getVa

RE: Log out Screen

2002-08-29 Thread Ravindra K. Bhat
how do you reset the logout time and redirect to the login page? ravi -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Log out Screen

2002-08-29 Thread Mike Jackson
If the session expires aren't they already logged out? You don't have any state for them saved at that point. It'd make more sense (to me at least) to redirect at that point to a login page. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Ravindra K. Bhat

Log out Screen

2002-08-29 Thread Ravindra K. Bhat
Hi: Where is the session time out set? and how do I redirect it to a logout page once the session times out? Thanks Ravi -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: OOM vs. Out of CPU

2002-08-29 Thread Randy Secrist
No it would not generate an exception unless you were out of heap memory. CPU at 100% just means that the current JVM running keeps the CPU busy working on the one process / thread it is working on. Randy - Original Message - From: "Michael Nicholson" <[EMAIL PROTECTED]> To: "Tomcat Users

Re: SSL and Tomcat

2002-08-29 Thread Randy Secrist
There is such a thing in Tomcat, albiet a little different. Tomcat being a servlet container, organizes everything into web applications. (Similar to a virtual server.) You can specify for each web application which directories (resources) are considered integral, or confidential. When a resou

RE: OOM vs. Out of CPU

2002-08-29 Thread Mike Jackson
Shouldn't it be a java.lang.OutOfCPUException? Sorry, strange mood... --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Michael Nicholson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 29, 2002 9:30 AM > To: Tomcat Users List > Subject: OT: OOM vs. Out of

OT: OOM vs. Out of CPU

2002-08-29 Thread Michael Nicholson
Just wondering: if you spiked your CPU to 100%, would that trigger a java.lang.OutOfMemory error? Michael Nicholson, Carolina Center for Public Service

SSL and Tomcat

2002-08-29 Thread Reis, Tom
Is there a setting for Tomcat 4.04 so that it will only SSL encryption. I know you can specify which directories you want to have encryption with IIS and I was wondering if there is something similiar with Tomcat. Thanks. -- To unsubscribe, e-mail: For additio

difference between jakarta-tomcat-4.0.4.exe and jakarta-tomcat-4.0.4.zip installations

2002-08-29 Thread Ed Maher
I am running Tomcat 4.0.4 on Windows 2000. I have installed both the "jakarta-tomcat-4.0.4.exe" and the "jakarta-tomcat-4.0.4.zip" packages and am experiencing different behavior between the two installations. The 'exe' version was installed to: "C:\Program Files\Apache Tomcat 4.0". The 'zip' v

Servlet And Connection pooling and How To

2002-08-29 Thread Ashish Kulkarni
Hi, I am using Connection pooling and storing the pool in servlet context and I have question about getting the connection from servlet context in a all servlets, I want to code a single class where the input paramter will be servlet context and session and this class will return me the connection

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-29 Thread Vance Christiaanse
Steve, I'm stuck in a similar situation. Here's one thing I noticed about your server.xml file: The 4.1 JNDI How-to uses a parameter name of "url" for the URL but the 4.0 JNDI How-to uses a parameter name of "driverName" for the URL. Your server.xml file is using "url" for the parameter name bu

CPU Spike

2002-08-29 Thread Michael Nicholson
So, what kind of CPU usage would one expect when a bean is created, or when a jsp is compiled, and what not? Obviously it depends on the bean, or the jsp, and what not, but when I first load the webapp after restarting tomcat, four things occur; 1-Basic Authentication 2-Creates a bean, initiali

Re: Tomcat Embedded into application - stuck

2002-08-29 Thread Chris Weaver
I literally copied the ROOT subdir out of the Tomcat install. Changed nothing. So it contains index.html, jakarta-banner.gif, WEB-INF/web.xml, etc. Path is D:\Oxyg\Tomcat\Tomcat_4-0-3\webapps\ROOT which is what the trace says: > Creating context '' with docBase 'D:/Oxyg/Tomcat/Tomcat_4-0-3/weba

Re: Tomcat Embedded into application - stuck

2002-08-29 Thread Craig R. McClanahan
Does the webapp you're trying to run work in a standard (non-embedded) Tomcat environment? In particular, you *do* have a welcome file defined, don't you? Craig On Thu, 29 Aug 2002, Chris Weaver wrote: > Date: Thu, 29 Aug 2002 10:15:37 -0500 > From: Chris Weaver <[EMAIL PROTECTED]> > To: [EMAI

Re: OT: Garbage Collection in Java: Am I an idiot?

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Michael Nicholson wrote: > Date: Thu, 29 Aug 2002 09:07:58 -0400 > From: Michael Nicholson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: OT: Garbage Collection in Java: Am I an idiot? > > The a

Re: [Q] WebDAV servlet authentication...

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Per Kreipke wrote: > Date: Thu, 29 Aug 2002 08:58:33 -0400 > From: Per Kreipke <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [Q] WebDAV servlet authentication... > > Does anyone know whether the webdav servlet can u

RE: Servlet Instances

2002-08-29 Thread Rui Fernandes
I don't understand what you say. Would you be able to explain it again in more detail. > your context may also be autoloaded in addition to your definition in > server.xml. This would cause it to load your context again,therefore your > servlet. Disable this bey setting appBase to some other dire

Re: Tomcat4 - Apache2 configuration

2002-08-29 Thread Carrie Salazar
it isn't that complicated of a setup. i wrote a howto for Apache 2.0.39 and Tomcat 4.0.4 for Window$ 2000 here: http://nature.berkeley.edu/~salazar/apache_tomcat.html and yes, Tomcat 4 has some very nice features for Window$. i believe they have done an excellent job catering to Window users (we

RE: Servlet Instances

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, Cox, Charlie wrote: > Date: Thu, 29 Aug 2002 08:47:39 -0400 > From: "Cox, Charlie" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Servlet Instances > > well, a new class instance is created

Re: does authorization occurr for each request?

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, jfc wrote: > ok, > > I use tomcat4+jboss2.4.x, struts1.1 and tiles on jdk1.3.1_01 and suse > linux kernel2.4.13. > > My MVC view has to be able to determine which whether or not a request > belongs to any particular role in order to perform its rendering. > > It seems to me

Tomcat Embedded into application - stuck

2002-08-29 Thread Chris Weaver
I'm am trying to embed Tomcat into a java app and, although it runs and starts up Tomcat something is certainly amiss. I've pretty much copied code right out of James Goodwill's article "Embedding Tomcat Into Java Applications" at OnJava. Can someone spot any errors in the following trace that m

RE: Easy to read HOWTO's or anything similar?

2002-08-29 Thread Paul Brinkley
At 10:48 AM 8/29/2002 -0400, Turner, John wrote: >Perhaps I've missed something in this thread, but if your need is as simple >as a single (or even a couple) JSP pages, why not just copy everything in >server.xml that has to do with "/examples", change that to "/your-app", >restart tomcat, and ca

RE: mod_jk2 - error on tomcat4.0.4 side?

2002-08-29 Thread Turner, John
> -Original Message- > From: Branko Kannenberg [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 29, 2002 11:04 AM > Subject: Re: mod_jk2 - error on tomcat4.0.4 side? > > > While compiling jakarta-tomcat-connectors, I hab another problem: > A class CoyoteServerSocketFactory wouldn't co

RE: Easy to read HOWTO's or anything similar?

2002-08-29 Thread Johan Sunnerstig
Well, we have a server running, but there are a few "issues" there, there's no huge hurry, but it's got to be done decently soon. I actually had it working fine with a slightly working default conf, but as you say, it's more about that warm-fuzzy :) Like I said before, Im not comfortable putting

RE: Tomcat4 - Apache2 configuration

2002-08-29 Thread Olle Sundblad
Hi I am trying to do the same (without success, so far) but I found this url and think it might work (going to try it tonight). http://www.galatea.com/flashguides/apache-tomcat-4-win32.xml Note I am only using the configuration of Apache and Tomcat from there the mod_jk files are from: htt

RE: RE: RE: Problems with class loader

2002-08-29 Thread Juergen . Praska
Hi Charlie, I gave it a try. And guess what: it worked! Now, in this very simple case one can argue that adding the collection classes to the application's lib directory is not a bad thing to do. But what would one do if the scenario wasn't that simple? (Actually, it isn't!) Anyway, I consi

Re: mod_jk2 - error on tomcat4.0.4 side?

2002-08-29 Thread Branko Kannenberg
Hi Thomas ! I'm also working on the problem to integrate Tomcat 4.0.4 into Apache 2.0.40 (under linux). I came across the same problem you seem to have, but I can't say that I have been succesful, I'm stuck at another problem. In my jk2.properties file I had the following line: apr.NativeSo=$

RE: tomcat poll()'ing too much ?

2002-08-29 Thread Matt Hallam
> We've never had a tomcat CPU usage problem, and we analyze it on an > ongoing basis with top, truss, some in-house tools. Not saying you > couldn't have one, but I'd be very curious whether your apps running on > tomcat do anything while "idle". I've tried it plain "out-the-box" with absolute

DBCP Problems

2002-08-29 Thread Barney Hamish
Hi, Just started using DBCP(1.0) to do my DB connection pooling but have two problems: The connection keeps dropping out. I keep recieving SQL exceptions saying the connection is closed, sometimes in the middle of retrieving my query results. eg. java.sql.SQLException: Connection is closed. I de

RE: Easy to read HOWTO's or anything similar?

2002-08-29 Thread Turner, John
Perhaps I've missed something in this thread, but if your need is as simple as a single (or even a couple) JSP pages, why not just copy everything in server.xml that has to do with "/examples", change that to "/your-app", restart tomcat, and call it good? For that matter, toss the JSP into the R

RE: Easy to read HOWTO's or anything similar?

2002-08-29 Thread Johan Sunnerstig
Glad to see Im not the only one who got confused :) In short, the learning experience so far has been rather overwhelming, right now Im trying to grip the Context concept. And yes, I've seen the Terminology section, it was... less than enlightening ;) I suppose all of this would be easier if I wa

Trying to connect to the database using the Servlets

2002-08-29 Thread Nagpal, Vikas
Hi Everybody, We are trying to connect with our 'X' database with the help of servlets. We are using the socket connection to the server and try to match the sequence we paste in our User Interface and correspondingly generate the graph of the matched sequence. But somehow we not able to connect

RE: Easy to read HOWTO's or anything similar?

2002-08-29 Thread Turner, John
Excellent overview. I think there would definitely be merit in a tutorial for Java developers with little or no web application experience. I'm in the process of trying to corral all of the available resources and a rudimentary FAQ into a website, hopefully soon. The same topics come up over a

  1   2   >