Re: Tomcat 4 class loader precedence order?

2002-12-06 Thread Bill Barker
Jacob's answer is not strictly true: the order is only partially inverted. The actual order is: WEB-INF/classes WEB-INF/lib/*.jar System Loader (including $CATALINA_HOME/common/endorsed/*.jar) $CATALINA_HOME/common/classes $CATALINA_HOME/common/lib/*.jar $CATALINA_HOME/shared/classes $CATALINA_HOM

RE: DataSource problem.

2002-12-06 Thread Manavendra Gupta
*deep breath. I'm lost about this... would anyone take a shot at helping me? Thanks Manav. -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 9:19 PM To: Tomcat Users List Subject: RE: DataSource problem. I haven't been able to solve th

Re: JK2 corrupt access logs?

2002-12-06 Thread Bill Barker
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14797 "Trevor Baker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Everyone, > > I've got the following set-up: > Apache 2.0.43 > Tomcat 4.1.12 > mod_jk2-2.0.43.dll > > And when I look at my Tomcat access lo

Re: Why run tomcat as root

2002-12-06 Thread Bill Barker
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Fri, 6 Dec 2002, Vy Ho wrote: > > > Date: Fri, 06 Dec 2002 13:13:36 -0500 (EST) > > From: Vy Ho <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > To: Tomcat Us

Re: newbie: Realm

2002-12-06 Thread Bill Barker
1. This is not the usual use of a Realm. 2. Yes, a Realm is used to do the authentication of users, and to define which Roles they belong to. The mapping to actions would normally be handled by or servlet code in the web-app. 3. o.a.c.Realm is an interface. You can plug any class that implemen

Re: mod_jk vulnerability and Tomcat 3.3

2002-12-06 Thread Bill Barker
Well, I can only confirm TC 3.3.x using mod_jk 1.1, but this one is fine. As I understand this problem, it is entirely due to the previously reported problem with Apache handling Chunked-Encoding (fixed in Apache 1.3.27+). It isn't an independent problem with mod_jk. "Jason Bruce" <[EMAIL PROTECT

Re: tld locations??? must be directly in WEB-INF - relates to Tomcat xml parser bug

2002-12-06 Thread Bill Barker
There is a bug in 4.1.12 where if you specify tlds/my-taglib.tld it won't find your taglib file. Without checking, I think that is is fixed in 4.1.14+, but check the release notes to be sure (certainly fixed in 4.1.16b). "Hanasaki JiJi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

Re: JK and multiple virtual hosts on Apache (repost)

2002-12-06 Thread David Brown
Madere, Colin writes: I might have had some list trouble so I'm reposting this (since I got no responses so far). -Original Message- From: Madere, Colin [SMTP:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 5:55 PM To: '[EMAIL PROTECTED]' Subject: 4 Apache2 VirtualHosts + 1 Tomcat4

Re: Security constrant to force SSL works with apache+tomcat?

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Milt Epstein wrote: > Date: Fri, 6 Dec 2002 16:17:41 -0600 (CST) > From: Milt Epstein <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Security constrant to force SSL works with apache+tomcat? > >

Re: connection pool to postgresql

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Dionisio Ruiz de Zarate wrote: > Date: Fri, 6 Dec 2002 23:11:37 +0100 > From: Dionisio Ruiz de Zarate <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: connection pool to postgresql > > Hello can anybody help me to config

RE: Why run tomcat as root

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Vy Ho wrote: > Date: Fri, 06 Dec 2002 13:13:36 -0500 (EST) > From: Vy Ho <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Why run tomcat as root > > > > Well, assume you're right, then I and many

Re: Mutliuser setup

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Martin Klebermaß wrote: > Date: Fri, 6 Dec 2002 15:12:36 +0100 > From: Martin Klebermaß <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Mutliuser setup > > Well its less the problem with running

Re: [4.1.12] How to Implement Custom JNDI Tree?

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Gavin, Rick wrote: > Date: Fri, 6 Dec 2002 06:49:38 -0800 > From: "Gavin, Rick" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]> > Subject: [4.1.12] How to Implement Custom JNDI Tree? > > Hi All, >

