[JBoss-dev] [JBossCache] - Re: Lookup of JBossCache via JNDI

2004-11-28 Thread bwang00
Yes.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3856624#3856624

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3856624


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache Bug in get(someNode, key)?

2004-11-28 Thread bwang00
Couple suggestions:

1. Like Norbert mentioned, use tx now. There is a known problem in locking when 
tx is not used. We are fixing that in release 1.2.

2. If you are using TreeCacheAop, I'd suggest you try the latest pre-1.2 
release in jboss-head. I have done some refactoring and bug fixing on the aop 
part.

3. If you still are seeing the problem, the best way to help me out to 
troubleshoot is to write a JUnit test case. That can cut down the time that I 
need to generate one by myself. Besides, I can check in your test case in the 
src tree as well. :-)

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3856625#3856625

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3856625


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time

2004-11-12 Thread bwang00
Tomasz,

I have tried your test case, it has worked in the latest jboss-head tree. Would 
you mind to try it out since I have made many enhancement, specially in 
TreeCacheAop part. You can test drive it and give me feedback as well. :-)

BTW, you will need to make log transient so it is not put in the cache.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855066#3855066

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855066


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Infinite loops with TreeCacheAOP

2004-11-12 Thread bwang00
Hi, I have taken a look at the fix and have talked to Bill Burke about it. 
Unfortunately, the current JBossAop instrumentation is too expensive to skip 
field interception based on method call stack. So we will need to push this fix 
to 1.3 release when JBossAop can optimize that part.

To re-cap, this problem arises when the key is an object AND overrides 
hashCode() with field variables. (There can also be problem with toString() 
overriding as well, but that one can be fixed).

Sorry about that,

-Ben 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855070#3855070

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855070


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: SERIALIZABLE Bug? Read of null, put, another thread rea

2004-11-11 Thread bwang00
The problem here is because the node does not exist so the transaction has 
nothing to lock against from (lock is aossicated with a node). 

Bela and I have discussed previously whether *get* a non-existing node should 
create it implicitly. We have decided against it since it can create an 
un-expected behavior for exsiting users. But maybe we will re-visit it.

Is it possible that you can create the node a priori? That way, the locking 
should do what you want.

On a side note, I have found out that different data stores implement the 
transaction isolation level (slightly) differently (even among the RDBMS 
vendors). This is because the data structure (e.g., node vs. table vs. row) and 
the locking mechanism (optimistic vs. pessimistic).

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854904#3854904

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854904


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time

2004-11-11 Thread bwang00
Can you create a JUnit test case and submit it here or email me ([EMAIL 
PROTECTED])? I'll take a look.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854905#3854905

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854905


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Questions about functionality

2004-11-11 Thread bwang00
OK, I can refactor the region_.getTimeToIdleSeconds() into a public method. 
Will that do what you want then?

-ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854936#3854936

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854936


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Using TreeCacheAopMBean

2004-11-10 Thread bwang00
I will add it under TreeCacheAop as well.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854688#3854688

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854688


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Infinite loops with TreeCacheAOP

2004-11-10 Thread bwang00
This is a bug. No, we never have a test case with a composite value object key. 
I will fix it in release 1.2 (hopefully the next couple days).

Thanks,

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854692#3854692

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854692


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Can't replicate the change in a Hashtable Object

2004-11-10 Thread bwang00
Tine,

I take it that you are referring to TreeCacheAop part. Collection classes are 
handled by proxy implicitly. So you will need to operate on the proxy, e.g.,

aHashTable = (HashTable)getObject(aFqn);
aHashTable.put(1, test);

etc.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854694#3854694

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854694


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: get* and set* pointcuts vs. set(field) get(field)

2004-11-10 Thread bwang00
Yes, to aspectize JBossCache is in 2.0 roadmap. The refactoring is currently 
underway done by Bela now.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854695#3854695

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854695


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Using JBossCache on BEA WebLogic

