RE: web.xml question

2003-02-03 Thread Tam, Michael
It is since 4.1.12. Just read the release-note for changes under [4.1.12]. Regards, Michael -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 2:54 PM To: 'Tomcat Users List' Subject: RE: web.xml question Is there some documentation rega

JNDI context in ServletContextListener

2003-02-03 Thread Jason Axtell
I have a web app that I've been deploying on both Tomcat and Resin without any problems for the past several weeks. Originally, I was performing a JNDI lookup for a DataSource whenever I needed a database connection (ie. whenever an HTTP request came in). To improve performance, I decided to move t

Re: TomCat auto-deployment

2003-02-03 Thread Craig R. McClanahan
On Tue, 4 Feb 2003, Ben Walding wrote: > Date: Tue, 04 Feb 2003 15:12:33 +1000 > From: Ben Walding <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: TomCat auto-deployment > > Is the following behaviour intentional (as it

RE: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80

2003-02-03 Thread Tref Gare
NameVirtualHost lets you use a single ip address as multiple hosts See these apache docs for details http://httpd.apache.org/docs/vhosts/ cheers Tref -- Tref Gare Development Consultant Areeba Level 19/114 William St, Melbourne VIC 3000 email:

RE: jsp:useBean error

2003-02-03 Thread Steve Burrus
Hello again, Filip, I tried to "package up" the 2 required files, login.jsp and LDAPAuth.java into a newly created "org.burrus.test" folder, and then compiled them into that same folder/directory to create 2 .class files, but then when I tried to run the whole program in my JBuilder 8, I STILL

Can't get Apache 2.0.44 / tomcat 4.1.18 / mod_jk-2.0.43.dll to work together properly

2003-02-03 Thread Dave Taylor
I can't seem to get mod_jk-2.0.43 working perfectly with my Tomcat-Apache environment. All my Tomcat servlets and JSPs work perfectly when referenced locally as http://localhost:8080/examples or http://localhost/examples. HOWEVER, the servlets and JSP's fail to work when addressed with anything

Re: Memory configuration for Tomcat

2003-02-03 Thread Rommel Sharma
Hi! I also was looking for all the possible material to tweak the performance of Tomcat in terms of Memory Mgmt. Listed down the following after going through various sites on the net. Any inputs/suggestions/corrections are welcome... 1. Are you using Tomcat 4.x for better peformance? 2. Are

TomCat auto-deployment

2003-02-03 Thread Ben Walding
Is the following behaviour intentional (as it seems brain-dead to me) Create a warp-1.0.war - Normal war file warp-1.0.xml - Normal xml file, but set path to /warp TomCat merrily deploys /warp (great!) AND /warp-1.0 (not so great!!) Is this intentional or just an oversight? Cheers, Ben

Re: web.xml question

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Erik Price wrote: > Date: Mon, 03 Feb 2003 18:00:35 -0500 > From: Erik Price <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: web.xml question > > > > Pooleery, Manoj wrote: > > Is there some docu

Re: web.xml question

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Pooleery, Manoj wrote: > Date: Mon, 3 Feb 2003 17:22:16 -0500 > From: "Pooleery, Manoj" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: web.xml question > > Is it necessary that for each of the el

RE: error page for error code 500?

2003-02-03 Thread Craig R. McClanahan
On Tue, 4 Feb 2003, Chong, Kwong wrote: > Date: Tue, 4 Feb 2003 09:04:42 +1100 > From: "Chong, Kwong" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: error page for error code 500? > > > Doesn't error 500 means th

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Erik Price wrote: > Date: Mon, 03 Feb 2003 17:16:54 -0500 > From: Erik Price <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: more about custam tag life cycle > > > > Joe Tomcat wrote: > > argumen

Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80

2003-02-03 Thread Oscar Carrillo
I'm not very familiar with Apache configuration, but shouldn't your "*" be replaced with the ServerName. I'm not sure what "NameVirtualHost" should be set at. I have mine set to the servername of the only servername I have. Oscar On Mon, 3 Feb 2003, chris schild wrote: > Sorry, here is the er

Throwing jar file through servlet..CODEBASE problem

2003-02-03 Thread paridhi bansal
Hi!! I have a servlet throwing a jar file with a main applet..I have my directory test within webapps directory..I have kept my servlet in /test/WEB-INF/ classes/ directory.. Where should i keep my applet and jar file so that they can be accessed ..I am using tag for throwing jar an

Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80

2003-02-03 Thread chris schild
Sorry, here is the error from apache.exe -t VirtualHost www.zcompany.com:80 overlaps with VirtualHost www.abc.com:80, the first has precedence, perhaps you need a NameVirtualHost directive - Original Message - From: "Oscar Carrillo" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PRO

RE: [BULK] - Re: what is catalina?..

2003-02-03 Thread Turner, John
Thanks for the info! John -Original Message- From: Justyna Horwat [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 9:29 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: [BULK] - Re: what is catalina?.. I talked to the original Tomcat author, James Duncan Davidson

RE: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80

2003-02-03 Thread Galbayar Dorjgotov
ServerName cde.com ServerAlias www.cde.com DocumentRoot /apache/Tomcat4.1/CDE ErrorLog logs/cde.com-error_log CustomLog logs/cde.com-access_log common Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Direct

Re: java processes after tomcat exits

2003-02-03 Thread Oscar Carrillo
Do you use any connectors? Does it have to timeout on anything, like a database connection? It's common for it take 3 to 10 seconds it seems for normal shutdown. Are you on Linux? Do you have LD_KERNEL_ASSUME=2.2.5 set? Oscar On Tue, 4 Feb 2003, [UTF-8] Sven Köhler wrote: > hi, > > if i stop

Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80

2003-02-03 Thread Oscar Carrillo
What error? Oscar On Mon, 3 Feb 2003, tomcat guy wrote: > Has anyone come across this warning? Any guesses as to what is wrong? > > Here is the httpd.conf definition: > > NameVirtualHost * > > > ServerName cde.com > ServerAlias www.cde.com > DocumentRoot /apache/Tomcat4.1/CDE >

Re: [BULK] - Re: what is catalina?..

2003-02-03 Thread Justyna Horwat
I talked to the original Tomcat author, James Duncan Davidson, about the name choice. He gave me a surprising answer. Here's a bit of history... Tomcat was born in response to the need for an independant servlet specification implementation. James wrote it hoping that it would eventually be ope

VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80

2003-02-03 Thread tomcat guy
Has anyone come across this warning? Any guesses as to what is wrong? Here is the httpd.conf definition: NameVirtualHost * ServerName cde.com ServerAlias www.cde.com DocumentRoot /apache/Tomcat4.1/CDE JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 ErrorLog logs/cde.com

java processes after tomcat exits

2003-02-03 Thread Sven Köhler
hi, if i stop my tomcat 4.1.18 with "catalina.sh stop" and type ps aux, i still see many java-processes. tomcat itself doesn't seem to run anymore, but there are still some processes. i don't run tomcat as root, but as wwwrun. i hope that doesn't matter much. i even hope, that it's no jvm-iss

Re: WAR format question

2003-02-03 Thread Jacob Kjome
Put stuff that isn't supposed to be accessed via the web under WEB-INF. You can create whatever directory structures you want within that. In order to obtain access to a file under WEB-INF in a completely portable way, use something like... getServletContext().getResourceAsStream("/WEB-INF/my

RE: tomcat 4.1.18: disable default directory listing

2003-02-03 Thread Pooleery, Manoj
Yes, you can prevent the directory listings. The settings for this is in the web.xml in the conf directory of tomcat. The settings are for the default servlet (The first entry in the web.xml). There is a property called 'listings', which you can set to false. The default value is true. You can

Re: tomcat 4.1.18: disable default directory listing

2003-02-03 Thread David Boyer
If you want to disable this globally, look in $tomcat_home/conf/web.xml. I believe this can also be done on a per-context basis in the web.xml file of each application context. - Original Message - From: "Mona Wong-Barnum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]

tomcat 4.1.18: disable default directory listing

2003-02-03 Thread Mona Wong-Barnum
Hi: I'm sure this has been asked many times before but I've searched all over the mail archives as well as google and did not find the answer I need... How do I disable directory listing? I'm using tomcat 4.1.18 and I do not want to count on index.html or index.jsp. Is there a way to do

RE: Tomcat startup question

2003-02-03 Thread Haytham Samad
Is it pickign up the same port to start up the other instances? 8080? or another port? It should give an error if it is configured to only pick up port 8080? -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:36 PM To: Tomcat Use

Re: web.xml question

2003-02-03 Thread Erik Price
Pooleery, Manoj wrote: Is there some documentation regarding this? I remember this used to work earlier. is this the case only with tomcat or with all app servers? I tried out different options like putting /servlets or /servlet before the servlet class, but the only time it worked was when

RE: web.xml question

2003-02-03 Thread Micael
Read recent posts on this. At 05:49 PM 2/3/03 -0500, you wrote: > -Original Message- > From: Haytham Samad [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 5:47 PM > To: Tomcat Users List > Subject: RE: web.xml question > > > Hi, > > I think you need to change your url to the

RE: web.xml question

2003-02-03 Thread Tim Moore
> -Original Message- > From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 5:54 PM > To: 'Tomcat Users List' > Subject: RE: web.xml question > > > Is there some documentation regarding this? The Tomcat 4.1.12 release notes. > I remember this > used to w

Re: web.xml question

2003-02-03 Thread Erik Price
This does not apply (by default) in Tomcat 4.1 or later. Haytham Samad wrote: Hi, I think you need to change your url to the following: http://localhost:8080/test/servlets/SessioinTest or change servlets to servlet, not sure which at this point. This is basically how you call a servlet tha

RE: web.xml question

2003-02-03 Thread Haytham Samad
Tim, Thanks for the clarification there. I have not used this in a while since I typically map my servlets to a url. Haytham -Original Message- From: Haytham Samad [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 4:47 PM To: Tomcat Users List Subject: RE: web.xml question Hi

RE: web.xml question

2003-02-03 Thread Pooleery, Manoj
Sorry that I mistyped the URL. It is not because of a typo. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 5:36 PM To: [EMAIL PROTECTED] Subject: RE: web.xml question A typo? http://localhost:8080/test/SessionTest instead of http://

RE: web.xml question

2003-02-03 Thread Larry Meadors
A typo? http://localhost:8080/test/SessionTest instead of http://localhost:8080/test/SessioinTest Larry >>> [EMAIL PROTECTED] 02/03/03 15:32 PM >>> Maybe I am doing this incorrectly - but I have a servlet class in my WEB-INF/classes directory(SessionTestServlet.class) and in my web.xml, I hav

RE: web.xml question

2003-02-03 Thread Pooleery, Manoj
Is there some documentation regarding this? I remember this used to work earlier. is this the case only with tomcat or with all app servers? I tried out different options like putting /servlets or /servlet before the servlet class, but the only time it worked was when I specified the servlet c

RE: web.xml question

2003-02-03 Thread Tim Moore
> -Original Message- > From: Haytham Samad [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 5:47 PM > To: Tomcat Users List > Subject: RE: web.xml question > > > Hi, > > I think you need to change your url to the following: > > http://localhost:8080/test/servlets/SessioinTe

RE: web.xml question

2003-02-03 Thread Haytham Samad
Hi, I think you need to change your url to the following: http://localhost:8080/test/servlets/SessioinTest or change servlets to servlet, not sure which at this point. This is basically how you call a servlet that is not mapped to a specific url pattern in your web.xml config file. I am assumi

Re: Object pooling (was: more about custam tag life cycle)

2003-02-03 Thread Erik Price
Will Hartung wrote: From: "Erik Price" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 2:16 PM Subject: Re: more about custam tag life cycle Are you saying that in general, object pooling is deprecated? In other words, it's always a bad idea, with the exception of DataSource type poo

Re: Object pooling (was: more about custam tag life cycle)

2003-02-03 Thread Will Hartung
> From: "Erik Price" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 2:16 PM > Subject: Re: more about custam tag life cycle > Are you saying that in general, object pooling is deprecated? In other > words, it's always a bad idea, with the exception of DataSource type pools? As a design i

RE: tomcat /apache2 / jk2 rewrites https:// requests as http://

2003-02-03 Thread Aaron Elkiss
On Mon, 2003-02-03 at 15:38, Ignacio J. Ortega wrote: > Our fault, the docs are at least brief in this aspect and a little > outdated.. > > You can use 2 ways to acomplish wha you want: > > 1) add the vhost to the uri element > > [uri:yourhost.com/tomcat/*] > info=Tomcat > > 2) adding a direc

Re: web.xml question

2003-02-03 Thread Erik Price
If you don't have a with a then typing something into the browser will have no effect. Erik Pooleery, Manoj wrote: Maybe I am doing this incorrectly - but I have a servlet class in my WEB-INF/classes directory(SessionTestServlet.class) and in my web.xml, I have an entry like this Sess

Re: web.xml question

2003-02-03 Thread Jeanfrancois Arcand
Is your Servlet have a package name? If no, it should. example: WEB-INF/classes/my/package/SessionTestServlet and then try something like that SessionTest my.package.SessionTestServlet -- Jeanfrancois Pooleery, Manoj wrote: Maybe I am doing this incorrectly - but I have a servlet

RE: web.xml question

2003-02-03 Thread Pooleery, Manoj
Maybe I am doing this incorrectly - but I have a servlet class in my WEB-INF/classes directory(SessionTestServlet.class) and in my web.xml, I have an entry like this SessionTest SessionTestServlet When I type http://localhost:8080/test/SessioinTest, it gives me an error saying reques

Re: web.xml question

2003-02-03 Thread Paul Hsu
Not really, if you have a servlet is used for startup a background process, then you do not need a mapping section. - Original Message - From: "Pooleery, Manoj" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 2:22 PM Subject: web.xml questi

RE: web.xml question

2003-02-03 Thread Shapira, Yoav
Hi, No. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]] >Sent: Monday, February 03, 2003 5:22 PM >To: 'Tomcat Users List' >Subject: web.xml question > >Is it necessary that for each of the elements in the web.xml, a >correspo

web.xml question

2003-02-03 Thread Pooleery, Manoj
Is it necessary that for each of the elements in the web.xml, a corresponding element should be there? (For a context other than root). Thanks -Manoj.

Re: more about custam tag life cycle

2003-02-03 Thread Erik Price
Joe Tomcat wrote: arguments. Object pooling is deprecated, except for expensive objects like db connections. Are you saying that in general, object pooling is deprecated? In other words, it's always a bad idea, with the exception of DataSource type pools? Erik --

RE: error page for error code 500?

2003-02-03 Thread Chong, Kwong
Doesn't error 500 means the server (tomcat) isn't responding? in which case, if there's a problem with tomcat, it can't then process the request to tell you there's a problem ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 February 2003 5:46 To:

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Sat, 1 Feb 2003, Joe Tomcat wrote: > Date: 01 Feb 2003 18:38:50 -0800 > From: Joe Tomcat <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: more about custam tag life cycle > > On Mon, 2003-02-03 at 11:00, Will Hart

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Felipe Schnack wrote: > Date: 03 Feb 2003 18:58:17 -0200 > From: Felipe Schnack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: more about custam tag life cycle > > Wow, how tomcat creates a ke

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Felipe Schnack wrote: > Hm... so this is standard behavior? release() is called after > doEndTag() in all containers that use pooling? The release() method is called only after the last time that a tag has been used, before it gets returned to the pool (in a pooling containe

Tomcat startup question

2003-02-03 Thread Kenny G. Dubuisson, Jr.
I'm running Tomcat 4.0.5 on RedHat 7.3. I'd like to know if it is normal that you can start Tomcat multiple times in a row via the $CATALINA_HOME/bin/startup.sh script? I can run the script and then if I run it again (without shutting down Tomcat) it executes again. I remember on an older versio

WAR format question

2003-02-03 Thread Jim Carlson
Hello, I have a question about the WAR directory structure. Namely, where is the appropriate place to put configuration files, log files, and other files that need to be read/written-to by my application? Clearly putting them in the webroot isn't right. Can my application access arbitrary

RE: jsp:useBean error

2003-02-03 Thread mech
SCNR (just for my humor): http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html org.burrus.[name of file] means that you have a directory structure like: org +-burrus in that subdirectory you have your class files [name of file] So in case you have a class named "MyFirstCupOfJa

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 3:56 PM > To: Tomcat Users List > Subject: RE: more about custam tag life cycle > > > > > Yes, but it can be done... to me seems simpler to change > > > the spec a little than add e

RE: jsp:useBean error

2003-02-03 Thread Filip Hanik
okey dokey, here we go http://java.sun.com/docs/books/tutorial/java/interpack/packages.html example: (look at the package statement) //--source of java file--- package com.filip.test; public class Data implements java.io.Serializable { private String data; public Data(String data

Re: more about custam tag life cycle

2003-02-03 Thread Joe Tomcat
On Mon, 2003-02-03 at 11:00, Will Hartung wrote: > And like I said earlier, it would be nice if there were a pool interface > added to the lifecycle to clean up the tag processing to make optional > properties more portable and easier to write for. It would be even nicer if the pool were dropped e

RE: jsp:useBean error

2003-02-03 Thread Steve Burrus
Hi Filip, I just now read yer little email msg. to me, and I understand that there should be little or even nothing that I need to do "special" to get the jsp/servlet to work in JBuilder!! However, I have no experience at all in "packaging up" a .java file! Would u please "humor me" and explain

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
Wow, how tomcat creates a key to store a tag instance in its pool? (I'm actually assuming that Tomcat uses a keyed object pool from commons-pool, I don't know if it does) On Mon, 2003-02-03 at 18:51, Craig R. McClanahan wrote: > > > On Mon, 3 Feb 2003, Tim Moore wrote: > > > Date: Mon, 3 Fe

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
> > Yes, but it can be done... to me seems simpler to change > > the spec a little than add even more methods (this tends to > > create even more confusion IMHO) > But, to reiterate, there isn't really any kind of useful "cleaning" you > can do in doFinally that doesn't break the spec in other

RE: Single-Sign-On (SSO) with Tomcats in 2 different servers

2003-02-03 Thread Filip Hanik
Tomcat 5 will in a very near future have a cluster module that ships with it as well. Filip -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 12:07 PM To: Tomcat Users List Subject: Re: Single-Sign-On (SSO) with Tomcats in 2 different servers

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Tim Moore wrote: > Date: Mon, 3 Feb 2003 14:51:21 -0500 > From: Tim Moore <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: more about custam tag life cycle > > > Tag reuse is only allowed when the

Memory configuration for Tomcat

2003-02-03 Thread Haytham Samad
Hi All, I wanted to tweak the way tomcat (well, JVM in which tomcat runs) uses memory. I read somewhere in previous messages on the mail-archive that the following entry for CATALINA_OPTS=-server -Xss128k -Xms256m -Xmx256 basically optimizes the heap size and thread stack size. I am not sure why

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 3:15 PM > To: Tomcat Users List > Subject: RE: more about custam tag life cycle > > > > > > I think there might be some benefit in clarity to the tag > > > developer. > > > > The cur

RE: tomcat /apache2 / jk2 rewrites https:// requests as http://

2003-02-03 Thread Ignacio J. Ortega
Aaron, > [uri:/tomcat/*] > info=Tomcat > I can't figure out how to get this to apply only to the SSL > virtual host > in apache, but that's not a big deal - I can just deny access to that > location from the non-SSL virtual host and allow access from the SSL > host, or set up some kind of rule s

Struts1.1-beta3 conflict with Tomcat4.1.18

2003-02-03 Thread Holden, Mark
[EMAIL PROTECTED] I am running into an unusual problem trying to get struts working with Tomcat4.1.18. We have a requirement to compile all of our classes for many applications on the system classpath. This is a bit different from the standard J2EE specification of having applications compile

Re: Invalid JSP Error When Trying to View Source

2003-02-03 Thread Justin Ruthenbeck
John -- I'm not entirely sure what you're doing, but I'm guessing source.jsp is supposed to return plain text of the jsp specified as the argument. Assuming you can correctly access: http://localhost:8080/examples/jsp/source.jsp without problems, then your setup is ok. As for your source vi

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
> > But each invocation shouldn't get a different pagecontext? > > PageContext isn't > > something related to request's URL? I guess pagecontext's > > functionality isn't very clear to me... > We're talking about reuse within a single page. Oh, of course, sorry :-) > > > I think there mig

Re: Single-Sign-On (SSO) with Tomcats in 2 different servers

2003-02-03 Thread Ben Ricker
What you want it session replication. You can search the archives for answers. Also, go to: http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html?page=1 for a good overview. Ben Ricker On Mon, 2003-02-03 at 13:17, Víctor Ferrero del Valle wrote: > Hi, > > I have 2 servers, both with Tomc

Re: more about custam tag life cycle

2003-02-03 Thread Will Hartung
> From: "Felipe Schnack" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 11:11 AM > Subject: Re: more about custam tag life cycle > I'm curious, how you get a PageContext when the container doesn't call > setPageContext? Which container have this behavior? > I don't see a reason why we s

classloader issues using ../common/lib vs. ../shared/lib

2003-02-03 Thread Mark
Are there any potential classloader problems with putting .jar files that are shared across webapps (ie. junit, cactus, etc) in ../common/lib vs. ../shared/lib? We've been tossing .jars into ../common/lib, but after reading the Tomcat classloader how-to it seems that's discouraged, ie. should b

Re: tomcat /apache2 / jk2 rewrites https:// requests as http://

2003-02-03 Thread Oscar Carrillo
I just had this same problem. Although I'm using mod_jk, but it should be same. You can create a virtual host in http.conf for port 80. You probably have a file called ssl.conf also for apache. It has a virtual host built in. You need to look at your tomcat/conf/auto/mod_jk.conf and take the ap

Passing parameters to DB connection through web.xml/server.xml

2003-02-03 Thread Andy Meadows
I am using Oracle and I want to take advantage of the statement caching provided by the JDBC driver as well as the conneciton pooling provided by Tomcat through org.apache.commons.dbcp.BasicDataSourceFactory. I need to set/get the statement cache size (typically with calls to setStmtCacheSize and

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:46 PM > To: Tomcat Users List > Subject: RE: more about custam tag life cycle > > > > > I'm curious, how you get a PageContext when the container > > > doesn't call setPageContext

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> Tag reuse is only allowed when the set of attributes that are > used, and their values, are identical. For example, the > following two tags will > *always* use different instances: > > > > > because the attribute value is different. My understanding was that the same instance *could*

Starting Tomcat as a service on 2000/NT

2003-02-03 Thread Pooleery, Manoj
Is there any performance benefits if Tomcat is configures as a service on 2000/NT? Thanks -Manoj.

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
> > I'm curious, how you get a PageContext when the container > > doesn't call setPageContext? Which container have this behavior? > What he meant is that it may not call setPageContext *on each > invocation*. It will always be called at least once before doStartTag. But each invocation shoul

Re: include for server.xml

2003-02-03 Thread Ward Vandewege
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Feb 02, 2003 at 07:55:54PM -0500, Jeanfrancois Arcand wrote: > Try this: > > http://your_configuration.xml";> > > ]> Excellent, that works! > and then reference it using & Yep, I'd figured that out (helpful error message :) Thanks Jeanfr

Using Jigsaw with Tomcat

2003-02-03 Thread Durgadatt R. Kamath
hi all, I have setup tomcat 4.1.18 with Jigsaw 2.2.2 and java 1.4.0_03, for use with JSPs on red hat linux 8... Here is a simple jsp page with a simple jsp:include...All Iam attempting is to add a footer to the JSP page... ... .. Iam getting the following error when I run this

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Will Hartung wrote: > Date: Mon, 3 Feb 2003 11:00:46 -0800 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: more about custam tag life cycle > > > From: "Felipe Schnack" <[EMA

RE: Custom tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Will Hartung [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 1:38 PM > To: Tomcat Users List > Subject: Re: Custom tag life cycle > > > > From: "Tim Moore" <[EMAIL PROTECTED]> > > Sent: Monday, February 03, 2003 9:30 AM > > Subject: RE: Custom ta

Re: URGENT: many apache processes

2003-02-03 Thread Sven Köhler
just for others: i had to set the number of maxProcessors in AJP13 connector to a value greater then MaxProcesses value in apache's http.conf. If you have a number of apache servers using the same Tomcat, do you have to set maxProcessors in the AJP13 connector to greater than MaxProcesses * numbe

RE: inlcude not working

2003-02-03 Thread Kris Schneider
Not sure why <%@ include file="../common/navbar.jsp"%> works in 4.1.12 (I'm pretty sure this fails in 4.1.19). As Filip points out, the include directive and the jsp:include action are for including resources from the same context as the current page. You might want to check out JSTL's tag: Quo

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:12 PM > To: Tomcat Users List > Subject: Re: more about custam tag life cycle > > > I'm curious, how you get a PageContext when the container > doesn't call setPageContext? Which

Re: tomcat-user Digest 3 Feb 2003 17:27:41 -0000 Issue 2142

2003-02-03 Thread Gary McGath
On Monday, February 3, 2003, [EMAIL PROTECTED] wrote: "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: >> Are both Tomcat and Resin within spec in implementing different >> behaviors here? If so, what is the correct point in the lifecycle to >> reset attribute values in a TagSupport object? >> >

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
> -Original Message- > From: Will Hartung [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:01 PM > To: Tomcat Users List > Subject: Re: more about custam tag life cycle > > [snipped] > > This entire problem, at least as I've encountered it, > revolves around not only op

Single-Sign-On (SSO) with Tomcats in 2 different servers

2003-02-03 Thread Víctor Ferrero del Valle
Hi, I have 2 servers, both with Tomcat. On each server is installed a different web application. Therefore, server A has a Tomcat with application A, and server B has another Tomcat (but same version) with Application B. The access to the applications is restricted, so the user must provide his us

Re: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
I'm curious, how you get a PageContext when the container doesn't call setPageContext? Which container have this behavior? I don't see a reason why we should have pool-specific method for tag property cleaning. doFinally method is intended for tag cleaning... Probably when created it was intend

HELP! - Tomcat 4.1 acting weird with redirect / sessions

2003-02-03 Thread Noncubicle Corp
Hi all, I have an application that has been up and running on Tomcat 3.x for over a year and I rewrote it on a Windows 2000 box using Tomcat 4.0 recently. I have uncovered a weird error once I moved it to the production server, which is running Linux 7.2 and Tomcat 4.1.X. Once I log into the ap

Re: more about custam tag life cycle

2003-02-03 Thread Will Hartung
> From: "Felipe Schnack" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 10:12 AM > Subject: RE: more about custam tag life cycle > This makes me feel much better :-) On Mon, 2003-02-03 at 16:09, Tim Moore wrote: > This is NOT true, AFAIK. The same tag instance can be used multiple ti

Re: bean initialization code

2003-02-03 Thread Jeff Ousley
Bill, Is there a way to make the constructor in the bean global to all sessions? Is there some other mechanisim that allows for this? I want to initialize some objects that will exist for all users of a .jsp page. How do I go about doing this? thanks! -jeff --- Bill Barker <[EMAIL PROTECTED]> wro

error page for error code 500?

2003-02-03 Thread Jeff_Mychasiw
Greetings, My apologies for this simple question... I am using 4.0.4 I am able to capture the error codes 404 and 400 but not 500. My snippet bellow... 404 /error/ServerError404Page.jsp 400 /error/Server400ErrorPage.jsp 500 /err

Re: Datasource and connection

2003-02-03 Thread Lindomar
So so Sean. Then this is a way of tomcat implements the concept of connection pools. Right, i only wanted have certain. Thanks for all. - Original Message - From: "Sean Dockery" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 16:25 Subject:

Reading client certificates

2003-02-03 Thread Robert Dana
For something like a week now I've been trying to read SSL Client Certificate information using: Apache 2.0.44, Tomcat 4.1.18, mod_jk built from the connectors-4.1.18 package and the mod_ssl that comes with the 2.0.44 source distribution.I have finally got things working in my environment in

Re: Custom tag life cycle

2003-02-03 Thread Will Hartung
> From: "Tim Moore" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 9:30 AM > Subject: RE: Custom tag life cycle > But I would do the initialization in doStartTag rather than doEndTag. > The latter may not be called if an exception is thrown from within the > tag body. The problem here is

RE: inlcude not working

2003-02-03 Thread Filip Hanik
you can't include files from a different webapp Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 10:24 AM To: [EMAIL PROTECTED] Subject: JSP:inlcude not working I am porting an application from tomcat 3.2.3 to tomcat 4.1.12 and

RE: Datasource and connection

2003-02-03 Thread Sean Dockery
I'm curious as to why you're asking this question. You should be using the connection pool according to the documentation provided, because that is how it is intended to be used. That is... void doPost(...) { InitialContext ic = new InitialContext(); Context jdbcCtx = (Context) ic.lookup("ja

JSP:inlcude not working

2003-02-03 Thread chowatt
I am porting an application from tomcat 3.2.3 to tomcat 4.1.12 and am having a problem with jsp:inlcude. I have a directory structure like this webapps/common/ webapps/admin/ The directory contains a menu that I use in all of the specific jsp pages. This menu is just a table that does a bit o

form based authentication workflow problem

2003-02-03 Thread Ralf Lorenz
hello, i'm currently working on a web application where we want to use the container based authentication mechanism because of its standarized character. therefore we need to use form-based authentification. from the post within this forum i understood that the login page should never be accessed

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
This makes me feel much better :-) On Mon, 2003-02-03 at 16:09, Tim Moore wrote: > This is NOT true, AFAIK. The same tag instance can be used multiple times >*sequentially* but not *concurrently*. Check out the lifecycle state diagram in the >JSP spec. > > -- > Tim Moore / Blackboard I

  1   2   >