This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request DefaultHttpRequest(chunked: false) | |
GET /content/groups/sonatype-grid/com/ning/async-http-client/1.4.1/async-http-client-1.4.1-shaded.jar HTTP/1.1 | |
Host: repository.sonatype.org | |
Pragma: no-cache | |
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | |
If-Range: b5d77f376df1f150c175b3e5a9db36d300be00e4 | |
Range: bytes=638976- | |
Accept-Encoding: gzip | |
Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxx | |
Connection: keep-alive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jfarcand:test_resume jfarcand$ curl -v -H 'Range: bytes=0-10' -H 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXX=' http://repository.sonatype. | |
org/content/groups/sonatype-grid/com/ning/async-http-client/1.4.1/async-http-client-1.4.1-shaded.jar | |
* About to connect() to repository.sonatype.org port 80 (#0) | |
* Trying 63.246.20.88... connected | |
* Connected to repository.sonatype.org (63.246.20.88) port 80 (#0) | |
> GET /content/groups/sonatype-grid/com/ning/async-http-client/1.4.1/async-http-client-1.4.1-shaded.jar HTTP/1.1 | |
> User-Agent: curl/7.19.7 (i386-apple-darwin10.2.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 | |
> Host: repository.sonatype.org | |
> Accept: */* | |
> Range: bytes=0-10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request DefaultHttpRequest(chunked: false) | |
GET /maven2/com/ning/async-http-client/1.4.1/async-http-client-1.4.1-shaded.jar HTTP/1.1 | |
Host: repo1.maven.org | |
Pragma: no-cache | |
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | |
Range: bytes=999634- | |
Connection: keep-alive | |
User-Agent: Apache-Maven/3.0.1 (Java 1.6.0_22; Mac OS X 10.6.5) | |
Response DefaultHttpResponse(chunked: true) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ b/aether-connector-asynchttpclient/src/main/java/org/sonatype/aether/connector/async/AsyncRepositoryConnector.java | |
@@ -73,6 +73,7 @@ import java.util.Collections; | |
import java.util.LinkedHashMap; | |
import java.util.Map; | |
import java.util.UUID; | |
+import java.util.concurrent.ConcurrentLinkedQueue; | |
import java.util.concurrent.CountDownLatch; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
@@ -108,6 +109,8 @@ class AsyncRepositoryConnector |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------- | |
Test set: org.sonatype.aether.connector.async.PutTest | |
------------------------------------------------------------------------------- | |
Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 1.237 sec <<< FAILURE! | |
testArtifactUpload HTTP(org.sonatype.aether.connector.async.PutTest) Time elapsed: 0.089 sec <<< ERROR! | |
java.io.IOException: Failed to delete [C:\cygwin\home\degulle\sonatype-aether\aether-connector-asynchttpclient\target\su | |
refire-tmp\aether-f2512db4\tmpfile-174372270501238868.data, C:\cygwin\home\degulle\sonatype-aether\aether-connector-asyn | |
chttpclient\target\surefire-tmp\aether-f2512db4\tmpfile-2223542753478878544.data, C:\cygwin\home\degulle\sonatype-aether | |
\aether-connector-asynchttpclient\target\surefire-tmp\aether-f2512db4\tmpfile-2318637169585715822.data, C:\cygwin\home\d | |
egulle\sonatype-aether\aether-connector-asynchttpclient\target\surefire-tmp\aether-f2512db4\tmpfile-4421682469158525556. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/aether-connector-asynchttpclient/src/main/java/org/sonatype/aether/connector/async/AsyncRepositoryConnector.java b/aether-connector-index 9443edf..549fdb9 100644 | |
--- a/aether-connector-asynchttpclient/src/main/java/org/sonatype/aether/connector/async/AsyncRepositoryConnector.java | |
+++ b/aether-connector-asynchttpclient/src/main/java/org/sonatype/aether/connector/async/AsyncRepositoryConnector.java | |
@@ -426,6 +426,7 @@ class AsyncRepositoryConnector | |
final TransferResource transferResource = new DefaultTransferResource( repository.getUrl(), path, file ); | |
final boolean ignoreChecksum = RepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals( checksumPolicy ); | |
CompletionHandler completionHandler = null; | |
+ final AtomicBoolean cleanUpTempFile = new AtomicBoolean(true); | |
final FileLockCompanion fileLockCompanion = ( file != null ) ? createOrGetTmpFile( file.getPath(), allowResumable ) : new FileLockCo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:j2ee="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3.0.xsd"> | |
<description>Atmosphere Chat</description> | |
<display-name>Atmosphere Chat</display-name> | |
<servlet> | |
<description>MeteorServlet</description> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Results : | |
Failed tests: | |
test013_cantParsePomMarker(org.maven.ide.eclipse.tests.ProjectRegistryManagerTest) | |
test013_missingDependencyMarker(org.maven.ide.eclipse.tests.ProjectRegistryManagerTest) | |
test(org.maven.ide.eclipse.tests.ClasspathProviderTest) | |
testSourcePath(org.maven.ide.eclipse.tests.ClasspathProviderTest) | |
Tests run: 201, Failures: 4, Errors: 0, Skipped: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#|2011-01-04T16:13:48.167-0500|SEVERE|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|CORE10016: Exception while deploying | |
java.lang.NullPointerException | |
at org.glassfish.internal.deployment.GenericHandler.getDefaultApplicationName(GenericHandler.java:129) | |
at org.glassfish.internal.deployment.GenericHandler.getDefaultApplicationName(GenericHandler.java:155) | |
at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:254) | |
at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:128) | |
at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:88) | |
at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:79) | |
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:64) | |
at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#|2011-01-04T16:42:25.404-0500|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=118;_ThreadName=http-thread-pool-8080(2);|java.lang.NullPointerException | |
at com.sun.grizzly.websockets.WebSocketEngine.getApplication(WebSocketEngine.java:113) | |
at com.sun.grizzly.websockets.WebSocketEngine.upgrade(WebSocketEngine.java:133) | |
at com.sun.grizzly.websockets.WebSocketAsyncFilter.doFilter(WebSocketAsyncFilter.java:52) | |
at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171) | |
at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143) | |
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:93) | |
at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193) | |
at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175) | |
at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145) |