Hi,
I've run into a doctype issue with xdoclet again and was wondering if anyone
knows anything about it.
I've getting the following exception when deploying my EAR to weblogic 8.1.
[java] Exception:weblogic.management.ApplicationException: Prepare failed. Task
Id = 1
[java] Module: mprs-ejb-1.0.jar Error: [EJB:011025]The XML
parser encountered an error in your deployment descriptor. Please ensure that
your DOCTYPE is correct. You may wish to compare your deployment descriptors
with the WebLogic Server examples to ensure the format is correct. The error
was:
[java] [EJB:012021]Error: No persistence-type element was declared with the
type-identifier 'WebLogic_CMP_RDBMS' and '7.0' for the EJB 'Reporter'. Make
sure your persistence-use declaration matches up with one of your
persistence-type declarations for this EJB in the weblogic-ejb-jar.xml file..
On checking my weblogic-ejb-jar.xml file doctype is coming out as version 6.
Note the <type-version> tags say 6 and 7 when I guess they should be 8.
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0
EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<description><![CDATA[Generated by XDoclet]]></description>
<weblogic-enterprise-bean>
<ejb-name>Reporter</ejb-name>
<entity-descriptor>
<persistence>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>7.0</type-version>
</persistence-use>
</persistence>
</entity-descriptor>
<reference-descriptor>
</reference-descriptor>
Regards,
Vang Nguyen
Enterprise Application Programmer
Department of Emergency Services
(61-7) 3247 8586
This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your system
immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, if you
are not the intended recipient.
Any opinions expressed in this message are those of the individual sender
except where the sender expressly,
and with the authority, states them to be the opinions of the Department of
Emergency Services, Queensland.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user