[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2014-01-10 Thread Robert Scholte (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MNG-5162:


Fix Version/s: (was: 3.2)

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2014-01-05 Thread Jason van Zyl (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason van Zyl updated MNG-5162:
---

Fix Version/s: (was: 3.1.x)
   3.2

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Fix For: 3.2

 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-10-24 Thread Barrie Treloar (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Barrie Treloar closed MNG-5162.
---

Resolution: Not A Bug

This is probably not a bug with Maven but with Java and the IP stack selection.

Since there is a workaround (i.e. for IPv4), will close this as not a bug.

Documented at https://cwiki.apache.org/confluence/display/MAVEN/ConnectException


 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-10-24 Thread Barrie Treloar (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Barrie Treloar updated MNG-5162:


Fix Version/s: 3.1

Added code to exception handling to link to 
https://cwiki.apache.org/confluence/display/MAVEN/ConnectException

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Fix For: 3.1

 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-06-29 Thread Paolo Ambrosio (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=302189#comment-302189
 ] 

Paolo Ambrosio commented on MNG-5162:
-

Jukka's suggestion fixed my problem as well.

Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+)
Java version: 1.7.0_05, vendor: Oracle Corporation
OS name: windows 7, version: 6.1, arch: x86, family: windows


 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-05-12 Thread Damien Coraboeuf (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=298549#comment-298549
 ] 

Damien Coraboeuf commented on MNG-5162:
---

{quote}
Setting {{MAVEN_OPTS}} to {{-Djava.net.preferIPv4Stack=true}}
{quote}
It seems to do the trick as well :) I'm back to JDK7.

Thanks,
Damien.

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-05-05 Thread Jukka Zitting (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=297921#comment-297921
 ] 

Jukka Zitting commented on MNG-5162:


Setting {{MAVEN_OPTS}} to {{-Djava.net.preferIPv4Stack=true}} fixed this 
problem for me.

{code}
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: c:\Program Files\apache-maven-3.0.4
Java version: 1.7.0_04, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.7.0_04\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: windows 7, version: 6.1, arch: amd64, family: windows
{code}

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-04-06 Thread David Boden (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=296023#comment-296023
 ] 

David Boden commented on MNG-5162:
--

Thread dump when stuck on Java 7:


2012-04-07 00:04:54
Full thread dump Java HotSpot(TM) Client VM (22.1-b02 mixed mode, sharing):

RMI TCP Connection(2)-192.168.0.201 daemon prio=6 tid=0x0475ec00 nid=0x1bc0 
runnable [0x064ef000]
   java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
- locked 0x244007c8 (a java.io.BufferedInputStream)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
- 0x24400928 (a java.util.concurrent.ThreadPoolExecutor$Worker)

JMX server connection timeout 42 daemon prio=6 tid=0x0475e400 nid=0x1790 in 
Object.wait() [0x0633f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on 0x244009c0 (a [I)
at 
com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.run(ServerCommunicatorAdmin.java:168)
- locked 0x244009c0 (a [I)
at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
- None

RMI Scheduler(0) daemon prio=6 tid=0x0475e000 nid=0x17f0 waiting on condition 
[0x0539f000]
   java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  0x24400a48 (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)
at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
- None

RMI TCP Connection(idle) daemon prio=6 tid=0x0475d800 nid=0x1394 waiting on 
condition [0x061cf000]
   java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  0x2444b960 (a 
java.util.concurrent.SynchronousQueue$TransferStack)
at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at 
java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at 
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942)
at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
- None

RMI TCP Accept-0 daemon prio=6 tid=0x0475d000 nid=0x1914 runnable [0x00dbf000]
   java.lang.Thread.State: RUNNABLE
at java.net.DualStackPlainSocketImpl.accept0(Native Method)
at 
java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:121)
at 
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
- locked 0x24402ef8 (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:522)
at java.net.ServerSocket.accept(ServerSocket.java:490)
at 
sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:52)
  

[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-03-30 Thread rene schakmann (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=295430#comment-295430
 ] 

rene schakmann commented on MNG-5162:
-

I have exactly the same problem. Ubuntu 64Bit/Java 7/ Maven 2.2.1 - maven gets 
stuck while downloading the dependencies. Switching to Java 6 on the same 
machine and the download works fine. 

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-03-28 Thread gopi (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=295322#comment-295322
 ] 

gopi commented on MNG-5162:
---

Today i have upgraded maven 2.2.1 to 3.0.4 on Linux 64 bit system and when i 
invoke mvn clean install command build is keep throwing below exceptions 
since 8 hours and build still going.   (Note: everything works fine on Window 
system for the same project with maven 3.0.4)

Here is my environment variables:
JAVA_HOME=/usr/java/jdk1.6.0_29
M2_HOME=/usr/local/maven/apache-maven-3.0.4

Please suggest, if i miss any steps.

28-Mar-2012 09:41:36  Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
 (588 B at 0.7 KB/sec) 
28-Mar-2012 09:42:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/resolver-status.properties
 
28-Mar-2012 09:42:06  java.io.IOException: No locks available 


28-Mar-2012 09:43:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.4/_maven.repositories
 
28-Mar-2012 09:43:06  java.io.IOException: No locks available 



 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-03-28 Thread gopi (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=295322#comment-295322
 ] 

gopi edited comment on MNG-5162 at 3/28/12 3:30 PM:


Today i have upgraded maven 2.2.1 to 3.0.4 on Linux 64 bit system and when i 
invoke mvn clean install command build is keep throwing below exceptions 
since 8 hours and build still going.   (Note: everything works fine on Window 
system for the same project with maven 3.0.4)

-bash-3.2$ mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
Maven home: /usr/local/maven/apache-maven-3.0.4
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: /usr/java/jdk1.6.0_29/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: linux, version: 2.6.18-194.3.1.el5, arch: amd64, family: unix



Please suggest, if i miss any steps.

28-Mar-2012 09:41:36  Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
 (588 B at 0.7 KB/sec) 
28-Mar-2012 09:42:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/resolver-status.properties
 
28-Mar-2012 09:42:06  java.io.IOException: No locks available 


28-Mar-2012 09:43:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.4/_maven.repositories
 
28-Mar-2012 09:43:06  java.io.IOException: No locks available 



  was (Author: gkrsihan):
Today i have upgraded maven 2.2.1 to 3.0.4 on Linux 64 bit system and when 
i invoke mvn clean install command build is keep throwing below exceptions 
since 8 hours and build still going.   (Note: everything works fine on Window 
system for the same project with maven 3.0.4)

Here is my environment variables:
JAVA_HOME=/usr/java/jdk1.6.0_29
M2_HOME=/usr/local/maven/apache-maven-3.0.4

Please suggest, if i miss any steps.

28-Mar-2012 09:41:36  Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
 (588 B at 0.7 KB/sec) 
28-Mar-2012 09:42:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/resolver-status.properties
 
28-Mar-2012 09:42:06  java.io.IOException: No locks available 


28-Mar-2012 09:43:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.4/_maven.repositories
 
28-Mar-2012 09:43:06  java.io.IOException: No locks available 


  
 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-03-09 Thread Yoel Kazareski (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=293734#comment-293734
 ] 

Yoel Kazareski commented on MNG-5162:
-

It may be a bug between Java 7 and Windows 64bit.


 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-03-09 Thread Yoel Kazareski (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=293734#comment-293734
 ] 

Yoel Kazareski edited comment on MNG-5162 at 3/9/12 2:04 PM:
-

It may be a bug between Java 7 and Windows 64bit.

Found this:
http://blog.bielu.com/2011/11/hotspot-64bit-server-hangs-on-socket.html

  was (Author: yo_el_yoel):
It may be a bug between Java 7 and Windows 64bit.

  
 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-03-02 Thread Damien Coraboeuf (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=293237#comment-293237
 ] 

Damien Coraboeuf commented on MNG-5162:
---

Is there any update on this issue? Because it really make Maven unuseable with 
JDK 7.

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2012-03-02 Thread Damien Coraboeuf (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=293238#comment-293238
 ] 

Damien Coraboeuf commented on MNG-5162:
---

I have tested with following version:

{noformat}
$ mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: d:\data\damien\app\apache-maven-3.0.4
Java version: 1.7.0_03, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.7.0_03\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: windows 7, version: 6.1, arch: amd64, family: windows
{noformat}

The downloads get stuck. If I interrupt the process (ctrl-c) and restart, the 
download resumes until it stops again.

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2011-12-29 Thread Olivier Lamy (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=287088#comment-287088
 ] 

Olivier Lamy commented on MNG-5162:
---

could you please try with 3.0.4 RC4 ?
see http://markmail.org/message/nlawddtd3lfhhdtd
Thanks.

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MNG-5162) Maven stuck on downloading dependencies when using java 7.

2011-12-28 Thread Tony Childs (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=287033#comment-287033
 ] 

Tony Childs commented on MNG-5162:
--

I've had the same issue and have had to switch back to Java 1.6 because of 
this.  

 Maven stuck on downloading dependencies when using java 7.
 --

 Key: MNG-5162
 URL: https://jira.codehaus.org/browse/MNG-5162
 Project: Maven 2  3
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 3.0.1, 3.0.3
 Environment: Windows 7 Professional x64
Reporter: Lukas Stampf
 Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg


 When JAVA_HOME is set to the Java 7 JDK and I run mvn clean install on my 
 project the following happens:
 Maven downloads the dependencies to my local repository, as usual, but on 
 some dependencies he stops while downloading and never continues. He is just 
 stuck. I then must use CTRL+C and start from the beginning with my build, but 
 it doesnt help because he gets stuck at the same dependencies again. In my 
 local repository, where the failed dependency belongs is just a tmp file 
 like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642
 When I set JAVA_HOME to java 6 Update 27 everything works fine.
 The problem does not seem to be related to JAR size because, I saw it fail on 
 19kb dependencies as well.
 I have the impression it happens mostly to JARs with long names.
 Attached you will find a subproject of the project I am working on. it 
 contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is 
 one of almost all servicemix bundles that is failing for me, when i use java7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira