Unable to run command (C:\ir_plus\ant} to install ir_plus.war file

154 views
Skip to first unread message

Omkar Patil

unread,
Nov 11, 2011, 12:07:37 AM11/11/11
to irplus
I am unable to install "ant" command under C:\IR_PLUS\ to create
ir_plus.war file. when i run command i get folllowing message



do-ur-persistence-util:

clean:

download-ivy:
[echo] Please wait this may take a few minutes - installing
ivy...
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/ivy-2.2.0-rc1.jar
[get] To: C:\ir_plus\ur_persistence_util\ivy\ivy.jar
[get] Error getting http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/ivy-2.2.0-rc1.jar
to C:\ir_plus\ur_persistence_util\ivy\ivy.jar

BUILD FAILED
C:\ir_plus\build.xml:44: The following error occurred while executing
this line:
C:\ir_plus\base.xml:161: java.net.ConnectException: Connection timed
out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:
195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:
792)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:
744)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:
669)
at org.apache.tools.ant.taskdefs.Get
$GetThread.openConnection(Get.java:660)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)

Total time: 22 seconds



Please help

Paul Hoffman

unread,
Nov 11, 2011, 9:45:08 AM11/11/11
to irplus
On Fri, Nov 11, 2011 at 12:07:37AM -0500, Omkar Patil wrote:
> I am unable to install "ant" command under C:\IR_PLUS\ to create
> ir_plus.war file. when i run command i get folllowing message
>
> do-ur-persistence-util:
>
> clean:
>
> download-ivy:
> [echo] Please wait this may take a few minutes - installing ivy...
> [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/ivy-2.2.0-rc1.jar
> [get] To: C:\ir_plus\ur_persistence_util\ivy\ivy.jar
> [get] Error getting http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/ivy-2.2.0-rc1.jar
> to C:\ir_plus\ur_persistence_util\ivy\ivy.jar
>
> BUILD FAILED
> C:\ir_plus\build.xml:44: The following error occurred while executing this line:
> C:\ir_plus\base.xml:161: java.net.ConnectException: Connection timed out: connect

This tells you what happened -- ant tried to connect to repo1.maven.org
to request the Ivy JAR file, but the connection attempt timed out. I
imagine repo1.maven.org was just down for a while -- it's up now.

Paul.

--
Paul Hoffman <pa...@flo.org>
Systems Librarian
Fenway Libraries Online
c/o Wentworth Institute of Technology
550 Huntington Ave.
Boston, MA 02115
(617) 445-2914
(617) 442-2384 (FLO main number)

Omkar Patil

unread,
Nov 12, 2011, 4:36:48 AM11/12/11
to irp...@googlegroups.com
still having problem in running ANT. I am trying this since last 10 days.
 
Please help

Nate Sarr

unread,
Nov 12, 2011, 3:48:21 PM11/12/11
to irp...@googlegroups.com
Hi Omkar,

   This problem could be due to your firewall.

The first thing to do is to ensure the setting is correct. Ant loged the url it tried, copy this url and paste it in your favorite browser, and verify you get no error.

If this is ok, check if you don't need any proxy setting nor authentication. For proxy setting, you can use for instance this:

set ANT_OPTS=-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=3128
Or for authenticated proxy:
set ANT_OPTS=-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=8080 -Dhttp.proxyUserName=myproxyusername -Dhttp.proxyPassword=myproxypassword -Dhttps.proxyHost=myproxyhost -Dhttps.proxyPort=8080
Let me know if this helps.

-Nate

On Sat, Nov 12, 2011 at 4:36 AM, Omkar Patil <omkar....@gmail.com> wrote:
still having problem in running ANT. I am trying this since last 10 days.
 
Please help

--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/wSOVSTFtgvAJ.

To post to this group, send email to irp...@googlegroups.com.
To unsubscribe from this group, send email to irplus+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/irplus?hl=en.

Omkar Patil

unread,
Nov 15, 2011, 12:04:15 AM11/15/11
to irp...@googlegroups.com
I can access the following link from internet brower. 
 
 
I did the setting you mentioned (C:\IR_PLUS\)  but probel still is the same.
 
Can i download the war file from net ? is it possible. ?

Nate Sarr

unread,
Nov 15, 2011, 9:22:16 AM11/15/11
to irp...@googlegroups.com
Hi Omkar,
 
   We do not have a war file you can download and deploy.  Did you update the proxy variables with your proxy information - are you behind a proxy?
 
-Nate

--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/Y7VtfIIynp4J.

Omkar Patil

unread,
Nov 15, 2011, 11:14:39 PM11/15/11
to irp...@googlegroups.com
I am not technical person.  I have access to internet via our corporate LAN and the proxy settings are mentioned in the connection is as   "wideproxy.bspl.com" and the host is 8080
 
so i think i am behind proxy.
 

Nate Sarr

unread,
Nov 15, 2011, 11:22:51 PM11/15/11
to irp...@googlegroups.com
Hi Omkar,

   Sounds like you are behind a proxy.  Try running the following command in your window before running the ant script:

set ANT_OPTS=-Dhttp.proxyHost=wideproxy.bspl.com -Dhttp.proxyPort=8080

Then try running ant.

See if that allows the script to run.

-Nate


On Tue, Nov 15, 2011 at 11:14 PM, Omkar Patil <omkar....@gmail.com> wrote:
I am not technical person.  I have access to internet via our corporate LAN and the proxy settings are mentioned in the connection is as   "wideproxy.bspl.com" and the host is 8080
 
so i think i am behind proxy.
 

--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/LuK9zXVzZagJ.

Omkar Patil

unread,
Nov 15, 2011, 11:27:44 PM11/15/11
to irp...@googlegroups.com
ALso when i tried to set   "set ANT_OPTS=-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=3128" and ran the "ANT" command i got following error
 
exception in thread "main" java.lang.NoClassDefFOunderror: =-Dhttp/proxyport=3128

Nate Sarr

unread,
Nov 15, 2011, 11:42:28 PM11/15/11
to irp...@googlegroups.com
Hi Omkar,

   Are you running on a windows or a unix/linux environment?

If windows, you may need to include the existing ant opts, something like the following:

set ANT_OPTS=%ANT_OPTS% -Dhttp.proxyHost=wideproxy.bspl.com -Dhttp.proxyPort=8080



On Tue, Nov 15, 2011 at 11:27 PM, Omkar Patil <omkar....@gmail.com> wrote:
ALso when i tried to set   "set ANT_OPTS=-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=3128" and ran the "ANT" command i got following error
 
exception in thread "main" java.lang.NoClassDefFOunderror: =-Dhttp/proxyport=3128

--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/qR8gEOLdaxwJ.

Omkar Patil

unread,
Nov 17, 2011, 11:56:19 PM11/17/11
to irp...@googlegroups.com
I could run the ant script after dping the proxy setting.  but now i get following error
 
Build Failed
C:\ir_plus\build.xml:94: The folloiwng error occured while executing this line:
C:\ir_plus\base.xml:216: impossible to resolve dependencies: resolve failed - see output for details
 
sorry to bother you.

Nate Sarr

unread,
Nov 18, 2011, 11:36:23 AM11/18/11
to irp...@googlegroups.com
Hi Omkar,
 
   Good news! Is that all of the output you get?  It looks like there should be more output based on the two lines you show below.  Could you send me the remaining output?
 
Thanks,
-Nate

--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/zvH4n_J1PvkJ.

Omkar Patil

unread,
Nov 19, 2011, 4:08:53 AM11/19/11
to irp...@googlegroups.com
Hello,, I am unable to attached the log  file...so below is  the log details:
 
 
[ivy:publish] :: publishing :: file_db#file_db
[ivy:publish]   published file_db to C:\Documents and Settings\omkar.patil\.ivy2
/local/file_db/file_db/2.1/jars/file_db.jar
[ivy:publish]   published ivy to C:\Documents and Settings\omkar.patil\.ivy2/loc
al/file_db/file_db/2.1/ivys/ivy.xml
do-metadata:
clean:
download-ivy:
    [mkdir] Created dir: C:\ir_plus\metadata\ivy

     [echo] Please wait this may take a few minutes - installing ivy...
      [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/
ivy-2.2.0-rc1.jar
      [get] To: C:\ir_plus\metadata\ivy\ivy.jar
install-ivy:
resolve:
[ivy:resolve] :: Ivy 2.2.0-rc1 - 20100629224905 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = C:\ir_plus\metadata\ivysettings.xml
[ivy:resolve] :: resolving dependencies :: metadata#metadata;working@WRTCDBF1LIB
[ivy:resolve]   confs: [default]
[ivy:resolve]   found log4j#log4j;1.2.15 in maven2
[ivy:resolve]   found checkstyle#checkstyle;5.0 in maven2
[ivy:resolve]   found emma#emma;2.0.5312 in maven2
[ivy:resolve]   found emma#emma_ant;2.0.5312 in maven2
[ivy:resolve]   found org.testng#testng;5.8 in local
[ivy:resolve] :: resolution report :: resolve 234ms :: artifacts dl 0ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   5   |   0   |   0   |   0   ||   5   |   0   |
        ---------------------------------------------------------------------
ivy-report:
    [mkdir] Created dir: C:\ir_plus\metadata\reports\ivy_report
[ivy:report] Processing C:\Documents and Settings\omkar.patil\.ivy2\cache\metada
ta-metadata-default.xml to C:\ir_plus\metadata\reports\ivy_report\metadata-metad
ata-default.html
[ivy:report] Processing C:\Documents and Settings\omkar.patil\.ivy2\cache\metada
ta-metadata-default.xml to C:\ir_plus\metadata\reports\ivy_report\metadata-metad
ata-default.graphml
retrieve:
[ivy:retrieve] :: retrieving :: metadata#metadata [sync]
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  5 artifacts copied, 0 already retrieved (2263kB/47ms)
copy-resources:
     [copy] Copying 1 file to C:\ir_plus\metadata\build\classes
     [copy] Copied 7 empty directories to 5 empty directories under C:\ir_plus\m
etadata\build\classes
     [copy] Copying 1 file to C:\ir_plus\metadata\lib
     [copy] Copying 1 file to C:\ir_plus\metadata\lib
build:
[ext:javac] C:\ir_plus\metadata\build.xml:108: warning: 'includeantruntime' was
not set, defaulting to build.sysclasspath=last; set to false for repeatable buil
ds
[ext:javac] Compiling 13 source files to C:\ir_plus\metadata\build\classes
test-build:
    [mkdir] Created dir: C:\ir_plus\metadata\test-build\classes
     [copy] Copying 14 files to C:\ir_plus\metadata\test-build\classes
[ext:javac] C:\ir_plus\metadata\build.xml:137: warning: 'includeantruntime' was
not set, defaulting to build.sysclasspath=last; set to false for repeatable buil
ds
emma:
    [mkdir] Created dir: C:\ir_plus\metadata\reports\emma-coverage
test:
dist:
    [mkdir] Created dir: C:\ir_plus\metadata\metadata
      [jar] Building jar: C:\ir_plus\metadata\metadata\metadata-2.1.jar
publish-local:
[ivy:publish] :: delivering :: metadata#metadata;working@WRTCDBF1LIB :: 2.1 :: i
ntegration :: Sat Nov 19 13:04:31 IST 2011
[ivy:publish]   delivering ivy file to C:\ir_plus\metadata\metadata\metadata-2.1
.xml
[ivy:publish] :: publishing :: metadata#metadata
[ivy:publish]   published metadata to C:\Documents and Settings\omkar.patil\.ivy
2/local/metadata/metadata/2.1/jars/metadata.jar
[ivy:publish]   published ivy to C:\Documents and Settings\omkar.patil\.ivy2/loc
al/metadata/metadata/2.1/ivys/ivy.xml
do-ir-core:
clean:
download-ivy:
    [mkdir] Created dir: C:\ir_plus\ir_core\ivy

     [echo] Please wait this may take a few minutes - installing ivy...
      [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/
ivy-2.2.0-rc1.jar
      [get] To: C:\ir_plus\ir_core\ivy\ivy.jar
install-ivy:
resolve:
[ivy:resolve] :: Ivy 2.2.0-rc1 - 20100629224905 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = C:\ir_plus\ir_core\ivysettings.xml
[ivy:resolve] :: resolving dependencies :: ir_core#ir_core;working@WRTCDBF1LIB
[ivy:resolve]   confs: [default]
[ivy:resolve]   found file_db#file_db;2.1 in local
[ivy:resolve]   found ur_common_util#ur_common_util;2.1 in local
[ivy:resolve]   found ur_persistence_util#ur_persistence_util;2.1 in local
[ivy:resolve]   found commons-io#commons-io;1.4 in maven2
[ivy:resolve]   found commons-codec#commons-codec;1.3 in maven2
[ivy:resolve]   found org.testng#testng;5.8 in local
[ivy:resolve]   found log4j#log4j;1.2.15 in maven2
[ivy:resolve]   found checkstyle#checkstyle;5.0 in maven2
[ivy:resolve]   found emma#emma;2.0.5312 in maven2
[ivy:resolve]   found emma#emma_ant;2.0.5312 in maven2
[ivy:resolve]   found metadata#metadata;2.1 in local
[ivy:resolve]   found javax.mail#mail;1.4.1 in maven2
[ivy:resolve]   found org.apache.poi#poi;3.6 in maven2
[ivy:resolve]   found org.apache.poi#poi-contrib;3.6 in maven2
[ivy:resolve]   found org.apache.poi#openxml4j;1.0-beta in maven2
[ivy:resolve]   found org.apache.poi#poi-scratchpad;3.6 in maven2
[ivy:resolve]   found org.apache.poi#poi-ooxml;3.6 in maven2
[ivy:resolve]   found org.apache.poi#poi-ooxml-schemas;3.6 in maven2
[ivy:resolve]   found org.apache.xmlbeans#xmlbeans;2.4.0 in maven2
[ivy:resolve]   found org.apache.pdfbox#pdfbox;1.2.1 in maven2
[ivy:resolve]   found org.apache.pdfbox#fontbox;1.2.1 in maven2
[ivy:resolve]   found org.apache.pdfbox#jempbox;1.2.1 in local
[ivy:resolve]   found org.springframework#spring-core;3.0.2.RELEASE in maven2
[ivy:resolve]   found org.springframework#spring-context;3.0.2.RELEASE in maven2
[ivy:resolve]   found org.springframework#spring-beans;3.0.2.RELEASE in maven2
[ivy:resolve]   found org.springframework#spring-asm;3.0.2.RELEASE in maven2
[ivy:resolve]   found org.springframework#spring-expression;3.0.2.RELEASE in mav
en2
[ivy:resolve]   found org.springframework.ldap#spring-ldap-core;1.3.0.RELEASE in
 maven2
[ivy:resolve]   found org.springframework.security#spring-security-core;3.0.2.RE
LEASE in maven2
[ivy:resolve]   found org.springframework.security#spring-security-ldap;3.0.2.RE
LEASE in maven2
[ivy:resolve]   found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve]   found commons-beanutils#commons-beanutils;1.8.0 in maven2
[ivy:resolve]   found commons-collections#commons-collections;3.2.1 in maven2
[ivy:resolve]   found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve]   found net.sf.ezmorph#ezmorph;1.0.6 in maven2
[ivy:resolve]   found org.apache.lucene#lucene-core;2.4.1 in maven2
[ivy:resolve]   found dom4j#dom4j;1.6.1 in maven2
[ivy:resolve] downloading C:\Documents and Settings\omkar.patil\.ivy2\local\file
_db\file_db\2.1\jars\file_db.jar ...
[ivy:resolve] .. (44kB)
[ivy:resolve] .. (0kB)
[ivy:resolve]   [SUCCESSFUL ] file_db#file_db;2.1!file_db.jar (31ms)
[ivy:resolve] downloading C:\Documents and Settings\omkar.patil\.ivy2\local\meta
data\metadata\2.1\jars\metadata.jar ...
[ivy:resolve] .. (11kB)
[ivy:resolve] .. (0kB)
[ivy:resolve]   [SUCCESSFUL ] metadata#metadata;2.1!metadata.jar (32ms)
[ivy:resolve] :: resolution report :: resolve 98071ms :: artifacts dl 203ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   39  |   4   |   2   |   0   ||   37  |   2   |
        ---------------------------------------------------------------------
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           module not found: javax.media#jai-core;1.1.3
[ivy:resolve]   ==== local: tried
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/local/javax.media/
jai-core/1.1.3/ivys/ivy.xml
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/local/javax.media/
jai-core/1.1.3/jars/jai-core.jar
[ivy:resolve]   ==== shared: tried
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/shared/javax.media
/jai-core/1.1.3/ivys/ivy.xml
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/shared/javax.media
/jai-core/1.1.3/jars/jai-core.jar
[ivy:resolve]   ==== maven2: tried
[ivy:resolve]     http://repo1.maven.org/maven2/javax/media/jai-core/1.1.3/jai-c
ore-1.1.3.pom
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     http://repo1.maven.org/maven2/javax/media/jai-core/1.1.3/jai-c
ore-1.1.3.jar
[ivy:resolve]   ==== apache-incubating: tried
[ivy:resolve]     http://people.apache.org/repo/m2-incubating-repository/javax/m
edia/jai-core/1.1.3/jai-core-1.1.3.pom
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     http://people.apache.org/repo/m2-incubating-repository/javax/m
edia/jai-core/1.1.3/jai-core-1.1.3.jar
[ivy:resolve]   ==== jboss: tried
[ivy:resolve]     https://repository.jboss.org/nexus/content/groups/public/javax
/media/jai-core/1.1.3/jai-core-1.1.3.pom
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     https://repository.jboss.org/nexus/content/groups/public/javax
/media/jai-core/1.1.3/jai-core-1.1.3.jar
[ivy:resolve]   ==== elca-services: tried
[ivy:resolve]     http://el4.elca-services.ch/el4j/maven2repository/javax/media/
jai-core/1.1.3/jai-core-1.1.3.pom
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     http://el4.elca-services.ch/el4j/maven2repository/javax/media/
jai-core/1.1.3/jai-core-1.1.3.jar
[ivy:resolve]   ==== java.net: tried
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     http://download.java.net/maven/1/javax.media/jars/jai-core-1.1
.3.jar
[ivy:resolve]   ==== restlet: tried
[ivy:resolve]     http://maven.restlet.org/javax/media/jai-core/1.1.3/jai-core-1
.1.3.pom
[ivy:resolve]     -- artifact javax.media#jai-core;1.1.3!jai-core.jar:
[ivy:resolve]     http://maven.restlet.org/javax/media/jai-core/1.1.3/jai-core-1
.1.3.jar
[ivy:resolve]           module not found: com.sun.media#jai-codec;1.1.3
[ivy:resolve]   ==== local: tried
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/local/com.sun.medi
a/jai-codec/1.1.3/ivys/ivy.xml
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/local/com.sun.medi
a/jai-codec/1.1.3/jars/jai-codec.jar
[ivy:resolve]   ==== shared: tried
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/shared/com.sun.med
ia/jai-codec/1.1.3/ivys/ivy.xml
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/shared/com.sun.med
ia/jai-codec/1.1.3/jars/jai-codec.jar
[ivy:resolve]   ==== maven2: tried
[ivy:resolve]     http://repo1.maven.org/maven2/com/sun/media/jai-codec/1.1.3/ja
i-codec-1.1.3.pom
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     http://repo1.maven.org/maven2/com/sun/media/jai-codec/1.1.3/ja
i-codec-1.1.3.jar
[ivy:resolve]   ==== apache-incubating: tried
[ivy:resolve]     http://people.apache.org/repo/m2-incubating-repository/com/sun
/media/jai-codec/1.1.3/jai-codec-1.1.3.pom
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     http://people.apache.org/repo/m2-incubating-repository/com/sun
/media/jai-codec/1.1.3/jai-codec-1.1.3.jar
[ivy:resolve]   ==== jboss: tried
[ivy:resolve]     https://repository.jboss.org/nexus/content/groups/public/com/s
un/media/jai-codec/1.1.3/jai-codec-1.1.3.pom
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     https://repository.jboss.org/nexus/content/groups/public/com/s
un/media/jai-codec/1.1.3/jai-codec-1.1.3.jar
[ivy:resolve]   ==== elca-services: tried
[ivy:resolve]     http://el4.elca-services.ch/el4j/maven2repository/com/sun/medi
a/jai-codec/1.1.3/jai-codec-1.1.3.pom
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     http://el4.elca-services.ch/el4j/maven2repository/com/sun/medi
a/jai-codec/1.1.3/jai-codec-1.1.3.jar
[ivy:resolve]   ==== java.net: tried
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     http://download.java.net/maven/1/com.sun.media/jars/jai-codec-
1.1.3.jar
[ivy:resolve]   ==== restlet: tried
[ivy:resolve]     http://maven.restlet.org/com/sun/media/jai-codec/1.1.3/jai-cod
ec-1.1.3.pom
[ivy:resolve]     -- artifact com.sun.media#jai-codec;1.1.3!jai-codec.jar:
[ivy:resolve]     http://maven.restlet.org/com/sun/media/jai-codec/1.1.3/jai-cod
ec-1.1.3.jar
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: javax.media#jai-core;1.1.3: not found
[ivy:resolve]           :: com.sun.media#jai-codec;1.1.3: not found
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :::: ERRORS
[ivy:resolve]   Server access Error: Connection timed out: connect url=https://r
epository.jboss.org/nexus/content/groups/public/javax/media/jai-core/1.1.3/jai-c
ore-1.1.3.pom
[ivy:resolve]   Server access Error: Connection timed out: connect url=https://r
epository.jboss.org/nexus/content/groups/public/javax/media/jai-core/1.1.3/jai-c
ore-1.1.3.jar
[ivy:resolve]   Server access Error: Connection timed out: connect url=https://r
epository.jboss.org/nexus/content/groups/public/com/sun/media/jai-codec/1.1.3/ja
i-codec-1.1.3.pom
[ivy:resolve]   Server access Error: Connection timed out: connect url=https://r
epository.jboss.org/nexus/content/groups/public/com/sun/media/jai-codec/1.1.3/ja
i-codec-1.1.3.jar
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
C:\ir_plus\build.xml:94: The following error occurred while executing this line:
C:\ir_plus\base.xml:216: impossible to resolve dependencies:
        resolve failed - see output for details
Total time: 1 minute 56 seconds
C:\ir_plus>

Nate Sarr

unread,
Nov 19, 2011, 11:45:35 AM11/19/11
to irp...@googlegroups.com
Hi Omkar,

   Looks like the script had trouble getting to one of the repositories where it downloads jars from - with the connection timeout error.  Could you try the following urls in your web browser:

https://repository.jboss.org/nexus/content/groups/public/javax/media/jai-core/1.1.3/
https://repository.jboss.org/nexus/content/groups/public/com/sun/media/jai-codec/1.1.3/

both of these urls should list contents of files that can be downloaded.  If you can reach both re-try running the script.  If either or both fail let me know we may be able to try a few other things so the script will complete.

-Nate



--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/D94tU9pNpnYJ.

Omkar Patil

unread,
Nov 20, 2011, 11:01:53 PM11/20/11
to irp...@googlegroups.com
Yes I can open both the link in explorer and see the files.  as suggested have tried running the script but same build failed error.
 
Regards

Nate Sarr

unread,
Nov 21, 2011, 10:32:46 AM11/21/11
to irp...@googlegroups.com
Hi Omkar,
 
   I'm going to see if pointing to some different repositories will fix the issue.  To do this you are going to have to edit some files.
 
In each of the following directories under C:\IR_PLUS\ there should be a file named ivysettings.xml :
 
file_db
file_db_dao
file_db_hibernate
file_db_service
ir_core
ir_dao
ir_handle
ir_hibernate
ir-service
ir_web
metadata
metadata_dao
metadata_hibernate
metadata_service
ur_common_util
ur_persistence_util
ur_tags
 
I need you to open that file in each directory and remove the following lines:
 

<!-- jboss maven2 repo, used for jbpm -->

<ibiblio name="jboss" m2compatible="true" checksums=""

root="https://repository.jboss.org/nexus/content/groups/public/" />

and replace it with the following lines in it's place:
 

<

ibiblio name="mvnsearch" m2compatible="true"

root="http://www.mvnsearch.org/maven2/" />

<ibiblio name="glassfish" m2compatible="true"

root="http://maven.glassfish.org/content/repositories/sonatype-forge/" />
 
This will point you to two different repositories that have the files that the other repository provided.  Hopefully the connection to these repositories will not time out.
 
Let me know how it goes.
 
-Nate
 
 
On Sun, Nov 20, 2011 at 11:01 PM, Omkar Patil <omkar....@gmail.com> wrote:
Yes I can open both the link in explorer and see the files.  as suggested have tried running the script but same build failed error.
 
Regards

--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/iDDv1B4cJqEJ.

Nate Sarr

unread,
Nov 21, 2011, 10:34:59 AM11/21/11
to irp...@googlegroups.com
note there should not be a new line after the first < in the lines below.  It should look like the following:
 

<

ibiblio name="mvnsearch" m2compatible="true"

root="http://www.mvnsearch.org/maven2/" />

<ibiblio name="glassfish" m2compatible="true"

root="http://maven.glassfish.org/content/repositories/sonatype-forge/" />


-Nate

Nate Sarr

unread,
Nov 21, 2011, 10:37:23 AM11/21/11
to irp...@googlegroups.com
It looks like for some reason the editor keeps adding a newline after the < even though when I compose
the message the newline is not there. 

Omkar Patil

unread,
Nov 23, 2011, 11:19:31 PM11/23/11
to irp...@googlegroups.com
after doing replacing the command given by you. the ant ran for nearly 10-15 mins but later got the error again. The log is mentioned blow.
 
 
[ivy:resolve]   found commons-io#commons-io;1.4 in maven2
[ivy:resolve]   found commons-codec#commons-codec;1.3 in maven2
[ivy:resolve]   found org.testng#testng;5.8 in local
[ivy:resolve]   found log4j#log4j;1.2.15 in maven2
[ivy:resolve]   found checkstyle#checkstyle;5.0 in maven2
[ivy:resolve]   found emma#emma;2.0.5312 in maven2
[ivy:resolve]   found emma#emma_ant;2.0.5312 in maven2
[ivy:resolve] downloading C:\Documents and Settings\omkar.patil\.ivy2\local\ur_c
ommon_util\ur_common_util\2.1\jars\ur_common_util.jar ...
[ivy:resolve] .. (20kB)
[ivy:resolve] .. (0kB)
[ivy:resolve]   [SUCCESSFUL ] ur_common_util#ur_common_util;2.1!ur_common_util.j
ar (31ms)
[ivy:resolve] downloading C:\Documents and Settings\omkar.patil\.ivy2\local\ur_p
ersistence_util\ur_persistence_util\2.1\jars\ur_persistence_util.jar ...
[ivy:resolve] .. (6kB)
[ivy:resolve] .. (0kB)
[ivy:resolve]   [SUCCESSFUL ] ur_persistence_util#ur_persistence_util;2.1!ur_per
sistence_util.jar (16ms)
[ivy:resolve] :: resolution report :: resolve 500ms :: artifacts dl 62ms

        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   9   |   2   |   2   |   0   ||   9   |   2   |
        ---------------------------------------------------------------------
ivy-report:
    [mkdir] Created dir: C:\ir_plus\file_db\reports\ivy_report
[ivy:report] Processing C:\Documents and Settings\omkar.patil\.ivy2\cache\file_d
b-file_db-default.xml to C:\ir_plus\file_db\reports\ivy_report\file_db-file_db-d
efault.html
[ivy:report] Processing C:\Documents and Settings\omkar.patil\.ivy2\cache\file_d
b-file_db-default.xml to C:\ir_plus\file_db\reports\ivy_report\file_db-file_db-d
efault.graphml
retrieve:
[ivy:retrieve] :: retrieving :: file_db#file_db [sync]
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  2 artifacts copied, 7 already retrieved (27kB/31ms)
copy-resources:
     [copy] Copying 1 file to C:\ir_plus\file_db\build\classes
build:
[ext:javac] C:\ir_plus\file_db\build.xml:79: warning: 'includeantruntime' was no

t set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[ext:javac] Compiling 29 source files to C:\ir_plus\file_db\build\classes
test-build:
    [mkdir] Created dir: C:\ir_plus\file_db\test-build\classes
     [copy] Copying 30 files to C:\ir_plus\file_db\test-build\classes
[ext:javac] C:\ir_plus\file_db\build.xml:108: warning: 'includeantruntime' was n

ot set, defaulting to build.sysclasspath=last; set to false for repeatable build
s
[ext:javac] Compiling 11 source files to C:\ir_plus\file_db\test-build\classes
emma:
    [mkdir] Created dir: C:\ir_plus\file_db\reports\emma-coverage
test:
dist:
    [mkdir] Created dir: C:\ir_plus\file_db\file_db
      [jar] Building jar: C:\ir_plus\file_db\file_db\file_db-2.1.jar
publish-local:
[ivy:publish] :: delivering :: file_db#file_db;working@WRTCDBF1LIB :: 2.1 :: int
egration :: Tue Nov 22 12:41:45 IST 2011
[ivy:publish]   delivering ivy file to C:\ir_plus\file_db\file_db\file_db-2.1.xm
l

[ivy:publish] :: publishing :: file_db#file_db
[ivy:publish]   published file_db to C:\Documents and Settings\omkar.patil\.ivy2
/local/file_db/file_db/2.1/jars/file_db.jar
[ivy:publish]   published ivy to C:\Documents and Settings\omkar.patil\.ivy2/loc
al/file_db/file_db/2.1/ivys/ivy.xml
do-metadata:
clean:
   [delete] Deleting directory C:\ir_plus\metadata\build
   [delete] Deleting directory C:\ir_plus\metadata\test-build
   [delete] Deleting directory C:\ir_plus\metadata\reports
   [delete] Deleting directory C:\ir_plus\metadata\metadata
download-ivy:

     [echo] Please wait this may take a few minutes - installing ivy...
      [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/
ivy-2.2.0-rc1.jar
      [get] To: C:\ir_plus\metadata\ivy\ivy.jar
      [get] Not modified - so not downloaded
install-ivy:
resolve:
[ivy:resolve] :: Ivy 2.2.0-rc1 - 20100629224905 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = C:\ir_plus\metadata\ivysettings.xml
[ivy:resolve] :: resolving dependencies :: metadata#metadata;working@WRTCDBF1LIB
[ivy:resolve]   confs: [default]
[ivy:resolve]   found log4j#log4j;1.2.15 in maven2
[ivy:resolve]   found checkstyle#checkstyle;5.0 in maven2
[ivy:resolve]   found emma#emma;2.0.5312 in maven2
[ivy:resolve]   found emma#emma_ant;2.0.5312 in maven2
[ivy:resolve]   found org.testng#testng;5.8 in local
[ivy:resolve] :: resolution report :: resolve 188ms :: artifacts dl 15ms

        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   5   |   0   |   0   |   0   ||   5   |   0   |
        ---------------------------------------------------------------------
ivy-report:
    [mkdir] Created dir: C:\ir_plus\metadata\reports\ivy_report
[ivy:report] Processing C:\Documents and Settings\omkar.patil\.ivy2\cache\metada
ta-metadata-default.xml to C:\ir_plus\metadata\reports\ivy_report\metadata-metad
ata-default.html
[ivy:report] Processing C:\Documents and Settings\omkar.patil\.ivy2\cache\metada
ta-metadata-default.xml to C:\ir_plus\metadata\reports\ivy_report\metadata-metad
ata-default.graphml
retrieve:
[ivy:retrieve] :: retrieving :: metadata#metadata [sync]
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  0 artifacts copied, 5 already retrieved (0kB/15ms)
ntegration :: Tue Nov 22 12:41:47 IST 2011

[ivy:publish]   delivering ivy file to C:\ir_plus\metadata\metadata\metadata-2.1
.xml
[ivy:publish] :: publishing :: metadata#metadata
[ivy:publish]   published metadata to C:\Documents and Settings\omkar.patil\.ivy
2/local/metadata/metadata/2.1/jars/metadata.jar
[ivy:publish]   published ivy to C:\Documents and Settings\omkar.patil\.ivy2/loc
al/metadata/metadata/2.1/ivys/ivy.xml
do-ir-core:
clean:
download-ivy:

     [echo] Please wait this may take a few minutes - installing ivy...
      [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0-rc1/
ivy-2.2.0-rc1.jar
      [get] To: C:\ir_plus\ir_core\ivy\ivy.jar
      [get] Not modified - so not downloaded
[ivy:resolve]   found javax.media#jai-core;1.1.3 in mvnsearch
[ivy:resolve]   found com.sun.media#jai-codec;1.1.3 in mvnsearch

[ivy:resolve]   found org.apache.lucene#lucene-core;2.4.1 in maven2
[ivy:resolve]   found dom4j#dom4j;1.6.1 in maven2
[ivy:resolve] downloading C:\Documents and Settings\omkar.patil\.ivy2\local\file
_db\file_db\2.1\jars\file_db.jar ...
[ivy:resolve] .. (44kB)
[ivy:resolve] .. (0kB)
[ivy:resolve]   [SUCCESSFUL ] file_db#file_db;2.1!file_db.jar (16ms)

[ivy:resolve] downloading C:\Documents and Settings\omkar.patil\.ivy2\local\meta
data\metadata\2.1\jars\metadata.jar ...
[ivy:resolve] .. (11kB)
[ivy:resolve] .. (0kB)
[ivy:resolve]   [SUCCESSFUL ] metadata#metadata;2.1!metadata.jar (31ms)
[ivy:resolve] :: resolution report :: resolve 1547ms :: artifacts dl 67785ms

        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   39  |   4   |   2   |   0   ||   39  |   2   |

        ---------------------------------------------------------------------
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           [FAILED     ] javax.media#jai-core;1.1.3!jai-core.jar:
(0ms)

[ivy:resolve]   ==== shared: tried
[ivy:resolve]     C:\Documents and Settings\omkar.patil\.ivy2/shared/javax.media
/jai-core/1.1.3/jars/jai-core.jar
[ivy:resolve]   ==== maven2: tried
[ivy:resolve]     http://repo1.maven.org/maven2/javax/media/jai-core/1.1.3/jai-c
ore-1.1.3.jar
[ivy:resolve]   ==== apache-incubating: tried
[ivy:resolve]     http://people.apache.org/repo/m2-incubating-repository/javax/m
edia/jai-core/1.1.3/jai-core-1.1.3.jar
[ivy:resolve]   ==== mvnsearch: tried
[ivy:resolve]     http://www.mvnsearch.org/maven2/javax/media/jai-core/1.1.3/jai
-core-1.1.3.jar
[ivy:resolve]   ==== glassfish: tried
[ivy:resolve]     http://maven.glassfish.org/content/repositories/sonatype-forge
/javax/media/jai-core/1.1.3/jai-core-1.1.3.jar

[ivy:resolve]   ==== elca-services: tried
[ivy:resolve]     http://el4.elca-services.ch/el4j/maven2repository/javax/media/
jai-core/1.1.3/jai-core-1.1.3.jar
[ivy:resolve]   ==== java.net: tried
[ivy:resolve]     http://download.java.net/maven/1/javax.media/jars/jai-core-1.1
.3.jar
[ivy:resolve]   ==== restlet: tried
[ivy:resolve]     http://maven.restlet.org/javax/media/jai-core/1.1.3/jai-core-1
.1.3.jar
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::              FAILED DOWNLOADS            ::
[ivy:resolve]           :: ^ see resolution messages for details  ^ ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: javax.media#jai-core;1.1.3!jai-core.jar

[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :::: ERRORS
[ivy:resolve]   SERVER ERROR: Proxy Timeout ( The connection timed out.  ) url=h
ttp://www.mvnsearch.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.jar

[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
C:\ir_plus\build.xml:94: The following error occurred while executing this line:
C:\ir_plus\base.xml:216: impossible to resolve dependencies:
        resolve failed - see output for details
Total time: 12 minute 24 seconds
C:\ir_plus>
 
 
 
 
 
 

Nate Sarr

unread,
Nov 25, 2011, 11:50:30 AM11/25/11
to irp...@googlegroups.com
Hi Omkar,
 
   Looks like your proxy server may have timed out.  Could you check with your system administrator and see why thig might have happened.
 
-Nate

 
 
 
 
 
 

--
You received this message because you are subscribed to the Google Groups "irplus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/irplus/-/wfD0LOBSvGAJ.
Reply all
Reply to author
Forward
0 new messages