users@glassfish.java.net

Re: Glassfish + Open Web Beans

From: <forums_at_java.net>
Date: Sun, 11 Dec 2011 09:10:29 -0600 (CST)

 Hi again, i created a simple application and got it working, im attaching
it to this post.

There was no especial configuration to get it working, i just created a clean
project, added a model class, created the ejb dao, the named service with the
dao injeted and finally injected the service in a ViewAcessScoped managed
bean, and crud the model class.  

What im going to do now is to introduce the other tecnologies such as
hibernate and logs gradually to find whats causing the issue described in the
last post.

Another questions is, how to know that is Open Web Beans and not Weld that is
taking controll of the app?

CODI is printing that is OWB:

INFO: [Started] MyFaces CODI (Extensions CDI) Core v1.0.1 Used CDI
implementation: OpenWebBeans v1.1.2
 

ps: the issue:

java.lang.NullPointerException at
com.sun.jersey.server.impl.cdi.CDIExtension.processAnnotatedField(CDIExtension.java:612)
 

full stack here: http://pastebin.com/9fK0QS1b [1] 

is resolved just by reestarting GF, there's no need to clear the cache.


[1] http://www.java.net/external?url=http://pastebin.com/9fK0QS1b

--
[Message sent by forum member 'rmpestano']
View Post: http://forums.java.net/node/830181