1 of 1 people found this helpful
how exactly your ear structure looks like?
what does return?
jar tf <name-of-ear>
Here is the structure of ear. jakarta-httpcore-4.0-alpha1.jar contains classes used in appEJB.jar but it is throwing ClassNotFound from EJB class.
Here is manifest if appEJB.jar:
Ant-Version: Apache Ant 1.7.1
Created-By: 25.51-b03 (Oracle Corporation)
jar tf app.ear
that is a miracle that ever worked, It was probably a bug in jboss as 4 that allowed this.
you will need to move jakarta-httpcore-4.0-alpha1.jar to ear/lib directory and it will work.
also while you are at it, remove duplicate commons-fileupload jar and upgrade bcprov to latest version to work properly with newer JDKs WildFly runs with.