Tomcat Custom Authenticator

2009-08-14 Thread Daniel Stephens
Need some help or advice.. For Security reasons, We need to do logging for IP,username, etc(AUDIT). We need to log success and failed attempts. We don't want to modify the internal classes(unless it's impossible). We are using the FORM auth-method, we POST to j_security_check. We have

sym link to serve documents within web application.

2008-03-06 Thread Daniel Stephens
Hey everyone, Has anyone ever tried to serve documents from within a tomcat webapp vai a sym link. We have everything setup in tomcat to allowLinking within a context. But I can not get my web app to serve documents via the link.. example below. web-app location -

Re: sym link to serve documents within web application.

2008-03-06 Thread Daniel Stephens
Thanks David, we found my misconfiguration about 30 minutes after I posted.. But I'm glad you brought up the redeploying issue. I didn't even think about that. So I guess I'll be adding some documentation to that piece. Thanks for your replies.. Danny On Thu, Mar 6, 2008 at 4:47 PM, Christopher

Re: Using MSAccess database for container authentication

2007-08-10 Thread Daniel Stephens
MESSAGE- Hash: SHA1 Daniel, Daniel Stephens wrote: Also, make sure that whatever jar file has this sun.jdbc.odbc.JdbcOdbcDriver class, is located in your tomcat common/lib. This is a standard class that comes with the Sun JRE. There is no need for any additional JAR files

Re: Using MSAccess database for container authentication

2007-08-10 Thread Daniel Stephens
Also, make sure that whatever jar file has this sun.jdbc.odbc.JdbcOdbcDriver class, is located in your tomcat common/lib. As well as having a binding in your context.xml or web.xml like below. And have the datasource configured in the server.xml or equivalent(I think 5.5 sets up the Datasources a

Re: Error starting Tomcat 5.5 as a Windows service

2007-07-06 Thread Daniel Stephens
variables were recognized immediately (except for previously opened command windows). Lesson learned :). Thanks, Tony Fountain Benefit Concepts, Inc. (419) 244-9936 x9010 -Original Message- From: Daniel Stephens [mailto:[EMAIL PROTECTED] Sent: Thursday, July 05, 2007 4:32 PM To: Tomcat

Re: Error starting Tomcat 5.5 as a Windows service

2007-07-05 Thread Daniel Stephens
Make sure you have CATALINA_HOME pointed to your tomcat instance. make sure your java home is correct.. It sounds like it can't find the java home.. You did boot after the install right? If you added that environment variable to the system section, you'll need to boot to pick it up or open a new

Re: Tomcat stopped logging

2007-05-30 Thread Daniel Stephens
at the time. -Original Message- From: Daniel Stephens [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 12:17 PM To: Tomcat Users List Subject: Re: Tomcat stopped logging I can't remember off the top of my head but I think there is a 2GB limit(OS Level). but I'd have to try

Re: Tomcat Connection pool

2007-05-29 Thread Daniel Stephens
Yes post your web.xml where with your resource-ref tags. Looks like a typo in there. On 5/29/07, Ligade, Shailesh (Contr) (Mission Systems) [EMAIL PROTECTED] wrote: Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be

Re: Tomcat stopped logging

2007-05-29 Thread Daniel Stephens
apologize for coming in late if this was resolved... Are you saying Tomcat just stop's logging to the catalina.out? On 5/9/07, Propes, Barry L [EMAIL PROTECTED] wrote: Hello, I have a strange situation. Tomcat has stopped logging today on my prod. server. Not sure why. All of the app seems

Re: Tomcat stopped logging

2007-05-29 Thread Daniel Stephens
: Daniel Stephens [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 9:02 AM To: Tomcat Users List Subject: Re: Tomcat stopped logging apologize for coming in late if this was resolved... Are you saying Tomcat just stop's logging to the catalina.out? On 5/9/07, Propes, Barry L [EMAIL PROTECTED

Re: Tomcat Datbase Connection Pooling

2007-04-13 Thread Daniel Stephens
it also contributes to the other parameters like removeAbandoned, etc.. If I remember right when the validation Query runs the evictor thread gets called and then abandoned connections are relieved.They all kinda work together. On 4/13/07, Venky Vasant [EMAIL PROTECTED] wrote: Thanks i had

Re: connection pool

2007-04-02 Thread Daniel Stephens
sorry if someone has already mentioned this, but you will probably have to add the testOnborrow Parameter. So that also means you have to use the ValidationQuery, etc... but it(the pool) should try to restablish a connection at that point. testOnBorrow will cause some more overhead, but it might

Re: [OT] log4j, fileappender, owner, group, and umask

2007-03-06 Thread Daniel Stephens
by FileAppender when it actually creates the log file. For the moment, I have solved the problem by using a separate log file for tomcat. Daniel Stephens wrote: If they are all the same group, then I would suggest just setting the umask to 022 or 027.. But let me say I'm not a Unix admin and I'm

Re: SQLNestedException

2007-03-05 Thread Daniel Stephens
1st. verifiy that the driver you need is in the Tomcat common lib. 2nd. verify your config in your server.xml and make sure your character case is correct. 3rd, double check your web.xml or context.xml to make sure your referencing your DataSource correctly, and finally post this and your

Re: log4j, fileappender, owner, group, and umask

2007-03-02 Thread Daniel Stephens
I would think if your using Tomcat as the Servlet container, The file itself would be owned by the account running Tomcat. Is this not the case? On 3/2/07, stevethames [EMAIL PROTECTED] wrote: I am using tomcat as a servlet server used by a mod_perl application running under apache. I have

Re: Tomcat Persistent Session Issues

2007-03-02 Thread Daniel Stephens
Where is this class com.formos.toolkit.data.IPersis located? Is it in the WEB-INF/classes directory? or in a JAR? I guess I would want to first make sure the webapp classloaded loaded it up first. On 3/1/07, ddigmann [EMAIL PROTECTED] wrote: A note before I start: I have found quite a few

Re: connection pool - DBCP error

2007-02-27 Thread Daniel Stephens
Thats purely informational. On 2/27/07, Tim Lucia [EMAIL PROTECTED] wrote: -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 4:48 PM To: Tomcat Users List Subject: connection pool - DBCP error AbandonedObjectPool is