Re: remove myself from list failure attached

2005-10-14 Thread Bob Hall
Dean, Try: [EMAIL PROTECTED] See the footer of the message you sent ;-) - Bob --- Dean Hiller <[EMAIL PROTECTED]> wrote: > how do I get removed from list? Sending to the > unsubscribe mail is failing. > thanks, > dean > > Date: 15 Oct 2005 02:54:42 - > From: [EMAIL PROTECTED] > To: [EMAIL

remove myself from list failure attached

2005-10-14 Thread Dean Hiller
how do I get removed from list? Sending to the unsubscribe mail is failing. thanks, dean --- Begin Message --- Hi. This is the qmail-send program at apache.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't w

JDBCRealm logout and welcome page

2005-10-14 Thread 梁炳場
After logout with JDBCRealm FORM and if the welcome page stays within the webapp, is it possible? I wonder when the welcome page is within the webapp, JDBCRealm will ask the username and password, but after logout, welcome page within the webapp should not be asked for username and password. Shou

mod_jk - Solaris10 - x86

2005-10-14 Thread Rafael Angarita
Hi! Does somebody has the mod_jk.so binaries available for Solaris 10 (x86)? I'm trying to compile it but I get a lot of errors (using gcc 3.3.2) Thanks, -- Rafael Angarita +58 212 2009765 - To unsubscri

Re: Compiling mod_jk on FreeBSD

2005-10-14 Thread Mike Stevens
>Why don't you use the ports system of FreeBSD? > >cd /usr/ports/www/mod_jk-apache2 >make >make install >make clean > >Ronald. I had built Apache outside the ports tree, so I wanted to do the same with mod_jk to avoid dependencies. I did install the jk from the ports, which compiled correctly.

RE: can JNDIRealm connectionPassword be encrypted?

2005-10-14 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: RE: can JNDIRealm connectionPassword be encrypted? > > Right now we have the tomcat instance running as a tomcat:tomcat user > and group. And, I hope, you have permissions for everything in Tomcat's directories set to 750, and very, v

RE: can JNDIRealm connectionPassword be encrypted?

2005-10-14 Thread Klotz Jr, Dennis
Chuck, You have a very valid point. Right now we have the tomcat instance running as a tomcat:tomcat user and group. I realize that we are perhaps being a bit paranoid but the original reason for obfuscating the password was in case someone found an exploit within tomcat itself and gained shell a

RE: can JNDIRealm connectionPassword be encrypted?

2005-10-14 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: RE: can JNDIRealm connectionPassword be encrypted? > > To me and my co-workers that login still represents a large > security risk if someone can gain access to the file > server.xml. If someone can gain access to server.xml, you es

RE: can JNDIRealm connectionPassword be encrypted?

2005-10-14 Thread Klotz Jr, Dennis
David, Thanks for the reply. Maybe this will help. The user name and password are stored as plain text within the server.xml file. That is how it is today. The documentation recommends that AD be setup with a very limited Read Only user account that has privileges for scanning just AD. To m

where is "catalina.out" defined and enabled?

2005-10-14 Thread Philip Chang
My Tomcat 5.0.28 running on Windows 2000 Pro is not dumping to $CATALINA_HOME\logs\catalina.out at all. $CATALINA_HOME\conf\server.xml contains the following, but no reference to catalina.out: Tomcat is dumping out some traces to the above two files, but the traces that

Re: can JNDIRealm connectionPassword be encrypted?

2005-10-14 Thread David Delbecq
First i don't know active directory. However, in a global security point of view, your request is surprising, specially if the intend was to prevent publicity of password to people accessing the context.xml. If the AD protocol would accept that client send an md5 hash of password instead of plai

Re: secure application using Tomcat

2005-10-14 Thread Mark
I would recommend placing Apache in front of Tomcat. You can also use mod_security on Apache to further lock down your application. I have found that if you want security, do not use Tomcat by itself. I never liked the idea of placing keystore passwords in XML files. At least Apache prompts you for

Re: secure application using Tomcat

2005-10-14 Thread Mark
I would recommend placing Apache in front of Tomcat. You can also use mod_security on Apache to further lock down your application. I have found that if you want security, do not use Tomcat by itself. I never liked the idea of placing keystore passwords in XML files. At least Apache prompts you for

RES: RES: Tomcat Log4j Log Level Configuration

2005-10-14 Thread Paulo Alvim
Thank you, Jess... I'm now trying to use the (log4j) ConfigurationServlet in order to learn more about these problems...the information bellow is very usefull! Alvim. -Mensagem original- De: Jess Holle [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 14 de outubro de 2005 10:05 Para: T

Re: secure application using Tomcat

2005-10-14 Thread Mark
I would recommend placing Apache in front of Tomcat. You can also use mod_security on Apache to further lock down your application. I have found that if you want security, do not use Tomcat by itself. I never liked the idea of placing keystore passwords in XML files. At least Apache prompts you for

Re: Multiple Threads for one webapp

2005-10-14 Thread sudip shrestha
If you are using tomcat 5.5.x, you are not recommended to put element in the server.xml file according to the tomcat-docs... so leaving the element as it is, define this in a context-xml file which should be in $tomcat-home/conf/Catalina//.xml. You can define your other Resource attributes such a

Re: Multiple Threads for one webapp

2005-10-14 Thread sudip shrestha
If you are using tomcat 5.5.x, you are not recommended to put element in the server.xml file according to the tomcat-docs... so leaving the element as it is, define this in a context-xml file which should be in $tomcat-home/conf/Catalina//.xml. You can define your other Resource attributes such a

Precompilling struts-el tags with Jasper2

2005-10-14 Thread DeJong, Jonathan
Hello, I've been battling this problem for a couple days now. I've googled it, and have seen it posted other places, but with no solution (that I've found). I also can't find anything in bugzilla (does not mean it's not there, just means I can't find it). If anyone has experienced this and

Pooling SAXParsers

2005-10-14 Thread Hyatt, Gordon
A web-app I'm developing is expected to have many (possibly as many as 40-50) servlets, some will be updating a database others retrieving information from a database. All requests will be POSTs containing XML-formatted information. Some of the servlets will be heavily used (retrieving the co

Tracking open database connections in a pool

2005-10-14 Thread Dhiren Bhatia
Hi, Is there any way to know how many open connections are in the database connection pool? I'd like to know how many connections are active/idle at any point in time. I'm using the javax.sql.DataSource with the MySQL JDBC driver. Tomcat version 5.5.9. Thanks, Dhiren

Welcome files in subdirectories

2005-10-14 Thread Peter Becker
Hello all, I just started working on an existing webapp which runs under Tomcat 4.x. Being a 5.5 user myself I tried deploying the app on Tomcat 5.5.4, but the application fails to work properly -- all static content is missing. I tracked the problem down to different behaviour between the i

RE: How to read files on a network drive from a JSP

2005-10-14 Thread Longson, Robert
Dheeraj, When you run any code as a service with the default local system account it does not have permissions to use network shares. You could try running the service using a specific user account which has access to the share or alternatively load the file using ftp, http or some other prot

Help with unsubscribe?

2005-10-14 Thread John Geiger
Hello: I¹ve tried both the unsubscribe email address, and the owner address, but get failure notices. I'm working for my owner, who can be reached at [EMAIL PROTECTED] Acknowledgment: I have added the address [EMAIL PROTECTED] to the tomcat-user mailing list. Welcome to [EMAIL PROTECTED]

Re: How to read files on a network drive from a JSP

2005-10-14 Thread Victor Star
Hi Dheeraj, - Create a new local user, call it "TOMCAT" for example. - Set some password for it - Run your tomcat service under this user's credentials - create the local user with exactly same name and password on the other machine you're trying to access - make sure that local user has permissi

How to read files on a network drive from a JSP

2005-10-14 Thread Soti, Dheeraj
> Hi, > > I have to list the files on a particular folder on a network drive. My > code is: > > File f = new File("host_ip_address\\folder1\\folder2"); > File files[] = f.listFiles(); > System.out.println("===>>>Files are: " + files); > > The same code works from a standlone java pr

secure application using Tomcat

2005-10-14 Thread jshamsi
Hello! I am a newbie to Tomcat. I have configured Tomcat as a standalone web server for HTTP and HTTPS. and now I am trying to develop a secure aplication (using SSL) which will do user authentication and perform user specific actions. I need some help/tutorial (JAVA) which can guide me to authne

Re: HTTPS securing of manager web app and basic authentication

2005-10-14 Thread David Wall
Discovered my problem with adding a second security-constraint as shown below. After just putting the user-data-constraint element to the previous security-constraint did the trick. Thanks, David David Wall wrote: I've just installed TC 5.5.12 and have configured it to allow for HTTPS with

Re: Detecting Session Timeout in Tomcat

2005-10-14 Thread Wade Chandler
--- Brian Blount <[EMAIL PROTECTED]> wrote: > Thanks for the quick response. > > I don't think this will help in my scenario. I > don't > need to perform an action when the session timeouts. > > Instead, when a user hits my web application after > their session has timed out, I want to direct t

Re: Detecting Session Timeout in Tomcat

2005-10-14 Thread Brian Blount
Thanks for the quick response. I don't think this will help in my scenario. I don't need to perform an action when the session timeouts. Instead, when a user hits my web application after their session has timed out, I want to direct them to a particular page (different than the login page). --

RE: Detecting Session Timeout in Tomcat

2005-10-14 Thread LORESERVO.COM
PLEASE DONT SEND THIS MAIL TO ME PLEASE. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 14 de Octubre de 2005 10:10 a.m. Para: Tomcat Users List Asunto: Re: Detecting Session Timeout in Tomcat Why not implement the HttpSessionListe

can JNDIRealm connectionPassword be encrypted?

2005-10-14 Thread Klotz Jr, Dennis
Greetings, I have a working JNDIRealm setup that connects with our local Active Directory using the following Realm statement: ldap://23.82.0.101:389"; alternateURL="ldap://23.82.0.100:389"; referrals="follow" userBase="OU=BedfordRecipients,DC=co

Re: Detecting Session Timeout in Tomcat

2005-10-14 Thread rob
Why not implement the HttpSessionListener and handle session timeouts from that perspective? I've had success using this method, but don't know if that will work for your scenario...HTH - Original Message - From: "Brian Blount" To: users@tomcat.apache.org Subject: Detecting Sessio

Datasource not found Tomcat 4.1 to Tomcat 5.5

2005-10-14 Thread Darvishy Alireza \(KRPO 3\)
Hi, I have a web-application running on Tomcat 4.1, which call the following statement for connectiong to a database DriverManager.getOpenConnection(param1, param2, param3) to a database. The application works without any problem(Windows-XP):. I have now updated from Tomcat 4.1 to Tomcat 5.5,

Detecting Session Timeout in Tomcat

2005-10-14 Thread Brian Blount
Hello, I need to be able to distinguish between a session timeout vs the first time someone accesses my web application. Within a single web application, I've been able to use the following logic: (request.isRequestedSessionIdValid() == false && (request.isRequestedSessionIdFromCookie() || re

disable default error 500

2005-10-14 Thread Nathan Coast
Hi, Is there any way to prevent Tomcat from displaying the default error page? We'd like to simply pass the error 500 out to the enclosing apache and let the webserver display the appropriate error code. One choice would be to write a blank jsp that simply sets the error status of the respo

please help

2005-10-14 Thread Iratxe Etxeberria Sainz-Ezquerra
Hello! I am using tomcat 5.0.28, and I am searching for a way to set the domain of the session cookie. I need to set the cookie domain to .mydomain.com and not to www.mydomain.com. I have been looking for it in many sites and books, but I don t find the way to do it. Can anyone help me? Th

Re: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread David Delbecq
Could it be some of your threads didn't go in the finally block for the simple reason they are blocked somewhere else. Did you check all Thread stacktraces to see of some http thread were not blocked somewhere else? Richard Mixon a écrit : >Jon, > >Actually, the instance that keeps working is a "t

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Richard Mixon
Matt, For some reason it was smelling more like a race or contention problem. I just do not understand the thread dump well enough to figure out exactly why all 74 of he DBCP pools are in the exact same "Object.wait" process. The little guide on thread dumps I'm using just does not cover that. I

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Richard Mixon
Jon, Actually, the instance that keeps working is a "test" instance of the same application. The application uses "finally" blocks to be sure all connections are closed. I do not believe it is a timeout issue - it has run for weeks with no problems. - Thanks - Richard -Original Message

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-14 Thread David Gagnon
Thanks !! I'll try that too :-) /David Santosh Asbe wrote: Hi, Check this link http://marc.theaimsgroup.com/?l=tomcat-user&m=108556070626723&w=2 Also your hung status of tomcat might be due to JVM and kernel threading. Use the foloowing in catalina.sh using the following: export LD_ASSUME_

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread James W. Anderson
Is the Tomcat instance making connections to MySQL? Have you checked MySQL to see if there are an abnormally large number of connections at the time Tomcat fails? Do the MySQL logs tell you anything that suggests some of these threads/sessions might be deadlocked? -Original Message- Fro

RE: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-14 Thread James W. Anderson
Check the memory usage on the JVM that's running Tomcat. If you see the memory usage steadily tick upward, it's likely that somewhere in one of the web apps (or perhaps in Tomcat itself) a thread is creating resources and never releasing them. Could be a Collection somewhere that just keeps growi

Re: RES: Tomcat Log4j Log Level Configuration

2005-10-14 Thread Jess Holle
Paulo Alvim wrote: Hi Jojo, I'm with the same problem: I'd like to change the "log level" e also the "appender configurations" without redeploy my war (my log4j.properties file is bundled into the web-inf/classes)... This is a major failing of the WAR format as I see it. You have to redepl

log4j - how to keep it quiet but still usable

2005-10-14 Thread Christoph P. Kukulies
I learnt that tomcat 5.5 uses a different logging facility and doesn't seem to log by default. So I installed log4j and commons-logging as of the instructions under http://tomcat.apache.org/tomcat-5.5-doc/logging.html but with the proposed loglevels it is hard to fish out any relevant information

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-14 Thread Santosh Asbe
Hi, Check this link http://marc.theaimsgroup.com/?l=tomcat-user&m=108556070626723&w=2 Also your hung status of tomcat might be due to JVM and kernel threading. Use the foloowing in catalina.sh using the following: > > export LD_ASSUME_KERNEL=2.4.1 It should be less or same to your kernel version

RE: 5.5.9 admin interface - get where?

2005-10-14 Thread Caldarale, Charles R
> From: Christoph Kukulies [mailto:[EMAIL PROTECTED] > Subject: 5.5.9 admin interface - get where? > > I'm trying to download jakarta-tomcat-5.5.9-admin.zip from somewhere. > It seems that the archive of apache.org is unreachable. Tomcat is in the process of moving to its own Apache project, rat

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Matt Wiseley
Richard, This probably means database connections from a DBCP pool are being left open. Code that opens connections from a pool must close them (using a try/finally block), or the pool runs out of connections and things lock up. If you can't clean up the code, this page has a way to auto-cleanup

Accessing Environment Entries from LifecycleListener

2005-10-14 Thread Peter Menzel
Hi there, I have configured a global environment entry and a lifecycle listener in server.xml: [..] The listener implements LifecycleListener and works fine. Now I want to access the envionment entries in this listener by: public void lifecycleEvent(LifecycleEvent event) { if (

where do the access and error logs go

2005-10-14 Thread Christoph P. Kukulies
I installed 5.5.9 and in the course of debugging some opencms stuff I'm wondering where access and error logs go when the jk connector is used - that is, when tomcat fulfills the request. Then I would not expect the error caused by an inaccessible resource to be logged in apache2\logs but rather i

RES: Tomcat Log4j Log Level Configuration

2005-10-14 Thread Paulo Alvim
Hi Jojo, I'm with the same problem: I'd like to change the "log level" e also the "appender configurations" without redeploy my war (my log4j.properties file is bundled into the web-inf/classes)... I have thought about a few - not very good - approaches (of course the best one would be an "out-of

5.5.9 admin interface - get where?

2005-10-14 Thread Christoph Kukulies
I'm trying to download jakarta-tomcat-5.5.9-admin.zip from somewhere. It seems that the archive of apache.org is unreachable. Anyone knowing a direct (trustable) ftp download site as an alternative? Thanks. -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org -

AJP connections just stop working

2005-10-14 Thread Steve Gaunt
HI I was wandering if anyone has experienced similar scenarios. I have an IIS Web Server which uses JK 1.2 as the connection to the AJP connector to a jboss 4.01 installation. The worker.properties are set as follows: worker.insight.port=8009 worker.insight.type=ajp13 worker.insight.c

Re: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Jon Wingfield
One works and one doesn't. Are the two web applications the same? Are the DBCP and Datasource configurations the same? In the application that doesn't work make sure connections are returned to the pool for every code path. One leak and this could result in an empty pool at its maximum size and

Re: Compiling mod_jk on FreeBSD

2005-10-14 Thread Ronald Klop
Why don't you use the ports system of FreeBSD? cd /usr/ports/www/mod_jk-apache2 make make install make clean Ronald. On Thu Oct 13 19:37:06 CEST 2005 Tomcat Users List wrote: I?m trying to compile mod_jk 1.2.14 under FreeBSD 5.3. I have searched the tomcat archives for the last 6 months, an

SV: Help figuring out Virtual Hosts

2005-10-14 Thread Michael Salmon
Hi Dola This instruktion worked for me: http://www.ex-parrot.com/~pete/tomcat-vhost.html /Michael -Oprindelig meddelelse- Fra: Dola Woolfe [mailto:[EMAIL PROTECTED] Sendt: 14. oktober 2005 03:11 Til: Tomcat Users List Emne: Re: Help figuring out Virtual Hosts Hi, Getting back to this

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Richard Mixon
One thing I forgot, that might be relevant. Another Tomcat instance on the server continued to function just fine. It also accesses a different MySQL database, but its served by the same MySQL instance. - Richard -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Th