The final jar is supposed to have a file named META-INF/services/javax.json.spi.JsonProvider containing only
com.github.pgelinas.jackson.javax.json.spi.JacksonProvider
I know you've described a way to do it manually in the main page, but you should just have it loaded, and it will override the default Glassfish implementation if loaded. That one becomes a fallback, in case another one isn't found.
The final jar is supposed to have a file named
META-INF/services/javax.json.spi.JsonProvidercontaining onlyI know you've described a way to do it manually in the main page, but you should just have it loaded, and it will override the default Glassfish implementation if loaded. That one becomes a fallback, in case another one isn't found.