I have added both 7.0.1 PLUS and Web Profile to my NetBeans installation. I can 
take the same project, switch it to PLUS or Web Profile and deploy the simple 
web app successfully. NetBeans does NOT generate a beans.xml file anymore since 
that has been made optional in JSF 2.2 (I believe).

In order to test your concern, I have added a beans.xml file and now the 
project deploys successfully! So, again, I thought the beans.xml file is 
optional. Look at Weld 2.2 which is the CDI 1.2 reference implementation and  
scroll down where it says that beans.xml is now optional: 
http://weld.cdi-spec.org/news/2014/04/15/weld-220-final/

Thoughts?

Kay

> On Aug 5, 2016, at 11:06 AM, Romain Manni-Bucau <[email protected]> wrote:
> 
> looks like CDI was completely turned off for this app, is that possible?
> 
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
> 
> 2016-08-05 17:54 GMT+02:00 Kay Wrobel <[email protected]>:
> 
>> Hi Romain. It's linked (see the pastebin link?).
>> 
>> Kay
>> 
>>> On Aug 5, 2016, at 10:50 AM, Romain Manni-Bucau <[email protected]>
>> wrote:
>>> 
>>> Hello Kay,
>>> 
>>> do you have the full stack?
>>> 
>>> 
>>> Romain Manni-Bucau
>>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
>>> <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
>>> <http://rmannibucau.wordpress.com> | Github <https://github.com/
>> rmannibucau> |
>>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
>>> <http://www.tomitribe.com> | JavaEE Factory
>>> <https://javaeefactory-rmannibucau.rhcloud.com>
>>> 
>>> 2016-08-05 17:39 GMT+02:00 Kay Wrobel <[email protected]>:
>>> 
>>>> Dear TomEE Team,
>>>> 
>>>> First of all, congrats on releasing Apache TomEE 7. I've downloaded
>> TomEE
>>>> 7.0.1 PLUME in order to test-drive it, and I am running into the
>> following
>>>> exception when I'm trying to deploy a first simple NetBeans-generated
>> Web
>>>> Application (it's the most basic application you can create):
>>>> 
>>>>> 05-Aug-2016 10:18:08.326 SEVERE [http-nio-8080-exec-10]
>>>> org.apache.catalina.core.StandardContext.listenerStart Exception
>> sending
>>>> context initialized event to listener instance of class
>>>> com.sun.faces.config.ConfigureListener
>>>>> java.lang.RuntimeException: com.sun.faces.config.
>> ConfigurationException:
>>>> Factory 'javax.faces.lifecycle.ClientWindowFactory' was not configured
>>>> properly.
>>>> 
>>>> 
>>>> Click here for a full stack trace: http://pastebin.com/ADZvYhY0 <
>>>> http://pastebin.com/ADZvYhY0>
>>>> 
>>>> I am running this from within a VirtualBox VM running Debian 8 with
>>>> backports enabled for OpenJDK 8 and NetBeans 8.1 Patch 1. TomEE is
>>>> installed in user's home directory to avoid permissions problems. The
>> web
>>>> application has PrimeFaces 5.0 as part of its library list if that is
>>>> important. Other than that, the project is a standard JSF 2.2 / JavaEE 7
>>>> Web Application, as vanilla as it comes from NetBeans new web
>> application
>>>> wizard.
>>>> 
>>>> Please advise, and thanks.
>>>> 
>>>> Kay Wrobel
>> 
>> 

Reply via email to