deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: Weblogic 12.2.1 and GroupedConversations
Date Wed, 28 Oct 2015 09:08:55 GMT
hi marcus,

basically it should work, because GroupedConversationManager gets created
by a simple producer (see GroupedConversationArtifactProducer).

there could be multiple reasons for the issue you face.
esp. the bda-rules used by weld/wls. -> please try to package also
ds-core-api and ds-core-impl in WEB-INF/lib (if you haven't done that
already).

new with v1.5.1:
our test-suite passes with wls v12.2.1 (+ we have a 2nd test-profile for
wls).
as i can see we only have tests for GroupedConversationManager with
SeCategory (which gets excluded with ee-server test-profiles).
if nothing will help, i'll add a new test with WebProfileCategory to see if
we have to change something.

regards,
gerhard

http://www.irian.at

Your JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache
MyFaces, DeltaSpike and OpenWebBeans



2015-10-28 8:38 GMT+01:00 <Marcus.Schoenbach@materna.de>:

> 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
> marcus.schoenbach@materna.de
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message