Re: Security role name warning

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Peter Lee wrote: > Date: Fri, 06 Dec 2002 03:52:38 -0800 > From: Peter Lee <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Security role name warning > > I got the following warning. what does

RE: static url routing

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, RXZ JLo wrote: > Date: Fri, 6 Dec 2002 01:50:31 -0800 (PST) > From: RXZ JLo <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: static url routing > > > --- "Noel J. Bergman" <[EMAIL PROTECTED]> wrot

RE: SEO and servlets

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Cox, Charlie wrote: > Date: Fri, 6 Dec 2002 08:13:20 -0500 > From: "Cox, Charlie" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: SEO and servlets > > I do a silimar thing where all my content

RE: how many linux processes should tomcat create???

2002-12-06 Thread Craig R. McClanahan
On Fri, 6 Dec 2002, Brandon Cruz wrote: > Date: Fri, 6 Dec 2002 09:28:30 -0600 > From: Brandon Cruz <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], Tomcat List <[EMAIL PROTECTED]> > Subject: RE: how many linux processes should tomcat create??? > > Craig, > > I know that actually, just mistyped. I

Re: how many linux processes should tomcat create???

2002-12-06 Thread Craig R. McClanahan
On Thu, 5 Dec 2002, RXZ JLo wrote: > Date: Thu, 5 Dec 2002 22:12:20 -0800 (PST) > From: RXZ JLo <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: how many linux processes should tomcat create??? > > > > > Those are no

Help accessing jakarta

2002-12-06 Thread Stephane Baribeau
Hi, i've recently installed Jakarta in linux. after the installation i've tried to access with localhost:8080 and that have worked good. i've rebooted linux. restarted jakarta with startup.sh but i can't access again the localhost:8080. Whats wrong ? does i need to do something ? Thanks for your h

JK2 corrupt access logs?

2002-12-06 Thread Trevor Baker
Hi Everyone, I've got the following set-up: Apache 2.0.43 Tomcat 4.1.12 mod_jk2-2.0.43.dll And when I look at my Tomcat access logs created by: I get some wierd things happening...check it out! [snip] "http://www - - [06/Dec/2002:14:09:47 -0800] "GET t="_blank" hr HTTP/1.1" 200 12322 iv="Conte

Re: Apache and Tomcat with one access log?

2002-12-06 Thread Tim Funk
If apache gets all the requests and uses JK to proxy the requests to tomcat - you can ignore the tomcat access logs. Every request will be in the apache access log. Passing both logs to webtrends will give you the wrong stats since you will be double counting the same request. In fact - in that

Apache and Tomcat with one access log?

2002-12-06 Thread Trevor Baker
Hi everyone! I was wondering if you can configure Tomcat (or more realistically configure Apache HTTP) to use one access log. I don't like having two access logs since it requires a little more work to create the web trends stats. Ideally I would like to have Apache log all access to Tomcat redir

Problems installing Tomcat 4.1.12 in Solaris 8

2002-12-06 Thread capa
Hello friends, i try to install Tomcat 4.1.12 in Solaris 8 SPARC, but appear this problem in the compilation: [style] : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException [style] Failed to process /www2/websev/uportal/tomcat/webapps/tomcat- docs/manager-howto.xm

Re: Tomcat standalone + SSL.

2002-12-06 Thread Alexander Wallace
I think i've been schooled in this already, so please disregard this unless still want to comment on it... Thanks again and sorry for this post, but it was made one minute before I was kindly informed by Milt Epstein that there is no way of doing what i ask here... On Fri, 2002-12-06 at 16:48, Al

Re: Security constrant to force SSL works with apache+tomcat?

2002-12-06 Thread Alexander Wallace
On Fri, 2002-12-06 at 16:17, Milt Epstein wrote: > > I have apache in front of tomcat, and those methods work fine for me. > So perhaps there is something else going on here, something in your > configuration that is not right. Could it be the an option in the configuration files for mod_jk? Coul

[4.1.12] Custom JNDI DirContext Help

