[jboss-user] [JBossCache] - UNICAST - min_threshold, window_size

2006-10-02 Thread sphinxmember
Hi,
I am getting 
250 [main] ERROR org.jgroups.protocols.UNICAST - window_size is deprecated and 
will be ignored
250 [main] ERROR org.jgroups.protocols.UNICAST - min_threshold is deprecated 
and will be ignored

As mentioned these flags will be removed as Flow control is provided by FC 
http://jira.jboss.com/jira/browse/JGRP-54

So can I safely remove these options as I dont have even FC in my tree and pojo 
cache cluster configuration.

Main-Class: org.jgroups.Version
Implementation-Version: 2.2.9.2

Thx

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache and getObject()

2006-09-27 Thread sphinxmember
I dont have eviction policy and cacheloader requirement.
May be at some point of time we might have eviction policy but not cache loader 
as its loading and storing the cache is achieved differently.

Is there any other way to trigger it .

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3974705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache and getObject()

2006-09-25 Thread sphinxmember
HI,

I am using Jboss Cache 1.4
Buddy replication is not configured , My application requirement is such that I 
need nodeVisited event triggered on getObject call on pojo cache.
Kindly let me know how to configure it without starting buddy replication.

Thx


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - PojoCache and getObject()

2006-09-22 Thread sphinxmember
Hi,

getObject(fqn) on a PojoCache doesnt trigger a nodevisited event.

Am I right ??



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973668
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject() in PojoCache !!

2006-09-18 Thread sphinxmember
These behavior was observed while running the samples shipped with jboss cache 
under examples\PojoCache\annotated50, after making a change of removing a 
non-existent node in the cache.

Both node create and node modify event are received by the listener.
I am using TreeCache's remove() method call instead of removeObject(), Kindly 
confirm if its fine to do so.

Thx

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972374
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - removeObject() in PojoCache !!

2006-09-14 Thread sphinxmember
Hi ,

Invocation of pojoCache.removeObject(abcdefghijk) results in a generation of 
nodecreate and nodemodify event 

[java] created:/abcdefghijk
[java] FQN of the node modified: /abcdefghijk
[java] -

These are the statements printed in the listner call back, I am extending 
AbstractTreeCacheListener and using 1.4.0.GA

Is this behavior expected..? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-28 Thread sphinxmember
ya ..thats right jconsole disables those methods.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3961600
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-25 Thread sphinxmember
Just tried that , here is my observations.

1. There is no classcast exception in the jvm running stand alone cache client

2. The Jconsole mbean view of the treecache , under the attibutes tab I see the 
following attributes as red.
  Name   Value
   a. InstanceUnavailable (in red font on hovering the mouse it 
shows the following exception ...
//java.rmi.unmarshalexception error unmarshalling return , nested exception is 
java.io.WriteAbortedException, writing aborted; 
java.io.NotSerializableException; org.jboss.cache.TreeCache
b.  Interceptors 
c.  members 

3. when I click on the operation tab the jconsole throws following exceptions
Error setting Operation panel :org.jboss.cache.TreeCacheListener
Error setting Operation panel :org.jboss.cache.TreeCacheListener
Error setting Operation panel :org.jboss.cache.Fqn
Error setting Operation panel :org.jboss.cache.Fqn
Error setting Operation panel :org.jboss.cache.Fqn
Error setting Operation panel :org.jboss.cache.Fqn
Error setting Operation panel :org.jboss.cache.Fqn
Error setting Operation panel :org.jboss.cache.GlobalTransaction
Error setting Operation panel :org.jboss.cache.GlobalTransaction
Error setting Operation panel :org.jboss.cache.GlobalTransaction
Error setting Operation panel :org.jboss.cache.GlobalTransaction

I am using following java version
C:\Documents and Settings\shgoejava -version
java version 1.5.0_07
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)

Jboss cache stand alone client code (Sleep is introduced just for it to wait 
for the jconsole to connect)

