You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Ciramella, EJ" <EC...@emptoris.com> on 2003/09/08 23:46:50 UTC
EJBC question...
Ok, I'm having a crisis with a weblogic ejbc task.
If our network has an issue with connecting to Sun's or Bea's site, the
build hangs and then never completes. This only happens for WL 6.1
ejbc-ing. For WL5.1, I can unplug my network cable and things work fine.
What's so different between the two that I can't do the same thing for WL6.1
ejb building? If I create a classpath environment variable and put in the
j2ee12.jar and the weblogic.jar files, things work fine with no network
connection.
Any suggestions?
Re: EJBC question...
Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
On Tue, 9 Sep 2003 07:46 am, Ciramella, EJ wrote:
> Ok, I'm having a crisis with a weblogic ejbc task.
>
> If our network has an issue with connecting to Sun's or Bea's site, the
> build hangs and then never completes. This only happens for WL 6.1
> ejbc-ing. For WL5.1, I can unplug my network cable and things work fine.
> What's so different between the two that I can't do the same thing for
> WL6.1 ejb building? If I create a classpath environment variable and put
> in the j2ee12.jar and the weblogic.jar files, things work fine with no
> network connection.
>
> Any suggestions?
Can you tell us what Ant task you are running to get this problem? I presume
it is <java> and you are directly invoking weblogic.ejbc.
Both weblogic.ejbc and Ant's <ejbjar> task try to find DTDs locally rather
than having to go to the net to get them. IOW, they supply an entity resolver
to resolve the DTDs. weblogic.ejbc maps the required DTDs to resources on the
classpath. <ejbjar> also knows about these DTDs but lets you map arbitrary
public IDs to files or resources that you specify with the <dtd> tag. This is
similar to <xmlcatalog> but <ejbjar> does not use xmlcatalog instances as
yet.
Conor
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org