I am getting the following exception when I use the new container configuration.
java.lang.ClassCastException
at
org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2.start(JDBCStoreManager2.java:172)
The following is my configuration xml . I had the same issue in 3.2.5 and 3.2.6
.anybody has any clue?
<container-configuration>
<container-name>cmp2.x jdbc2 pm with cache
invalidation</container-name>
<call-logging>false</call-logging>
<invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
<sync-on-commit-only>false</sync-on-commit-only>
<insert-after-ejb-post-create>true</insert-after-ejb-post-create>
<call-ejb-store-on-clean>true</call-ejb-store-on-clean>
<container-interceptors>
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
org.jboss.ejb.plugins.LogInterceptor
org.jboss.ejb.plugins.SecurityInterceptor
org.jboss.ejb.plugins.TxInterceptorCMT
org.jboss.ejb.plugins.EntityCreationInterceptor
org.jboss.ejb.plugins.EntityInstanceInterceptor
org.jboss.ejb.plugins.EntityReentranceInterceptor
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
org.jboss.ejb.plugins.EntitySynchronizationInterceptor
org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor
org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor
</container-interceptors>
<instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
<instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
<!--
persistence-manager>org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2</persistence-manager
-->
<persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
<locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
<container-cache-conf>
<cache-policy-conf>
<min-capacity>500</min-capacity>
<max-capacity>10000</max-capacity>
</cache-policy-conf>
<cache-policy-conf-other>
10
<!-- uncomment to use JDBC java.sql.Statement.executeBatch()
<batch-commit-strategy/>
-->
</cache-policy-conf-other>
</container-cache-conf>
<container-pool-conf>
100
</container-pool-conf>
<commit-option>C</commit-option> <!-- don't change, irrelevant, use
container-cache-conf -->
</container-configuration>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863603#3863603
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863603
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user