ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yalamanchili, Ravi" <ravi_yalamanch...@medco.com>
Subject Build failed error
Date Wed, 19 Oct 2005 20:02:22 GMT
Hi everybody, I am getting errors when compiled using ant, OS is 2003, I
checked all the config and system variables, every thing looks fine . This
is the error I m getting when trying to build

Buildfile: build.xml

BUILD FAILED
C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml:13: The following
error o ccurred while executing this line: Error reading project file
C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build_co
re.xml: Connection refused: connect

Total time: 1 second

Both files exist at the same location , this is the output from verbose
mode, please let me know if you anybody have any idea where to look to
resolve this issue- Thank You

Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: build.xml
Detected Java version: 1.4 in: E:\j2sdk1.4.2_09\jre
Detected OS: Windows 2003
parsing buildfile C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml
with UR
I = file:///C:/plumtree_ui_source/portalui/6.0.x/ptwebui/build.xml
<file:///C:/plumtree_ui_source/portalui/6.0.x/ptwebui/build.xml> 
Project base dir set to: C:\plumtree_ui_source\portalui\6.0.x\ptwebui
Importing file build_core.xml from
C:\plumtree_ui_source\portalui\6.0.x\ptwebui\
build.xml
parsing buildfile
C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build_core.xml wi th URI =
file:///C:/plumtree_ui_source/portalui/6.0.x/ptwebui/build_core.xml
<file:///C:/plumtree_ui_source/portalui/6.0.x/ptwebui/build_core.xml> 
resolving systemId: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
<http://java.sun.com/j2ee/dtds/web-app_2_2.dtd> 

BUILD FAILED
C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml:13: The following
error o ccurred while executing this line: Error reading project file
C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build_co
re.xml: Connection refused: connect
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at
org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:144)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
133)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: Error reading project file
C:\plumtree_ui_source\portalui\6.0.x\ptweb
ui\build_core.xml: Connection refused: connect
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
236)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
124)
        at
org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:142)

        ... 9 more
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:320)
        at sun.net.www.http.HttpClient.New(HttpClient.java:315)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:521)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:498)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:626)
        at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source
)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
208)
        ... 11 more
--- Nested Exception ---
Error reading project file
C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build_co
re.xml: Connection refused: connect
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
236)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
124)
        at
org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:142)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
133)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:320)
        at sun.net.www.http.HttpClient.New(HttpClient.java:315)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:521)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:498)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:626)
        at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source
)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
208)
        ... 11 more
--- Nested Exception ---
java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:320)
        at sun.net.www.http.HttpClient.New(HttpClient.java:315)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:521)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:498)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:626)
        at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source
)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
208)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
124)
        at
org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:142)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
133)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

Total time: 1 second C:\plumtree_ui_source\portalui\6.0.x\ptwebui>

Ravi Yalamanchili
201 269 2042




-----------------------------------------
This e-mail message and any attachments contain confidential
information from Medco. If you are not the intended recipient, you are
hereby notified that disclosure, printing, copying, distribution, or
the taking of any action in reliance on the contents of this electronic
information is strictly prohibited. If you have received this e-mail
message in error, please immediately notify the sender by reply message
and then delete the electronic message and any attachments.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message