Re: Doubt in Single Sign On !!!

2003-01-28 Thread Craig R. McClanahan
On Wed, 29 Jan 2003, shanmugampl wrote: > Date: Wed, 29 Jan 2003 10:53:41 +0530 > From: shanmugampl <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Doubt in Single Sign On !!! > > Will this

Re: Doubt in Single Sign On !!!

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Will Hartung wrote: > Date: Tue, 28 Jan 2003 16:49:09 -0800 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Doubt in Single Sign On !!! > > > From: "Craig R. McClanahan" <[E

Re: Memory requirements

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Cees van de Griend wrote: > > On Tuesday 28 January 2003 21:23, Gulay Top wrote: > > I'm using Linux. As soon as I start tomcat, an application called java > > starts, > > This is correct. > > > and there are 27 - 35 instances of it. > > This could be correct, does not sound

Re: tomcat authtentication

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, mike danese wrote: > Date: Tue, 28 Jan 2003 13:56:31 -0800 > From: mike danese <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: tomcat authtentication > > Trying to get a handle on how tomcat &or tomcat-manager interact

Re: JavaBean problem

2003-01-28 Thread Wilson Snook
>> So, instead of WEB-INF/classes/MyBean, it would be something like WEB-INF/classes/com.mypackage.MyBean << What works for me is: MyBean: (declaration at top of bean class file) package com.mypackage; Directory structure: WEB-INF => classes => com

Possible CLOSE_WAIT bug

2003-01-28 Thread Dan Higgins
Hi, I'd like to verify what I'm seeing is a bug. If I set my maxProcessors sufficiently low (say 5), then run a script from another machine that floods Tomcat with requests for a given JSP, eventually Tomcat stops accepting requests at all. Ok, that's to be expected when every processor thread i

Re: SSL with Tomcat

2003-01-28 Thread Yakov Belov
Oh, thanks, but its all fixed now - I placed the .keystore file in the not default directory - and I only specified the directory and not the file itself in the parameter - keystoreFile ... all works now. Thanks to every body, trying to help ;) - Original Message - From: "Turner, John" <[E

Re: Doubt in Single Sign On !!!

2003-01-28 Thread shanmugampl
Will this be supported in the future releases of Tomcat Craig R. McClanahan wrote: On Tue, 28 Jan 2003, Will Hartung wrote: Date: Tue, 28 Jan 2003 13:32:46 -0800 From: Will Hartung <[EMAIL PROTECTED]> Reply-To: Tomcat Users List <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]>

Re: Doubt in Single Sign On !!!

2003-01-28 Thread shanmugampl
I agree with Will completely . I have found a way to solve this issue and in that process have one more doubt. The invoke method of SingleSignOn is getting called when request for a resource is placed. The details of all the sessions that are currently associated is available inside the method

How do I get the line number in a JSP .....

2003-01-28 Thread Nandyal
Gurus, How do I get the line number in a JSP, when an exception occurs? Currently, the stack trace prints NullPointerException and says Unkown source. Any help would be highly appreciated. Thanks Sesha

Re: JavaBean problem

2003-01-28 Thread Jacob Kjome
Is the bean in an actual defined package or the default package (no package). It *must* be in a package. So, instead of WEB-INF/classes/MyBean, it would be something like WEB-INF/classes/com.mypackage.MyBean Now import the com.mypackage.MyBean bean into your jsp. Things should work better

RE: JK2 & workers2 documentation

2003-01-28 Thread Turner, John
There are others. Search the archives. Robert Sowders has had one up for months. I don't have access to my bookmarks right now, but this one popped up pretty quickly in a search: http://www.geovelocity.com/index_apache-tomcat-arcims.html You can bypass the ArcIMS-specific stuff to get a basic

RE: mod_jk config problems

