[Design of JBossCache] - Re: Serialization Compatibility Tests
by pavel.tsekov@redhat.com
"manik.surtani(a)jboss.com" wrote : Agreed that some exceptions may get serialised as return values, but as you pointed out, this is not in the list of errors.
|
| As for other JGroups classes, those that are transported across the wire are marshalled using the TreeCacheMarshaller in 1.4.0, so this is not a problem when talking to 1.4.x.
So, if I got it right this means that it is safe to exclude all jgroups classes excepth "*Exception" when testing agains 1.4.0 GA ?
"manik.surtani(a)jboss.com" wrote :
| This does break down in one scenario though; and this is when we use region-based marshalling (JBC 1.2.x/1.3.x) which forces Java serialization on the payload, including JGroups classes. (When not using region-based marshalling, JGroups Streamable interface is used, which does not make use of Java seriaization)
Does 1.4.x support region-based marshalling i.e. for backward compatibility with older versions i.e. is it possible to run 1.4.x with 1.3.x so that they'll exchange java serialized objects ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997561#3997561
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997561
17 years, 12 months
[Design of AOP on JBoss (Aspects/JBoss)] - default.mf does not exist
by aamonten
HI I have just downloaded the latest revision (59310) of the head, following the instructions at http://www.jboss.com/wiki/Wiki.jsp?page=BuildingJBossAOPFromSubversion
my problem arise when I try to build the project, I got a build failed
| amontenegro@loki ~/jboss-aop/build $ ./build.sh
| Searching for build.xml ...
| Buildfile: /home/amontenegro/jboss-aop/build/build.xml
|
| check.inhibit.downloads:
|
| check.proxy:
|
| set.proxy:
|
| createthirdparty:
|
| _buildmagic:init:
| Trying to override old definition of task property
|
| _buildmagic:init:buildlog:
|
| configure:
| [echo] groups: default
| [echo] modules: aop
|
| init:
|
| _buildmagic:modules:most:
|
| ======================================================================
| == Executing 'most' in module 'aop'...
| ==
|
| _buildmagic:init:
|
| configure:
|
| init:
|
| _buildmagic:build-bypass-checker:
|
| _buildmagic:build-bypass-notice:
|
| _buildmagic:build-bypass-check:
|
| source-jar:
|
| BUILD FAILED
| /home/amontenegro/jboss-aop/aop/build.xml:420: Manifest file: /home/amontenegro/jboss-aop/aop/output/etc/default.mf does not exist.
|
| Total time: 4 seconds
|
I had the same problem both at linux and windows.
So my doubt is if there are dependencies on another repository or are the documentation about building the project outdated. Any help would be appretiated.
best regards
Alejandro
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997541#3997541
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997541
17 years, 12 months
[Design of AOP on JBoss (Aspects/JBoss)] - Re: Array interception needed for jboss cache
by ben.wang@jboss.com
Kabir, I need more to work out a prototype from PojoCache side once alpha2 is out this week (or early next week).
But here are my initial questions:
1. We have discussed multi-dimensional array before. Can your prototyoe handle it now?
2. I have some reservation regarding to per-VM scope of array interception.
a) What happens when I have multiple instances in the VM. E.g.,
| p1 = new POJO();
|
| p2 = new POJO();
|
| ...
|
| p1.array[2] = 10;
|
| p2.array[2] = 20;
|
can you differentiate this?
3. Since we don't distinguish the target object, what happens when I have same array field name in different POJO? E.g.,
| class POJO_A
| {
| int[] array;
| }
|
and
| class POJO_B
| {
| int[] array;
| }
|
Will I have a problem here?
4. With per-VM scope, we are saying this is like a static field, I think. So naturally, we can't use the "Region" concept that is in JBoss Cache. We will just need to document that.
5. Finally, upon invocation in MyArrayInterceptor, do I have access to the array reference itself, e.g., POJO.array? Can I get it from the ArrayRegistry during invocation? I need this such that I can tie the array to the internal cache store.
Thanks,
-Ben
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997501#3997501
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997501
17 years, 12 months