Today I stumbled upon another bug in Weblogic. Its EJB compiler goes nuts, if your EJB implements a method with varargs parameter. The error has a quite strange stacktrace (though it’s usual for Weblogic):
java.io.IOException: Compiler failed executable.exec:
D:/wl-domain/servers/tpadminServer/cache/
EJBCompilerCache/-dlel6hz0tfi7/.../ejb/session/
dao/....Bean_ggrd50_....Impl.java:33:
modifier transient not allowed hereThe solution is simple - replace varargs with a regular array parameter.
First published on the old anydoby.com blog on 2007-07-12.