2004-11-10 Thread bwang00
This is awesome. Do you mind if we move this under JBossCache wiki page?

BTW, any volunteer for Websphere HOWTO? :-)

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854720#3854720

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854720


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: get* and set* pointcuts vs. set(field) get(field)

2004-11-09 Thread bwang00
Thomaz,

Actually, we are doing field interception already (in jboss-aop.xml all 
prepare declaration are for fields). So I will need to update this part of 
the document (of which I am doing it right now). :-)

Thanks for pointing it out,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854527#3854527

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854527


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Questions about functionality

2004-11-09 Thread bwang00
Ok, let me look into it and get back to you later this week.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854528#3854528

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854528


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Using TreeCacheAopMBean

2004-11-09 Thread bwang00
There is a unit test case under 
testsuite/src/main/org/jboss/test/cache/test/aop/MBeanUnitTestCase.

Check it out,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854529#3854529

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854529


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Questions about functionality

2004-11-05 Thread bwang00
To asnwer your questions, both items are on our roadmap. First one is to make the 
region configurable dynamically through api, and the second one is to intrument 
JBossCache so we can know, for example, the cache hit/miss ratio.

Unfortunately, I can't think of an exisiting way to solve your first problem yet.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854118#3854118

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854118


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Has TreeCacheView Been Updated?

2004-11-05 Thread bwang00
Just want to add one comment. Have you checked out TreeCacheView2? It's a bit up to 
date than TreeCacheView since it's used in the simple GUI.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854124#3854124

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854124


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache inside EJB

2004-11-05 Thread bwang00
Hi, to follow up your comments:

1. I am not clear why do you need to put the CacheLoader jar file in your ear file? 
When you deploy JBossCache as a MBean serivce, you typically place the jboss-cache.jar 
under all/lib directory, for example. After that, you simply drop a, say, 
replSync-service.xml under the deploy directory. It is not under any J2EE enc scope.

2. For RDBMS cache loader, that's true, you can't access it thru java:/comp. But there 
is a datasource binding under java:/DefaultDS (for example) as well.

Do I miss anything?

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854127#3854127

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854127


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Accessing objects in replicated cache

2004-11-05 Thread bwang00
You get it by reference, of course. TreeCacheAop is supposedly to do it behind the 
scence so you don't have to worry about it. :-)

Here is in a nutshell how it retrieve it from the replicated node. The first time when 
you issue getObject() api, it will check whether a copy of the aspectized object has 
been created. If not, it will re-create it based on the field values from the cache 
store. After that, it will just keep the reference around.

Hope this help. I will add this in the faq. I am sure others are curious to know as 
well.

Thanks,

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854120#3854120

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854120


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Maintaining consistent object graph

2004-11-05 Thread bwang00
Daniel,

This is a good question. However, I'd say this is an expected behavior. 

Think of it as in Java. Even if your addr and addr2 are equal, doesn't mean they are 
the same object instance. Therefore, if you do mary.setAddree(addr1), then joe and 
mary will own different address instances.

And this is the behavior in TreeCacheAop now of object identity. Track only the 
reference but not based object equality.

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854144#3854144

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854144


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache inside EJB

2004-11-04 Thread bwang00
If you are running inside JBoss, use a JBossCache MBean (and deploy it as a MBean 
service).

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3853960#3853960

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853960


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: startup error in Tomcat 5.0.19

2004-10-27 Thread bwang00
Can you try to post your sample code? Someone may be aboe to spot what's wrong.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852982#3852982

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852982


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: jboss cache

2004-10-27 Thread bwang00
OK, this is nothign to do with aop then. If it is a straight put(/a, map), for 
example, it will put the map inside the internal hashmap under node /a. You can then 
retrieve it using get(/a, key1).

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852984#3852984

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852984


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: FIFOPolicy

2004-10-26 Thread bwang00
Morton,

