Hello,
apologies..... i talked without checking what was generated (all the
deployment - on jboss - went fine so i was assuming that everything was fine
too)
no i don' thave doctype, howerver the ejb-jar refers to the schema location
for the ejb jar
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar id="ejb-jar_1" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1">
you migh turn to xdoclet list, you'll find more help there/.....
can the issue be the xml parser that weblogic is using? (another wild guess)
regards
marco
On 11/27/06, Manu <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for the tip, but it doesn't seem to work in my case. I always had
it,
and the generated ejb-jar.xml does not include DOCTYPE.
Do YOU have it generated in your case ?
By the way, I use the following piece of Pom :
<ejbdoclet ejbSpec="2.1" ejbClassNameSuffix="Impl" force="true"
destDir="${basedir}/src/generated/java">
<fileset dir="${basedir}/src/main/java" includes="**/*Impl.java"/>
<entitypk/>
<deploymentdescriptor
schema="http://java.sun.com/dtd/ejb-jar_2_0.dtd"
xmlencoding="ISO-8859-1"
validateXML="true"
destDir="${basedir}/src/generated/resources/META-INF"
useIDs="true"/>
<packageSubstitution packages="impl" substituteWith="interfaces" />
<weblogic
version="8.1"
createtables="Disabled"
destDir="${basedir}/src/generated/resources/META-INF"/>
</ejbdoclet>
Any more suggestions ?
Manu :-Þ
2006/11/27, Marco Mistroni <[EMAIL PROTECTED]>:
>
> hi,
> wild guess... have you specified the ejb version you are using?
> here's what i m using
>
> <ejbdoclet
> destDir="${project.build.directory
}/generated-sources/xdoclet"
> excludedTags="@author,@version"
> ejbSpec="2.1">
>
> <deploymentdescriptor
> destDir="${project.build.outputDirectory
> }/META-INF"
> useIDs="true"/>
> <websphere
>
> destDir="${project.build.outputDirectory}/META-INF"/>
>
>
> <jboss version="4.0"
> destDir="${project.build.outputDirectory
> }/META-INF"
> dataSource="${mw.dataSource}"
> datasourceMapping="Hypersonic SQL"
> createTable="true"
> removeTable="true"/>
>
>
> hth
> marco
>
>
>
> On 11/27/06, Manu <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm experiencing trouble with the generation of ejb-jar.xml by
ejbdoclet
> > (xdoclet).
> > It does not seem to include at the top of the file a DOCTYPE
directive.
> > I don't know if this is strictly required by the standard, but my
> Weblogic
> > server tells me it is not valid for that reason.
> >
> > Any idea of how to make ejbdoclet (subtag <deploymentdescriptor/>)
> > generate
> > it for me ?
> > Or tell Weblo bypass this validation ?
> >
> > Thanks for your help.
> >
> > --
> > Manu (:-Þ)
> >
> >
>
>
--
Manu (:-Þ)