geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@geronimo.apache.org
Subject [jira] Commented: (GERONIMO-169) EJB 2.0 DTD deployment descriptor support
Date Wed, 04 Aug 2004 20:33:38 GMT
The following comment has been added to this issue:

     Author: David Blevins
    Created: Wed, 4 Aug 2004 1:33 PM
       Body:
EJB 2.0 MDB to EJB 2.1 DD conversion doesn't quite work.

This deployment descriptor ...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar id="ejb-jar_ID">
	<enterprise-beans>
		<message-driven>
			<ejb-name>BasicMessageBean</ejb-name>
			<ejb-class>org.acme.BasicMessageBean</ejb-class>
			<transaction-type>Container</transaction-type>
			<message-driven-destination>
				<destination-type>javax.jms.Queue</destination-type>
			</message-driven-destination>
		</message-driven>
	</enterprise-beans>
</ejb-jar>


...yields the following at deployment

Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [error: Element
not allowed: message-driven-destination@http://java.sun.com/xml/ns/j2ee in element message-driven@http://java.sun.com/xml/ns/j2ee]
        at org.apache.geronimo.schema.SchemaConversionUtils.validateDD(SchemaConversionUtils.java:287)
        at org.apache.geronimo.schema.SchemaConversionUtils.convertToEJBSchema(SchemaConversionUtils.java:108)
        at org.openejb.deployment.OpenEJBModuleBuilder.installModule(OpenEJBModuleBuilder.java:310)
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/GERONIMO-169?page=comments#action_37036

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-169

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-169
    Summary: EJB 2.0 DTD deployment descriptor support
       Type: New Feature

     Status: Reopened
   Priority: Minor

    Project: Apache Geronimo
 Components: 
             deployment
   Fix Fors:
             1.0-M2
   Versions:
             1.0-M1

   Assignee: David Jencks
   Reporter: David Blevins

    Created: Sat, 24 Apr 2004 4:55 PM
    Updated: Wed, 4 Aug 2004 1:33 PM

Description:
Currently only ejb-jar.xml files containing the EJB 2.1 xml schema header can be parsed and
deployed.  Depolyment descriptors using the EJB  2.0 DTD are not deployable.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message