Return-Path: X-Original-To: apmail-openejb-users-archive@www.apache.org Delivered-To: apmail-openejb-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 162F89F2F for ; Tue, 6 Mar 2012 09:58:46 +0000 (UTC) Received: (qmail 35817 invoked by uid 500); 6 Mar 2012 09:58:45 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 35796 invoked by uid 500); 6 Mar 2012 09:58:45 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 35786 invoked by uid 99); 6 Mar 2012 09:58:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 09:58:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmannibucau@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 09:58:39 +0000 Received: by qcsd1 with SMTP id d1so2493544qcs.35 for ; Tue, 06 Mar 2012 01:58:18 -0800 (PST) Received-SPF: pass (google.com: domain of rmannibucau@gmail.com designates 10.224.78.73 as permitted sender) client-ip=10.224.78.73; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rmannibucau@gmail.com designates 10.224.78.73 as permitted sender) smtp.mail=rmannibucau@gmail.com; dkim=pass header.i=rmannibucau@gmail.com Received: from mr.google.com ([10.224.78.73]) by 10.224.78.73 with SMTP id j9mr10995288qak.80.1331027898378 (num_hops = 1); Tue, 06 Mar 2012 01:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=669w1InD95nKYou67NPefJPG5Je2c64if2Q3270yric=; b=FHOSR4+AhoUV+wdpl4JhUdRMHQR+rrZXfLMrls/QvUMV7sQ91+UXwveosOv/uP5nD/ aUFzLqo4wKM6VKXV4DalGUUtkZoUmgXmc9HVpKKuMaUTT1rPS9eOpnWn/hXtoSTga4+f 6Npk9aKO4Y4WjCoUgCbSMcsdHTTtHUKnwihHOzkoGMg22FrzKaRmt5mMIRvb1viHuN4P r0awIfck5YITozSYjV5/wylt+eZyxd0yppwWB9SVSTwOEIojpk61xzGXZP+L19qJKyjC 86a72gRc+1uSJIhyw/LXc/fc8hSmXjlbiD/Kv44DQSvXBqyWgdNI575QQknMtxy4VpbX 8MgQ== Received: by 10.224.78.73 with SMTP id j9mr9338279qak.80.1331027898284; Tue, 06 Mar 2012 01:58:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.98.148 with HTTP; Tue, 6 Mar 2012 01:57:58 -0800 (PST) In-Reply-To: <48D8421DBDDE4BD880A37902FEEE5F8F@koneko> References: <123E2F1371E2401A92F551F0C562A4D4@koneko> <48D8421DBDDE4BD880A37902FEEE5F8F@koneko> From: Romain Manni-Bucau Date: Tue, 6 Mar 2012 10:57:58 +0100 Message-ID: Subject: Re: Missing web.xml file causes UnknownModuleTypeException To: users@openejb.apache.org Content-Type: multipart/alternative; boundary=20cf3074d68a103a0704ba901544 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3074d68a103a0704ba901544 Content-Type: text/plain; charset=ISO-8859-1 The problem with this is that for Tomcat everything is a webapp so that's easy to guess which module typ eit is. TomEE can manage jar, war and ear so we need something to distinguish them. The WEB-INF folder is enough (and i think the spec don't say it is optional). - Romain 2012/3/6 Neale Rudd > Hi Romain, > > Yes - an empty WEB-INF folder works fine, and also it's no problem adding > a simple web.xml anyway. > > I'm more concerned with whether it will stay this way and if it's part of > the spec or not, as I'm making a list of differences for our customers if > they want to try TomEE. Naturally the closer it is to Tomcat's behaviour, > the easier it is for them to start using it. > > Best Regards, > Neale > > ----- Original Message ----- From: "Romain Manni-Bucau" < > rmannibucau@gmail.com> > To: > Sent: Tuesday, March 06, 2012 8:23 PM > Subject: Re: Missing web.xml file causes UnknownModuleTypeException > > > > Did you try putting an emtpy WEB-INF folder? >> >> - Romain >> >> >> 2012/3/6 Neale Rudd >> >> Hi Guys, >>> >>> One of the apps we're trying on TomEE 1.0.0-beta-2 throws an >>> UnknownModuleTypeException when deploying, because it has no >>> WEB-INF/web.xml file. >>> >>> It's a simple static website (html, css, images). >>> >>> The docs I've read seem to indicate that web.xml is optional, and it's >>> definitely optional on Tomcat 7. >>> >>> Is this a difference with TomEE or a pending issue? >>> >>> I found another mail on the list from 9-Oct-2011 and TOMEE-27 on Jira but >>> it's marked as Fixed for 1.0.0-beta-2. >>> >>> Best Regards, >>> Neale Rudd >>> Metawerx Pty Ltd >>> http://www.metawerx.net >>> >>> >> > --20cf3074d68a103a0704ba901544--