Discussion:
[Middlegen-user] Is middlegen quality getting poorer ?
zousey seyzou
2004-05-19 16:15:03 UTC
Permalink
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
Eivind Waaler
2004-05-20 15:49:01 UTC
Permalink
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,a=
irline.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
=2Eeivind
Post by zousey seyzou
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 t=
his
Post by zousey seyzou
month, what is going one ? is middlegen stopping being an open source ?
thanks
[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 f=
or
Post by zousey seyzou
method 'create()' on EJB 'ReservationFacade'. No matc
d in the ejb-jar.xml file matches that of your LocalHome interface for th=
is
Post by zousey seyzou
EJB.
[java] ERROR: ejbc couldn't invoke compiler
BUILD FAILED
C:\GNU\WinCvs 1.3\CVSNT\middlegen\samples\config\ejb\weblogic.xml:61: Jav=
a
Post by zousey seyzou
returned: 1
Total time: 30 seconds
_________________________________________________________________
F=E5 alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/mess=
enger
Post by zousey seyzou
-------------------------------------------------------
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=3D2562&alloc_id=3D6184&op=3Dclick
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...