Will do.. This is the answer I expected based on the current mailing list
archives, but I wanted to double check it wasn't on my side.. I'll take a
look at the lastest CVS version and post any findings sometime this week.

Thanks!
James
----- Original Message -----
From: "Aslak Helles�y" <[EMAIL PROTECTED]>
To: "Dmitri Colebatch" <[EMAIL PROTECTED]>; "James Higginbotham"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 3:45 AM
Subject: RE: [Xdoclet-user] RE: [Ejbdoclet-user] Empty CMP RELATIONSHIP tags
and XDoclet 1.0.1?


> WebLogic 6.1 support for relations is very buggy in XDoclet 1.0.1. I
> strongly recommend that you get the current XDoclet sources from CVS and
> build XDoclet yourself to get full WebLogic 6.1 support.
>
> A new binary release of XDoclet 1.1 will be released within a few weeks I
> think.
>
> Aslak
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Dmitri
> > Colebatch
> > Sent: 19. november 2001 05:25
> > To: James Higginbotham
> > Cc: [EMAIL PROTECTED]
> > Subject: [Xdoclet-user] RE: [Ejbdoclet-user] Empty CMP RELATIONSHIP tags
> > and XDoclet 1.0.1?
> >
> >
> > James,
> >
> > Unfortunatley you've signed up for the ejbdoclet list, not the
> > xdoclet list.
> > I assume you took the link off the docs, which were wrong in the
previous
> > release.  If you subscribe for the xdoclet lists (go to
> > http://www.sf.net/projects/xdoclet) you will have more luck.
> >
> > I've cc'd this to the xdoclet-user list where hopefully you'll get an
> > answer.  I dont use the entity side of xdoclet myself, so cant
> > really help.
> >
> > cheers
> > dim
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of James
> > > Higginbotham
> > > Sent: Monday, 19 November 2001 3:24 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [Ejbdoclet-user] Empty CMP RELATIONSHIP tags and XDoclet
1.0.1?
> > >
> > >
> > > Hello - I'm just getting started with XDoclet in an effort to
> > > deploy an EJB
> > > 2.0 CMP bean to WebLogic 6.1. I have looked through the bugs,
> > > both open and
> > > closed, and the discussion forums on sourceforge but don't see
> > > this problem
> > > documented. I was wondering if this problem is already fixed, and
> > > when a new
> > > version of XDoclet will roll out with this fix?
> > >
> > > Any help would be appreciated!
> > >
> > > Here it is:
> > >
> > > When I try to deploy the .ear file, I get an exception stating
> > > that the XML
> > > did not validate properly and that there are children tags
> > > expected between
> > > the <RELATIONSHIP> tags. I do not have any relationships for
> > this CMP but
> > > XDoclet is generating the tags anyway, without a body. This
> > causes the WL
> > > validator to throwing an exception based on the generated file.
> > > Here is the
> > > stacktrace:
> > >
> > > weblogic.xml.process.XMLParsingException: The content of element type
> > > "relationships" is incomplete, it must match
> > > "(description?,ejb-relation+)". - with nested exception:
> > > [org.xml.sax.SAXParseException: The content of element type
> > > "relationships"
> > > is incomplete, it must match "(description?,ejb-relation+)".]
> > > File: ejb-jar.xml Line: 81 Column: 20
> > >  at
> > weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132)
> > >  at
> > > weblogic.ejb20.dd.xml.EjbJarLoader_EJB20.process(EjbJarLoader_EJB2
> > > 0.java:977
> > > )
> > >  at
> > > weblogic.ejb20.dd.xml.DDUtils.loadEJBJarDescriptorFromJarFile(DDUt
> > > ils.java:1
> > > 67)
> > >  at
> > > weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.
> > > java:135)
> > >  at
> > >
weblogic.ejb20.deployer.Deployer.createEJBDescriptor(Deployer.java:704)
> > >  at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
> > >  at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
> > >  at weblogic.j2ee.Application.addComponent(Application.java:160)
> > >  at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
> > >  at
> > > weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(D
> > > eploymentT
> > > arget.java:329)
> > >  at
> > > weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(D
> > > eploymentT
> > > arget.java:144)
> > >  at java.lang.reflect.Method.invoke(Native Method)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.invokeLocally(Dynami
> > > cMBeanImpl
> > > .java:608)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanI
> > > mpl.java:5
> > > 92)
> > >  at
> > > weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configu
> > > rationMBea
> > > nImpl.java:352)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> > >  at
> > > weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMB
> > > eans(Confi
> > > gurationMBeanImpl.java:484)
> > >  at
> > > weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configu
> > > rationMBea
> > > nImpl.java:354)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.addDeployment(Dynami
> > > cMBeanImpl
> > > .java:945)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.addDeployment(Dynami
> > > cMBeanImpl
> > > .java:932)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl
> > > .java:917)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.invokeLocally(Dynami
> > > cMBeanImpl
> > > .java:620)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanI
> > > mpl.java:5
> > > 92)
> > >  at
> > > weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configu
> > > rationMBea
> > > nImpl.java:352)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> > >  at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
> > >  at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
> > >  at $Proxy58.addTarget(Unknown Source)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(Ap
> > > plicationM
> > > anager.java:837)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.addApplicatio
> > > n(Applicat
> > > ionManager.java:936)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.addApplicatio
> > > n(Applicat
> > > ionManager.java:856)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.poll(Applicat
> > > ionManager
> > > .java:772)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.poll(Applicat
> > > ionManager
> > > .java:705)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.update(Applic
> > > ationManag
> > > er.java:200)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.startAdminMan
> > > ager(Appli
> > > cationManager.java:272)
> > >  at
> > > weblogic.management.mbeans.custom.ApplicationManager.start(Applica
> > > tionManage
> > > r.java:146)
> > >  at java.lang.reflect.Method.invoke(Native Method)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.invokeLocally(Dynami
> > > cMBeanImpl
> > > .java:608)
> > >  at
> > > weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanI
> > > mpl.java:5
> > > 92)
> > >  at
> > > weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configu
> > > rationMBea
> > > nImpl.java:352)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
> > >  at
> > >
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> > >  at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
> > >  at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
> > >  at $Proxy5.start(Unknown Source)
> > >  at weblogic.management.Admin.startApplicationManager(Admin.java:1155)
> > >  at weblogic.management.Admin.finish(Admin.java:570)
> > >  at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
> > >  at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
> > >  at weblogic.Server.main(Server.java:35)
> > >
> > > Here is the generated 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>
> > >
> > > <description>No Description</description>
> > >
> > > <display-name>Generated by XDoclet</display-name>
> > >
> > > <enterprise-beans>
> > >
> > > <!-- Session Beans -->
> > >
> > > <!-- Entity Beans -->
> > >
> > > <entity id="UserAccount">
> > >
> > > <description></description>
> > >
> > > <display-name>UserAccount</display-name>
> > >
> > > <ejb-name>UserAccount</ejb-name>
> > >
> > > <local-home>org.dotw.useraccount.UserAccountLocalHome</local-home>
> > >
> > > <local>org.dotw.useraccount.UserAccountLocal</local>
> > >
> > > <ejb-class>org.dotw.useraccount.UserAccountCMP</ejb-class>
> > >
> > > <persistence-type>Container</persistence-type>
> > >
> > > <prim-key-class>org.dotw.useraccount.UserAccountPK</prim-key-class>
> > >
> > > <reentrant>False</reentrant>
> > >
> > > <cmp-version>2.x</cmp-version>
> > >
> > > <abstract-schema-name>UserAccount</abstract-schema-name>
> > >
> > > <cmp-field>
> > >
> > > <description></description>
> > >
> > > <field-name>userid</field-name>
> > >
> > > </cmp-field>
> > >
> > > <cmp-field>
> > >
> > > <description></description>
> > >
> > > <field-name>email</field-name>
> > >
> > > </cmp-field>
> > >
> > > <cmp-field>
> > >
> > > <description></description>
> > >
> > > <field-name>firstname</field-name>
> > >
> > > </cmp-field>
> > >
> > > <cmp-field>
> > >
> > > <description></description>
> > >
> > > <field-name>lastname</field-name>
> > >
> > > </cmp-field>
> > >
> > > <cmp-field>
> > >
> > > <description></description>
> > >
> > > <field-name>password</field-name>
> > >
> > > </cmp-field>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > <query>
> > >
> > > <query-method>
> > >
> > > <method-name>findAll</method-name>
> > >
> > > <method-params>
> > >
> > > </method-params>
> > >
> > > </query-method>
> > >
> > > <result-type-mapping>Local</result-type-mapping>
> > >
> > > <ejb-ql>WHERE userid IS NOT NULL</ejb-ql>
> > >
> > > </query>
> > >
> > > </entity>
> > >
> > >
> > >
> > > <!-- Message Driven Beans -->
> > >
> > > </enterprise-beans>
> > >
> > > <!-- Relationships -->
> > >
> > > <relationships>
> > >
> > > </relationships>
> > >
> > >
> > >
> > > <!-- Assembly Descriptor -->
> > >
> > > <assembly-descriptor>
> > >
> > >
> > >
> > >
> > >
> > > <!-- finder perms -->
> > >
> > > <method-permission>
> > >
> > > <description>description not supported yet by ejbdoclet</description>
> > >
> > > <unchecked/>
> > >
> > > <method>
> > >
> > > <ejb-name>UserAccount</ejb-name>
> > >
> > > <method-intf>Home</method-intf>
> > >
> > > <method-name>findAll</method-name>
> > >
> > > <method-params>
> > >
> > > </method-params>
> > >
> > > </method>
> > >
> > > </method-permission>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > <!-- transactions -->
> > >
> > >
> > >
> > >
> > >
> > > <!-- finder transactions -->
> > >
> > >
> > >
> > > </assembly-descriptor>
> > >
> > >
> > >
> > >
> > >
> > > </ejb-jar>
> > >
> > >
> > >
> > > _______________________________________________
> > > Ejbdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/ejbdoclet-user
> > >
> >
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to