This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Glassfish GrizzlyContainerProvider not a subtype

 
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
 
Bartender
Posts: 4101
64
Hibernate Fedora Chrome
  • 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.
 
Space pants. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!