Try posting your ejbc related issues to the Weblogic newsgroup, as it's more
appropriate there.

<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN' 'file://temp/ejb-jar_1_1.dtd'>

seems to work for me, make sure you have latest service pack installed.

--
Tinou Bao
www.baosys.com


----- Original Message -----
From: "sanjeev kasarabada" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 5:52 PM
Subject: Re: [EJB-INT] trouble using Local DTD file


> Tinou,
>       I have tried. But is still not picking it up.
> Actually what I am trying to do is ejbc. The error
> stack trace is below.
> Thanx,
> sanjeev
>
> ejbc:
>  [weblogic] org.xml.sax.SAXException: Could not locate
> a local resource corresponding to public Id null.
>  [weblogic] Is the XML DOCTYPE header correct?
>  [weblogic]     at
>
weblogic.ejb.deployment.xml.EJBEntityResolver.resolveEntity(EJBEntityResolve
r.java:55)
>  [weblogic]     at
> com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEntity.java:46)
>  [weblogic]     at
> com.sun.xml.parser.Parser.pushReader(Parser.java:2748)
>  [weblogic]     at
> com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2500)
>  [weblogic]     at
> com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1136)
>  [weblogic]     at
> com.sun.xml.parser.Parser.parseInternal(Parser.java:480)
>  [weblogic]     at
> com.sun.xml.parser.Parser.parse(Parser.java:283)
>  [weblogic]     at
> weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:69)
>  [weblogic]     at
> weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
>  [weblogic]     at
>
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(DescriptorLoader.java:151
)
>  [weblogic]     at weblogic.ejbc.runBody(ejbc.java,
> Compiled Code)
>  [weblogic]     at
> weblogic.utils.compiler.Tool.run(Tool.java:80)
>  [weblogic]     at weblogic.ejbc.main(ejbc.java:353)
>  [weblogic] --------------- nested within:
> ------------------
>  [weblogic] Received SAXException from Sun Parser:
> org.xml.sax.SAXException: Could not locate a local
> resource corresp
>  [weblogic] Is the XML DOCTYPE header correct?
>  [weblogic]     at
> weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:72)
>  [weblogic]     at
> weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
>  [weblogic]     at
>
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(DescriptorLoader.java:151
)
>  [weblogic]     at weblogic.ejbc.runBody(ejbc.java,
> Compiled Code)
>  [weblogic]     at
> weblogic.utils.compiler.Tool.run(Tool.java:80)
>  [weblogic]     at weblogic.ejbc.main(ejbc.java:353)
>  [weblogic] ERROR: Received SAXException from Sun
> Parser: org.xml.sax.SAXException: Could not locate a
> local resource
>  [weblogic] Is the XML DOCTYPE header correct?
>
> BUILD FAILED
> --- Tinou Bao <[EMAIL PROTECTED]> wrote:
> > Isn't it file://yourfile?
> >
> > --
> > Tinou Bao
> > www.baosys.com
> >
> >
> > ----- Original Message -----
> > From: "sanjeev kasarabada" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 19, 2001 4:59 PM
> > Subject: [EJB-INT] trouble using Local DTD file
> >
> >
> > > Hi,
> > >     I am having problems using local DTD's for
> > > ejb-jar.xml file. I am specifying it as
> > >
> > > <!DOCTYPE ejb-jar SYSTEM
> > > "file:c:/dtd/ejb-jar_1_1.dtd">
> > >
> > > But I am getting an error saying
> > > org.xml.sax.SAXException: Could not locate a local
> > > resource corresponding to public Id null.
> > >
> > > I am using weblogic server 5.1
> > > Any help.
> > > Thanx,
> > > sanjeev
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Spot the hottest trends in music, movies, and
> > more.
> > > http://buzz.yahoo.com/
> > >
> > >
> >
>
===========================================================================
> > > To unsubscribe, send email to
> > [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff EJB-INTEREST".  For
> > general help, send email to
> > > [EMAIL PROTECTED] and include in the body of
> > the message "help".
> > >
> > >
> >
> >
>
===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff EJB-INTEREST".  For general
> > help, send email to
> > [EMAIL PROTECTED] and include in the body of the
> > message "help".
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Spot the hottest trends in music, movies, and more.
> http://buzz.yahoo.com/
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to