Please need help on Middlegen with Weblogic

"Elid Or" <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Hi,
I am using Mysql 4 with Weblogic 7.
When testing de airline sample I have an error when running Middlegen by the 
ant command after created tables:
[...]
compile-ejb:
     [javac] Compiling 47 source files to 
C:\middlegen-2.0-vo\samples\build\classes

ejb-jar:
     [mkdir] Created dir: C:\middlegen-2.0-vo\samples\build\ejb
       [jar] Building jar: 
C:\middlegen-2.0-vo\samples\build\ejb\airline-ejb.jar

check-weblogic-jar:

fail-if-not-weblogic-jar-present:

postprocess-ejb-jar:
      [move] Moving 1 files to C:\middlegen-2.0-vo\samples\build\ejb
      [echo] Running weblogic.ejbc



      [java] ERROR: Error from ejbc: Unable to set the method permission for 
method 'create()'. No matching method could be found. Please verify the 
method signature specified in the ejb-jar.xml file matches that of your 
LocalHome interface.


      [java] ERROR: ejbc found errors




BUILD FAILED
C:\middlegen-2.0-vo\samples\config\ejb\weblogic.xml:61: Java returned: 1

Total time: 40 seconds
[End]


Can somebody help me ?

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.