[jboss-user] [JBoss Cache: Core Edition] - Re: Jarjared version of JBC3 for using in JBossAS 4.2

jorgemoralespou_2 do-not-reply at jboss.com
Mon Jan 19 14:09:02 EST 2009


We`ve been working hard on this one, and to the moment we are having issues with JBC tests. We have refactored jgroups to mycompany.org.jgroups, and passed all tests in JGroups distro.
We have refactored JBC3 to use this mycompany.jgrousp, and all tests passed ok.
Then we`ve been refactoring org.jboss.cache to mycompany.org.jboss.cache. And a lot of tests fail.
We have taken a lot of care in refactoring config files, hard-coded strings and classes. Everything compiles perfectly, but we have problems trying to pass the test suite.
Problems are odd, like if creating the ComponentRegistry were not registering the right components.

For example, debugging PFERMvccInvalidationAsyncTest. It is creating a Mock implementation (actually a Proxy) when creating the cache from the configs.
In PutForExternalReadTestBase.java:116 and  PutForExternalReadTestBase.java:117 we are getting a proxy instance, but when executing the original code, we get an instance of an RPCManagerImpl for code on PutForExternalReadTestBase.java:117.

Is there anything tricky about JBC that we should know to refactor this?
Has anybody tried to do this before, to be able to run JBC3 inside a JBAS 4.2.

I think thare there should be a lot of people willing for this to work.

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202999#4202999

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202999



More information about the jboss-user mailing list