2003-01-28 Thread Turner, John
It doesn't matter. As long as Apache can find it, it can be named anything you want. The AddModule line matters, though, in Apache 1.3.x. John -Original Message- From: Mark O'Neil [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 9:54 PM To: Tomcat Users List Subject: Re: mod

Re: mod_jk config problems

2003-01-28 Thread Mark O'Neil
Should 'mod_jk-1.3-eapi.so be renamed 'mod_jk.so'? -m On Tuesday, January 28, 2003, at 12:59 PM, vivek karkun wrote: LoadModulejk_module modules/libexec/mod_jk-1.3-eapi.so AddModule mod_jk.c - To unsubscribe, e-mail:

RE: Tomcat 3.3.1

2003-01-28 Thread Larry Isaacs
I am able to run it as a service without problems. Be sure the note found at: isn't what is keeping it from working. For the mysterious shutdowns, you may want to try increasing the log level to see if any clues s

JavaBean problem

2003-01-28 Thread Percival Bragg
I have just created and compiled my first JavaBean into \webapps\ROOT\WEB-INF\classes and am tying to access it from a jsp page in \webapps\ROOT directory. I am getting jsp compile errors because the jsp page cannot find the class defined in the JavaBean. Any help would be appreciated. My version

Why do I need to set classpath for IBM JDK, but not Sun's?

2003-01-28 Thread Brandon Cruz
Does anyone know why I need to set a system classpath when using the IBM JDK, but have no problems if I don't set a classpath when using the Sun JDK's? Does tomcat add jar files from the sun package based on file name? For example, I see that the java/lang package is in rt.jar in sun's package, b

Re: Doubt in Single Sign On !!!

2003-01-28 Thread Will Hartung
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]> > Sent: Tuesday, January 28, 2003 2:01 PM > Subject: Re: Doubt in Single Sign On !!! > True ... there is no such thing as a cross-application session defined in > the servlet spec. > > You're outside the bounds of the servlet spec when you talk ab

Re: servlets

2003-01-28 Thread Will Hartung
> From: "Wendy Smoak" <[EMAIL PROTECTED]> > Sent: Tuesday, January 28, 2003 2:32 PM > Subject: RE: servlets > Craig wrote > > The servlet spec guarantees that you will get a single instance of a > > non-SingleThreadModel servlet PER DEFINITION for that webapp. > > See Section SRV.2.2 of the Serv

RE: Upgrading to new version of Tomcat

2003-01-28 Thread Victor Popiol
Thanks Yoav. My problem is that I want to minimize the downtime in the production system. I can try it in our test server and come up with the fastest way to do it. There are many dependencies to start fresh, including conf files, IIS redirector, etc. Regards Victor -Original Message- Fr

Re: Help! Installing SSL Certificate

2003-01-28 Thread Yakov Belov
Where are you putting the "keystore" file created with a purchased certificate? If not sure it's the place where Tomcat searches for it, use keystoreFile parameter in the SSL Connector area in server.xml. Good Luck, Yakov - Original Message - From: "Matt Fury" <[EMAIL PROTECTED]> To: <[EMA

Re: JK2 & workers2 documentation

2003-01-28 Thread chris schild
Excellent! Thanks Lajos... - Original Message - From: "Lajos" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 6:17 PM Subject: Re: JK2 & workers2 documentation > Chris - > > Since this is a hot topic, I'm adding a Flashguide to > http://ww

Re: JK2 & workers2 documentation

2003-01-28 Thread Lajos
Chris - Since this is a hot topic, I'm adding a Flashguide to http://www.galatea.com/flashguides specifically about jk2. I'll announce as soon as it is up. Regards, Lajos chris schild wrote: Does anyone know of a url for documenation on jk2 & workers2? I was hoping there is more than wha

JK2 & workers2 documentation

2003-01-28 Thread chris schild
Does anyone know of a url for documenation on jk2 & workers2? I was hoping there is more than what is out there than what is on the tomcat site There is plenty on jk & workers but that is not where the development is going Any info is much appreciated!

RE: about singletons (ot)

2003-01-28 Thread Mike Jackson
Me too, we learn by doing... :) That's also the reason that I follow the pattern as it is stated now, rather than thinking I can make it a little different. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Larry Meadors [mailto:[EMAIL PROTECTED]] > Sent: Tuesda

Re: Multiple Virtual Hosts Single Sign On

