Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 58696 invoked from network); 12 Jul 2004 09:05:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jul 2004 09:05:53 -0000 Received: (qmail 94540 invoked by uid 500); 12 Jul 2004 09:05:27 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 94517 invoked by uid 500); 12 Jul 2004 09:05:27 -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 94501 invoked by uid 99); 12 Jul 2004 09:05:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [211.121.191.163] (HELO proxy.ddcom.co.jp) (211.121.191.163) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 12 Jul 2004 02:05:23 -0700 Received: (qmail 2751 invoked by alias); 12 Jul 2004 09:04:33 -0000 Received: from unknown (HELO matthew) (10.10.10.11) by mail.ddcom.local with SMTP; 12 Jul 2004 09:04:33 -0000 Date: Mon, 12 Jul 2004 18:05:21 +0900 From: Joel To: tomcat-user@jakarta.apache.org Subject: is the context automatically generated on auto-deploy? Message-Id: <20040712160636.E2C3.REES@ddcom.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.06 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In the deployer how-to at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html the docs state that, for eploying on startup, at least, "... a matching Context XML descriptor will be created unless one exists already." Under the description of context descriptors, it seems to say the files will be in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory. I dropped the xindice.war from the xml projects into the webapps directory, and I can access it. (I did this twice, actually. First time I was running Java 1.5 beta, and I dropped it live. This time it's Java 1.4 and I dropped it in while TC was down.) Xindice is expanded automagically in the webapps directory, and I can access it, do queries, etc. I look in my $CATALINA_HOME/conf directory, and all I see is Catalina\localhost\{ admin.xml, balancer.xml, manager.xml } No other files or directories. Nor can I see any sign of a xindice.xml or context.xml in the xindice directory structure under webapps. There is a web.xml under WEB-INF and contains the servlet and servlet-mapping declarations, and security-constraints commented out. Conceptually, that's context kinds of specification, but it doesn't look like what http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html leads me to expect. There is a system.xml under WEB-INF and it seems to contain application specific declarations of the database and of XML-RPC. There is also a configs/commands.xml which is very definitely application specific. Clearly, neither of these is the context file. So, does the automatically configured context actually get written out anywhere? If so, I'm either looking for context in all the wrong places or I've got this thing set up so strange it doesn't wanna do the right thing. -- Joel --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org