Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Glassfish GrizzlyContainerProvider not a subtype  RSS feed

 
a pazwant
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There,

This might be a little vague question so take your precaution .
We have a web project deployed on a local Glassfish with several assets. When it initializes, it also tries to make a connection to a remote host using websockets. The websocket library we are using is Tyrus. It's bundled in one of the *.jar files which we deployed to the Glassfish.
The problem arises at this point and error is 'java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider not a subtype' . We tried to update the maven repo, but could not fix the problem.
By the way, Tyrus is made by glassfish, we deploy to the glassfish so might be a collision...

Our gradle dependencies contains the followings :
      org.glassfish.tyrus.bundles:tyrus-standalone-client-jdk:1.12
      org.glassfish.tyrus:tyrus-container-grizzly-client:1.13.1

I would like to hear any opinion or suggestion in this regard.

Thanks
 
Vijitha Kumara
Bartender
Posts: 3992
27
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you verified you have the correct and proper dependencies required, as I see you would only need a client implementation here?
 
a pazwant
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right, it's client implementation. We all verified the correct and proper dependencies but couldn't fix it. As a result we changed our client websocket library.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!