On Sat, Jan 06, 2001 at 06:19:34PM -0700, Chris Cuilla wrote:
> > First, make sure that the META-INF directory is capitalized in the JAR file,
> > then look for XML errors. For example, starting an <entity> block and
> > forgetting an ending tag. You might want to try running the ejb-jar.xml file
> > through a validating XML parser, as it will give you very detailed
> > information on your file vs. the DTD.
> 
> The META-INF directory is capitalized in the JAR file.
> 
> A visual inspection of the ejb-jar.xml file looks good.
> 
> As far as the DTD goes, there is no DTD reference in the ejb-jar.xml file. Is
> this enough to cause a failure?

No, your bean will deploy without it -- however, you should definitely add
it and use it to validate your ejb document.

<!DOCTYPE ejb-jar PUBLIC
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN"
"http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">

Good luck,
Derek

> Chris
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
> 
> 


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to