Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 7712 invoked from network); 15 Nov 2005 20:50:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Nov 2005 20:50:12 -0000 Received: (qmail 49387 invoked by uid 500); 15 Nov 2005 20:49:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 49305 invoked by uid 500); 15 Nov 2005 20:49:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 49276 invoked by uid 99); 15 Nov 2005 20:49:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2005 12:49:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [129.24.24.22] (HELO tularosa.eece.unm.edu) (129.24.24.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2005 12:49:46 -0800 Received: from mariostop.win.eece.unm.edu ([129.24.27.8]) by tularosa.eece.unm.edu with esmtp (Exim 4.52 (FreeBSD)) id 1Ec7kE-000DJt-5o for users@tomcat.apache.org; Tue, 15 Nov 2005 13:49:34 -0700 Mime-Version: 1.0 (Apple Message framework v746.2) References: <59F99081-29B3-4A5E-9319-6B1B27B78740@ece.unm.edu> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1E8B680A-9D17-4165-AA24-944E0D1D3196@ece.unm.edu> Content-Transfer-Encoding: 7bit From: Jess Subject: Using Authentication/Authorization Date: Tue, 15 Nov 2005 13:49:32 -0700 To: users@tomcat.apache.org X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hiya, I am using Tomcat and Apache to host a simple website. I need to have some security on the site. At least to start with. Eventually I need to have security, period. :) So, following the documentation and several walk-thrus from many sources, I cannot get tomcat to cooperate. I am running Mac OS X 10.4.3 and am using Java 1.5.0, apache 1.3, and tomcat 5.5.12 and am connecting apache and tomcat with the ajp13 connector (using mod_jk version 1.2.14). At this point, I'm think I'm bypassing Apache/JKconnectors and going straight to the webapp via port 8080... When I set up the web.xml file for using, say, basic security, and then attempt to access the constrained resources, tomcat gives me the error that the requested resource is not availabe. When I remove all attempts (in the web.xml file) at security, I can access the resource just fine. I tried using the UserDatabase realm and also the MemoryRealm, but to no avail either way. Next, when I go to the default tomcat page, http://localhost:8080, and try to go to the Administrator section, it asks for my login and password. (I've configured the tomcat-users.xml file to add an admin and manager role to one of the users and restarted the server.) But when I attempt to log in, I get the error: "The requested resource (/ admin/j_security_check) is not available." I know j_security_check is the action you enter for a form authentication, but this is what came with tomcat.. nothing of my creation, so I don't think I'm the problem. This link worked on my tomcat version 5.0. I upgraded today and now it doesn't work... so now seeings how I can't seem to get security running on my webapp and I can't log in to the administration section of the server, I'm wondering if there is some funk going on out of my scope. I downloaded the binaries for mac.. maybe something is wrong? If anyone has any idea, please let me know.. I am at a total loss. Thankyou, Jess Ryan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org