2002-12-06 Thread Gavin, Rick
> Hi All, > I have implemented a JNDI tree for my sites configuration options since > the built in tomcat context can not be modified at runtime( unless > something changed ). Can anyone tell me what the best way to implement the > use of it. Currently I have a static Settings class that has a

SSL and setContentType("application/pdf")

2002-12-06 Thread Chris Parker
Greetings all, No doubt there's a simple way around this, but I can't find it. I have some dynamic content that is being sent to the user's browser as PDF on an SSL enabled page. When the user goes to the page, she gets the message "This page contains both secure and nonsecure items." I've trac

Tomcat standalone + SSL.

2002-12-06 Thread Alexander Wallace
Hello there... I have asked this question before but maybe with the wrong subject, so here i try again. I have a web app that needs to use SSL at one point, but not from the beginning. Now i understand tat once i start using SSL i need to stay in that mode, and that is fine. My problem is that wh

SQLException: Cannot load JDBC

2002-12-06 Thread Roberto Bouza
(Again - Happy End) SQLException: Cannot load JDBC driver class 'null' MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs Hello everybody... Finally, three days later... PostgreSQL 7.3 is wor

Re: connection pool to postgresql

2002-12-06 Thread Alexander Wallace
Here is what i have in server.xml in the context of my app factory org.apache.commons.dbcp.BasicDataSourceFactory

RE: Limits to JSP/Servlet Execution time?

2002-12-06 Thread Samuel Cheung
I think you need to implement your own mechanism to do that. -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 3:54 PM To: Tomcat Users List Subject: Q: Limits to JSP/Servlet Execution time? In IIS, we set the ASP script timeout to be 30 sec

Re: Security constrant to force SSL works with apache+tomcat?

2002-12-06 Thread Milt Epstein
On 6 Dec 2002, Alexander Wallace wrote: > Thankyou david... If i run tomcat standalone I can use > request.getRemoteAddr(), request.getRemoteHost(), and > request.getRemoteUser() to get some info I would love to have, but > if apache is in front of tomcat the info is always localhost and > null f

connection pool to postgresql

2002-12-06 Thread Dionisio Ruiz de Zarate
Hello can anybody help me to configure one connection pool to postgresql from tomcat? and how can i use fron one java class? thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: How do I reset connections in the Tomcat Connection Pool?

2002-12-06 Thread support
Hello, > > I had just install tomcat. When i try to login to Tomcat Administration > Tomcat Manageris asking for username and password. I try my server = > login, or U: tomcat P: tomcat both fail. > What is the default username and password to login into that? > > Regards > Andreas - Or

How do I reset connections in the Tomcat Connection Pool?

2002-12-06 Thread Jonathan Mangano
I am using the DCBP connection pooling with Tomcat 4.1.12. Everything works fine except when a connection dies because of some external factor (In my case it is a clearing of the the Cisco Routers xlate table which causes a SocketException). When this happens the JDBC driver I am using throws an

Q: Limits to JSP/Servlet Execution time?

2002-12-06 Thread David Boyer
In IIS, we set the ASP script timeout to be 30 seconds and ASP scripts are automatically terminated after 30 seconds. Otherwise, enough requests to a poorly written script could eventaully consume all threads for the scripting engine. Is there a way to do this with JSP/Servlets in Tomcat, at eithe

Re: How to upgrade form 4.1.12 to 4.1.16beta?

2002-12-06 Thread Remy Maucherat
Brandon Cruz wrote: What is the easiest way to upgrade from tomcat 4.1.12 to 4.1.16 beta? Can I just move my server.xml, shared libraries, and webapps over to the new directory? Better yet, can I just copy some of the new jar files into the original tomcat directory? Yes, but as a general rule

Re: JAASRealm docs

2002-12-06 Thread Jeanfrancois Arcand
The answer is no. But if you search the list, I'm sure you will find a lot of interesting discussions. You can also look at the class API documentation org.apache.catalina.realm.JAASRealm. Since this class is a Valve, setting JAAS should not differ that setting JNDIRealmLet me know if you s

Error in the tomcat compilation in SUN

