Ant Ivy resolve / Authenticated Proxy Issue

2015-09-16 Thread Susheel Kumar
Hi, Sending it to Solr group in addition to Ivy group. I have been building Solr trunk ( http://svn.apache.org/repos/asf/lucene/dev/trunk/) using "ant eclipse" from quite some time but this week i am on a job where things are behind the firewall and a proxy is used. Issue: When not in company

Re: Ant Ivy resolve / Authenticated Proxy Issue

2015-09-16 Thread Mark Miller
Have you used jconsole or visualvm to see what it is actually hanging on to there? Perhaps it is lock files that are not cleaned up or something else? You might try: find ~/.ivy2 -name "*.lck" -type f -exec rm {} \; - Mark On Wed, Sep 16, 2015 at 9:50 AM Susheel Kumar

Re: Ant Ivy resolve / Authenticated Proxy Issue

2015-09-16 Thread Susheel Kumar
Yes, did both jconsole & jstack and here is the output form jstack. $ jstack 5515 2015-09-16 14:28:06 Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode): "Attach Listener" #11 daemon prio=9 os_prio=31 tid=0x7f899282f000 nid=0x5607 waiting on condition

Re: Ant Ivy resolve / Authenticated Proxy Issue

2015-09-16 Thread Jaikiran Pai
Does ant -v eclipse give any useful information? -Jaikiran On Wednesday 16 September 2015 07:20 PM, Susheel Kumar wrote: Hi, Sending it to Solr group in addition to Ivy group. I have been building Solr trunk ( http://svn.apache.org/repos/asf/lucene/dev/trunk/) using "ant eclipse" from

Re: Ant Ivy resolve / Authenticated Proxy Issue

2015-09-16 Thread Susheel Kumar
Ivy stucks during resolve when downloading https://repo1.maven.org/maven2/org/apache/ant/ant/1.8.2/ant-1.8.2.jar (see below the terminal console and ant -v eclipse shows similar info) while I have set ANT_OPTS for proxy & auth info. So issue seems to be with proxy or a bug in ivy that it is not

Re: Ant Ivy resolve / Authenticated Proxy Issue

2015-09-16 Thread Jaikiran Pai
When it hangs, from a separate command prompt, do: jps -l which should list the process id of the ant/ivy process that's running. Then do a: jstack for that process and get the thread dump. That will help understand what's going on. This is similar to what Mark already suggested about