java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype

jenkins-ci.org | 4 months ago
  1. 0

    [JENKINS-28210] FATAL: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype
  2. 0

    Hi, first time using this plugin. Deploying a very simple [https://code.google.com/p/gwt-examples/downloads/detail?name=Calendar.war] returns the error below. I have the same result whether I use the manifest file or enter the enter the parameter in " Enter configuration in Jenkins" section. Note the same application gets deployed using the CLI. **** WARNING: No manifest value for hostname. Using app name: calendar Pushing calendar app to https://api.cf.##########.com App already exists, skipping creation. Pushing app bits. Restarting application. FATAL: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype at java.util.ServiceLoader.fail(ServiceLoader.java:231) at java.util.ServiceLoader.access$300(ServiceLoader.java:181) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:369) at java.util.ServiceLoader$1.next(ServiceLoader.java:445) at javax.websocket.ContainerProvider.getWebSocketContainer(ContainerProvider.java:43) at org.cloudfoundry.client.lib.rest.LoggregatorClient.connectToLoggregator(LoggregatorClient.java:65) at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.streamLoggregatorLogs(CloudControllerClientImpl.java:2040) at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.streamLogs(CloudControllerClientImpl.java:244) at org.cloudfoundry.client.lib.CloudFoundryClient.streamLogs(CloudFoundryClient.java:356) at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.printStagingLogs(CloudFoundryPushPublisher.java:372) at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.processOneApp(CloudFoundryPushPublisher.java:222) at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.perform(CloudFoundryPushPublisher.java:119) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1769) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Finished: FAILURE

    Jenkins JIRA | 2 years ago | f gun
    java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype
  3. 0

    Hi, first time using this plugin. Deploying a very simple [https://code.google.com/p/gwt-examples/downloads/detail?name=Calendar.war] returns the error below. I have the same result whether I use the manifest file or enter the enter the parameter in " Enter configuration in Jenkins" section. Note the same application gets deployed using the CLI. **** WARNING: No manifest value for hostname. Using app name: calendar Pushing calendar app to https://api.cf.##########.com App already exists, skipping creation. Pushing app bits. Restarting application. FATAL: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype at java.util.ServiceLoader.fail(ServiceLoader.java:231) at java.util.ServiceLoader.access$300(ServiceLoader.java:181) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:369) at java.util.ServiceLoader$1.next(ServiceLoader.java:445) at javax.websocket.ContainerProvider.getWebSocketContainer(ContainerProvider.java:43) at org.cloudfoundry.client.lib.rest.LoggregatorClient.connectToLoggregator(LoggregatorClient.java:65) at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.streamLoggregatorLogs(CloudControllerClientImpl.java:2040) at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.streamLogs(CloudControllerClientImpl.java:244) at org.cloudfoundry.client.lib.CloudFoundryClient.streamLogs(CloudFoundryClient.java:356) at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.printStagingLogs(CloudFoundryPushPublisher.java:372) at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.processOneApp(CloudFoundryPushPublisher.java:222) at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.perform(CloudFoundryPushPublisher.java:119) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1769) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Finished: FAILURE

    Jenkins JIRA | 2 years ago | f gun
    java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Web Socket Client not working in Tomcat

    Stack Overflow | 1 year ago | Sambit
    java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype
  6. 0

    Websockets on tomcat 7 does not work

    Stack Overflow | 10 months ago | eriksson
    java.util.ServiceConfigurationError: javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ServiceConfigurationError

    javax.websocket.ContainerProvider: Provider org.apache.tomcat.websocket.WsContainerProvider not a subtype

    at java.util.ServiceLoader.fail()
  2. Java RT
    ServiceLoader$1.next
    1. java.util.ServiceLoader.fail(ServiceLoader.java:239)
    2. java.util.ServiceLoader.access$300(ServiceLoader.java:185)
    3. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
    4. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    5. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    5 frames
  3. JavaEE 7
    ContainerProvider.getWebSocketContainer
    1. javax.websocket.ContainerProvider.getWebSocketContainer(ContainerProvider.java:43)
    1 frame
  4. Cloud Foundry Java Client Library
    CloudFoundryClient.streamLogs
    1. org.cloudfoundry.client.lib.rest.LoggregatorClient.connectToLoggregator(LoggregatorClient.java:65)
    2. org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.streamLoggregatorLogs(CloudControllerClientImpl.java:2040)
    3. org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.streamLogs(CloudControllerClientImpl.java:244)
    4. org.cloudfoundry.client.lib.CloudFoundryClient.streamLogs(CloudFoundryClient.java:356)
    4 frames
  5. com.activestate.cloudfoundryjenkins
    CloudFoundryPushPublisher.perform
    1. com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.printStagingLogs(CloudFoundryPushPublisher.java:372)
    2. com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.processOneApp(CloudFoundryPushPublisher.java:222)
    3. com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.perform(CloudFoundryPushPublisher.java:119)
    3 frames
  6. Hudson
    AbstractBuild$AbstractBuildExecution.performAllBuildSteps
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
    3 frames
  7. Hudson Maven Embedder
    MavenModuleSetBuild$MavenModuleSetBuildExecution.post2
    1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
    1 frame
  8. Hudson
    Run.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
    2. hudson.model.Run.execute(Run.java:1766)
    2 frames
  9. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
    1 frame
  10. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:374)
    2 frames