Hi, I'm sorry about the lacking support for Middlegen problems. We're only a few people, all busy with other projects.
I took a look at your problem. Apparantly there is some bug with the xdoclet version we're using to generate the entityfacades, which makes an entry in the ejb-jar.xml file for a local interface create method. We have not been creating any local interface for the facades. I have now changed this to 'both', so they should be generated. Just get the latest cvs version. However, there still seems to be some problem with the facade exposing the local interface types in the create method: [java] ERROR: Error from ejbc: [java] In EJB ReservationFacade, method create(java.sql.Timestamp,java.lang.String,airline.interfaces.FlightLocal,airline.interfaces.PersonLocal) exposes local interface types or local home interface types through the remote interface of the bean. This is not allowed. I manually deleted the create methods causing the problem, this makes the ejbc run fine. Not quite sure how to fix this. I'll try to upgrade to the latest xdoclet version and see if this helps. Hope this will get you a bit further. The generated cmp beans should work fine, I would consider everything else (struts, session bean facades) optional beta stuff. Don't expect all this to work perfectly. Cheers .eivind On Wed, 19 May 2004, zousey seyzou wrote: > Hello, as an old user of middlegen it seems as if middlegen quality is > getting poorer, and also the service is not as it use to be.This is not a > criticism that an observation. > at least middlegen that one checkouts from cvs. > ejb's build errorrs like the folllowing, > and the struts can't compile. i haven't seen any new entry in the forum this > month, what is going one ? is middlegen stopping being an open source ? > thanks > postprocess-ejb-jar: > [move] Moving 1 files to C:\GNU\WinCvs > 1.3\CVSNT\middlegen\samples\build\ejb > [echo] Running weblogic.ejbc > > [java] ERROR: Error from ejbc: Unable to set the method permission for > method 'create()' on EJB 'ReservationFacade'. No matc > d in the ejb-jar.xml file matches that of your LocalHome interface for this > EJB. > > > [java] ERROR: ejbc couldn't invoke compiler > > > > > BUILD FAILED > C:\GNU\WinCvs 1.3\CVSNT\middlegen\samples\config\ejb\weblogic.xml:61: Java > returned: 1 > > Total time: 30 seconds > > _________________________________________________________________ > F� alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id�66&op=click _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
