Hi,
I'm playing around with Deltaspike 1.5.1 and Weblogic 12.2.1. I've got a
problem with @Inject and the GroupConversations, other injections for my own
classes seem to work without problem. I read that 1.5.1 addresses some Weblogic
issues, but it didn't change anything for my problem described below.
The class is packaged in a jar, which is deployed to WEB-INF/lib. The jar
contains a beans.xml.
My bean contains the following code
@Named
@RequestScoped
public class ConversationManagerBean {
@Inject
private GroupedConversationManager conversationManager;
public void cleanupAllConversations() {
conversationManager.closeConversations();
}
}
During deployment Weblogic throws the following error. I run the nearly same
code on a Glassfish 4.1 and it worked.
<28.10.2015 08:27 Uhr MEZ> <Error> <Deployer> <BEA-149202> <Encountered an
exception while attempting to commit the 1 task for the application
"MatAP-1.0-SNAPSHOT" on [partition-name: DOMAIN].>
<28.10.2015 08:27 Uhr MEZ> <Warning> <Deployer> <BEA-149004> <Failures were
detected while initiating deploy task for application "MatAP-1.0-SNAPSHOT".>
<28.10.2015 08:27 Uhr MEZ> <Warning> <Deployer> <BEA-149078> <Stack trace for
message 149004
weblogic.management.DeploymentException: CDI deployment failure:WELD-001408:
Unsatisfied dependencies for type GroupedConversationManager with qualifiers
@Default
at injection point [BackedAnnotatedField] @Inject private
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager
at
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager(ConversationManagerBean.java:0)
:org.jboss.weld.exceptions.DeploymentException:WELD-001408: Unsatisfied
dependencies for type GroupedConversationManager with qualifiers @Default
at injection point [BackedAnnotatedField] @Inject private
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager
at
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager(ConversationManagerBean.java:0)
at
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
at
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
at
org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:155)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
Truncated. see log file for complete stacktrace
>
<28.10.2015 08:27 Uhr MEZ> <Error> <Console> <BEA-240003> <Administration
Console encountered the following error:
weblogic.management.DeploymentException: CDI deployment failure:WELD-001408:
Unsatisfied dependencies for type GroupedConversationManager with qualifiers
@Default
at injection point [BackedAnnotatedField] @Inject private
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager
at
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager(ConversationManagerBean.java:0)
:org.jboss.weld.exceptions.DeploymentException:WELD-001408: Unsatisfied
dependencies for type GroupedConversationManager with qualifiers @Default
at injection point [BackedAnnotatedField] @Inject private
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager
at
com.materna.ap.commons.view.component.beans.ConversationManagerBean.conversationManager(ConversationManagerBean.java:0)
Is this a known problem? Is there something special to do for WLS 12.2.1 or am
I missing something?
Kind regards
Marcus
Dipl. Inform.
Marcus Schönbach
Manager
Application & Portals
Business Line Digital Enterprise
Phone: +49 231 5599-453
Mobile: +49 173 7078205
[email protected]
www.materna.de<http://www.materna.de/> |
Newsletter<http://www.materna.de/newsletter> |
Twitter<http://twitter.com/MATERNA_GmbH> |
XING<http://www.xing.com/companies/MATERNAGMBH> |
Facebook<http://www.facebook.com/maternagmbh> |
google+<https://plus.google.com/+MaternaDe/posts>
_____________________________________________
Materna GmbH | Voßkuhle 37 | D-44141 Dortmund | Germany
Geschäftsführer: Helmut Binder, Ralph Hartwig
Amtsgericht Dortmund HRB 5839