NoClassDefFoundError loading class with quartz job
Issue
I am getting following error while trying to load the above class.
I verified and the class is available in ear under jar
bcprov-jdk15-138.jar at location \jboss-as\server\default\deploy\kr.ear\lib\bcprov-jdk15-138.jar.
The same ear running fine in our qa and stage environment. This error noticed only in production.
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174)
at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
Please find the attached server.log.
As a note, the code that is having the NoClassDefFound exception is being fired as a scheduled job through Quartz.
Environment
Jboss Enterprise Application Platform 4.2.0.GA.CP_02
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.