Getting exception while Invoking EJB (deployed in SOA P 5.x) from EAP 6.4 through JNDI call

Solution Unverified - Updated -

Issue

  • We are trying to invoke EJB deployed in SOA P 5.x from EAP 6.4 server. We are using JNDITemplate (from Spring) to invoke the same.

  • We faced few issues and finally took all the client jars from SOA P 5.x platform. This works fine while invoking the client from tomcat, but in EAP 6.4, the application does not even deploy. We are getting the following exception.

org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS017082: Exception while parsing POJO descriptor file: "x/x/x/"
    .....
Caused by: ParsingException: Received non-all-whitespace CHARACTERS or CDATA event in nextTag().
  • Also as we are using maven, need help us with the all the required client dependencies, it will be great as well.

  • Just to be clear in what we also require is: List of EJB client jar files :

    • when invoking from SOA-P-5 to EAP 6.4.(we are accessing EJB (deployed in SOA-P-5) from EAP 6.x.)
    • When invoking from EAP 6.4 to EAP 6.4 (we are accessing EJB deployed in EAP 6.x from EAP 6.x itself)
  • While trying to invoke EJB (deployed in SOA-P-5) from EAP 6.4 (Using client jar jboss-client.jar from EAP 6.4), on startup of EAP 6.4, we are getting the following exception:

Caused by: java.lang.ClassCastException: org.hornetq.jms.client.HornetQConnectionFactory cannot be cast to javax.jms.ConnectionFactory

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.