ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Smith <dan.sm...@globalone.net>
Subject Re: ejbjar and proxy servers
Date Mon, 16 Oct 2000 14:07:21 GMT
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Ok, I am almost there...
<br>I added the weblogic classes to my ant classpath and it almost worked.&nbsp;
It failed AFTER the creation of the ejb jarfile.&nbsp; Here is the actual
output:
<p>[ejbjar] building ticket.jar with 5 files
<br>&nbsp;&nbsp;&nbsp;&nbsp; [java] [EJB]: Creating output jar:/home/dsmith/src/dsmith_cws/vobs/cws/jars/ticket.jar
<p>BUILD FAILED
<p>/home/dsmith/src/dsmith_cws/vobs/cws/build.xml:76: IOException while
parsing'weblogic-ejb-jar.xml'.&nbsp; This probably indicates that the descriptor
doesn't exist. Details: www.bea.com
<br>java.net.UnknownHostException: www.bea.com
<br>&nbsp;at java.net.InetAddress.getAllByName0(InetAddress.java:571)
<br>&nbsp;at java.net.InetAddress.getAllByName0(InetAddress.java:540)
<br>&nbsp;at java.net.InetAddress.getByName(InetAddress.java:449)
<br>&nbsp;at java.net.Socket.&lt;init>(Socket.java:100)
<br>&nbsp;at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
<br>&nbsp;at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
<br>&nbsp;at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
<br>&nbsp;at sun.net.www.http.HttpClient.&lt;init>(HttpClient.java:267)
<br>&nbsp;at sun.net.www.http.HttpClient.&lt;init>(HttpClient.java:277)
<br>&nbsp;at sun.net.www.http.HttpClient.New(HttpClient.java:289)
<br>&nbsp;at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:379)
<br>&nbsp;at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:472)
<br>&nbsp;at com.sun.xml.parser.Resolver.createInputSource(Resolver.java:253)
<br>&nbsp;at com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEntity.java:49)
<br>&nbsp;at com.sun.xml.parser.Parser.pushReader(Parser.java:2748)
<br>&nbsp;at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2500)
<br>&nbsp;at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1136)
<br>&nbsp;at com.sun.xml.parser.Parser.parseInternal(Parser.java:480)
<br>&nbsp;at com.sun.xml.parser.Parser.parse(Parser.java:283)
<br>&nbsp;at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
<br>&nbsp;at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDescriptor(GenericDeploymentTool.java:244)
<br>&nbsp;at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java:262)
<br>&nbsp;at org.apache.tools.ant.Target.execute(Target.java:142)
<br>&nbsp;at org.apache.tools.ant.Project.runTarget(Project.java:818)
<br>&nbsp;at org.apache.tools.ant.Project.executeTarget(Project.java:532)
<br>&nbsp;at org.apache.tools.ant.Project.executeTargets(Project.java:506)
<br>&nbsp;at org.apache.tools.ant.Main.runBuild(Main.java:400)
<p>but, like I said, the ticket.jar file was created.&nbsp; Did this work?
<p>The dtd referenced within the 'weblogic-ejb-jar.xml' is:
<br>&nbsp;&nbsp;&nbsp; <A HREF="http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd">http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd</A>
<p>the file 'weblogic-ejb-jar.dtd' exists in the $WEBLOGIC_HOME/classes
directory under weblogic/ejb/deployment/xml.
<p>Oh yeah, I am using Weblogic 5.1
<p>Thanks,
<br>Dan
<br>&nbsp;
<pre>--&nbsp;
"Sometimes I wish I could be you, just so I could be friends with me."
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-- Agelica Pickles</pre>
&nbsp;</html>


Mime
View raw message