Yes, please send it to [EMAIL PROTECTED] I realized the naming is not good and have 
been thinking whether I should rename it or not. Only thing is that it has been out 
for a while so I am not sure whether this will disrupt upgrade or not.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852793#3852793

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852793


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: jboss cache

2004-10-26 Thread bwang00
If the fqn is /a/b, and say you have a map, then the mapping is something like

/a/b/map/1 (key1, value)
 /a/b/map/2 (key2, value)

In addition, aop will deflate your object graph recursively if value is declared 
advisable.

I am currently doing an enhancement of aop in post 1.1 source. I will update the 
documentation as well.

Cheers,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852809#3852809

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852809


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache in production

2004-10-22 Thread bwang00
No, you are not hallucinating. :-) The JNDI exposure has been fixed in the latest 
source. It was commented out because of the aop. In 3.2, there is no aop, so that will 
be fine anyway.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852369#3852369

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852369


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time

2004-10-22 Thread bwang00
Just the get/set methods can't be overloaded now. Constructor should be ok.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852370#3852370

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852370


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time

2004-10-21 Thread bwang00
For setter method, you can't ovelroad it like:

void setName(String name);
void setName(Object obj);

This will be fixed in the upcoming 1.2 release in November. In addition, the 
collection classes api will be enhanced as well.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852220#3852220

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852220


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: TreeCacheView/TreeCacheViewAop MBean Purpose

2004-10-21 Thread bwang00
This is a bug. To get around for now, you can use the standalone GUI (see the 
tutorial) with the same JGroups channel. That will display you cache visually as well.

Can you please go to sourceforge, open a bug, and assign it to me so that I won't 
forget about it?

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=385#385

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=385


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time

2004-10-20 Thread bwang00
Andrew,

To asnwer your questions.

1) The exception you reported looks like a bug to me. I will fix it soon.

2) To get around that, you can't overload the method call now.

3) In jboss-aop.xml, you will need to prepare all of classes with field interception. 
That's the most important part.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852132#3852132

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852132


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache and CMP-based EJBs

2004-10-20 Thread bwang00
There is currently no plan to have JBossCache support CMP clustering, if this is what 
you asked. We are looking forward to ejb3 integration instead.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852133#3852133

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852133


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache[AOP] on JDK 1.3.1

2004-10-18 Thread bwang00
If you do cvs checkout, cvs co jboss-head as an anynomous user, that should be it.

Keep in mind that JBossCache don't officially support jdk1.3 though.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851786#3851786

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851786


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: putting, removing, and rolling back in the same transact

2004-10-18 Thread bwang00
Looks like this is a bug. Is it possible you can create a bug report in sourceforge 
and assign it to me for now?

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851787#3851787

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851787


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache in production

2004-10-18 Thread bwang00
In 1.2 release (scheduled sometime in November), we plan to ship a cache loader that 
uses JDBC. That may be what you need.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851788#3851788

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851788


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/aop/proxy/Clas

2004-10-12 Thread bwang00
Abi,

Can you grab the latest javassist.jar from jboss-head as well? If not, I can mail it 
to you. I have just solved one similar problem with the upgrade from the one in 1.1 
release.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851155#3851155

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851155


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: DeploymentException with TreeCache in WebServer

2004-10-12 Thread bwang00
See my comment there. I need more info.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851210#3851210

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851210


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-11 Thread bwang00
I have tested your example and it worked for me!

I am also running Tomcat5.0.28 and JBossCache1.1. Before I ran your example, I copied 
the libraries from jboss-cache/lib to ROOT/WEB-INF/lib. E.g., jboss-*.jar, trove.jar, 
javassist.jar, etc.

After I ran index2.jsp, I can see the print out from the test() method. No error has 
been reported.

Can you make sure you have the right libraries copied?

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850914#3850914

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850914


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/aop/proxy/Clas

2004-10-11 Thread bwang00
Can you make sure you have the right libraries in the class path?

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850915#3850915

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850915


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/aop/proxy/Clas

