[infinispan-issues] [JBoss JIRA] Commented: (ISPN-995) NoClassDefFoundError exception when using jdbc cache loader

Mircea Markus (JIRA) jira-events at lists.jboss.org
Thu Mar 24 14:17:48 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591657#comment-12591657 ] 

Mircea Markus commented on ISPN-995:
------------------------------------

The distribution contains a version of PluggableConfigurationComponent from 31 Jan (see below).
A mvn clean before building the distribution should make sure this won't happen.  

[mmarkus:~/github/ispn ]$ ls -alt "/Users/mmarkus/Downloads/infinispan-4.2.1.CR4 2/modules/jdbc/infinispan-cachestore-jdbc/org/infinispan/loaders/jdbc"
total 128
-rw-r--r--@  1 mmarkus  staff   6148 24 Mar 18:11 .DS_Store
drwxr-xr-x  14 mmarkus  staff    476 24 Mar 18:11 .
drwxr-xr-x   4 mmarkus  staff    136 24 Mar 18:11 ..
drwxr-xr-x   5 mmarkus  staff    170  7 Mar 19:38 binary
drwxr-xr-x   7 mmarkus  staff    238  7 Mar 19:38 connectionfactory
drwxr-xr-x   4 mmarkus  staff    136  7 Mar 19:38 mixed
drwxr-xr-x   5 mmarkus  staff    170  7 Mar 19:38 stringbased
-rwxr-xr-x   1 mmarkus  staff   5492 31 Jan 18:23 AbstractNonDelegatingJdbcCacheStoreConfig.class
-rwxr-xr-x   1 mmarkus  staff   3145 31 Jan 18:23 AbstractJdbcCacheStoreConfig.class
-rwxr-xr-x   1 mmarkus  staff  10190 31 Jan 18:23 DataManipulationHelper.class
-rwxr-xr-x   1 mmarkus  staff   1688 31 Jan 18:23 DatabaseType.class
-rwxr-xr-x   1 mmarkus  staff   3063 31 Jan 18:23 JdbcUtil.class
-rwxr-xr-x   1 mmarkus  staff   1201 31 Jan 18:23 TableManipulation$1.class
-rwxr-xr-x   1 mmarkus  staff  16631 31 Jan 18:23 TableManipulation.class


> NoClassDefFoundError exception when using jdbc cache loader
> -----------------------------------------------------------
>
>                 Key: ISPN-995
>                 URL: https://issues.jboss.org/browse/ISPN-995
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 4.2.1.CR4
>         Environment: Windows XP, java version "1.6.0_20"
>            Reporter: Daniel Parda
>            Assignee: Mircea Markus
>            Priority: Critical
>             Fix For: 4.2.1.FINAL
>
>
> An exception is raised when I start a cache: java.lang.NoClassDefFoundError: org/infinispan/config/PluggableConfigurationComponent.
> It was worked fine with CR3.
> I ran strings against compiled JdbcStringBasedCacheStoreConfig.class:
> * CR3:
> $ strings JdbcStringBasedCacheStoreConfig.class | grep -i configuration
> =()Lorg/infinispan/config/AbstractNamedCacheConfigurationBean;
> 9()Lorg/infinispan/config/CloneableConfigurationComponent;
> * CR4:
> $ strings JdbcStringBasedCacheStoreConfig.class | grep -i configuration
> 9()Lorg/infinispan/config/PluggableConfigurationComponent;
> =()Lorg/infinispan/config/AbstractNamedCacheConfigurationBean;
> 9()Lorg/infinispan/config/CloneableConfigurationComponent;
> Please note I used precompiled packages downloaded from sourceforge.net: infinispan-4.2.1.CR4-bin.zip and infinispan-4.2.1.CR4-all.zip.
> There exists workaround: there is no issue when modules/jdbc is compiled from source distribution.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list