Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28210

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • cloudfoundry-plugin
    • None
    • Jenkins 1.611 deployed on apache-tomcat-7.0.53

      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

            williamg William Gautier
            fgun f gun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: