-
1. Re: Service problem
mbarkley Jan 17, 2014 10:13 AM (in response to zime)Hi Simone,
What version of Errai are you using? The CDIServiceLocator isn't in 3.0 or 2.4 . So if you're using one of those versions of Errai and you're using an EE6 container on the server, then just get rid of the service-locator and auto-discover-services parameters from your web.xml and everything should work.
Cheers.
-
2. Re: Service problem
zime Jan 17, 2014 12:17 PM (in response to mbarkley)I use 2.4.3 version, in dev mode (so with jetty) and if i remove both parameter, i get the error i posted before: no subscribers to deliver to for subject:
Just to try, i made a package to deploy under Jboss7 but i get the same problem.
-
-
4. Re: Service problem
zime Jan 21, 2014 2:50 AM (in response to mbarkley)I have bean.xml and also ErraiApp.properties .
I think problem is in injection, if i remove this code:
@Inject
public MyService(RequestDispatcher dispatcher) {
this.dispatcher = dispatcher;
}
i can call service, but i don't have dispatcher to send message to alla client.