[JBoss-user] [JBossCache] - Re: TreeCache AOP scalability?

2006-05-20 Thread ratang2000
By they way, we are using the AOPProxyCollections for replicating our collections like HashMaps and Lists. Could there be a botteneck in the proxies? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945081#3945081 Reply to the post : http://www.jboss.com/index

[JBoss-user] [JBossCache] - Re: TreeCache AOP scalability?

2006-05-19 Thread ratang2000
Whatever it be, we had a bad time with TreeCacheAOP.From our profiling, just a get() that was doing some doing a lock ( some intent.lock package) was hogging up cpu time... Do u have any clue why this would take time.. We are using 1.2.x version of TreeCacheAOP.. We do have puts, and remove oper

[JBoss-user] [Performance Tuning] - Re: Fine tuning JBOSS 3.2.7 for scalability

2006-05-19 Thread ratang2000
-I mean, migrating to a different version of JBOSS App server. Right now Im using 3.2.7, so will migrating to 4.0+ version help in performance?? -Another quicky, right now we have tomcat with jboss.Would putting any other webserver like Jetty etc help in handling http requests faster? View the

[JBoss-user] [Performance Tuning] - Re: Fine tuning JBOSS 3.2.7 for scalability

2006-05-17 Thread ratang2000
Thanks!This will definitely help.. What do you recommend for an App server migration? --- Prateek. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944132#3944132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944132 -

[JBoss-user] [JBossCache] - TreeCache AOP scalability?

2006-05-16 Thread ratang2000
1)I wanted to know if using TreeCacheAOP is scalable under alot of user load? 2)Can event interception get more expensive at some point of time during alot of load? 3)How can we fine tune TreeCacehAOP if possible to improve performance? View the original post : http://www.jboss.com/index.html?mo

[JBoss-user] [Performance Tuning] - Fine tuning JBOSS 3.2.7 for scalability

2006-05-16 Thread ratang2000
I'm using JBOSS 3.2.7 and facing crisis on performance with around 300 users.We'll ofcourse we are squeezing out any expensive code, but I wanted to know: 1)How JBOSS/Tomcat could be fine tuned to handle http requests faster? Any configuration parameters? 2)Do we need to increase thread pool size

[JBoss-user] [JBossCache] - Re: JBOSS Cache Cluster formation problem in Linux box

2006-04-13 Thread ratang2000
Thanks,this helped us in debugging things faster. The problem was that Multicast routing wasn't enabled on the Network tables,even though MULTICAST was enabled on the network interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937145#3937145 Reply to t

[JBoss-user] [JBossCache] - Re: JBOSS Cache Cluster formation problem in Linux box

2006-04-13 Thread ratang2000
Our firewall rules look OK.We've made all our local network machines entries in the allow_hosts.rules(without any port specification). Could the mcast_addr we used be possible wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937106#3937106 Reply to the

[JBoss-user] [JBossCache] - Re: JBOSS Cache Cluster formation problem in Linux box

2006-04-12 Thread ratang2000
Anything on this guys? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937096#3937096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937096 --- This SF.Net email is s

[JBoss-user] [JBossCache] - JBOSS Cache Cluster formation problem in Linux box

2006-04-12 Thread ratang2000
We have 2 CentOS4.0 Linux boxes running JBOSS 3.2.7.We are using JBOSS TreeCache AOP(JBOSS Cache 1.2.0). When we start both of our boxes, they seem not to be able to communicate with each other and form a cluster. It works perfectly on the windows machines. Our boxes have 2 network interfaces on

[JBoss-user] [JBossCache] - Re: Replication stops after sometime

2006-03-20 Thread ratang2000
Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931502#3931502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931502 --- This SF.Net email is sponsored by xPM

[JBoss-user] [JBossCache] - Re: Replication stops after sometime

2006-03-20 Thread ratang2000
OK.It seems replication of the UserSessionObject wasnt happening in the first place..When the put was done only once in the hashmap,that was the only time the object was replicated.After that it was just modification to the POJO(UserSessionObject). So the question is, do I need to Instrument the

[JBoss-user] [JBossCache] - Replication stops after sometime

2006-03-20 Thread ratang2000
Im using TreeCacheAOP.I am replicating a HashMap and objects stored in it(I actually do a putObject on the hashmap) The key to the HashMap is a string,and the value is an object of my own class called UserSessionObject. UserSessionObject has a field called userTimestamp of type Timestamp. So aft

[JBoss-user] [JBossCache] - Re: Replication Bug with Collection proxies

2006-03-13 Thread ratang2000
Makes sense..Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929692#3929692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929692 --- This SF.Net email is spo

[JBoss-user] [JBossCache] - Re: Replication Bug with Collection proxies

2006-03-10 Thread ratang2000
Aren't the Collection Proxies simple wrappers over the actual collection,just the way EJBObjects are one layer over the actual beans? Is there any reason why you need to create your own datastructures? How do you compare the performance of your data structures over java's data structures? View t

[JBoss-user] [JBossCache] - Re: Replication Bug with Collection proxies

2006-03-10 Thread ratang2000
I've created a JIRA for it..Could you assign to yourself. http://jira.jboss.com/jira/browse/JBCACHE-498 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929340#3929340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929340

[JBoss-user] [JBossCache] - Replication Bug with Collection proxies

2006-03-10 Thread ratang2000
Hey,there is an issue in replicating "updated" changes in the following scenario: | Map proxyMap=(Map)cache.geObject("/aop/mymap"); | Set set=proxyMap.keySet(); | Iterator setIterator=set.iterator(); | while(setIterator.hasNext()){ | Object obj=setIterator.next(); | if(obj.someCond

[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys

2006-03-09 Thread ratang2000
Ideally, the Collection proxies should exactly behave the way normal Java Collections/Maps do.. Atleast user knows what to expect out of it and this would also prevent related issues popping up later on... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929227#

[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys

2006-03-09 Thread ratang2000
Is it possible to get a nightly build of the JBOSS Cache that has your fixes for the time being until we dont have the 1.3 release? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929038#3929038 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys

2006-03-09 Thread ratang2000
Hey one more issue is there. When I do the following: Set set=map.keyset(); Iterator setIterator=set.iterator(); while(setIterator.hasNext()){ Object object= iterator.next();//object returned here is String and not Long } The Object returned by iterator.next() is actually a String and NOT Long. I

[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys

2006-03-09 Thread ratang2000
OK got it,I can still put Long keys and while accessing it I can make them to strings and still be access the object. This workaround is then bearable, then changing the type of the key. Thanks Scott!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929013#3929

[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys

2006-03-08 Thread ratang2000
Thanks Scott, the workaround wouldn't be a good idea in our software since the structure is used nearly everywhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928950#3928950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys

2006-03-08 Thread ratang2000
any ideas on this one anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928823#3928823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928823 --- This SF.Net ema

[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys

2006-03-08 Thread ratang2000
Hey there is a small typo in the code..The following code System.out.println(guidMap2.containsKey("8225676592564383"));. should read as System.out.println(guidMap2.containsKey(new Long("8225676592564383"))). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39

[JBoss-user] [JBossCache] - Collection proxy(Map) bug with Long values as keys

2006-03-08 Thread ratang2000
I'm using TreeCacheAOP (JBOSSCache version 1.2.4SP1) for which im storing a map in the cache. When i retrieve the map and do a get() or a containsKey() it returns a null or a false value respectively for the given key. This happens only when i have a Long object stored as a key in my HashMap. Whe