2004-10-11 Thread bwang00
Abi,

Can you give me a test case so I can test it out myself? I figure it will be easier 
this way.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850986#3850986

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850986


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Wildcard search in TreeCache

2004-10-11 Thread bwang00
Currently we don't support wild card search in the cache, i.e., no query capability. 
There is a plan though.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850987#3850987

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850987


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBossCache in production

2004-10-11 Thread bwang00
You must know it takes a lot of effort to deliver a patch. And that is the resources  
many times that we can't afford unless it is critical (wtiness 3.2.4 to 3.2.5).

I don't think we are pushing services at all cost. But services is our bread and 
butter. Product is free. Like Bela mentioned, we are simply making a value proposition 
to benifit all of us.

Bottom line is you are always welcome to contribute the patch as well.

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851040#3851040

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851040


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-11 Thread bwang00
OK, I think I know why. I have been using the latest jboss-head library. And it ran 
fine. The culprit is javassist.jar library. It seems it has that problem bundled in 
JBossCache1.1 release (I was able to re-produce your problem).

Can you update the library from the latest jboss-head? That sould solve your problem!!

We have JBossCache1.2 release scheduled early next month that will have the new 
library.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851041#3851041

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851041


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Is TreeeCacheAOP thread-safe

2004-10-11 Thread bwang00
1. You should have just one instance of TreeCacheAop per-VM in general.

2. Be sure to use transaction to make sure the concurrent access.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851042#3851042

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851042


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Is it possible to use JBoss cahce for...

2004-10-06 Thread bwang00
What you need is a clustered MBean, but I don't think there is one now.

Yes, you can use JBossCache for this purpose, IMO. You can subscribe the node event as 
a TreeCacheListener for your app. That way, you can refresh the data as needed.

Hope this help,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850580#3850580

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850580


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Building JBossCache from source

2004-10-05 Thread bwang00
You will need to build the whole jboss-head project since cache depends on other 
libraries, e.g., jboss-aop, system, etc.

Simply go to build directory and do a build.sh, it should build the whole shebang. 
After that if you want distro, under cache, do build.sh dist.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850474#3850474

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850474


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: RegionManager.checkConflict() may need to add /

2004-10-05 Thread bwang00
1. OK, I have now appended automatically the region fqn with a separator so that 
should solve this problem. A better solution is fqn.toString() is appended 
automatically with separator as well. But I need to look at it closer.

2. Fqn.isChildOf bug is fixed.

3. Use of Fqn construction with generic object is good but maybe rare now. Currently, 
there are places where it does not fit in naturally (e.g., cache loader and evition 
region). So we will look at it later.

I have added couple unit test cases to verify them.

Like Bela said, keep the bug report coming, guys! :-)


Thanks,

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850479#3850479

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850479


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: A Not Seen Use Case

2004-10-04 Thread bwang00
IMO, if you are running under JBoss, then MBean makes sense. Yes, they will share the 
same cache instance.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850345#3850345

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850345


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-04 Thread bwang00
Ok, I won't. But give me couple more days though.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850346#3850346

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850346


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-01 Thread bwang00
I will need to take a look myself to see why.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850055#3850055

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850055


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: source for JBossCache 1.1

2004-10-01 Thread bwang00
You can download the source from jboss-head as anonymous user:

cvs co -r JBossCache1_1 jboss-head

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850056#3850056

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850056


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBoss Distribute Cache's error?

2004-10-01 Thread bwang00
This bug has been fixed in the latest jboss-head (post 1.1). We plan to do a release 
1.2 in about 6 weeks. Meanwhile, you can build the latest source and replace the 
jboss-cache.jar under the corresponding Hibernate directory.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850150#3850150

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850150


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: RegionManager.checkConflict() may need to add /

2004-10-01 Thread bwang00
Yes, you are right. This can be a problem. :-) It's  been fixed.

Thanks for the effort,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850153#3850153

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850153


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBoss Distribute Cache's error?

