I started the Snoop service in a Docker container (which is running in Vagrant because I'am working on a Windows machine) with the following command:
docker run -it -d -p 8081:8080 ivargrimstad/snoop-service
It starts successfully and is then accessible via the browser on: http://localhost:8081/snoop-service.
Next, I created a new project (source attached) and trying to start it in a Glassfish 4.1.1 instance. This fails, the output from IntelliJ:
C:\Tools\glassfish-4.1.1\glassfish\bin\asadmin.bat start-domain domain1
[2015-10-29 11:11:34,733] Artifact untitled5:war: Server is not connected. Deploy is not available.
Detected server admin port: 4848
Detected server http port: 8080
Attempting to start domain1.... Please look at the server log for more details.....
Connected to server
[2015-10-29 11:11:43,213] Artifact untitled5:war: Artifact is being deployed, please wait...
[2015-10-29 11:12:12,272] Artifact untitled5:war: Error during artifact deployment. See server log for details.
[2015-10-29 11:12:12,273] Artifact untitled5:war: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Error occurred during deployment: Exception while loading the app : javax.ejb.CreateException: Initialization failed for Singleton SnoopRegistrationClient. Please see server.log for more details.
Glassfish server log: https://www.dropbox.com/s/vokck0xl3sri3cl/server.log?dl=0
Source code: https://www.dropbox.com/s/j99azkh724ef9u9/source.zip?dl=0
bug help wanted