403

2011-10-31 Thread Christopher Gross
I'm running Tomcat 5.5.26, and I have a few different setups on my box for a few different projects. I don't have the same password setup, and if I'm not thinking then I'll block myself out of an application. Then I'm stuck with a 403 error, and resetting Tomcat doesn't clear it. My only option i

Tomcat Logging Jarhell

2012-03-13 Thread Christopher Gross
Hi all. I'm trying to utilize the common/lib and shared/lib directories on Tomcat 5.5.25. I have a few separate apps that were each using many of the same JAR files, so I have been moving them down to shared & common lib (DB stuff went to common/lib, the apache commons modules & others went to

Re: Tomcat Logging Jarhell

2012-03-13 Thread Christopher Gross
as our installation > provides them for you in a common lib dir. > > --Allen Reese > Yahoo!, Inc. > >> -Original Message----- >> From: Christopher Gross [mailto:cogr...@gmail.com] >> Sent: Tuesday, March 13, 2012 12:41 PM >> To: Tomcat Users List >&

Re: Tomcat Logging Jarhell

2012-03-13 Thread Christopher Gross
13, 2012 at 3:53 PM, Christopher Gross wrote: > Allen -- Is there something in particular that your users need to do > for the common logging?  Any changes in the file or the setup of their > web app? > > An example of the log4j.properties file from a WEB-INF/classes dir: > &

Re: Tomcat Logging Jarhell

2012-03-13 Thread Christopher Gross
> Yahoo!, Inc. > >> -Original Message- >> From: Christopher Gross [mailto:cogr...@gmail.com] >> Sent: Tuesday, March 13, 2012 1:01 PM >> To: Tomcat Users List >> Subject: Re: Tomcat Logging Jarhell >> >> http://publib.boulde

Re: Tomcat Logging Jarhell

2012-03-14 Thread Christopher Gross
and I was just trying to provide enough about my situation so that I could find appropriate assistance. While I can appreciate some constructive criticism, I'd rather have answers to my questions, as opposed to questions about my design. -- Chris On Tue, Mar 13, 2012 at 4:17 PM, Konstantin

Re: Tomcat Logging Jarhell

2012-03-14 Thread Christopher Gross
written to? -- Chris On Wed, Mar 14, 2012 at 8:42 AM, Christopher Gross wrote: > That section just gives some basic info, but nothing that tries to > help with what I'm doing.  I'm well aware what the directories are > for. > > There are a lot of libraries that my apps h

Re: Tomcat Logging Jarhell

2012-03-14 Thread Christopher Gross
Correct -- a typo. WEB-INF/classes -- Chris On Wed, Mar 14, 2012 at 10:20 AM, Mark Thomas wrote: > On 14/03/2012 14:04, Christopher Gross wrote: >> After reverting -- all but one of my logs are working correctly.  Each >> web app has a log4j jar and the commons logging jars in

Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Christopher Gross
On Solaris 10, using JDK 1.5.0_18-b02, I am trying to upgrade Tomcat from 5.5.25 to 6.0.22. I have a script in /etc/init.d that starts/stops Tomcat and MySQL. I'm getting a ClassNotFoundException for org.apache.catalina.core.ApplicationContextFacade when I try to start Tomcat. When I call the scri

Re: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Christopher Gross
through them line by line and compare the files to what Apache has up on the 6.x documentation pages? -- Chris On Thu, Nov 19, 2009 at 2:24 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Christopher Gross [mailto:cogr...@gmail.com] > > Subject: Migrating

Re: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Christopher Gross
icationContextFacade). -- Chris On Thu, Nov 19, 2009 at 2:50 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Christopher Gross [mailto:cogr...@gmail.com] > > Subject: Re: Migrating from Tomcat 5.5.25 to 6.0.22 > > > Should I try downloading it ag

Configuring Embedded Tomcat

