Your URI is wrong and should be:

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

Not sure why the public name is not enough to match the local entity resolver.
3.2 requires that a doctype be found and its not with the bad URI.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Frank Morton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 3:11 PM
Subject: [JBoss-user] 3.2.0RC2 New DOCTYPE?


> Using the following as the start of an ejb-jar.xml:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise  
> JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtd/ejb-jar_2_0.dtd";>
> <ejb-jar>
> 
> with 3.2.0RC2 generates the following exception on startup:
> 
> 17:23:00,141 ERROR [URLDeploymentScanner] Failed to deploy:  
> org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@c86c4838{  
> url=file:/usr/local/jboss-3.2.0RC2/server/default/deploy/base2.jar,  
> deployedLastModified=0 }
> org.jboss.deployment.DeploymentException: ejb-jar.xml must define a  
> valid DOCTYPE!
>          at  
> org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaDa 
> ta.java:201)
>          at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:152)
>          at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:348)
>          at  
> org.jboss.deployment.MainDeployer.create(MainDeployer.java:779)
>          at  



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to