2004-10-01 Thread bwang00
Don't know what's your problem. But you should see a cache module under jboss-head.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850154#3850154

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850154


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: How to verify cluster traffic

2004-10-01 Thread bwang00
Norbert, the nature of eviction that is local mode only is documented in the FAQ 
html!! RTFM. :-) 

E.g.,:

Q: Does JBossCache's implemented LRU eviction policy operates in replication mode?
 
A: Yes and no. :-)

The LRU policy only operates in local mode. That is, nodes that are only evicted 
locally. This may cause the cache contents not to be synchronized temporarily. But 
when a user tries to obtain a cache content of an evicted node and finds out that is 
null (e.g., get returns null), it should get it from other data source and re-populate 
the data in the cache. During this moment, the node content will be propagated and the 
cache content will be in sync.

However, you still can run eviction policy with cache mode set to either REPL_SYNC or 
REPL_ASYNC. Depends on your use case, you can set multiple cache instances to have 
their own eviction policy (of which is operated locally) or just have selected 
instance with eviction policy activated.

Also note that, when the cache persistence layer is implemented in the next release, 
an locally evicted node can also be persisted to the backend store.
 
Currently there is no good way to verify the replication traffic. But you can turn on 
the debug level and search for _put(..) on the backup node.

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850155#3850155

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850155


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Announcement: JBossCache1.1 has been back ported to JBos

2004-09-23 Thread bwang00
Sorry, my fault. There is no official RC2 release. But the final release should be out 
in a couple days.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849302#3849302

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849302


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBoss Cache AOP

2004-09-23 Thread bwang00
Don't know for sure if I understand your question. But if you evict a node, next time 
you retrieve it, you will get a null value. It applies to both TreeCache and 
TreeCacheAop.

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849305#3849305

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849305


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NullPointerException, Map and values().iterator()

2004-09-21 Thread bwang00
I am surprised that line doesn't cause NPE either. Keep in mind that TreeCacheAop only 
supports limited Collection classes API. And values() is not currently supported!

I am working on to provide a more complete set of API to support though. It's planned 
to come out in post-1.1.

So stay tuned.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848908#3848908

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848908


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Which Version Of JGroups?

2004-09-21 Thread bwang00
It's 2.2.7, I think.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849016#3849016

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849016


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Fast iterations on large numbers of cache objects

2004-09-21 Thread bwang00
Ken,

If you are using TreeCacheAop, I am interested to see why it takes this long. Is it 
possible that you can send me your setup? I prefer it in JUnit test case file so I may 
incorporate it into the testsuite later. You will get the credit, of course. :-)

To answer your Case 3 question, yes, if you declare both Class A and B *advisable*, 
then everything you do is intercepted. But the cost of aop is upfront; that is, during 
putObject. Afterwards, it should be relatively quick.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849038#3849038

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849038


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NullPointerException, Map and values().iterator()

2004-09-21 Thread bwang00
I don't have it except in the source code. But please bear with me. Once I have the 
Collection class API re-implemented in 1.x, I will document it.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849039#3849039

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849039


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBoss Distribute Cache's error?

2004-09-20 Thread bwang00
Hmmn, this is a problem in 1.1 release after re-factoring then. Previously in 1.02, 
the event nofitication happens before the state transfer.

I will fix this.

Thanks for the effort,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848812#3848812

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848812


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBossCache + Tomcat w/o JBoss

2004-09-20 Thread bwang00
Yes, that's correct. You can't use it straight out since it uses our JBoss Tomcat 
deployer to insert ClusteredSession and SnapshaoManager, etc.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848813#3848813

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848813


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Announcement: JBossCache1.1 has been back ported to JBos

2004-09-19 Thread bwang00
We have 3.2.6RC2 now that you can download. Please check the jboss web site.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848710#3848710

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848710


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBoss Distribute Cache's error?

