I had created a simple echoing BPEL process in my JDeveloper and then looked around for the option to export an EAR for my service. Of course, there isn’t one. What happens is that JDeveloper will create a JAR that contains your BPEL artifacts. This JAR is called the “BPEL Suitcase”. I assume it’s a […]
ANT & Building an EJB with the JAR task: ClassNotFoundException
Just a quick note. I was trying to build my EJB using ANT and the JAR task and when it ran, I was getting ClassNotFoundExceptions for my utility jars that should have been on the classpath. <jar jarfile=”${ejb-classes.dir}/EJB.jar” basedir=”${ejb-classes.dir}”” /> The reason is that the manifest file that existed in the directory was being overwritten […]
Log4J “NoSuchMethodError” for org/apache/log4j/Logger.trace(Ljava/lang/Object;)V
My application uses log4J and when I deployed to our development server, I was getting the following exception: CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method “onMessage” on bean “BeanId(LoggingEAR#LoggingEJB.jar#LoggingExceptionMDB, null)”. Exception data: java.lang.NoSuchMethodError: org/apache/log4j/Logger.trace(Ljava/lang/Object;)V At first, I believed that this was caused by Log4J not being on the classpath in ear. […]