2011-01-07 Thread Christopher Gross
I've been looking around, but I can't seem to find somewhere that shows how you can configure Tomcat when you embed it into an application. My code is like this: public void start() throws Exception { String hostname = System.getProperty("hostname"); int port = Integer.parseInt(System.getPr

Re: Configuring Embedded Tomcat

2011-01-07 Thread Christopher Gross
t where it is, or will it look in a certain spot by default? Thanks! -- Chris On Fri, Jan 7, 2011 at 3:55 PM, Pid wrote: > On 1/7/11 6:59 PM, Christopher Gross wrote: > > I've been looking around, but I can't seem to find somewhere that shows > how > > you can conf

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
Fri, Jan 7, 2011 at 5:43 PM, Pid wrote: > On 1/7/11 9:07 PM, Christopher Gross wrote: > > OK, so I'd need to add a Realm for the UserDatabaseRealm in either of the > > spots you listed. I'll probably use the file, so that I can adjust it if > > need be. > >

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
ut of other ideas and things to try. -- Chris On Mon, Jan 10, 2011 at 12:22 PM, Pid wrote: > On 1/10/11 2:28 PM, Christopher Gross wrote: > > It is specified there -- but I don't have a server.xml file set up. > Since > > I'm using the embedded version, I set up t

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
I created a MemoryRealm object, pointed it to my tomcat-users.xml file, added that realm to the embedded (no luck) and to the specific context (no luck either). For both, it just plain loads the page -- doesn't ask me to do any type of logging in. Are you just using your own experience to help me

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
t;admin"); host.addChild(sp); Is there anything else that I need to do for the Context? -- Chris On Mon, Jan 10, 2011 at 1:37 PM, Mark Thomas wrote: > On 10/01/2011 18:16, Christopher Gross wrote: > > I created a MemoryRealm object, pointed it to my tomcat-users.xml fi

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
ll getting through without having to authenticate. Is there something that I'm missing, or am I going about this all wrong? Thanks! -- Chris On Mon, Jan 10, 2011 at 1:45 PM, Mark Thomas wrote: > On 10/01/2011 18:43, Christopher Gross wrote: > > I added the security role: > >

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
1/10/11 6:58 PM, Christopher Gross wrote: > > Borrowing from another web.xml (solr's), I added this to my web.xml: > > > > > > > > Link to the UserDatabase instance from which we request lists of > > defined role names. Typically, this

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
I figured it out -- I just needed to put the one application that I wanted to be secure in the security-constraint section, then let the other ones not require authentication. -- Chris On Mon, Jan 10, 2011 at 2:41 PM, Christopher Gross wrote: > That did it! Thanks Mark & Pid. > >

logging on tomcat 5.5.25

2010-09-21 Thread Christopher Gross
I have an older version of Solr (1.2) running on Tomcat 5.5.25. All the output for Solr is going to the catalina.out logfile, which gets rather large and has to be deleted about once a month, requiring me to stop Tomcat and bring it back up each time. I'd like to make a new logfile for Solr that

Re: logging on tomcat 5.5.25

2010-09-21 Thread Christopher Gross
etely -- I just need it to go to a different file that can be rolled. Thanks for your help! -- Chris On Tue, Sep 21, 2010 at 1:03 PM, Konstantin Kolinko wrote: > 2010/9/21 Christopher Gross : >> I have an older version of Solr (1.2) running on Tomcat 5.5.25. >> > > How do

Logging of user's login attempts

2012-11-08 Thread Christopher Gross
Using Tomcat 6.0.36. Realm: Is there a way that I can set it up to do user login auditing, so that I can see when a user logs in, or when they have a failed attempt, etc? Been trying to google an answer, but I haven't been finding anything useful or specific. Let me kno

Re: Logging of user's login attempts

2012-11-09 Thread Christopher Gross
Hi Mark. Thanks for the suggestion -- but I'm not getting the realm log file. That all looks like it should work, maybe there's just a little something that I'm missing. -- Chris On Thu, Nov 8, 2012 at 4:26 PM, Mark Eggers wrote: > On 11/8/2012 12:29 PM, Christopher Gross

Re: Logging of user's login attempts

2012-11-09 Thread Christopher Gross
ne else who has done this can chime in, but I'll keep looking around. I think you got me started on the right track. Thanks for your help, let me know if you get any other ideas. -- Chris On Fri, Nov 9, 2012 at 11:33 AM, Mark Eggers wrote: > On 11/9/2012 6:04 AM, Christopher Gross wrot