Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 25584 invoked from network); 17 Nov 2000 21:09:03 -0000 Received: from mb-20-100.mitre.org (HELO smtpproxy1.mitre.org) (129.83.20.100) by locus.apache.org with SMTP; 17 Nov 2000 21:09:03 -0000 Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id QAA08560 for ; Fri, 17 Nov 2000 16:08:34 -0500 (EST) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id QAA04020 for ; Fri, 17 Nov 2000 16:08:33 -0500 (EST) Received: from tbond-pc.mitre.org (128.29.124.87) by mailhub2.mitre.org with SMTP id 5065119; Fri, 17 Nov 2000 16:08:31 -0500 Message-ID: <3A159E4F.5AA90FFA@mitre.org> Date: Fri, 17 Nov 2000 16:08:31 -0500 From: Tim Bond Organization: MITRE X-Mailer: Mozilla 4.7 [en]C-19991010M (WinNT; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: problem deploying J2EE RI-built EAR/WAR file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I'm trying to get a WAR file created with the J2EE reference implementation deployment tool to deploy on Tomcat 4.0. The new env-entry feature (as of 11/1) is working. Here's part of my web.xml file: vlweb vlweb no description /index.jsp 30 no description rmiserver tester.mitre.org java.lang.String We are having two problems: 1. If I start the server with just the .war file, two levels of directories are created (webapps/vltrack/vltrack) instead of one (webapps/vltrack). 2. I added a leading '/' to the jsp-file parameter below because Tomcat threw the following error at startup: 2000-11-17 15:36:42 StandardHost[localhost]: Deploying web application at context path /vltrack from URL file:e:\jakarta-tomcat-4.0\webapps\vltrack 2000-11-17 15:36:42 ContextConfig[/vltrack] Configuration error in application web.xml java.lang.IllegalArgumentException: JSP file index.jsp does not start with a / character at org.apache.catalina.core.StandardWrapper.setJspFile(StandardWrapper.java:311) This WAR deployed on both J2EE RI and Weblogic 5.1 so it seems there may be a slight bug here. --- Tim