Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 33314 invoked from network); 24 Apr 2003 16:30:25 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 24 Apr 2003 16:30:25 -0000 Received: (qmail 19623 invoked by uid 97); 24 Apr 2003 16:32:24 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 19616 invoked from network); 24 Apr 2003 16:32:24 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 24 Apr 2003 16:32:24 -0000 Received: (qmail 30197 invoked by uid 500); 24 Apr 2003 16:29:29 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 79872 invoked from network); 24 Apr 2003 15:29:22 -0000 From: Reinhard Moosauer To: tomcat-user@jakarta.apache.org Subject: UserDatabase and virtual Hosts question Date: Thu, 24 Apr 2003 17:29:22 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304241729.22186.rm@moosauer.de> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, Here is a tomcat server with some virtual hosts. And I want to use the manager app to start/stop/deploy the webapps in each virtual host. I achieved this be adding the manager-context to each virtual host. Fine, so far. But the UserDatabase is global so that all virtual hosts share the same admin-user. Ich want to set up a different realm for each Host. But I dont want to use JDBCRealm yet. I tried this: - Add a to the manager-context of each virtual host. - Add a to the manager-context of each virtual host. (+ ResourceParams) And there I give a different path for the xml-File for each vhost. But then I get this exception: javax.naming.NameNotFoundException: Name VhostUserDatabase is not bound in this Context What am I doing wrong? There are no errors about xml-syntax in the logs. Is there a HOWTO for this case? I would have preferred to set the Ressource and Realm at -Level, but it seems that no Ressource-Entry is allowed at Host-Level?! Help and hints would be much appreciated! regards, Reinhard --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org