public class SampleTreeCache {

public static void main (String[] a)

{

SampleTreeCache sampleTreeCache = new SampleTreeCache();
TreeCache cache1 = null;
try
{
cache1 = sampleTreeCache.createCache();
cache1.put(/jboss-cache-manager, Sample Cache Entry, This 
is a sample);
Thread.currentThread().sleep(60);

}catch(Exception e)
{
e.printStackTrace();
}

}


private TreeCache createCache() throws Exception
{
TreeCache cache = new TreeCache();
PropertyConfigurator config = new PropertyConfigurator();
config.configure(cache, invalidationSync-service.xml);
System.out.println(Tree cache configured with 
META-INF/invalidationSync-service.xml );
cache.startService();
return cache;
}

sample configuration file 
?xml version=1.0 encoding=UTF-8?
  | 
  | !-- = 
--
  | !--   
--
  | !--  Sample TreeCache Service Configuration   
--
  | !--   
--
  | !-- = 
--
  | 
  | server
  | 
  | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar/
  | 
  | 
  | !-- 
 --
  | !-- Defines TreeCache configuration
  --
  | !-- 
 --
  | 
  | mbean code=org.jboss.cache.TreeCache
  | name=jboss.cache:service=TreeCache
  | 
  | dependsjboss:service=Naming/depends
  | dependsjboss:service=TransactionManager/depends
  | 
  | !--
  | Configure the TransactionManager
  | --
  | !--attribute 
name=TransactionManagerLookupClassorg.jboss.cache.DummyTransactionManagerLookup/attribute--
  | 
  | !--
  | Isolation level : SERIALIZABLE
  |   REPEATABLE_READ (default)
  |   READ_COMMITTED
  |   READ_UNCOMMITTED
  |   NONE
  | --
  | attribute name=IsolationLevelREPEATABLE_READ/attribute
  | 
  | !--
  |  Valid modes are LOCAL
  |  REPL_ASYNC
  |  REPL_SYNC
  |  INVALIDATION_ASYNC
  |  INVALIDATION_SYNC
  | --
  | attribute name=CacheModeINVALIDATION_SYNC/attribute
  | 
  | !--
  | Just used for async repl: use a replication queue
  | --
  | attribute name=UseReplQueuefalse/attribute
  | 
  | !--
  | Replication interval for replication queue (in ms)
  | --
  | attribute name=ReplQueueInterval0/attribute
  | 
  | !--
  | Max number of elements which trigger replication
  | --
  | attribute name=ReplQueueMaxElements0/attribute
  | 
  | !-- Name 

[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-25 Thread sphinxmember
Another observation is that lot of operations are displayed as disabled in the 
jconsole view .

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-20 Thread sphinxmember

  | bean id=mbeanServer 
  |   class=org.springframework.jndi.JndiObjectFactoryBean
  |   property name=jndiName 
  | value=java:comp/env/jmx/runtime/
  | /bean
  | bean id=runtimeMbeanServerConnection
  |   class=org.springframework.jmx.support.MBeanServerConnectionFactoryBean
  |property name=serviceUrl 
value=service:jmx:t3://localhost:7001/jndi/weblogic.management.mbeanservers.runtime/
  |property name=environment
  |   props
  |  prop key=java.naming.security.principalweblogic/prop
  |  prop key=java.naming.security.credentialsweblogic/prop
  |  prop key=jmx.remote.protocol.provider.pkgs
  | weblogic.management.remote/prop
  |   /props
  |/property
  | /bean
  | bean id=exporter class=org.springframework.jmx.export.MBeanExporter
  | property name=assembler ref=assembler/
  | property name=server ref=mbeanServer/
  | property name=beans
  |   map 
  | entry key=web:name=testBean1 value-ref=ConfigBeanA/entry
 
  | entry key=web:name=testBean2 value-ref=CacheMBean/entry
  |   /map
  | /property
  | property name=listeners
  |list
  | ref bean=consoleAdapter/
  |/list
  |   /property
  |   property name=autodetect value=true/
  |   property name=registrationBehavior value=2/
  |  /bean
  |  
  | !-- Bean definition  --
  | !-- The factory bean, which contains a method createInstance --
  | 
  | bean id=myFactoryBean class=examples.JBossCacheServiceImpl
  | property name=cacheMBean ref=CacheMBean/
  | /bean
  | 
  | bean id=CacheMBean class=org.jboss.cache.aop.TreeCacheAop
  | /bean

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3959637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - PojoCache Weblogic 91 and JConsole issue!!

2006-07-19 Thread sphinxmember
Hi ,

I am using Pojo cache on weblogic 9.1 server with a clustered domain.
When I try to check the operations through JConsole (Sun) it throws a classcast 
exception on the server .

Kindly throw some light on this behavior.

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3959346
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Weblogic 91 and POJO Cache

2006-07-19 Thread sphinxmember
oops , never got notified about your reply
any way jboss-minimal.jar is the one which did the trick

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3959383
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-19 Thread sphinxmember
Hi,
Thanks for your reply, Here is what I get on the weblogic server.
I was getting errors on the jconsole side also which are not coming now after I 
started it with the following set up, Let me know what more information I need 
to provide. I am using spring to export the pojo cache as mbean to weblogic 
mbean server.

jconsole -J-classpath -JC:\bea91\weblogic91\server\lib\wljmxclient.
jar;C:\bea91\jdk150_04\lib\jconsole.jar;C:\jboss-cache\JBossCache-1.3.0.SP2\lib-50\jboss-ca
che-jdk50.jar




Jul 19, 2006 5:04:01 PM PDT   BEA-080003 RuntimeException thrown by rmi 
server:
javax.management.remote.rmi.RMIConnectionImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.
String;Ljavax.security.auth.Subject;)
 java.lang.ClassCastException: org.jboss.cache.aop.TreeCacheAop.
java.lang.ClassCastException: org.jboss.cache.aop.TreeCacheAop
at weblogic.iiop.IIOPOutputStream.writeAny(IIOPOutputStream.java:1534)
at 
weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2172)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown 
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
Truncated. see log file for complete stacktrace


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3959384
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-19 Thread sphinxmember
Spring is exporting the PojoCache(TreeCacheAop) to the 
Weblogic MBean Server , All the JMX opertations like registration of mbeans are 
handled by spring, 
The PojoCache is also running on the weblogic server itself and not stand alone.

Did I answer your question ?




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3959405
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-19 Thread sphinxmember
This is the actual configuration I am using for spring


  


   
   
  
 weblogic
 weblogic
 
weblogic.management.remote
  
   





   
entry key=web:name=testBean1 value-ref=ConfigBeanA
 
entry key=web:name=testBean2 value-ref=CacheMBean
  


   

   
  
  
  
 
 
!-- Bean definition  --
!-- The factory bean, which contains a method createInstance --








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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3959406
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user