ClassNotFoundException is thrown while using JDBC store for web cache using Infinispan

Solution Verified - Updated -

Issue

  • While using JDBC store for web cache in JBoss EAP 6, the following exception is thrown:
        java.lang.ClassNotFoundException: org.infinispan.loaders.jdbc.mixed.JdbcMixedCacheStore
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [rt.jar:1.6.0_26]
        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.6.0_26]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [rt.jar:1.6.0_26]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [rt.jar:1.6.0_26]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:30

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6

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.