2003-01-28 Thread Lajos
Hm, you might be right on that - I've never actually done it. If you have a single defined in Tomcat, and enable single-signon, you'll get back a JSESSIONSSOID cookie. I would think that Tomcat could handle that in any context within the , but again, I haven't tested it. Lajos Victor Soares

RE: about singletons (ot)

2003-01-28 Thread Larry Meadors
I would agree. We had a static class and we thought it would work great...it turned out that we ended up rewriting much of it to use the getInstance() type of interface - it is just so much more flexible if you *EVER* need to change stuff. Larry >>> [EMAIL PROTECTED] 01/28/03 16:08 PM >>> The d

Re: Multiple Virtual Hosts Single Sign On

2003-01-28 Thread Victor Soares
Lajos, Yes, the 3 sites are going to be on the same box and apache is sitting in front. I haven't tried this, so correct me if I'm wrong... but from what I understand, even if I JkMount directories within the virtual hosts to the same Tomcat instance, the session will not span all 3 hosts. The s

Re[2]: servlets

2003-01-28 Thread Jacob Kjome
Hello Felipe, Note that the invoker servlet provided in Tomcat as the mapped path /servlet/* will create a separate instance of your servlet to one that you access via a normal servlet mapping such as /myservlet. So, you *can* get two instances of a particular servlet at one time. Disabling the i

form-based login and login form locations

2003-01-28 Thread Madere, Colin
So I have a site that I want the entire thing secured via form-based login. IOW, any content static or not should be secured. I set up the config below as it was the only thing I could make work. However, if I hit the app within the site, it doesn't ask for a login. When I add the auth config st

RE: Multiple Virtual Hosts Single Sign On

2003-01-28 Thread Tolles, James
For a 3rd party solution, see: www.simind.com We use this with tomcat - plus - works very well. (If you contact them please tell 'em who refered you. Thanks) -Original Message- From: Victor Soares [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:50 PM To: [EMAIL PROTECTED] S

Re: Multiple Virtual Hosts Single Sign On

2003-01-28 Thread Lajos
Victor - If you are talking about across different Tomcat instances no, there is not (unless you want to write your own realm). If you have three virtual hosts on the same server, the Tomcat SSO solution will support that. Are you fronting Tomcat with Apache? 'Cause what you could do is have th

Multiple Virtual Hosts Single Sign On

2003-01-28 Thread Victor Soares
Hello, I have dug through the tomcat-user archives and have seen this question come up several times, but there was no concrete solution so I'll bring it up again. For an upcoming project, I am going to have 3 websites. ex: library.ci.tigard.or.us police.ci.tigard.or.us www.ci.tigard.or.us Each

RE: about singletons (ot)

2003-01-28 Thread Mike Jackson
The difference is that if you use a singleton there's one instance. If everything is static then you only have one copy. Usually when you use a singleton it's to control access to some resource, the intent is that you use the singleton and some synchronized calls (note I don't mean synchronized m

Re: problem connecting to a as400

2003-01-28 Thread Richard Dunn
I just load the jt400 on my linux server. I have it running off of Red Hat 7.1, 8.0 and SUSE 8.0. and I use the JDBC, FTP and FTP400 classes (also a few of the access classes that call RPG and CL programs). I did not have to add or change anything on the AS400's. On Tuesday 28 January 2003 14:5

RE: servlets

2003-01-28 Thread Felipe Schnack
Yes, that's cool :-))) Anyway, if you have multiple tomcats one would not see others instances, so no prob at all. I don't think anyone would use SingleThreadModel... it's practically useless On Tue, 2003-01-28 at 20:32, Wendy Smoak wrote: > Craig wrote > > The servlet spec guarantees that y

Problem to compiling with Apache Tomcat 4.0.4

2003-01-28 Thread Ernesto Trespidi
error.zip Description: Zip compressed data -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: servlets

2003-01-28 Thread Wendy Smoak
Craig wrote > The servlet spec guarantees that you will get a single instance of a > non-SingleThreadModel servlet PER DEFINITION for that webapp. > See Section SRV.2.2 of the Servlet 2.3 spec for the formal details. Interesting... I was under the impression that the container was free to create

Re: Memory requirements

2003-01-28 Thread Ben Ricker
On Tue, 2003-01-28 at 16:17, Cees van de Griend wrote: > > and there are 27 - 35 instances of it. > > This could be correct, does not sound unreasable. > > > It takes up close to 1 GB of memory. > > This does sound unreasable. > How did you measure this? Running just the examples, as was state

Re: about singletons (ot)

2003-01-28 Thread Jon Wingfield
Did someone say Booch utility? http://www.javaworld.com/javaworld/jw-04-1999/jw-04-toolbox.html see page 2. Actually, this entire set of articles on threading is excellent. Felipe Schnack wrote: These days I was thinking It's not so uncommon to have uses for singleton classes in our everyda

Re: about singletons (ot)

2003-01-28 Thread Cees van de Griend
On Tuesday 28 January 2003 22:56, Felipe Schnack wrote: > These days I was thinking > It's not so uncommon to have uses for singleton classes in our > everyday lives. Normally we do that implementing a class that have its > constructor as private, so no one can instantiate it, and a > getInstan

RE: problem connecting to a as400

2003-01-28 Thread Hari Venkatesan
You have to have jt400.jar in Linux box. Hari -Original Message- From: x x [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 4:56 PM To: Tomcat Users List; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: problem connecting to a as400 thanks for your help, thanks a lot. I

Re: Doubt in Single Sign On !!!

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Will Hartung wrote: > Date: Tue, 28 Jan 2003 13:32:46 -0800 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Doubt in Single Sign On !!! > > > From: "Craig R. McClanahan" <[E

RE: servlets

2003-01-28 Thread Craig R. McClanahan
On 28 Jan 2003, Felipe Schnack wrote: > Date: 28 Jan 2003 19:26:27 -0200 > From: Felipe Schnack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: servlets > > So if I have just one and in my web.xml I > have guara

RE: servlets

2003-01-28 Thread Wendy Smoak
> Well, the short answer is that I need instance variable values from a > servlet (in this case, data from ServletConfig). I could certainly make > my classes ask for the servlet instance as a method parameter, but this > just looks so ugly to my perfectionist eyes :-) If I've got it right, Servle

about singletons (ot)

2003-01-28 Thread Felipe Schnack
These days I was thinking It's not so uncommon to have uses for singleton classes in our everyday lives. Normally we do that implementing a class that have its constructor as private, so no one can instantiate it, and a getInstance() method or something like it. We wouldn't have the same kind o

Re: problem connecting to a as400

2003-01-28 Thread x x
thanks for your help, thanks a lot. I want to know if that toolbox i have to install in the As/400 or in my linux. cause i want to connect with JDBC from my Tomcat that is in a linux to a database DB2 that is in my AS400 Thanks. Fabian __ Do you

Re: servlets

2003-01-28 Thread Felipe Schnack
Yes... now I see :-)) But there must be a way!!! On Tue, 2003-01-28 at 19:52, Jon Wingfield wrote: > Problem with serialization: > 1) Client asks for singleton from webapp and stores it as an instance > variable. > 2) Client get serialized to some persistance store (db, jms message > queue,

JNI Configuration

2003-01-28 Thread fred
Hello, excuse me for my english... I see the JNI Configuration and in the file "workers2.properties", I see: OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;${TOMCAT_HOME}/lib/tomcat.jar But can you tell where find the "tomcat-jni.jar" and the "tomcat.jar" because they are not on my compu

Re: servlets

2003-01-28 Thread Jon Wingfield
Problem with serialization: 1) Client asks for singleton from webapp and stores it as an instance variable. 2) Client get serialized to some persistance store (db, jms message queue, whatever) 3) webapp goes away (dies, gets shutdown, whatever) 4) webapp restored 5) Client deserialized. Which ve

maximum execution time

2003-01-28 Thread Jochen Schurich
does anyone know a way to set a maximum execution time for a single request? (like in php) i have many virtual hosts on my machine and some java wizards create some kind of infinite loops. did someone solved a similar problem? many thanx in advance! joe -- To unsubscribe, e-mail:

How can a Filter hold open and read multiple messages on the Input Stream?

2003-01-28 Thread Lorenti, John
Hello, I'm trying to achieve sustained communication, via serialized objects, between a Filter and a remote client. The client and the Filter are able to successfully create the Object input and output streams. The client can both read and write using these streams, but the Filter only seems abl

Re: servlets

2003-01-28 Thread Felipe Schnack
> > If I write an servlet and DO NOT implement the SingleThreadModel, I > > have a guarantee that I'll have only one instance of it? If not, here is > > a way to do this? > > No, there's no guarantee. As far as I can tell, there's no guarantee even > with SingleThreadModel. As far as I understa

Re: servlets

2003-01-28 Thread Will Hartung
> From: "Felipe Schnack" <[EMAIL PROTECTED]> > Sent: Tuesday, January 28, 2003 1:05 PM > Subject: servlets > If I write an servlet and DO NOT implement the SingleThreadModel, I > have a guarantee that I'll have only one instance of it? If not, here is > a way to do this? No, there's no guarante

RE: servlets

2003-01-28 Thread Felipe Schnack
Well, the short answer is that I need instance variable values from a servlet (in this case, data from ServletConfig). I could certainly make my classes ask for the servlet instance as a method parameter, but this just looks so ugly to my perfectionist eyes :-) On Tue, 2003-01-28 at 19:27, Wendy

RE: servlets

2003-01-28 Thread Felipe Schnack
This way wouldn't it be more optimized? public class Test extends HttpServlet { private static MySingleton theInstance = new MySingleton(); public static synchronized MySingleton getInstance() { return theInstance; } } Anyway, hwo tomcat creates a new instance of a Servlet? My questio

Re: problem connecting to a as400

2003-01-28 Thread Richard Dunn
I believe it is a free download (check the licensing on IBM's site to make sure), but we didn't have to load anything extra on the AS400 for us to make connections with JDBC and FTP400. I believe if you are trying to connect with JDBC you will have to have license for the DB2 SQL (we have that a

Re: Doubt in Single Sign On !!!

2003-01-28 Thread Will Hartung
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]> > Sent: Tuesday, January 28, 2003 1:04 PM > Subject: Re: Doubt in Single Sign On !!! > The reason for this design is security. > > Consider a portal-type application like My Yahoo, which implements their > version of single sign on (you don't have

RE: servlets

2003-01-28 Thread Wendy Smoak
> yes, I know how to do it (private constructor, etc), but how tomcat > will call an getInstance() method instead of create a new instance of > it? No... you move the sensitive code *out* of the Servlet into a Singleton, and then code in your Servlet interacts with that Singleton. Can you post a

RE: servlets

2003-01-28 Thread Felipe Schnack
So if I have just one and in my web.xml I have guarantee of one instance, don't I? On Tue, 2003-01-28 at 19:22, Craig R. McClanahan wrote: > > > On Tue, 28 Jan 2003, Shapira, Yoav wrote: > > > > > > If I write an servlet and DO NOT implement the SingleThreadModel, I > > >have a guarantee t

RE: servlets

2003-01-28 Thread Shapira, Yoav
Howdy, Tomcat won't touch your singleton at all. All your servlets will call getInstance() on the singleton. The constructor for the singleton is private, and the getInstance() method looks like: private static MySingleton theInstance; public static synchronized MySingleton getInstance() {

RE: servlets

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Shapira, Yoav wrote: > > > If I write an servlet and DO NOT implement the SingleThreadModel, I > >have a guarantee that I'll have only one instance of it? > > No. That's not quite right. The servlet spec guarantees that you will get a single instance of a non-SingleThread

Re: problem connecting to a as400

2003-01-28 Thread x x
I have the 0S/400 V5R1M0, i have only the jt400.jar in commom/lib of my tomcat in the linux, i dont have the toolbox from IBM, i read abou it on the web, and i dont know is free or if i have to buy one. Dont you knoww if there a way to connect to the as/400 without this toolbok. Or i must need have

RE: servlets

2003-01-28 Thread Felipe Schnack
yes, I know how to do it (private constructor, etc), but how tomcat will call an getInstance() method instead of create a new instance of it? On Tue, 2003-01-28 at 19:13, Shapira, Yoav wrote: > Howdy, > > > If I write an servlet and DO NOT implement the SingleThreadModel, I > >have a guarantee

RE: servlets

2003-01-28 Thread Shapira, Yoav
Howdy, > If I write an servlet and DO NOT implement the SingleThreadModel, I >have a guarantee that I'll have only one instance of it? No. >If not, here is >a way to do this? No. If you need only one instance of something, put in in a singleton. Have your servlets use the singleton. A googl

Re:

2003-01-28 Thread Jon Wingfield
Are you using log4j? If you are then chack out the org.apache.log4j.net.SMPTAppender. It sends a mail each time a message of the required severity is logged. http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html example of log4j.properies portion for this appender: lo

servlets

2003-01-28 Thread Felipe Schnack
If I write an servlet and DO NOT implement the SingleThreadModel, I have a guarantee that I'll have only one instance of it? If not, here is a way to do this? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Re

Re: Doubt in Single Sign On !!!

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, shanmugampl wrote: > Date: Tue, 28 Jan 2003 10:46:13 +0530 > From: shanmugampl <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Doubt in Single Sign On !!! > > Yeah, I a

Re: problem connecting to a as400

2003-01-28 Thread Richard Dunn
In what way did you want to connect? There are several different protocols in the jt400.jar (JDBC, FTP, etc.). I assume you meant /common/lib not /commom/lib. What version of OS/400 are you running? The version of OS/400 needs to match up (within limits) to the version of jt400.jar. I use versio

Re: Tomcat 4.1.18 Anyone know how to define global JNDI resource

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Robin Wierenga wrote: > Date: Tue, 28 Jan 2003 13:09:54 +0100 > From: Robin Wierenga <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Tomcat 4.1.18 Anyone know how to define global JNDI resource > > Hi ! > > I want to d

Re: Consequence of not declaring a resource-ref?

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Sean Dockery wrote: > Date: Tue, 28 Jan 2003 11:35:49 -0700 > From: Sean Dockery <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Consequence of not declaring a resource-ref? > > I deployed a JDBC datasource in my web-a

Re: JSESSIONID cookie with Tomcat 4.0.6

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Antonio M Lopez Perez wrote: > Date: Tue, 28 Jan 2003 16:34:55 +0100 > From: Antonio M Lopez Perez <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: JSESSIONID cookie with Tomcat 4.0.6 > > Hi > > We have a number of web

[OT] jspMyAdmin

2003-01-28 Thread Henning Heil
Good evening! (or good-"whatever daytime you may have" :-)) I just found an older version (0.6) of this tiny little app, google can't find anything newer about it - does anyone more? Is the project stopped or renamed? Continued by sb else? I recieve an 500 when I start it, a taglib specified i

Redirecting Request To Login Form (J2EE form-based auth)

2003-01-28 Thread Steven J. Owens
Hi folks, This just occurred to me... there's a gotcha with J2EE form-based authentication ("broken as designed"), that it uses client-side redirect to send the user to the login form, but if the user later uses the Back key to get to the login form, or bookmarks the login page, they get an e

RE: Memory requirements

2003-01-28 Thread Shapira, Yoav
Howdy, >Can I make it so that only one thread runs at a time. No. >When I check the >system monitor, I see this >java(30) 834000k >is this the total memory I'm using? No. Same problem as top. Search the archives for more details on this. Yoav Shapira Millennium ChemInformatics -- To unsu

Re: (OT) DB conn pool -- roll your own?

2003-01-28 Thread Hannes Schmidt
http://jakarta.apache.org/commons/dbcp.html Erik Price wrote: > I have a relatively lightweight webapp and I'm modifying it to use a > database connection pool rather than initiating database connections > everywhere in my classes. Is there some [Jakarta-sanctioned] class I > should use for this,

RE: Memory requirements

2003-01-28 Thread Gulay Top
Thank you Yoav, Can I make it so that only one thread runs at a time. When I check the system monitor, I see this java(30) 834000k is this the total memory I'm using? "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:Howdy, We should have an acronym like STFA (= Search ... Archives) along the lines

problem connecting to a as400

2003-01-28 Thread x x
What did i need to make a conection to a AS400, I have jt400.jar in my $CATALINA_HOME=/commom/lib, i want to know if a only need this driver. Or i need something else like toolbox for IBM. I have the tomcat-4.1.18 running in Mandrake 9.1 Did I have to make a web.xml in my WEB-INF to link to a part

(OT) DB conn pool -- roll your own?

2003-01-28 Thread Erik Price
I have a relatively lightweight webapp and I'm modifying it to use a database connection pool rather than initiating database connections everywhere in my classes. Is there some [Jakarta-sanctioned] class I should use for this, or should I just go about rolling my own? (In my case, "rolling m

RE: Memory requirements

2003-01-28 Thread Shapira, Yoav
Howdy, We should have an acronym like STFA (= Search ... Archives) along the lines of RTFM. On linux, the top command displays every java thread as a separate line item. There are not 27-35 instances of java, only one instance, one JVM, with 27-35 threads. All these threads are sharing one heap,

Re: Memory requirements

2003-01-28 Thread Gulay Top
I'm using Linux. As soon as I start tomcat, an application called java starts, and there are 27 - 35 instances of it. It takes up close to 1 GB of memory. When I shutdown Tomcat, it goes away. Please help. Thank you in advance. Lajos <[EMAIL PROTECTED]> wrote:Gulay - It entirely depends o

Re: Memory requirements

2003-01-28 Thread Lajos
Hm, that doesn't make sense. You are sure that it the memory is taken by the JVM process and not something else? Another thing you could do is limit the heap size with -Xmx, but I really don't think you need that. Double check your process memory to verify that it really is Tomcat. Lajos Gula

Re: Memory requirements

2003-01-28 Thread Gulay Top
Thank you Lajos, I tought that might be the problem. So, I reinstalled tomcat, and it is already using between 1 to 2 GB of memory without any java or jsp files. I only have the default examples directory. Could I be doing something wrong when I install it? Can it be a configuration problem? Gu

RE: RE: mod_jk config problems

2003-01-28 Thread vivek karkun
thanks, the localhost entry in the worker.properties file solved it. thanks --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > JkMount typically goes in an Apache VirtualHost > container. Does your global > Apache ServerName match www.mytest.com? > > Can that machine (Apache, etc.) resolve > ww

RE: mod_jk & apache's DirectoryIndex directive

2003-01-28 Thread Turner, John
Easy. You asked for suggestions, this is a FAQ, I replied with the same list of answers that get posted everytime this question is answered. If you don't like the answers, change the code, or come up with your own solution. No need to get snippy. John > -Original Message- > From: Sven

Re: Memory requirements

2003-01-28 Thread Lajos
Gulay - It entirely depends on what your webapps use. Tomcat by itself can run fairly lean - say 20-60 MB of memory. But if your webapp is a hog, like say Cocoon ;), you'll need a bunch of memory. Regards, Lajos Gulay Top wrote: I like to know how much memory does Tomcat 4.1 needs. When I

Tomcat 4.0.5 Webapploader - Null pointer exception.

2003-01-28 Thread Ashwin Desai
All, I am getting the following error within 10 minutes of starting Tomcat 4.0.5. 2003-01-28 12:15:51 WebappLoader[] Error tracking modifications java.lang.NullPointerException at java.util.Arrays.sort(java.lang.Object[]) (Arrays.java:1013) (pc 1) at org.apache.naming.resources.F

RE: Can the JNDI Connection Pool re-connect after failure?

2003-01-28 Thread Ryan Cornia
It must be a MySQL driver parameter, because it did not work for my oracle driver. Ryan >>> [EMAIL PROTECTED] 01/28/03 11:19AM >>> With the MySQL driver, you can configure the driver to "AutoReconnect" a la... ... AutoReconnect true ... I'm not sure whether the "parame

Re: mod_jk & apache's DirectoryIndex directive

2003-01-28 Thread Sven Köhler
1. use mod_rewrite, and rewrite / to /index.jsp to specific. as you can see, i wanted index.html to be preferred. 2. use index.html with a META REFRESH of zero to index.jsp ??? do you really believe that i want to use a META REFRESH? 3. send everything to Tomcat, ("/*") and use in web.xml

tomcat-user@jakarta.apache.org

2003-01-28 Thread Pablo L. Crivaro
hi i want access the error list written by the tag usign java, not the tag (i wanna submit exceptions by mail automatically). how is that? -- To unsubscribe, e-mail: For additional commands, e-mail:

Memory requirements

2003-01-28 Thread Gulay Top
I like to know how much memory does Tomcat 4.1 needs. When I use it it is talking up between 1 to 2 GB of memory. What can I do to reduce this. What are the memory requirements to install Tomcat. Thank you for your time. Gulay - Do you Yahoo!? Yahoo! Mail

Help! Installing SSL Certificate

2003-01-28 Thread Matt Fury
Hi All! I've recently purchased a certificate and am having problems getting the server to recognize it. I've created the keystore using the HOW-TO docs but when I got the the HTTTS:// Tomcat does not connect. I can get Tomcat to connect using a self-generated certificate but by creating the keyst

Solved: mod_jk & redirectmatch

2003-01-28 Thread Sven Köhler
changed module order, so that mod_jk appears before mod_alias Sven Köhler wrote: Hi, using JkAutoAlias in http.conf and RedirectMathc together failes. Altough http://httpd.apache.org/docs/mod/mod_alias.html#redirect states, that RedirectMatch has precedence over Alias-command, it doesn't seem t

Re[4]: [BULK] - Tomcat 4x Classloading

2003-01-28 Thread Jacob Kjome
Hello Will, Thanks for the clarification. So, if one starts Tomcat as an NT servive which doesn't run through a script, the system classpath will be fully seen by Tomcat? Ok, well, that still doesn't cause problems for me because I put next to nothing on the system classpath. I always make each

Re: mod_jk & apache's DirectoryIndex directive

2003-01-28 Thread Sven Köhler
any ideas? BTW: i'm using mod_jk v1.22 should i use mod_jk2.0.2? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: mod_jk & apache's DirectoryIndex directive

2003-01-28 Thread Turner, John
1. use mod_rewrite, and rewrite / to /index.jsp 2. use index.html with a META REFRESH of zero to index.jsp 3. send everything to Tomcat, ("/*") and use in web.xml 4. probably others, like writing a Filter In short, putting index.jsp on the DirectoryIndex line has no effect. You might be able

mod_jk & apache's DirectoryIndex directive

2003-01-28 Thread Sven Köhler
hi, i wanted to use something like DirectoryIndex index.html index.htm index.jsp but that didn't work. i also used JkAutoAlias I'm now using JkOptions +ForwardDirectories but i'm not that glad it. any ideas? Thx Sven -- To unsubscribe, e-mail: For additi

RE: RE: mod_jk config problems

2003-01-28 Thread Turner, John
JkMount typically goes in an Apache VirtualHost container. Does your global Apache ServerName match www.mytest.com? Can that machine (Apache, etc.) resolve www.mytest.com? If Apache and Tomcat are on the same machine, you can change "host" in workers.properties to "localhost". John > -Or

Re: Re[2]: [BULK] - Tomcat 4x Classloading

2003-01-28 Thread Will Hartung
> This shouldn't be true. Apps cannot see the system classpath at all. > Only Tomcat sees that at startup. Webapps will only see classes in > WEB-INF/lib, WEB-INF/classes, common/endorsed, common/lib, > common/classes, shared/lib, and shared/classes. Tomcat, itself, also > sees stuff in server/l

Re: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Will Hartung
> From: "Christian Cryder" <[EMAIL PROTECTED]> > Sent: Tuesday, January 28, 2003 9:26 AM > Subject: RE: Tomcat 4.1 ignoring -Xmx params > Ok, so this _is_ what I'm basing it on (looking at MS's Task manager). > BUT...it still doesn't seem reasonable that the actual memory used is 150 MB > > than

  1   2   3   >