<plugin>
<groupId>org.cloudfoundry</groupId>
<artifactId>cf-maven-plugin</artifactId>
<version>1.0.4</version>
<configuration> ... </configuration>
<executions>
<!-- Deploy the app. -->
<execution>
<id>deploy-test-app</id>
<phase>process-test-resources</phase>
<goals>
<goal>push-only</goal>
</goals>
</execution>
<!-- Then, fetch the logs. -->
<execution>
<id>grab-logs</id>
<phase>test-compile</phase>
<goals>
<goal>recentLogs</goal>
</goals>
</execution>
</executions>
</plugin>
[INFO] --- cf-maven-plugin:1.0.4:recentLogs (grab-logs) @ org.eclipse.orion.client.releng ---
[INFO] Getting logs for 'orion-test'
[INFO]
[ERROR] Failed to execute goal org.cloudfoundry:cf-maven-plugin:1.0.4:recentLogs (grab-logs) on project org.eclipse.orion.client.releng: An exception was caught while executing Mojo. javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed: org.apache.tomcat.websocket.ReadBufferOverflowException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.cloudfoundry:cf-maven-plugin:1.0.4:recentLogs (grab-logs) on project org.eclipse.orion.client.releng: An exception was caught while executing Mojo.
...
Caused by: org.cloudfoundry.client.lib.CloudOperationException: javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed
at org.cloudfoundry.client.lib.rest.LoggregatorClient.connectToLoggregator(LoggregatorClient.java:45)
at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.streamLoggregatorLogs(CloudControllerClientImpl.java:1955)
at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.getRecentLogs(CloudControllerClientImpl.java:228)
at org.cloudfoundry.client.lib.CloudFoundryClient.getRecentLogs(CloudFoundryClient.java:347)
at org.cloudfoundry.maven.RecentLogs.doExecute(RecentLogs.java:48)
at org.cloudfoundry.maven.AbstractCloudFoundryMojo.execute(AbstractCloudFoundryMojo.java:274)
... 21 more
Caused by: javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:315)
at org.cloudfoundry.client.lib.rest.LoggregatorClient.connectToLoggregator(LoggregatorClient.java:42)
... 26 more
Caused by: java.util.concurrent.ExecutionException: org.apache.tomcat.websocket.ReadBufferOverflowException
at org.apache.tomcat.websocket.AsyncChannelWrapperSecure$WrapperFuture.get(AsyncChannelWrapperSecure.java:508)
at org.apache.tomcat.websocket.WsWebSocketContainer.processResponse(WsWebSocketContainer.java:542)
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:296)
... 27 more
Caused by: org.apache.tomcat.websocket.ReadBufferOverflowException
at org.apache.tomcat.websocket.AsyncChannelWrapperSecure$ReadTask.run(AsyncChannelWrapperSecure.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:853)
<plugins>
<plugin>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-websocket</artifactId>
<version>8.0.5</version>
<configuration>
<org.apache.tomcat.websocket.BLOCKING_SEND_TIMEOUT>-1</org.apache.tomcat.websocket.BLOCKING_SEND_TIMEOUT> <!-- -1 means no timeout -->
</configuration>
</plugin>
...
</plugins>
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/d6221509-ed2e-4423-908a-8d9819722970%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+unsubscribe@cloudfoundry.org.
No proxy. Although I am behind NAT, it usually doesn't cause any issues.