2004-09-17 Thread bwang00
This is weird. The second cache is doing state transfer during which to register / 
in the evition queue. LRUPolicy code should skip this one but it didn't and therefore 
NPE.

I simply can't re-produce it from my setup. Can you zip your test case and send it to 
[EMAIL PROTECTED]

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848533#3848533

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848533


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Losing objects in a multithreaded environment

2004-09-15 Thread bwang00
Ran,

I haven't had time to run it yet. But let me get back to you later this week.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848333#3848333

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848333


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-15 Thread bwang00
If you are running under Tomcat, it'd be best to use aopc to pre-compile your 
advisable object. Check into the example in build.xml of aopc. That way, at least, you 
take the class loader out of the picture.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848389#3848389

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848389


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBoss Distribute Cache's error?

2004-09-15 Thread bwang00
Which version of JBossCache you are using? The latest one is 1.1. If this is the one 
you are using, please post a test case.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848331#3848331

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848331


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBoss Distribute Cache's error?

2004-09-15 Thread bwang00
Is the log tracing set to DEBUG? E.g., org.jboss.cache?

It will help me to debug this problem.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848405#3848405

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848405


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 2nd cache not replicated at startup

2004-09-15 Thread bwang00
Ken,

I don't see you have also defined a default no arg constructor for Student. Just like 
class that implements Serializable, it will require a such constructor to be able to 
re-construct on the other end.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848408#3848408

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848408


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Losing objects in a multithreaded environment

2004-09-15 Thread bwang00
Ran,

Can you do me a favor by re-writing your test code into Junit test? You can put the 
package name as: org.jboss.test.cache.test.replicated.

I can then incorporate this test into test suite as well.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848415#3848415

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848415


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Announcement: JBossCache1.1 has been back ported to JBoss3.2

2004-09-14 Thread bwang00
Please check it out.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848104#3848104

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848104


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-14 Thread bwang00
Well, the log says obj is non-advisable:

  | 2004-09-14 17:23:38,946 DEBUG [main] aop.TreeCacheAop (TreeCacheAop.java:281) - 
putObject(): obj is non-advisable.
  | 2004-09-14 17:23:38,946 DEBUG [main] cache.TreeCache (TreeCache.java:2336) - 
_put(null, /aop/expresso/CacheManager/cacheLists, jboss:internal:class, class 
com.jcorporate.expresso.core.cache.UnOrderedCache)

Are you sure your jboss-aop.xml is in the class path? Under the distro, you can run 
the aop example. Make sure that works first. For example,

sh build.sh run.aopc.examples 
-Dtest=org.jboss.test.cache.test.standAloneAop.AopLocalTest

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848243#3848243

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848243


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Losing objects in a multithreaded environment

2004-09-13 Thread bwang00
Ran,

If you are willing to provide your test code, I will be happy to take a look at the 
problem you mentioned.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847986#3847986

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847986


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-13 Thread bwang00
You will still need jboss-aop to declare your object, UnOrderedCache, to be 
aspectized. Otherwise, aop will treat it as a regular object of which requires 
Serializable, and furthermore will not breakdown the object graph for UnOrderedCache.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847987#3847987

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847987


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 2nd cache not replicated at startup

2004-09-13 Thread bwang00
No, you will need create jboss-aop.xml for aopc as well. Idea of aopc is to 
pre-generate the byte code so you don't further class loader and jboss-aop.xml during 
runtime.

Look into the etc directory, there is an example of jboss-aop.xml for Person.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847992#3847992

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847992


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-13 Thread bwang00
Forget about the map and list. Why don't you do a putObject on UnderedCache to see if 
it gets replicated correctly?

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848097#3848097

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848097


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 2nd cache not replicated at startup

2004-09-10 Thread bwang00
Best way is turn on DEBUG log tracing in org.jboss.cache to see how it actually works. 
If it is doing replication, you should see it something like _put()...

