-
1. Re: HA Singleton Missing Dependencies
wdfink Jan 30, 2016 4:38 AM (in response to michaelcivicom)Not sure what happen from your description.
Could you add more information or even your project?
-
2. Re: HA Singleton Missing Dependencies
michaelcivicom Feb 1, 2016 3:02 PM (in response to wdfink)Here is my project https://github.com/michaelpetruzzellocivicom/jboss-javaee-webapp . I am trying to get it to work in a small demo app before I get it into the production application.
I've tried a lot to get this to work, but I'm just not figuring it out. Thank you for the assistance.
-
3. Re: HA Singleton Missing Dependencies
wdfink Feb 2, 2016 8:58 AM (in response to michaelcivicom)You should have a look to Clustering Changes in WildFly 8 topic "Nwe Singleton Service Builder API"
Your code for the Activator seems wrong.
-
4. Re: HA Singleton Missing Dependencies
pferraro Feb 2, 2016 9:11 AM (in response to michaelcivicom)The SingletonService is not public API. There is a public API for creating singleton service here:
The requisite modules will automatically be made available to your application classpath. This API is further simplified in the latest release (i.e. WildFly 10.0.0.Final), which I strongly encourage you to use.
-
5. Re: HA Singleton Missing Dependencies
michaelcivicom Feb 2, 2016 5:11 PM (in response to pferraro)Thank you Paul and Wolf-Dieter. This is definitely pushing me in the right direction. I am still having issues with container/cache, but I need to spend more time researching before I bring it up here. Thanks again!