tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Missing web.xml file causes UnknownModuleTypeException
Date Tue, 06 Mar 2012 11:20:51 GMT
yep, the Apache one:

to simply build tomee:

svn co http://svn.apache.org/repos/asf/openejb/trunk/openejb/
cd openjeb
mvn clean install -Dmaven.test.skip=true -pl tomee/apache-tomee -am

then go to openejb/tomee/apache-tomee/target, you'll find the zip you are
looking for.

- Romain


2012/3/6 Neale Rudd <neale@metawerx.net>

> Hi Romain,
>
> That's great - thanks for that :-)
>
> Is there a public readonly SVN repository for TomEE so I can test any
> newer changes?
>
>
> Best Regards,
> Neale
>
> ----- Original Message ----- From: "Romain Manni-Bucau" <
> rmannibucau@gmail.com>
> To: <users@openejb.apache.org>
> Sent: Tuesday, March 06, 2012 9:25 PM
>
> Subject: Re: Missing web.xml file causes UnknownModuleTypeException
>
>
>  just pushed a test to be able to fallback more easily to webapp.
>>
>> it will probably need some enhancement but it should work.
>>
>> - Romain
>>
>>
>> 2012/3/6 Neale Rudd <neale@metawerx.net>
>>
>>  Maybe if it has no WEB-INF and no META-INF either, it can be considered
>>> the same way as an empty WEB-INF folder?
>>>
>>> That would cater for ear but allow Tomcat-7 simple no web-xml apps to
>>> work
>>> immediately.
>>>
>>> What do you think?
>>>
>>>
>>> Best Regards,
>>> Neale
>>>
>>>
>>> ----- Original Message ----- From: "Romain Manni-Bucau" <
>>> rmannibucau@gmail.com>
>>> To: <users@openejb.apache.org>
>>> Sent: Tuesday, March 06, 2012 8:57 PM
>>>
>>> Subject: Re: Missing web.xml file causes UnknownModuleTypeException
>>>
>>>
>>>  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 <neale@metawerx.net>
>>>>
>>>>  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: <users@openejb.apache.org>
>>>>> 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 <neale@metawerx.net>
>>>>>>
>>>>>>  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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message