Or opening up a TreeCacheView GUI (see build.xml for details) to be in the same group. 
You will see it visually.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847837#3847837

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847837


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: ConcurrentModificationException in log.debug() statement

2004-09-09 Thread bwang00
I think this is a good point. I can see this exception probably doesn't happen that 
often with REPEATABLE_READ and up. But with more relaxed isolation levels, it can be a 
problem.

Bela and I will be meeting soon. We should visit issue. What do you think, Bela?

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847746#3847746

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847746


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Cache locality

2004-09-09 Thread bwang00
If LOCAL is not what you want, and you want cache partitioning, we don't have this 
feature yet. It's on the todo list.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847748#3847748

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847748


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: reload after eviction in a clustered config

2004-09-09 Thread bwang00
The CacheLoader in 1.1 release can persist the evicted data. So you can retrieve from 
the backend store the next time.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847750#3847750

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847750


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Redeployment issues

2004-09-02 Thread bwang00
I have also put a faq on class loading scope regarding to JBossCache (and caching 
system, in general, AFAIK). Here is the url:
http://docs.jboss.org/jbcache/FAQ.html

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847016#3847016

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847016


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: contributions

2004-09-01 Thread bwang00
Sure! Best way is go to sourceforge and open an patch request and assign it to me. I 
will incorporate the changes for you. There you can explain in details of what you 
have done.

thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846802#3846802

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846802


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: global locking strategy

2004-08-31 Thread bwang00
OK. This will be fixed.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846756#3846756

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846756


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Redeployment issues

2004-08-31 Thread bwang00
This classloading issue is also disucssed here:
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842379

There is really no good (optimized) solution to it except to have another in-vm cache 
per ejb app.

I have also put it under the latest FAQ. Check it out.

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846758#3846758

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846758


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 1.02 java.lang.RuntimeException: LRUAlgorithm.evict()

2004-08-27 Thread bwang00
Good! Release 1.1 is coming out in couple days. Again, thanks for the great help from 
you guys!

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846487#3846487

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846487


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 1.02 java.lang.RuntimeException: LRUAlgorithm.evict()

2004-08-26 Thread bwang00
Uwe,

That is good news, isn't it?

Octopus, can you download the latest jboss-head and test it again? I have minor 
changes checked in yesterday. Make sure Region.java now has a warning message for 
reaching over the threshold value.

If there is still an issue, I'd like to track it down. I ran your test case yesterday 
for one hour but couldn't reproduce it with the new code. 

Make sure you have the region setup correctly in the xml file. And also reduce the 
wakeUpIntervalSeconds to 1 (second).

Thanks,

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846350#3846350

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846350


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 1.02 java.lang.RuntimeException: LRUAlgorithm.evict()

2004-08-25 Thread bwang00
Guys,

I don't think it is a bug. I can also re-produce the OOM error myself here as well. 
The key is the load is simply not realistic if we have multiple threads that are 
generating put and get all the time and thus exhibiting 100% CPU.

A more realistic use case will requires a random sleep in between put/get so the 
eviction timer has time to pocess those. 

In another persective, to tune it up, you can decrease the parameter 
wakeUpIntervaleSeconds so the timer wakes up more often. But again there is a limit 
that it can do that, especially, when it is *local* mode of which put/get is really 
quick.

If it is replicated mode, then the bottle neck will probably not be CPU bound anymore.

Thanks a lot for all your help.

-Ben



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846239#3846239

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846239


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 1.02 java.lang.RuntimeException: LRUAlgorithm.evict()

2004-08-25 Thread bwang00
Guys,

I don't think it is a bug. I can also re-produce the OOM error myself here as well. 
The key is the load is simply not realistic if we have multiple threads that are 
generating put and get all the time and thus exhibiting 100% CPU.

A more realistic use case will requires a random sleep in between put/get so the 
eviction timer has time to pocess those. 

In another persective, to tune it up, you can decrease the parameter 
wakeUpIntervaleSeconds so the timer wakes up more often. But again there is a limit 
that it can do that, especially, when it is *local* mode of which put/get is really 
quick.

