Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread Steve Loughran


- Original Message -
From: "Jesse Stockall" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 14:00
Subject: Re: Can someone who knows the innards of ejbjar...


> On Tue, 2002-02-05 at 16:34, [EMAIL PROTECTED] wrote:
>
> > Yes, I understand that. But once the application is deployed, ant is no
> > longer involved. Ant at that point, if *I* don't have an Internet
connection
> > to Sun's site and to BEA's site, the applications don't start. At least
on
> > my site. I was just wondering if others have found this and what they do
to
> > fix the problem.
> >
>
> Well if the problem is not related to Ant, then you may have better luck
> asking on an EJB forum or mailing list.
>
> One simple way would be to put the dtd's on a local (internal) web
> server & reference the local url from the deployment descriptor.

or just paste it straight into the XML; I've done that before now.

-steve


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread Jesse Stockall

On Tue, 2002-02-05 at 16:34, [EMAIL PROTECTED] wrote:

> Yes, I understand that. But once the application is deployed, ant is no
> longer involved. Ant at that point, if *I* don't have an Internet connection
> to Sun's site and to BEA's site, the applications don't start. At least on
> my site. I was just wondering if others have found this and what they do to
> fix the problem.
> 

Well if the problem is not related to Ant, then you may have better luck
asking on an EJB forum or mailing list.

One simple way would be to put the dtd's on a local (internal) web
server & reference the local url from the deployment descriptor.

-- 
 Jesse Stockall |   Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation |   Fax: 1+ 613.599.2442
 Suite 304, 300 March Rd.   |   email: [EMAIL PROTECTED]
 Ottawa, ON, Canada K2K 2E2 |   web: www.cryptocard.com 
-


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread lduperval

On  5 Feb, Jesse Stockall wrote:
> On Tue, 2002-02-05 at 13:52, [EMAIL PROTECTED] wrote:
>> ...tell me what part of the task produces this error message:
>> 
>>  Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
>2.0//EN, systemId: http://java.sun.com/dtd/ejb-jar_2_0.dtd) to a local entity
>> 
> 
> You need to add something similar to the following
> 
>location="${dtd}/ejb-jar_1_1.dtd"/>
>location="${dtd}/ejb-inprise.dtd"/>
> 
> So that ant can find a local copy of the DTD.
> 

Yes, I understand that. But once the application is deployed, ant is no
longer involved. Ant at that point, if *I* don't have an Internet connection
to Sun's site and to BEA's site, the applications don't start. At least on
my site. I was just wondering if others have found this and what they do to
fix the problem.

L

-- 
Laurent Duperval 

"Je ne vais tout de même pas les appeler les tabarnacos."
-Jacques Parizeau



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Can someone who knows the innards of ejbjar...

2002-02-05 Thread Jesse Stockall

On Tue, 2002-02-05 at 13:52, [EMAIL PROTECTED] wrote:
> ...tell me what part of the task produces this error message:
> 
>  Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
>2.0//EN, systemId: http://java.sun.com/dtd/ejb-jar_2_0.dtd) to a local entity
> 

You need to add something similar to the following




So that ant can find a local copy of the DTD.

-- 
 Jesse Stockall |   Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation |   Fax: 1+ 613.599.2442
 Suite 304, 300 March Rd.   |   email: [EMAIL PROTECTED]
 Ottawa, ON, Canada K2K 2E2 |   web: www.cryptocard.com 
-


--
To unsubscribe, e-mail:   
For additional commands, e-mail: