NoClassDefFoundError when starting BPMS on Tomcat. with MS SQL Server

Solution Unverified - Updated -

Issue

I am running BPMS on Tomcat with H2 as a back-end data base and thing works well. When I am trying to use MS SQL Server, startup fails with NoClassDefFoundError:

java.lang.NoClassDefFoundError: javax/jms/XAConnectionFactory
    at bitronix.tm.resource.ResourceLoader.instantiate(ResourceLoader.java:128)
    at bitronix.tm.resource.ResourceLoader.createBean(ResourceLoader.java:271)
    at bitronix.tm.resource.ResourceLoader.buildXAResourceProducer(ResourceLoader.java:239)
    at bitronix.tm.resource.ResourceLoader.initXAResourceProducers(ResourceLoader.java:170)
    at bitronix.tm.resource.ResourceLoader.init(ResourceLoader.java:152)
    at bitronix.tm.resource.ResourceLoader.init(ResourceLoader.java:84)
    at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:86)
    at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:75)
    at bitronix.tm.integration.tomcat55.BTMLifecycleListener.lifecycleEvent(BTMLifecycleListener.java:18)
    . . .
Caused by: java.lang.ClassNotFoundException: javax.jms.XAConnectionFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

Environment

  • Red Hat JBoss BPM Suite
    • 6.0.2
  • Tomcat 7
  • MS SQL Server

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.