ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atherton Richard - Z9V <richard.ather...@AXA-RoyaleBelge.be>
Subject FW: IOException while parsing'ejb-jar.xml'
Date Wed, 22 Aug 2001 17:14:24 GMT


> I get the following error when using ejbjar with Ant 1.3 with Weblogic
> 5.1. I have the descriptor in the specified descriptor folder. Does anyone
> have any ideas?
> 
> Cheers,
> Richard.
> 
> D:\Work\Phoenix\bin\buildejb.xml:97: IOException while
> parsing'ejb-jar.xml'.  This probably indicates that the descriptor doesn't
> exist. Details: connect (code=10060)
> --- Nested Exception ---
> java.net.SocketException: connect (code=10060)
> 
> 
> ***** BUILDFILE *****
> 
> 	<property name="source"
> value="${basedir}\buildsrc\javaroot"/>
> 	<property name="descriptors"
> value="${basedir}\build\descriptors"/>
> 
> 	<property name="classesOutput"
> value="${basedir}\build\classes"/>
> 	<property name="ejbClassesOutput"
> value="${basedir}\build\ejbclasses"/>
> 	<property name="outputJars"
> value="${basedir}\build\jars"/>
> 
> 	<property name="ejbBuildClasspath"
> value="${weblogicHome}/classes:${outputClasses}"/>
> 
> .....
> 
>   	<!-- ======================================================= -->
> 	<!-- Build beans 						 -->
>   	<!-- ======================================================= -->
>     	<target name="buildEJB" depends="compile">
>     		<ejbjar srcdir="${source}"
>             		descriptordir="${descriptors}"
>             		basejarname="TheEJBJar">
>       			<weblogic destdir="${outputJars}"
>                 		classpath="${ejbBuildClasspath}"/>
>       			<include name="**/ejb-jar.xml"/>
>       			<exclude name="**/weblogic*.xml"/>
>     	    	</ejbjar>
>     	</target>
> 
> 
> ***** LOG *****
> 
> Buildfile: buildejb.xml
> 
> clean:
>    [delete] Deleting directory D:\Work\Phoenix\build\classes
>    [delete] Deleting directory D:\Work\Phoenix\build\ejbclasses
>    [delete] Deleting directory D:\Work\Phoenix\build\jars
>    [delete] Deleting directory D:\Work\Phoenix\build\jartemp
> 
> prepare:
>     [mkdir] Created dir: D:\Work\Phoenix\build\classes
>     [mkdir] Created dir: D:\Work\Phoenix\build\ejbclasses
>     [mkdir] Created dir: D:\Work\Phoenix\build\jars
>     [mkdir] Created dir: D:\Work\Phoenix\build\jartemp
> 
> compile:
>     [javac] Compiling 315 source files to D:\Work\Phoenix\build\classes
>     [javac] Note: 4 files use or override a deprecated API.  Recompile
> with "-deprecation" for details.
>     [javac] 1 warning
> 
> buildEJB:
> 
> BUILD FAILED
> 
> D:\Work\Phoenix\bin\buildejb.xml:97: IOException while
> parsing'ejb-jar.xml'.  This probably indicates that the descriptor doesn't
> exist. Details: connect (code=10060)
> --- Nested Exception ---
> java.net.SocketException: connect (code=10060)
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
> 	at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:132)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:119)
> 	at java.net.Socket.<init>(Socket.java:269)
> 	at java.net.Socket.<init>(Socket.java:98)
> 	at sun.net.NetworkClient.doConnect(NetworkClient.java:54)
> 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:320)
> 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:431)
> 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:260)
> 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:270)
> 	at sun.net.www.http.HttpClient.New(HttpClient.java:282)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java
> :371)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnecti
> on.java:456)
> 	at java.net.URL.openStream(URL.java:818)
> 	at
> org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderF
> actory.java, Compiled Code)
> 	at
> org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEnt
> ity(DefaultEntityHandler.java:767)
> 	at
> org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSub
> set(DefaultEntityHandler.java:566)
> 	at
> org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.ja
> va:1139)
> 	at
> org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocument
> Scanner.java:2201)
> 	at
> org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner
> .java:2156)
> 	at
> org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(X
> MLDocumentScanner.java, Compiled Code)
> 	at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanne
> r.java, Compiled Code)
> 	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
> 	at
> org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
> 	at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> 	at
> org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDe
> scriptor(GenericDeploymentTool.java, Compiled Code)
> 	at
> org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java,
> Compiled Code)
> 	at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
> 	at org.apache.tools.ant.Project.runTarget(Project.java:898)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
> Code)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java,
> Compiled Code)
> 	at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
> 	at org.apache.tools.ant.Main.main(Main.java:149)
> 
> Total time: 1 minute 16 seconds
> 
> __________________________________________________
> 
> Richard Atherton
> Andersen - Project Phoenix
> Phone: +32 2 678 8351
> Mobile: +44 7939 583728
> E-mail: richard.atherton@axa-royalebelge.be
> __________________________________________________
> 
> 

Mime
View raw message