Why Appian is not recognizing the org/w3c/dom/Node clas theat is bundled as part

Why Appian is not recognizing the org/w3c/dom/Node clas theat is bundled as part of core JDK 1.7.51 - rt.jar package?

I am developing a smart service that consumes Axis2 (1.6.2 version) web service. ( the smart service has the client code using static stub). I have packaged the essential jars from Axis 2 ( approx 18 jars ) in my lib folder. When i package this plugin project using Appian-> Export plugin option, it creates a jar file and all the axis2 libraries i put in lib folder are moved to META-INF/ lib.

When i run my code in standalone java mode ( using java -jar ), the code works perfectly.
But when i deploy this smart service and test it, I got an error:

JBAS014134: EJB Invocation failed on component UnattendedRequestHandlerBean for method public abstract com.appiancorp.process.engine.ContinuationResponse com.appiancorp.ra.workpoller.UnattendedRequestListener.onMessage(com.appiancorp.process.engine.UnattendedRequest): javax.ejb.EJBException:...

OriginalPostID-118765

OriginalPostID-118765

  Discussion posts and replies are publicly visible

Parents
  • ... java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/w3c/dom/Node
              at org.jboss.as.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:80) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.as.ejb3.tx.EjbBMTInterceptor.checkStatelessDone(EjbBMTInterceptor.java:92) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:107) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:56) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
              ....
    Caused by: java.lang.ClassNotFoundException: org.w3c.dom.Node not found by com.sstest1 [68]
              at org.apache.felix.framework.BundleWiringImpl.findClassOrReso...
Reply
  • ... java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/w3c/dom/Node
              at org.jboss.as.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:80) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.as.ejb3.tx.EjbBMTInterceptor.checkStatelessDone(EjbBMTInterceptor.java:92) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:107) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:56) [jboss-as-ejb3-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
              ....
    Caused by: java.lang.ClassNotFoundException: org.w3c.dom.Node not found by com.sstest1 [68]
              at org.apache.felix.framework.BundleWiringImpl.findClassOrReso...
Children
No Data