users@glassfish.java.net

Re: Glassfish + Open Web Beans

From: <forums_at_java.net>
Date: Sat, 10 Dec 2011 05:04:42 -0600 (CST)

Hi everyone, i've got some progress here,

i was able to start OWB in glassfish 3.1.2 but now i got other errors.

To run it "sucessfully" i've upgraded glassfish to use weld 1.1.4 and OWB
1.1.2, here is the startup log: http://pastebin.com/KXd40wN3 [1]

as you can see after the app starts it fails to use the entity manager cause
it does not have a unit name, so i gave it a unit name and it fails saying
that i cannot use JTA transaction, here is the stacktrace:
http://pastebin.com/xtCunWPB [2] . Somehow my entity manager is not being
managed by the container when i add OWB to the app, here is additional info:

 

pom.xml: http://pastebin.com/FnLFsqb6 [3]

The dao which has entity manager:http://tinyurl.com/d6aexdo [4]

 

another issue im having is when i try to redeploy my app is this
one:http://pastebin.com/9fK0QS1b [5]

and i solve it by clearing glassfish cache.

 

Thanks in advance.


[1] http://pastebin.com/KXd40wN3
[2] http://pastebin.com/xtCunWPB
[3] http://pastebin.com/FnLFsqb6
[4] http://tinyurl.com/d6aexdo
[5] http://pastebin.com/9fK0QS1b

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