If an @Asynchronous annotated method has a user parameter type that is
contained in a library [lib]/*.jar then validation fails with a
ClassNotFoundException.
@Asynchronous
public void myMethod(final MyLibraryClass aClass) { ...
1. 'A.jar' is placed in [apps] for deployment on startup - A.jar has a bean
with an @Asynchronous method that requires a class from 'B.jar'.
2. 'B.jar' is placed in [lib]
3. Start OpenEJB - Validation fails
CheckAsynchronous#getMethod tries to load the class in 'B.jar', but the
module classloader has no path to it.
This feels like a bug, any ideas?
Regards,
Andy.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Asynchronous-method-validation-fails-for-external-user-type-tp4453522p4453522.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.