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" <[email protected]>
To: <[email protected]>
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 <[email protected]>

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



Reply via email to