2002-12-06 Thread capa
Hello friends, i try to install Tomcat 4.1.12 in Solaris 8 SPARC, but appear this problem in the compilation: [style] : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException [style] Failed to process /www2/websev/uportal/tomcat/webapps/tomcat- docs/manager-howto.xm

Re: Tomcat and Apache web server

2002-12-06 Thread Alexander Wallace
You probably just need to specify index.jsp in the url. On Fri, 2002-12-06 at 14:05, dustin cavanaugh wrote: > This is a follow-on question to the "Tomacat and > apache web server" thread. > > I'm running Apache2.0.43, Tomcat4.1.12, mod_jk2 > (12/4/02) on a Win2K platform. I have an webapp I'll >

Tomcat 4.1.12 Lib error

2002-12-06 Thread Srofe, Douglas (c)
In previous versions of Tomcat we would link to jar files located elsewhere from the WEB-INF/lib directory. This worked fine. With version 4.1.12, it breaks. I get an error in the log file that is a java.lang.IllegalArgumentException: Invalid TLD resource path ... Does anyone know what this is

New install, can't get manager or admin to work..

2002-12-06 Thread Mike Warne
Hi, I've tried looking through the docs, and the Manager web app howto, but nothing seems to work. I have a user set up with a role of admin, and a user set up with role of manager in /conf/tomcat-users.xml. admin app says incorrect user or password, manager says 403 error "Access to the reque

RE: Thread dump

2002-12-06 Thread Jeremy Joslin
There's a whitepaper about it located here: http://developer.java.sun.com/developer/technicalArticles/Programming/Stackt race/ Jeremy > -Original Message- > From: Ben Ricker [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 12:58 PM > To: Tomcat Users List > Subject: RE: Thread

Re: Security constrant to force SSL works with apache+tomcat?

2002-12-06 Thread Alexander Wallace
Thankyou david... If i run tomcat standalone I can use request.getRemoteAddr(), request.getRemoteHost(), and request.getRemoteUser() to get some info I would love to have, but if apache is in front of tomcat the info is always localhost and null for the other methods, at least the way I'm doing it

how to setup to show all info on the screen of Tomcat Server?

2002-12-06 Thread James HU
Hi, I am using Tomcat 4.1.12 and Struts 1.1, I want to show the details info on the screen of Tomcat server such as: [INFO] RequestProcessor - -Processing a 'POST' for path '/login' ... when I press some button to login. I modified "debug" to 3 in web.xml, it doesn't work. Any info will be appr

RE: signed SSL cert & tomcat

2002-12-06 Thread Noel J. Bergman
Jeff, I haven't done that, yet, but does this help? http://marsalis.internet2.edu/cgi-bin/viewcvs.cgi/*checkout*/shibboleth/DEPL OY-GUIDE-ORIGIN.html?rev=HEAD&content-type=text/html#4.b.i. --- Noel -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Thread dump

2002-12-06 Thread Ben Ricker
I am intrigued by this feature; it would help with the debugging of a application. I tried to test it against tomcat but I get nothing on stderr (i.e., nothing in /var/log/messages, terminal, directory I am in, catalina.out, or any of the logs for Tomcat). Could you expand on what behavior you see

Html manager fields

2002-12-06 Thread Mader, Cary J
Someone posted this question 2 months ago, but never got an answer. When I look at the tomcat 4.1 manager app, the following fields appear in the Install area: Path Config URL WAR URL I understand the war file syntax, but the documentation never mentions these fields or how they are used. Any ad

JK and multiple virtual hosts on Apache (repost)

2002-12-06 Thread Madere, Colin
I might have had some list trouble so I'm reposting this (since I got no responses so far). > -Original Message- > From: Madere, Colin [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 5:55 PM > To: '[EMAIL PROTECTED]' > Subject: 4 Apache2 VirtualHosts + 1 Tomcat4 = ? JK

Re: Tomcat and Apache web server

2002-12-06 Thread Justin Ruthenbeck
Looks like you haven't set up Apache to forward requests that match www.myhost.com/Project/DoStuff to jk2. There are a number of different overall designs to do this depending on your app, other apps running, and how you've organized your resources. I use jk (not jk2), so I don't know the ex

