I am running gradle 2.3 through eclipse from behind a proxy server.
I gave the proxy properties in gradle.properties and saw that they were being picked up while running the build but failing to download the dependencies through https.
I'm getting the 407 Proxy authentication required error.
Below is the debug stack trace. Please help me resolve the issue.I've verfied that the credentials are correct.
[sts] -----------------------------------------------------
[sts] Starting Gradle build for the following tasks:
[sts] test
[sts] -----------------------------------------------------
14:15:53.053 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 8988). The daemon log file: C:\Users\majumdaran\.gradle\daemon\2.3\daemon-8988.out.log
14:15:53.054 [INFO] [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting 38th build in daemon [uptime: 1 hrs 22 mins 15.573 secs, performance: 100%, memory: 3% of 1.0 GB]
14:15:53.054 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
14:15:53.055 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=ea429d4f-cd0a-4652-8ce5-1fb55b48bf57,javaHome=C:\Program Files (x86)\Java\jdk1.6.0_45,daemonRegistryDir=C:\Users\majumdaran\.gradle\daemon,pid=8988,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]
14:15:53.054 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] Closing daemon's stdin at end of input.
14:15:53.056 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] The daemon will no longer process any standard input.
14:15:53.087 [DEBUG] [org.gradle.internal.resource.transport.http.JavaSystemPropertiesHttpProxySettings] Found java system property 'http.nonProxyHosts': localhost|127.0.0.1. Will ignore proxy settings for these hosts.
14:15:53.089 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientConfigurer] Using org.gradle.internal.resource.PasswordCredentials#f530f1 and NTLM Credentials [user: majumdaran, domain: KT, workstation: LSWRNL1434] for authenticating against 'proxynap.domain.com:80'
14:15:53.093 [INFO] [org.gradle.BuildLogger] Starting Build
14:15:53.093 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\majumdaran\.gradle
14:15:53.093 [DEBUG] [org.gradle.BuildLogger] Current dir: C:\Work\UtilServices
14:15:53.094 [DEBUG] [org.gradle.BuildLogger] Settings file: null
14:15:53.094 [DEBUG] [org.gradle.BuildLogger] Build file: null
14:15:53.122 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
14:15:53.123 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
14:15:53.123 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
14:15:53.123 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
14:15:53.126 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: C:\Users\majumdaran\.m2\repository
14:15:53.139 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.015 secs
14:15:53.139 [INFO] [org.gradle.BuildLogger] Settings evaluated using empty settings script.
14:15:53.141 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: C:\Work\UtilServices\gradle.properties
14:15:53.141 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Adding project properties (if not overwritten by user properties): [systemProp.https.auth.ntlm.domain, systemProp.https.keepAlive, systemProp.https.proxyUser, systemProp.https.proxyPort, systemProp.https.proxyPassword, systemProp.https.proxyHost]
14:15:53.142 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file 'C:\Work\UtilServices\build.gradle'.
14:15:53.143 [INFO] [org.gradle.BuildLogger] Included projects: [root project 'UtilServices']
14:15:53.146 [INFO] [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project 'UtilServices' using build file 'C:\Work\UtilServices\build.gradle'.
14:15:53.152 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file 'C:\Work\UtilServices\build.gradle' (C:\Users\majumdaran\.gradle\caches\2.3\scripts\build_andeld3ft8eben9snt8ql2hqb\ProjectScript\buildscript).
14:15:53.152 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.157 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file 'C:\Work\UtilServices\build.gradle' (C:\Users\majumdaran\.gradle\caches\2.3\scripts\build_andeld3ft8eben9snt8ql2hqb\ProjectScript\no_buildscript).
14:15:53.157 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.211 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.065 secs
14:15:53.213 [INFO] [org.gradle.BuildLogger] All projects evaluated.
14:15:53.214 [INFO] [org.gradle.execution.TaskNameResolvingBuildConfigurationAction] Selected primary task 'test' from project :
14:15:53.218 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Creating the DAG took 0.0040 secs
14:15:53.219 [INFO] [org.gradle.BuildLogger] Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test']
14:15:53.219 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :compileJava (Thread[Daemon worker Thread 20,5,main]) started.
14:15:53.220 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :compileJava
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\fileHashes.bin: Size{3}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\outputFileStates.bin: Size{5}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\fileSnapshots.bin: Size{36}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\taskArtifacts.bin: Size{4}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.222 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':compileJava'
14:15:53.224 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':compileJava' is up-to-date
14:15:53.226 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on task history cache (C:\Work\UtilServices\.gradle\2.3\taskArtifacts).
14:15:53.226 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.228 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache outputFileStates.bin (C:\Work\UtilServices\.gradle\2.3\taskArtifacts\outputFileStates.bin)
14:15:53.231 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on artifact cache (C:\Users\majumdaran\.gradle\caches\modules-2).
14:15:53.232 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.232 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDependencyResolver] Resolving configuration ':compile'
14:15:53.233 [DEBUG] [org.gradle.internal.resource.transport.http.JavaSystemPropertiesHttpProxySettings] Found java system property 'http.nonProxyHosts': localhost|127.0.0.1. Will ignore proxy settings for these hosts.
14:15:53.233 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientConfigurer] Using org.gradle.internal.resource.PasswordCredentials#3ed883 and NTLM Credentials [user: majumdaran, domain: KT, workstation: LSWRNL1434] for authenticating against 'proxynap.domain.com:80'
14:15:53.234 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] Creating new in-memory cache for repo 'MavenRepo' [4471c3b2f5ea2d40ffaa8b3948cdbacd].
14:15:53.237 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting configuration :UtilServices:unspecified(compile).
14:15:53.238 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting dependency :UtilServices:unspecified(compile) -> javax.ws.rs:jsr311-api:1.1.1(dependency: javax.ws.rs#jsr311-api;1.1.1 {compile=[default]})
14:15:53.238 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Selecting new module version javax.ws.rs:jsr311-api:1.1.1
14:15:53.238 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainDependencyResolver] Attempting to resolve javax.ws.rs:jsr311-api:1.1.1 using repositories [MavenRepo]
14:15:53.239 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache module-metadata.bin (C:\Users\majumdaran\.gradle\caches\modules-2\metadata-2.14\module-metadata.bin)
14:15:53.240 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.240 [DEBUG] [org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor] Constructing external resource: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.240 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache artifact-at-url.bin (C:\Users\majumdaran\.gradle\caches\modules-2\metadata-2.14\artifact-at-url.bin)
14:15:53.242 [DEBUG] [org.gradle.internal.resource.transport.http.HttpResourceAccessor] Constructing external resource: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.242 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP GET: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.248 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection request: [route: {tls}->http://PROXYNAP.domain.COM:80->https://repo1.maven.org][total kept alive: 0; route allocated: 0 of 5; total allocated: 0 of 10]
14:15:53.248 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection leased: [id: 105][route: {tls}->http://PROXYNAP.domain.COM:80->https://repo1.maven.org][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 10]
14:15:53.286 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnectionOperator] Connecting to PROXYNAP.domain.COM:80
14:15:53.325 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
14:15:53.326 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: UNCHALLENGED
14:15:53.326 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.326 [DEBUG] [org.apache.http.headers] >> CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.327 [DEBUG] [org.apache.http.headers] >> Host: repo1.maven.org
14:15:53.327 [DEBUG] [org.apache.http.headers] >> Proxy-Connection: Keep-Alive
14:15:53.327 [DEBUG] [org.apache.http.headers] >> User-Agent: Gradle/2.3 (Windows 7;6.1;x86) (Sun Microsystems Inc.;1.6.0_45;20.45-b01)
14:15:53.389 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 407 Proxy Authentication Required
14:15:53.390 [DEBUG] [org.apache.http.headers] << HTTP/1.1 407 Proxy Authentication Required
14:15:53.391 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NEGOTIATE
14:15:53.392 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NTLM
14:15:53.394 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: BASIC realm="DomainDC"
14:15:53.394 [DEBUG] [org.apache.http.headers] << Cache-Control: no-cache
14:15:53.396 [DEBUG] [org.apache.http.headers] << Pragma: no-cache
14:15:53.396 [DEBUG] [org.apache.http.headers] << Content-Type: text/html; charset=utf-8
14:15:53.397 [DEBUG] [org.apache.http.headers] << Proxy-Connection: close
14:15:53.397 [DEBUG] [org.apache.http.headers] << Set-Cookie: BCSI-CS-219523f463b2e8fe=2; Path=/
14:15:53.398 [DEBUG] [org.apache.http.headers] << Connection: close
14:15:53.399 [DEBUG] [org.apache.http.headers] << Content-Length: 813
14:15:53.399 [DEBUG] [org.apache.http.client.protocol.ResponseProcessCookies] Cookie spec not specified in HTTP context
14:15:53.400 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication required
14:15:53.401 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] PROXYNAP.domain.COM:80 requested authentication
14:15:53.402 [DEBUG] [org.apache.http.impl.client.ProxyAuthenticationStrategy] Authentication schemes in the order of preference: [negotiate, Kerberos, NTLM, Digest, Basic]
14:15:53.402 [DEBUG] [org.apache.http.impl.auth.SPNegoScheme] Received challenge '' from the auth server
14:15:53.403 [DEBUG] [org.apache.http.impl.client.ProxyAuthenticationStrategy] Challenge for Kerberos authentication scheme not available
14:15:53.404 [DEBUG] [org.apache.http.impl.client.ProxyAuthenticationStrategy] Challenge for Digest authentication scheme not available
14:15:53.404 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Selected authentication options: [NEGOTIATE, NTLM, BASIC]
14:15:53.406 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Connection 0.0.0.0:52729<->172.30.1.181:80 closed
14:15:53.407 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnectionOperator] Connecting to PROXYNAP.domain.COM:80
14:15:53.462 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
14:15:53.463 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: CHALLENGED
14:15:53.463 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Generating response to an authentication challenge using Negotiate scheme
14:15:53.463 [DEBUG] [org.apache.http.impl.auth.SPNegoScheme] init PROXYNAP.domain.COM:80
14:15:53.464 [WARN] [org.apache.http.client.protocol.RequestProxyAuthentication] NEGOTIATE authentication error: Invalid name provided (Mechanism level: Could not load configuration file C:\WINDOWS\krb5.ini (The system cannot find the file specified))
14:15:53.465 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Generating response to an authentication challenge using ntlm scheme
14:15:53.465 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.465 [DEBUG] [org.apache.http.headers] >> CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.465 [DEBUG] [org.apache.http.headers] >> Host: repo1.maven.org
14:15:53.465 [DEBUG] [org.apache.http.headers] >> Proxy-Connection: Keep-Alive
14:15:53.466 [DEBUG] [org.apache.http.headers] >> User-Agent: Gradle/2.3 (Windows 7;6.1;x86) (Sun Microsystems Inc.;1.6.0_45;20.45-b01)
14:15:53.466 [DEBUG] [org.apache.http.headers] >> Proxy-Authorization: NTLM TlRMTVNTUAABAAAAATIAAAIAAgAgAAAACgAKACIAAABLVExTV1JOTDE0MzQ=
14:15:53.505 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 407 Proxy Authentication Required
14:15:53.506 [DEBUG] [org.apache.http.headers] << HTTP/1.1 407 Proxy Authentication Required
14:15:53.506 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NTLM TlRMTVNTUAACAAAABAAEADgAAAAFAoECnPhQEmC+RM4AAAAAAAAAAKQApAA8AAAABgGxHQAAAA9LAFQAAgAEAEsAVAABABYASwBUAE4AQQBQAFAAUgBYADcAMgAwAAQAHABrAHQALgBnAHIAbwB1AHAALgBsAG8AYwBhAGwAAwA0AEsAVABOAEEAUABQAFIAWAA3ADIAMAAuAGsAdAAuAGcAcgBvAHUAcAAuAGwAbwBjAGEAbAAFABYAZwByAG8AdQBwAC4AbABvAGMAYQBsAAcACADCTfoMKHLQAQAAAAA=
14:15:53.507 [DEBUG] [org.apache.http.headers] << Cache-Control: no-cache
14:15:53.507 [DEBUG] [org.apache.http.headers] << Pragma: no-cache
14:15:53.507 [DEBUG] [org.apache.http.headers] << Content-Type: text/html; charset=utf-8
14:15:53.508 [DEBUG] [org.apache.http.headers] << Proxy-Connection: Keep-Alive
14:15:53.508 [DEBUG] [org.apache.http.headers] << Set-Cookie: BCSI-CS-219523f463b2e8fe=2; Path=/
14:15:53.509 [DEBUG] [org.apache.http.headers] << Connection: Keep-Alive
14:15:53.510 [DEBUG] [org.apache.http.headers] << Content-Length: 830
14:15:53.510 [DEBUG] [org.apache.http.client.protocol.ResponseProcessCookies] Cookie spec not specified in HTTP context
14:15:53.510 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication required
14:15:53.511 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] PROXYNAP.domain.COM:80 requested authentication
14:15:53.511 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authorization challenge processed
14:15:53.512 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Connection kept alive
14:15:53.512 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
14:15:53.513 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: HANDSHAKE
14:15:53.514 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.515 [DEBUG] [org.apache.http.headers] >> CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.515 [DEBUG] [org.apache.http.headers] >> Host: repo1.maven.org
14:15:53.516 [DEBUG] [org.apache.http.headers] >> Proxy-Connection: Keep-Alive
14:15:53.516 [DEBUG] [org.apache.http.headers] >> User-Agent: Gradle/2.3 (Windows 7;6.1;x86) (Sun Microsystems Inc.;1.6.0_45;20.45-b01)
14:15:53.517 [DEBUG] [org.apache.http.headers] >> Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAADUANQAWAAAAAQABAAsAQAAFAAUADABAAAUABQARAEAAAAAAAAAAAAAAQIAAMH+sPRYQvIsFNzzYiq7VWtugTt+sJGtkYOrVJygwj5Y6T5BUskeLkUBAQAAAAAAAKBA8QwoctABZMcATJhdTDoAAAAAAgAEAEsAVAABABYASwBUAE4AQQBQAFAAUgBYADcAMgAwAAQAHABrAHQALgBnAHIAbwB1AHAALgBsAG8AYwBhAGwAAwA0AEsAVABOAEEAUABQAFIAWAA3ADIAMAAuAGsAdAAuAGcAcgBvAHUAcAAuAGwAbwBjAGEAbAAFABYAZwByAG8AdQBwAC4AbABvAGMAYQBsAAcACADCTfoMKHLQAQAAAAAAAAAASwBUAG0AYQBqAHUAbQBkAGEAcgBhAG4ATABTAFcAUgBOAEwAMQA0ADMANAA=
14:15:53.566 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 407 Proxy Authentication Required
14:15:53.567 [DEBUG] [org.apache.http.headers] << HTTP/1.1 407 Proxy Authentication Required
14:15:53.568 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NTLM
14:15:53.569 [DEBUG] [org.apache.http.headers] << Cache-Control: no-cache
14:15:53.570 [DEBUG] [org.apache.http.headers] << Pragma: no-cache
14:15:53.571 [DEBUG] [org.apache.http.headers] << Content-Type: text/html; charset=utf-8
14:15:53.573 [DEBUG] [org.apache.http.headers] << Proxy-Connection: close
14:15:53.574 [DEBUG] [org.apache.http.headers] << Set-Cookie: BCSI-CS-219523f463b2e8fe=2; Path=/
14:15:53.575 [DEBUG] [org.apache.http.headers] << Connection: close
14:15:53.576 [DEBUG] [org.apache.http.headers] << Content-Length: 863
14:15:53.577 [DEBUG] [org.apache.http.client.protocol.ResponseProcessCookies] Cookie spec not specified in HTTP context
14:15:53.577 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication required
14:15:53.578 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] PROXYNAP.domain.COM:80 requested authentication
14:15:53.579 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authorization challenge processed
14:15:53.579 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication failed
14:15:53.580 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Connection 0.0.0.0:52730<->172.30.1.181:80 closed
14:15:53.581 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] CONNECT refused by proxy: HTTP/1.1 407 Proxy Authentication Required
14:15:53.583 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Connection 0.0.0.0:52730<->172.30.1.181:80 closed
14:15:53.584 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection released: [id: 105][route: {tls}->http://PROXYNAP.domain.COM:80->https://repo1.maven.org][total kept alive: 0; route allocated: 0 of 5; total allocated: 0 of 10]
14:15:53.585 [INFO] [org.gradle.internal.resource.transport.http.HttpClientHelper] Failed to get resource: GET. [HTTP HTTP/1.1 407 Proxy Authentication Required: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom]
14:15:53.586 [DEBUG]
--- deleted due to so 30000 chars limit
Related
Packer qemu build fails with below error for rhel9.
2022/11/14 06:49:53 packer-builder-qemu plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
2022/11/14 06:49:53 packer-builder-qemu plugin: [DEBUG] Detected authentication error. Increasing handshake attempts.
2022/11/14 06:50:00 packer-builder-qemu plugin: [INFO] Attempting SSH connection to 127.0.0.1:2799...
2022/11/14 06:50:00 packer-builder-qemu plugin: [DEBUG] reconnecting to TCP connection for SSH
2022/11/14 06:50:00 packer-builder-qemu plugin: [DEBUG] handshaking with SSH
2022/11/14 06:50:03 packer-builder-qemu plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
2022/11/14 06:50:03 packer-builder-qemu plugin: [DEBUG] Detected authentication error. Increasing handshake attempts.
2022/11/14 06:50:10 packer-builder-qemu plugin: [INFO] Attempting SSH connection to 127.0.0.1:2799...
2022/11/14 06:50:10 packer-builder-qemu plugin: [DEBUG] reconnecting to TCP connection for SSH
2022/11/14 06:50:10 packer-builder-qemu plugin: [DEBUG] handshaking with SSH
2022/11/14 06:50:14 packer-builder-qemu plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
With same iso and kickstart file , I could login to new VM via vcenter.
Any suggestions?
Below are the logs:
[debug] [35m[W3C][39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] [35m[W3C][39m at UIA2Proxy.command (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13)
[debug] [35m[W3C][39m at processTicksAndRejections (node:internal/process/task_queues:96:5)
[debug] [35m[W3C][39m at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10)
[debug] [35m[W3C][39m at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:244:28)
[debug] [35m[W3C][39m at AndroidUiautomator2Driver.createSession (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:230:7)
[debug] [35m[W3C][39m at AppiumDriver.createSession (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\lib\appium.js:387:35)
[35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[31m500[39m [90m12195 ms - 1315[39m
[35m[HTTP][39m [90m[39m
[debug] [35m[Instrumentation][39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
Test case skipped
Test case skipped
Test case skipped
===============================================
Suite
Total tests run: 3, Passes: 0, Failures: 0, Skips: 3
Configuration Failures: 1, Skips: 5
===============================================
I recently created a S3 bucket at Scaleway.
I mount it using s3fs without apparent problem.
I have problems uploading some "mid size" files.
If the size under 20 M it's ok but for with larger files (50 M and more), the copy fails with message "unable to write file, permission denied".
I contacter scaleway support but they said it's related to my s3fs client.
I mounted the bucket in debug mode, using :
$ sudo s3fs tellurix /mnt/scaleway/ -o passwd_file=${HOME}/.passwd-s3fs,url=https://s3.fr-par.scw.cloud,allow_other -o use_path_request_style,noatime -o dbglevel=info -f -o curldbg
I copy/paste the 100 last lines of the log, because I don't see where the error is .
Thanks a lot for help
* SSL_write() returned SYSCALL, errno = 32
* Closing connection 6
[ERR] curl.cpp:RequestPerform(2546): ### CURLE_SEND_ERROR
* SSL_write() returned SYSCALL, errno = 32
* Closing connection 5
[ERR] curl.cpp:RequestPerform(2546): ### CURLE_SEND_ERROR
[INF] curl.cpp:RequestPerform(2621): ### retrying...
[INF] curl.cpp:RemakeHandle(2248): Retry request. [type=9][url=https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=5&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1][path=/ant/MyHome automation guide 72488.pdf]
* Hostname s3.fr-par.scw.cloud was found in DNS cache
* Trying 2001:bc8:1002::30:443...
* TCP_NODELAY set
* Connected to s3.fr-par.scw.cloud (2001:bc8:1002::30) port 443 (#6)
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL re-using session ID
* SSL_write() returned SYSCALL, errno = 32
* Closing connection 5
[ERR] curl.cpp:RequestPerform(2546): ### CURLE_SEND_ERROR
* old SSL session ID is stale, removing
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* Server certificate:
* subject: CN=s3.fr-par.scw.cloud
* start date: Feb 10 23:20:22 2020 GMT
* expire date: May 10 23:20:22 2020 GMT
* subjectAltName: host "s3.fr-par.scw.cloud" matched cert's "s3.fr-par.scw.cloud"
* issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
* SSL certificate verify ok.
> PUT /tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=5&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1 HTTP/1.1
Host: s3.fr-par.scw.cloud
User-Agent: s3fs/1.86 (commit hash 005a684; OpenSSL)
Accept: */*
Content-Length: 10485760
Expect: 100-continue
* SSL_write() returned SYSCALL, errno = 32
* Closing connection 6
[ERR] curl.cpp:RequestPerform(2546): ### CURLE_SEND_ERROR
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
< x-amz-id-2: tx97bf2f1b3ccd47c4a5f91-005eaa999a
< x-amz-request-id: tx97bf2f1b3ccd47c4a5f91-005eaa999a
< Content-Type: application/xml
< Date: Thu, 30 Apr 2020 09:25:46 GMT
< Transfer-Encoding: chunked
* HTTP error before end of send, keep sending
<
[INF] curl.cpp:RequestPerform(2621): ### retrying...
[INF] curl.cpp:RemakeHandle(2248): Retry request. [type=9][url=https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=2&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1][path=/ant/MyHome automation guide 72488.pdf]
[ERR] curl.cpp:RequestPerform(2639): ### giving up
[WAN] curl.cpp:MultiPerform(4340): thread failed - rc(-5)
[INF] curl.cpp:insertV4Headers(2797): computing signature [PUT] [/ant/MyHome automation guide 72488.pdf] [partNumber=6&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1] [34ec149b334729973e407bada5e11b96774acfd1375b8009f789474ecb9bb2bb]
[INF] curl.cpp:url_to_host(99): url is https://s3.fr-par.scw.cloud
* Hostname s3.fr-par.scw.cloud was found in DNS cache
* Trying 2001:bc8:1002::30:443...
* TCP_NODELAY set
* Connected to s3.fr-par.scw.cloud (2001:bc8:1002::30) port 443 (#7)
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL re-using session ID
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* Server certificate:
* subject: CN=s3.fr-par.scw.cloud
* start date: Feb 10 23:20:22 2020 GMT
* expire date: May 10 23:20:22 2020 GMT
* subjectAltName: host "s3.fr-par.scw.cloud" matched cert's "s3.fr-par.scw.cloud"
* issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
* SSL certificate verify ok.
> PUT /tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=6&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1 HTTP/1.1
Host: s3.fr-par.scw.cloud
User-Agent: s3fs/1.86 (commit hash 005a684; OpenSSL)
Authorization: AWS4-HMAC-SHA256 Credential=xxxxxx/20200430/fr-par/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=91bbf50cc33a1f1d1cd3f3660fcc116e857223b4f8297b6c796e7dc32f244bac
x-amz-content-sha256: 34ec149b334729973e407bada5e11b96774acfd1375b8009f789474ecb9bb2bb
x-amz-date: 20200430T092546Z
Content-Length: 1132789
Expect: 100-continue
[INF] curl.cpp:RequestPerform(2621): ### retrying...
[INF] curl.cpp:RemakeHandle(2248): Retry request. [type=9][url=https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=1&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1][path=/ant/MyHome automation guide 72488.pdf]
[ERR] curl.cpp:RequestPerform(2639): ### giving up
* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* SSL_write() returned SYSCALL, errno = 32
* Closing connection 6
[ERR] curl.cpp:RequestPerform(2546): ### CURLE_SEND_ERROR
[INF] curl.cpp:RequestPerform(2621): ### retrying...
[INF] curl.cpp:RemakeHandle(2248): Retry request. [type=9][url=https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=3&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1][path=/ant/MyHome automation guide 72488.pdf]
[ERR] curl.cpp:RequestPerform(2639): ### giving up
[INF] curl.cpp:RequestPerform(2621): ### retrying...
[INF] curl.cpp:RemakeHandle(2248): Retry request. [type=9][url=https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=4&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1][path=/ant/MyHome automation guide 72488.pdf]
[ERR] curl.cpp:RequestPerform(2639): ### giving up
[INF] curl.cpp:RequestPerform(2621): ### retrying...
[INF] curl.cpp:RemakeHandle(2248): Retry request. [type=9][url=https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=5&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1][path=/ant/MyHome automation guide 72488.pdf]
[ERR] curl.cpp:RequestPerform(2639): ### giving up
* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 0
< x-amz-id-2: tx64fa48b5fffb4985bee17-005eaa999a
< Last-Modified: Thu, 30 Apr 2020 09:25:46 GMT
< ETag: "30c5132a619a14608ff0a3d9bac63fe2"
< x-amz-request-id: tx64fa48b5fffb4985bee17-005eaa999a
< x-amz-version-id: 1588238746862950
< Content-Type: text/html; charset=UTF-8
< Date: Thu, 30 Apr 2020 09:25:59 GMT
<
* Connection #7 to host s3.fr-par.scw.cloud left intact
[INF] curl.cpp:RequestPerform(2455): HTTP response code 200
[WAN] curl.cpp:MultiPerform(4374): thread failed - rc(-5)
[WAN] curl.cpp:MultiPerform(4374): thread failed - rc(-5)
[WAN] curl.cpp:MultiPerform(4374): thread failed - rc(-5)
[WAN] curl.cpp:MultiPerform(4374): thread failed - rc(-5)
[WAN] curl.cpp:MultiRead(4400): error from callback function(https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=1&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1).
[WAN] curl.cpp:MultiRead(4400): error from callback function(https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=2&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1).
[WAN] curl.cpp:MultiRead(4400): error from callback function(https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=3&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1).
[WAN] curl.cpp:MultiRead(4400): error from callback function(https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=4&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1).
[WAN] curl.cpp:MultiRead(4400): error from callback function(https://s3.fr-par.scw.cloud/tellurix/ant/MyHome%20automation%20guide%2072488.pdf?partNumber=5&uploadId=YmNkMmE3MWMtMDFhYi00NDhmLTlkYWItMjEyMDA1YTM1Njk1).
[INF] curl.cpp:CompleteMultipartPostRequest(3642): [tpath=/ant/MyHome automation guide 72488.pdf][parts=6]
[ERR] curl.cpp:CompleteMultipartPostRequest(3653): 1 file part is not finished uploading.
[INF] s3fs.cpp:s3fs_release(2358): [path=/ant/MyHome automation guide 72488.pdf][fd=11]
[INF] cache.cpp:DelStat(582): delete stat cache entry[path=/ant/MyHome automation guide 72488.pdf]
[INF] fdcache.cpp:GetFdEntity(2650): [path=/ant/MyHome automation guide 72488.pdf][fd=11]
I successfully mounted and wrote a 500 MB file to scaleway using your command-line arguments. Given the CURLE_SEND_ERROR I wonder if you have some kind of network problem? Maybe try a lower value for -o parallel_count, e.g., 1? See https://github.com/s3fs-fuse/s3fs-fuse/issues/1283#issuecomment-623026911 for the resolution.
From where do you mount your bucket? Is it your PC in your home or a cloud VM? How much time does it take before you receive this error?
I'm asking because "SSL_write() returned SYSCALL, errno = 32" looks like something is closing your connection. "HTTP error before end of send, keep sending" also points for that kind of problem. A timeout maybe occurs? Do you have a NAT gateway between you and your bucket? That can also cause the problem, if it does not care about keepalives as the upload can take relatively long.
As the s3fs wiki says, 20MB is the threshold for multipart uploads instead of single request. Maybe Scaleway has a slightly different API for multipart uploads than Amazon? From the s3fs wiki: "Some providers do not support the full S3 API, e.g., lacking multi-part upload." Please make note that s3fs is mainly intended to work with Amazon S3 and, as I see, Scaleway is not on the list of supported providers in the s3fs wiki: https://github.com/s3fs-fuse/s3fs-fuse/wiki/Non-Amazon-S3.
The last thing, what's your version of libcurl? The s3fs documentation says it should be 7.16 or 7.17. And are you using the latest version of s3fs?
I am running the stock Errai-Tutorial (3.1.1) in Eclipse using Maven 3.2.1. It runs fine in SuperDev mode, but when I try to deploy it using 'clean package wildfly:deploy', everything compiles fine but I get an error during deployment (with the Debug flag set):
[INFO] <<< wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) # errai-tutorial <<<
[INFO]
[INFO] --- wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) # errai-tutorial ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=1, ConflictMarker.nodeCount=130, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=53, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=109, DefaultDependencyCollector.collectTime=84, DefaultDependencyCollector.transformTime=2}
[DEBUG] org.wildfly.plugins:wildfly-maven-plugin:jar:1.0.2.Final:
[DEBUG] org.apache.commons:commons-compress:jar:1.5:compile
[DEBUG] org.tukaani:xz:jar:1.2:compile
[DEBUG] org.apache.maven:maven-core:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-model:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-settings:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-settings-builder:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-artifact:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-model-builder:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-aether-provider:jar:3.0.5:compile
[DEBUG] org.sonatype.aether:aether-spi:jar:1.13.1:compile
[DEBUG] org.sonatype.aether:aether-impl:jar:1.13.1:compile
[DEBUG] org.sonatype.aether:aether-api:jar:1.13.1:compile
[DEBUG] org.sonatype.aether:aether-util:jar:1.13.1:compile
[DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0:compile
[DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:2.3.0:compile
[DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
[DEBUG] org.sonatype.sisu:sisu-guava:jar:0.9.9:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.0.5:compile
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.2:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.10:compile
[DEBUG] org.jboss.jdf:stacks-client:jar:1.0.2.Final:compile
[DEBUG] org.yaml:snakeyaml:jar:1.10:compile
[DEBUG] org.apache.httpcomponents:httpclient:jar:4.0.1:compile
[DEBUG] org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[DEBUG] commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG] commons-codec:commons-codec:jar:1.3:compile
[DEBUG] org.jboss.logging:jboss-logging:jar:3.1.2.GA:compile
[DEBUG] org.wildfly:wildfly-cli:jar:8.1.0.Final:compile
[DEBUG] org.jboss.aesh:aesh:jar:0.33.11:compile
[DEBUG] org.fusesource.jansi:jansi:jar:1.9:compile
[DEBUG] org.jboss:staxmapper:jar:1.1.0.Final:compile
[DEBUG] org.wildfly.security:wildfly-security-manager:jar:1.0.0.Final:compile
[DEBUG] org.jboss.sasl:jboss-sasl:jar:1.0.4.Final:compile
[DEBUG] org.jboss.remoting:jboss-remoting:jar:4.0.3.Final:compile
[DEBUG] org.jboss.remotingjmx:remoting-jmx:jar:2.0.0.Final:compile
[DEBUG] org.jboss.marshalling:jboss-marshalling:jar:1.4.2.Final:compile
[DEBUG] org.jboss.marshalling:jboss-marshalling-river:jar:1.4.2.Final:compile
[DEBUG] org.jboss:jboss-vfs:jar:3.2.5.Final:compile
[DEBUG] sun.jdk:jconsole:jar:jdk:system
[DEBUG] org.wildfly:wildfly-build-config:jar:8.1.0.Final:compile
[DEBUG] org.wildfly:wildfly-controller-client:jar:8.1.0.Final:compile
[DEBUG] org.jboss:jboss-dmr:jar:1.2.0.Final:compile
[DEBUG] org.jboss.threads:jboss-threads:jar:2.1.1.Final:compile
[DEBUG] org.wildfly:wildfly-protocol:jar:8.1.0.Final:compile
[DEBUG] org.jboss.xnio:xnio-api:jar:3.2.2.Final:compile
[DEBUG] org.jboss.xnio:xnio-nio:jar:3.2.2.Final:compile
[DEBUG] Created new class realm plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final
[DEBUG] Importing foreign packages into class realm plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final
[DEBUG] Included: org.wildfly.plugins:wildfly-maven-plugin:jar:1.0.2.Final
[DEBUG] Included: org.apache.commons:commons-compress:jar:1.5
[DEBUG] Included: org.tukaani:xz:jar:1.2
[DEBUG] Included: org.sonatype.aether:aether-util:jar:1.13.1
[DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:2.3.0
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG] Included: org.sonatype.sisu:sisu-guava:jar:0.9.9
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG] Included: org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.2
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.10
[DEBUG] Included: org.jboss.jdf:stacks-client:jar:1.0.2.Final
[DEBUG] Included: org.yaml:snakeyaml:jar:1.10
[DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.0.1
[DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.0.1
[DEBUG] Included: commons-logging:commons-logging:jar:1.1.1
[DEBUG] Included: commons-codec:commons-codec:jar:1.3
[DEBUG] Included: org.jboss.logging:jboss-logging:jar:3.1.2.GA
[DEBUG] Included: org.wildfly:wildfly-cli:jar:8.1.0.Final
[DEBUG] Included: org.jboss.aesh:aesh:jar:0.33.11
[DEBUG] Included: org.fusesource.jansi:jansi:jar:1.9
[DEBUG] Included: org.jboss:staxmapper:jar:1.1.0.Final
[DEBUG] Included: org.wildfly.security:wildfly-security-manager:jar:1.0.0.Final
[DEBUG] Included: org.jboss.sasl:jboss-sasl:jar:1.0.4.Final
[DEBUG] Included: org.jboss.remoting:jboss-remoting:jar:4.0.3.Final
[DEBUG] Included: org.jboss.remotingjmx:remoting-jmx:jar:2.0.0.Final
[DEBUG] Included: org.jboss.marshalling:jboss-marshalling:jar:1.4.2.Final
[DEBUG] Included: org.jboss.marshalling:jboss-marshalling-river:jar:1.4.2.Final
[DEBUG] Included: org.jboss:jboss-vfs:jar:3.2.5.Final
[DEBUG] Included: sun.jdk:jconsole:jar:jdk
[DEBUG] Included: org.wildfly:wildfly-build-config:jar:8.1.0.Final
[DEBUG] Included: org.wildfly:wildfly-controller-client:jar:8.1.0.Final
[DEBUG] Included: org.jboss:jboss-dmr:jar:1.2.0.Final
[DEBUG] Included: org.jboss.threads:jboss-threads:jar:2.1.1.Final
[DEBUG] Included: org.wildfly:wildfly-protocol:jar:8.1.0.Final
[DEBUG] Included: org.jboss.xnio:xnio-api:jar:3.2.2.Final
[DEBUG] Included: org.jboss.xnio:xnio-nio:jar:3.2.2.Final
[DEBUG] Excluded: org.apache.maven:maven-core:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-model:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-settings:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-settings-builder:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-model-builder:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-aether-provider:jar:3.0.5
[DEBUG] Excluded: org.sonatype.aether:aether-spi:jar:1.13.1
[DEBUG] Excluded: org.sonatype.aether:aether-impl:jar:1.13.1
[DEBUG] Excluded: org.sonatype.aether:aether-api:jar:1.13.1
[DEBUG] Excluded: org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0
[DEBUG] Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.4
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:3.0.5
[DEBUG] Configuring mojo org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy from plugin realm ClassRealm[plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final, parent: sun.misc.Launcher$AppClassLoader#21a722ef]
[DEBUG] Configuring mojo 'org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy' with basic configurator -->
[DEBUG] (f) checkPackaging = true
[DEBUG] (f) force = true
[DEBUG] (f) hostname = localhost
[DEBUG] (f) port = 9990
[DEBUG] (f) project = MavenProject: org.jboss.errai.demo:errai-tutorial:1.0.0-SNAPSHOT # /Users/steve/Documents/eclipse_workspace/errai-tutorial-master/pom.xml
[DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter#253217dd
[DEBUG] (f) skip = false
[DEBUG] (f) targetDir = /Users/steve/Documents/eclipse_workspace/errai-tutorial-master/target
[DEBUG] -- end configuration --
[DEBUG] No <id> element was found in the POM - Getting credentials from CLI entry
Feb 21, 2015 5:20:36 PM org.xnio.Xnio <clinit>
INFO: XNIO version 3.2.2.Final
Feb 21, 2015 5:20:37 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.2.2.Final
Feb 21, 2015 5:20:37 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 4.0.3.Final
[DEBUG] Executing deployment
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:40 min
[INFO] Finished at: 2015-02-21T17:20:37-05:00
[INFO] Final Memory: 50M/710M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) on project errai-tutorial: Deployment failed and was rolled back. "java.io.IOException: No such file or directory" -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) on project errai-tutorial: Deployment failed and was rolled back.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.wildfly.plugin.common.DeploymentExecutionException: Deployment failed and was rolled back.
at org.wildfly.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:180)
at org.wildfly.plugin.deployment.AbstractDeployment.executeDeployment(AbstractDeployment.java:121)
at org.wildfly.plugin.deployment.AbstractDeployment.doExecute(AbstractDeployment.java:146)
at org.wildfly.plugin.deployment.AbstractAppDeployment.doExecute(AbstractAppDeployment.java:70)
at org.wildfly.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:111)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.lang.Exception: "java.io.IOException: No such file or directory"
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
at org.wildfly.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:169)
... 25 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The only other error I see during compilation is the following (but this does not seem to impact SuperDev mode, so it is probably just a warning):
[INFO] ERROR [Ejb3Configuration] HHH000050: Container is providing a null PersistenceUnitRootUrl: discovery impossible
[INFO] WARN [ConnectionProviderInitiator] HHH000181: No appropriate connection provider encountered, assuming application will be supplying connections
Any ideas on why the deployment is failing?
Thanks,
Steve
I am working on a maven plugin project which invokes a jar file calling a function from MavenRepositorySystemUtils in maven-aether-provider.jar. However, I kept receiving exception as below,
Caused by: java.lang.NoClassDefFoundError: org/apache/maven/repository/internal/MavenRepositorySystemUtils
at com.dbx.upload.Utils.NexusUtils.ManualRepositorySystemFactory.newRepositorySystem(ManualRepositorySystemFactory.java:27)
at com.dbx.upload.Utils.NexusUtils.Booter.newRepositorySystem(Booter.java:39)
at com.dbx.upload.Downloader.NexusDownloader.download(NexusDownloader.java:69)
at com.dbx.upload.UploadTool.<init>(UploadTool.java:60)
at com.dbx.upload.plugin.UploadMojo.execute(UploadMojo.java:221)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
Caused by: java.lang.ClassNotFoundException: org.apache.maven.repository.internal.MavenRepositorySystemUtils
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
... 26 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
I have deleted my local repo and re-run the maven plugin without success.
I verified that maven-aether-provider.jar:3.1.0 is under local repo.
One thing weird is that the pluin realm seems to exclude some usefule classes as shown here,
> [DEBUG] Created new class realm plugin>com.dbx.upload.plugin:veracode-maven-plugin:1.0.2-SNAPSHOT
[DEBUG] Importing foreign packages into class realm plugin>com.dbx.upload.plugin:veracode-maven-plugin:1.0.2-SNAPSHOT
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>com.dbx.upload.plugin:veracode-maven-plugin:1.0.2-SNAPSHOT
[DEBUG] Included: com.dbx.upload.plugin:veracode-maven-plugin:jar:1.0.2-SNAPSHOT
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.10
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M2a
[DEBUG] Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG] Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG] Included: javax.inject:javax.inject:jar:1
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG] Included: aopalliance:aopalliance:jar:1.0
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M2a
[DEBUG] Included: asm:asm:jar:3.3.1
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.16
[DEBUG] Included: org.eclipse.aether:aether-api:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-spi:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-impl:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-connector-basic:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-transport-file:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-transport-http:jar:0.9.0.M4
[DEBUG] Included: org.slf4j:jcl-over-slf4j:jar:1.6.2
[DEBUG] Included: org.slf4j:slf4j-api:jar:1.6.2
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-model:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:3.1.0
[DEBUG] Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.4
[DEBUG] Excluded: org.apache.maven:maven-aether-provider:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-model-builder:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:3.1.0
Any clue for the exception? Much Appreciate for your help.