-
1. Re: unavailable dependencies => .beanmanager
ctomc Feb 17, 2014 6:11 AM (in response to weberj)It looks like your app needs beanManager as in CDI.
but without full stacktrace it is really hard to help you.
-
2. Re: unavailable dependencies => .beanmanager
ssamayoagt Feb 17, 2014 8:55 AM (in response to weberj)I sometimes get the same message while redeploying an application from JB Dev Studio, normally goes away if I restart the server.
FWIW I'm experimenting with JAX-RS as SLSB, still don't use any CDI bean.
Regards.
-
3. Re: unavailable dependencies => .beanmanager
weberj Feb 17, 2014 10:11 AM (in response to ctomc)> It looks like your app needs beanManager as in CDI.
The app runs on Glassfish 4. What do I have to change to inject beanManager?
There is no stacktrace, the only other thing in the log is
2014-02-17 16:05:11,569 FINE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-5) javax.naming.NameNotFoundException: BeanManager -- service jboss.naming.context.java.module.SQLJBatch.SQLJBatch.BeanManager
Thanks, Juergen
-
4. Re: unavailable dependencies => .beanmanager
smarlow Feb 17, 2014 10:38 AM (in response to weberj)One concern is that the bean manager isn't available to the deployer until the INSTALL phase. Perhaps that is part of the issue. Or perhaps there is no bean manager being created for your deployment.
Can you post the server.log output from start of deployment, up to the error? Perhaps also enable TRACE logging for org.wildfly.extension.batch. Some instructions for enabling TRACE logging are here (for JPA but they should be helpful here also).
-
5. Re: unavailable dependencies => .beanmanager
jamezp Feb 17, 2014 11:32 AM (in response to weberj)Do you have a beans.xml file? I realize this is no longer required, but I'm curious if adding one will solve the issue.
--
James R. Perkins
-
6. Re: unavailable dependencies => .beanmanager
weberj Feb 18, 2014 5:29 AM (in response to jamezp)I had a beans.xml with length 0, but in WEB-INF/classes (which was fine for Glassfish).
Moving beans.xml to WEB-INF made the problem go away.
Thank you very much,
Juergen
-
7. Re: unavailable dependencies => .beanmanager
jamezp Feb 18, 2014 11:48 AM (in response to weberj)That seems to be a bug then. Issue filed https://issues.jboss.org/browse/WFLY-2958.
--
James R. Perkins