JAASRealm docs

2002-12-06 Thread Aleksandr Shneyderman
Is there a documentation or a sample configuration somewhere that demonstrates JAASRealm? (Tomcat 4.1.12) Thanks, Alex. -- To unsubscribe, e-mail: For additional commands, e-mail:

signed SSL cert & tomcat

2002-12-06 Thread Jeff Cousineau
New to the list, so far I haven't found a definitive answer to this question in the archives, etc... I'm using Tomcat 4.1.12 on RH Linux 7.3, as a standalone (w/o apache). I generated a CSR for my SSL cert using 'openssl' (not 'keytool'). After I received the official cert from Verisign, I cre

localhost_log to stdout?

2002-12-06 Thread Scott Purcell
Hello, I was just wondering if there is a way on win2000 Tomcat 4.1.12 to take the output that is going to the localhost_log_timestamp.txt to stdout? Thanks, Scott -- To unsubscribe, e-mail: For additional commands, e-mail:

Tomcat and Apache web server

2002-12-06 Thread dustin cavanaugh
This is a follow-on question to the "Tomacat and apache web server" thread. I'm running Apache2.0.43, Tomcat4.1.12, mod_jk2 (12/4/02) on a Win2K platform. I have an webapp I'll call "Project" that resides in the webapps directory. Within Project, I have a class file called "DoStuff". localhost:808

Re: Jsp ajp socket closed

2002-12-06 Thread bm
Here is the solution recommended. USE http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/v1.0-b8/ Try download this Coyote Connector 1.0 Beta 7 Darin Kuntze wrote: > Background: > Website has been up and running with this particular configuration for > over a year

Problem with method post on tomcat IIS redirector

2002-12-06 Thread Sanjeev Agarwalla
Hi, I got this email form the mailing list on the topic above. I am sorry I did not know how to be on that list. I am havng problems with method= post on IIS Tomcat redirector. When using "POST" none of the fileds / parameters get passed to the called page. Can someone help? Thanks

RE: init() block not initializing?

2002-12-06 Thread Scott Purcell
I finally found my output in the /logs/localhost_log.2002-12-06.txt, but that is kind of a hastle. Is there a way to get it back to stdout? Thanks, Scott -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 1:37 PM To: Tomcat Users List Subjec

RE: init() block not initializing?

2002-12-06 Thread Scott Purcell
I went under my $CATALINA_HOME/logs but do not see a catalina.out.log. Do I need to adjust something in the server.xml? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 1:37 PM To: Tomcat Users List Subject: RE: init() block not initializ

RE: Configure IIS + Tomcat 4.1.12

2002-12-06 Thread Mark Prins
> I still have not yet been able to determine how to configure > the location of > the log file, and there does not seem to be a default log file written > anywhere in $TOMCAT_HOME/logs either. Can anyone shed any > light on this? the dll is supposed to log to the win32 event logs by default; I

ClassCastException loading DataSource

2002-12-06 Thread Thomas Achleitner
Hi! I'm running into a ClassCastException loading jndi DataSources. I configured the resource in tomcats server.xml using the following entry (i do not mention web.xml because its working with oracle application server): usernamescott passwordtiger driverClassNameoracl

Re: Security constrant to force SSL works with apache+tomcat?

2002-12-06 Thread David Brown
Alexander Wallace writes: I have not tested this, but wanted to make sure before I do all the necesary changes. I have apache in front of tomcat, apache handles the ssl communication... I need to make sure that some stuff happens only via ssl, and i had a filter for that. But i was recommended

RE: init() block not initializing?

