Discussion:
[Middlegen-user] Please need help on Middlegen with Weblogic
Elid Or
2004-04-07 14:07:05 UTC
Permalink
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

Loading...