Discussion:
[errai-users] Guice provision errors when doing jndi lookups in @Service class constructor using JBoss
Jesse Hutton
2010-08-17 19:26:03 UTC
Permalink
I'm having another problem with JBoss AS 6.0-M4 deployment. I have a class (
http://www.pastebin.org/568839) which I do an jndi lookup on an EJB in the
constructor to pass a callback to it. I want to report on system events
(import progress in this case) and I'm eventually going to use CDI's event
handling mechanism instead of this kind of hack, but last time I checked,
CDI integration wasn't in trunk, yet. Is that correct? Anyway, the Guice
provision error stack trace: http://www.pastebin.org/568845

Can anyone make sense of that?

Jesse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100817/a31d9b0e/attachment.html
Mike Brock
2010-08-17 19:58:39 UTC
Permalink
I'm not sure what to make of that to be honest. Heiko may have some thoughts (cc'd)

The CDI integration is at: https://anonsvn.jboss.org/repos/errai/projects/weld-integration/
I'm having another problem with JBoss AS 6.0-M4 deployment. I have a class (http://www.pastebin.org/568839) which I do an jndi lookup on an EJB in the constructor to pass a callback to it. I want to report on system events (import progress in this case) and I'm eventually going to use CDI's event handling mechanism instead of this kind of hack, but last time I checked, CDI integration wasn't in trunk, yet. Is that correct? Anyway, the Guice provision error stack trace: http://www.pastebin.org/568845
Can anyone make sense of that?
Jesse
_______________________________________________
errai-users mailing list
errai-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/errai-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100817/27b29fb6/attachment.html
Heiko Braun
2010-08-18 08:23:29 UTC
Permalink
Moving the discussion over to http://community.jboss.org/message/557825
I'm having another problem with JBoss AS 6.0-M4 deployment. I have a class (http://www.pastebin.org/568839) which I do an jndi lookup on an EJB in the constructor to pass a callback to it. I want to report on system events (import progress in this case) and I'm eventually going to use CDI's event handling mechanism instead of this kind of hack, but last time I checked, CDI integration wasn't in trunk, yet. Is that correct? Anyway, the Guice provision error stack trace: http://www.pastebin.org/568845
Can anyone make sense of that?
Jesse
_______________________________________________
errai-users mailing list
errai-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/errai-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100818/054046ce/attachment.html
Loading...