[JBoss JIRA] Created: (JBCACHE-1169) some methods in eviction queue classes have package-only visibility - can it be changed?
by dana enescu (JIRA)
some methods in eviction queue classes have package-only visibility - can it be changed?
----------------------------------------------------------------------------------------
Key: JBCACHE-1169
URL: http://jira.jboss.com/jira/browse/JBCACHE-1169
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Eviction
Affects Versions: 2.0.0.GA
Reporter: dana enescu
Assigned To: Manik Surtani
Priority: Minor
I have been trying to implement my own cache eviction policy. The most convenient way for me was to extend LFU, instead of implementing the interfaces from scratch.
However, the ctor and the prune() method in LFUQueue have package-only visibility, so I had to do a nasty workaround. There may be similar issues in other classes of the eviction package.
IMO it would be better that these methods are made either public or protected, depending on what you want to expose to the users. I did not report it as a bug but rather as a feature request, since I do not know the developer's intent.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (JBCACHE-1024) Move component construction out of Cache into Configuration to allow for better configurability
by Elias Ross (JIRA)
Move component construction out of Cache into Configuration to allow for better configurability
-----------------------------------------------------------------------------------------------
Key: JBCACHE-1024
URL: http://jira.jboss.com/jira/browse/JBCACHE-1024
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Elias Ross
Assigned To: Manik Surtani
There's a lot of logic embedded in CacheImpl.start() and create() as to what specific object instances are created. For example, the JGroups Channel, or the InterceptorChainFactory are directly constructed here and users have no control on this. A bunch of other objects are also created based on class names and whatnot; these are configurable to some extent but why does the CacheImpl need to know how to build these?
What really should be done is allow the Configuration class to play the role as factory class, and take out all factory details from the Cache itself.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (JBCACHE-711) Replication eats out exception on the remote node
by Ben Wang (JIRA)
Replication eats out exception on the remote node
-------------------------------------------------
Key: JBCACHE-711
URL: http://jira.jboss.com/jira/browse/JBCACHE-711
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Replication
Affects Versions: 1.4.0
Reporter: Ben Wang
Assigned To: Manik Surtani
Fix For: 2.0.0
I have seen this on the 1.4 release on ejb3. Here is what happens. Two nodes replication. When the remote node throws an exception like NPE, the originating node will display with NonSerializableException. I don't a unit test for this but I think it should be easy to reproduce.
21:51:32,490 INFO [TxInterceptor] There was a problem handling this request
java.io.NotSerializableException: RpcDispatcher returned a null. This is most often caused by args for _replicate(_put(null, /testNestedStateful/5c4o1e-xzw6rx-eq1m0jea-1-eq1m4tna-5, bean, org.jboss.ejb3.stateful.ProxiedStatefulBeanContext@7b8be7, true)) not being serializable.
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4166)
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4113)
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4214)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:110)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:88)
at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:114)
at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:83)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:69)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterce
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (JBAS-4548) Testsuite failures due to EJBs starting before datasource
by Brian Stansberry (JIRA)
Testsuite failures due to EJBs starting before datasource
---------------------------------------------------------
Key: JBAS-4548
URL: http://jira.jboss.com/jira/browse/JBAS-4548
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment services, EJB2
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Brian Stansberry
Assigned To: Dimitris Andreadis
A number of unit tests are failing due to EJB2 deployment failures. The tests deploy an ear; contents of the ear are an ejb2 jar and a -ds.xml file. The ejb jar is deploying before the datasource, and thus ejb deployment fails when the datasource cannot be found in JNDI.
See forum thread for detailed discussion.
The testsuite failures due to this that I'm aware of are:
org.jboss.test.testbeancluster.test.CacheInvalidationUnitTestCase
org.jboss.test.testbeancluster.test.RetryInterceptorUnitTestCase
org.jboss.test.testbeancluster.test.SingleRetryInterceptorUnitTestCase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months