2002-12-06 Thread Shapira, Yoav
Hi, Did you check the $CATALINA_HOME/logs/catalina.out log? By default, it swallows System.out and System.err statements. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Scott Purcell [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 06, 2002 2:34 PM >To: [EMAIL PR

RE: Tomcat 4 class loader precedence order?

2002-12-06 Thread Shapira, Yoav
Hi, Jacob's answer is right, but I don't know if it's a complete answer to your question. >So, I'm curious as whether there is a determinate order that the files in >WEB-INF/lib are placed on the classpath, and also whether lib is placed >before WEB-INF/classes. (i.e. is it alphabetical or simply

init() block not initializing?

2002-12-06 Thread Scott Purcell
Hello, I am trying to get a servlet Initialization block to initialize but I cannot seem to get it to work. I am running a new install of Tomcat 4.1.12 on win2000. I have created a webapp called "cybrary", and I have put that into the server xml with the following line: Then I create

Why run tomcat as root

2002-12-06 Thread Nicolas Mailhot
Hi, I you are using Linux and a distribution that groks rpms, just install the packages provided by jpackage (http://jpackage.zarb.org/) or even those on jakarta (same maintainer, might be a little bit less up-to-date). You'll get an hassle-free tomcat-mod_jk-apache solution, with regular

authorization mod_jk domino

2002-12-06 Thread Carsten Burghardt
Hi, I've installed the jk connector to connect our domino-server with a tomcat 4.1.12 and this works. Now I created a JNDI-realm to authenticate a webapp against the domino ldap: --- ldap://127.0.0.1:389"; roleName="CN" roleSearch="(member={0})" roleSubtree="tr

Re: Tomcat 4 class loader precedence order?

2002-12-06 Thread micael
I had missed this. Thanks, Jacob. At 01:14 PM 12/6/2002 -0600, you wrote: Hello Will, The way webapps work with classloaders is opposite that of the normal classloader precedence. The WebappClassloader looks in its own classloader for libraries first before looking at parent classloaders. What

Re: OFF-TOPIC: weak references

2002-12-06 Thread micael
The object is not gced. That is right. At 05:00 PM 12/6/2002 -0200, you wrote: Yes, so the reference to my object is gc'd, not the object itself (as long its key is not strongly referenced anywhere else) when I remove an object from the HashMap right? On Fri, 2002-12-06 at 16:59, micael wro

Re: Security constrant to force SSL works with apache+tomcat?

2002-12-06 Thread Alexander Wallace
I guess, in answer to my first question here, The security constrain tells tomcat to use it's own ssl, it won't tell apache to use ssl... I would totally use tomcat stand alone with ssl, if i can figure out how not to loose objects created in the session before switching to https.. Any insight her

Re: Tomcat 4 class loader precedence order?

2002-12-06 Thread Jacob Kjome
Hello Will, The way webapps work with classloaders is opposite that of the normal classloader precedence. The WebappClassloader looks in its own classloader for libraries first before looking at parent classloaders. What normally happens is that the parent classloader is queried first for librari

Re: OFF-TOPIC: weak references

2002-12-06 Thread Felipe Schnack
Yes, so the reference to my object is gc'd, not the object itself (as long its key is not strongly referenced anywhere else) when I remove an object from the HashMap right? On Fri, 2002-12-06 at 16:59, micael wrote: > If you still have a reference to the object in the HashMap the object won't

RE: Why run tomcat as root

2002-12-06 Thread Noel J. Bergman
> I just think if there is something they can do that what they try to > protect would work, and the problem we face would be solved. I know someone who works on SE Linux, and has published the root password for anyone to log into his system and try to break it. In that configuration, even root c

Security constrant to force SSL works with apache+tomcat?

2002-12-06 Thread Alexander Wallace
I have not tested this, but wanted to make sure before I do all the necesary changes. I have apache in front of tomcat, apache handles the ssl communication... I need to make sure that some stuff happens only via ssl, and i had a filter for that. But i was recommended to use a security constranint

Re: OFF-TOPIC: weak references

2002-12-06 Thread micael
If you still have a reference to the object in the HashMap the object won't be gced. The weak hash map is just a weak hash map, not a "weak application" in the appropriate sense. At 04:48 PM 12/6/2002 -0200, you wrote: This is actually about java in general I just to assure I understood the

OFF-TOPIC: weak references

2002-12-06 Thread Felipe Schnack
This is actually about java in general I just to assure I understood the concept of WeakHashMap. What is weak referenced in this map is the keys, right? So, let's say I have a WeakHashMap and a HashMap, both with the same key/value pairs. When I remove an object from the HashMap the garbage col

RE: MySQL JAR File Location

2002-12-06 Thread Noel J. Bergman
> Where should I drop a copy of the JDBC Driver .jar file See: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations --- Noel -- To unsubscribe, e-mail: For additional comm

RE: how many linux processes should tomcat create???

2002-12-06 Thread Ma, Yongjie
Using google, find an open source utility called javaps.sh it will show the java processes only. Yongjie -Original Message- From: RXZ JLo [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 10:12 PM To: Tomcat Users List Subject: Re: how many linux processes should tomcat create

RE: Why run tomcat as root

2002-12-06 Thread Turner, John
As I said previously, you can achieve what you want to do with tried and true techniques that are secure and well supported, and do not conflict with any designs. They are not workarounds, they are specific tools and processes that were written to do exactly what you want to do without violating

RE: MySQL JAR File Location

2002-12-06 Thread Johnson, Garrett
David, I think perhaps my post was a bit misleading: I'm actually less worried about security than I am about mixing code and classes, and just good practices. Several applications might be using different databases. But your answer was still on point: %CATALINA_HOME%\lib (You can see from my

RE: MySQL JAR File Location

2002-12-06 Thread Brandon Cruz
1)catalina_home/shared/lib for all web applications 2)catalina_home/webapps/yourwebapp/WEB-INF/lib -Original Message- From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:21 PM To: 'Tomcat Users List' Subject: MySQL JAR File Location Ladies and Gentlemen:

RE: Where to place static content? Tomcat/Apache

2002-12-06 Thread Noel J. Bergman
> The main reasons for running Apache with Tomcat are not > wanting to run Tomcat as root on port 80, using Apache > + JK/JK2 to load-balance to several Tomcats, and taking > advantage of other Apache features like CGI/PHP, or modules > like mod_rewrite. Not to mention isolating virtual hosts in t

RE: Thread dump

2002-12-06 Thread Schnitzer, Jeff
FYI, no it doesn't, it just causes the (Sun, at least) JVM to dump a list of threads and their stacks to stderr. Note that it's the real stderr, not System.err. This is a JVM feature. It can be done anytime and is a *really* useful debugging feature. Jeff > -Original Message- > From: M

Tomcat 4 class loader precedence order?

2002-12-06 Thread Will Hartung
Hi all, class loader question (aren't they all?) We're running against Weblogic, and Weblogic issues Service Packs which inevitably are simply jar files with updated classes. However, these jar files need to be specified BEFORE the regular weblogic jar files in the classpath. So, I'm curious as

Re: MySQL JAR File Location

2002-12-06 Thread David Brown
Johnson, Garrett writes: Ladies and Gentlemen: Where should I drop a copy of the JDBC Driver .jar file that I need to connect to MySQL from Tomcat? I understand there are a variety of classloaders, invoked on a number of different directories. Obviously, I could just dump it into %JAVA_HOME%\

Re: Can't compile some JSPs

2002-12-06 Thread Will Hartung
From: "Justin Ruthenbeck" <[EMAIL PROTECTED]> Subject: Re: Can't compile some JSPs > > > > > > > > > > > You closed the tag on the first line (extra /). Amazing what a second pair > of eyes can see (or, in this case, an extra 2k pairs!) :) > > And single quotes around value='yes' ?? T

Re: Configurion tomcat

2002-12-06 Thread David Brown
Fabricio B. Teixeira writes: I want to install TomCat in my computer but i don´t know if it requires a hard configuration time. Could you please tell me the dificulties in configurin tomcat. Fabricio ___ Busca Yahoo! O melhor

RE: static url routing

2002-12-06 Thread Noel J. Bergman
> --- "Noel J. Bergman" <[EMAIL PROTECTED]> wrote: > > my html files have long names like > > a_b_c_d_xyz213_e_f_g.html, > a_b_c_d_pqr983_e_f_g.html > > > is it possible to have urls like > > http://localhost:8080/myapp/html/xyz213 > > point to the first file above? > > You can use either a Filter,

SSL Exceptions

2002-12-06 Thread Aleksandr Shneyderman
I have configured the tomcat (4.1.12) as a standalone server with SSL connector. whenever the client request comes in I get the following exception in my log javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificate

MySQL JAR File Location

2002-12-06 Thread Johnson, Garrett
Ladies and Gentlemen: Where should I drop a copy of the JDBC Driver .jar file that I need to connect to MySQL from Tomcat? I understand there are a variety of classloaders, invoked on a number of different directories. Obviously, I could just dump it into %JAVA_HOME%\jre\lib\ext, but what if I w

Re: bypassing memory realms

2002-12-06 Thread Andreas Probst
I think this is a browser-intern thing. A person looking over your shoulder could read it. But IE will translate this into a just normal request. There's no difference to a request where IE had asked for credentials. From within your servlet you will not even be able to realize it. On 6 Dec 20

RE: Why run tomcat as root

2002-12-06 Thread Vy Ho
Well, assume you're right, then I and many developers have to live with this fact then. I would like to make myself clear abit though. Whatever decision they made over 40 years about limiting the access to port 0-1024, I dont question, or ask to change, or agree upon or disagree with. I just t

RE: Why run tomcat as root

2002-12-06 Thread micael
John, I like your horse sense. It is refreshing. Micael At 12:00 PM 12/6/2002 -0500, you wrote: Well, we are going around in circles. You're not understanding that the developers HAVE thought about this issue, and have thought about it for years (more than 40 years). It's not a mistake. Not

RE: Not getting CSS with XML

2002-12-06 Thread Garrett Smith
Paul, Did you look at the source code for both? Use your browser's view source option for both the static and the jsp docs. Compare them side by side and tell us what you see. Garrett --- Durham David Cntr 805CSS/SCBE <[EMAIL PROTECTED]> wrote: > Is it possible that you made a change to the xml

chroot tomcat

2002-12-06 Thread Noel J. Bergman
Do you (or anyone else) happen to have that running on a linux 2.4 distro? I bookmarked Pier Fumagalli's early post on his success getting it to work on Solaris (http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED] he.org&msgId=368168), but it is pretty much general chroot stuff. I haven't

Re: Where to put JSP files?

2002-12-06 Thread micael
You can check the struts list archives and look under jim mitchell's name. He has provided a sample application with all he JSP pages under WEB-INF. The key is just to put the JSP pages where you want them protected under WEB-INF and then to map your result pages to wherever you put them. I

RE: Tomcat went unconcious :-)

2002-12-06 Thread Bodycombe, Andrew
I think this is a matter of interpretation. You have successfully logged, using a valid user name and password so you do not see the login failure page. You are then trying to access a resource to which you have no access so are presented with a "403 Forbidden" page. Personally, I see no problem h

RE: Configurion tomcat

2002-12-06 Thread Turner, John
1. Download and install JDK 2. Download Tomcat binary install package 3. Uncompress Tomcat binary install package 4. set environment variable named JAVA_HOME to location of JDK 5. set environment variable named CATALINA_HOME to location of Tomcat installation 6. In CATALINA_HOME/bin, execute start

Re: Where to put JSP files?

2002-12-06 Thread micael
Thanks. I have always put the webpages under WEB-INF to avoid directory views. This is a realistic option. At 03:45 AM 12/6/2002 -0800, you wrote: To prevent users from seeing any directory add the entry index.jsp To your web.xml and in every directory, place a

Re: How do you select to call doPost or doGet method?

2002-12-06 Thread Garrett Smith
What did you forward from? If you're forwarding from a doPost method, the servlet you're forwarding to will call doPost. Same principal applies to a RequestDispatcher forwarding from a doGet method. ServletA doPost ->forward -> ServletB doPost The HttpServletRequest has

Re: bypassing memory realms

2002-12-06 Thread Andreas Probst
Hi Mike, try http://name:pass@www. How do you know the password? Andreas On 6 Dec 2002 at 8:33, J Doe wrote: > > Background: Consider two webapps: foo and bar. When a > user of foo performs a certain action, foo shares > files with bar by calling actions on each other via > HTTP. > > We

  1   2   >