If it is replicated mode, then the bottle neck will probably not be CPU bound anymore.

Thanks a lot for all your help.

-Ben



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846240#3846240

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846240


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [TODO -- DEVELOPMENT] - Re: 3.2.6 Release tasks

2004-08-24 Thread bwang00
Scott, 

Please mark issue status:
[ 993754 ] ClassCastException in clustered HTTP session after redeploy
as COMPLETE.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845975#3845975

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845975


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 1.02 java.lang.RuntimeException: LRUAlgorithm.evict()

2004-08-24 Thread bwang00
Can you guys try it one more time by getting the latest jboss-head? It is actually not 
a serious error, per se. Here is why.

What happened was in TreeCache, it will do another nodeModified event notification 
after the parent (leaf node has no problem) node is evicted. So you see, it will loop 
back to eviction policy again. And therefore could not found the evicted node.

Bela and I have found a solution to stop the notification in this case. So the problem 
should be solved.

If not, it is something else I need to look at.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846028#3846028

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846028


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 1.02 java.lang.RuntimeException: LRUAlgorithm.evict()

2004-08-24 Thread bwang00
Uwe,

You are right! I thought I have fixed this in release1.02. But I couldn't find any 
trace in cvs log! So I am embarassed to say that I must have let it slip through. :-)

Anyway, I have just checked in to the code into jboss-head. Please grab it and re-try 
again.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846035#3846035

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846035


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Rules Engine Working Memory in JBoss-Cache

2004-08-24 Thread bwang00
Like Bela suggested, please try it in Java program first. One thing I don't like bsh 
is the debugging capability is poor.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846039#3846039

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846039


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: 1.02 java.lang.RuntimeException: LRUAlgorithm.evict()

2004-08-23 Thread bwang00
Hi,

Since I have just refactored the eviction policy last week, I have tried your test 
case on the latest code on jboss-head. I don't see any error right now. So can you try 
it yourself to make sure the problem is resolved?

I will incorporate your test case.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845927#3845927

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845927


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - New Tomcat http session replication using JBossCache

2004-08-22 Thread bwang00
Just thought everyone may be interested to know that I have just completed the 
implementation and documentation of the Tomcat clustering in JBoss3.2.6 using 
JBossCache. Here is the url if you are interested:
http://www.jboss.org/developers/projects/jboss/tc5-clustering.html

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845852#3845852

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845852


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: single instance vs multiple instances

2004-08-20 Thread bwang00
If the data are independent, then there is really not that much different except the 
overhead in starting JBossCache instances. Of course, you will need two different look 
up for the cache instance as well.

Hoep this help,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845789#3845789

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845789


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Thread safety?

2004-08-20 Thread bwang00
This is indeed a potential problem that I have been planned to correct. :-) Anway, I 
have just refactored the eviction policy part and checked them into jboss-head. The 
fix will be available in release 1.1.

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845790#3845790

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845790


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: XML parsing problem with JBossCache

2004-08-18 Thread bwang00
Jerome,

Good catch!! I will incorporate your fix into upcoming 1.1 release.

Thanks a lot,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845469#3845469

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845469


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Clustering JMX(Mbeans).

2004-08-18 Thread bwang00
JBoss has a plan to do MBean HA in the near future. Meanwhile, you can use JBossCache 
to manage your own state. Basically, you treat JBossCache as a MBean service and then 
decide yourself in your MBean when to do replication. Or you can spawn a processor 
thread to process the replication periodically if you want.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845471#3845471

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845471


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBossCache in production

2004-08-18 Thread bwang00
Check,

This is great! Keep it going. :-)

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845492#3845492

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845492


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: No ClassLoaders found for: org.jboss.cache.TreeCache

2004-08-11 Thread bwang00
You should invoke JBoss from all config directory.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844867#3844867

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844867


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


  1   2   >