[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Evicting via the JBoss JMX console

2008-06-12 Thread kevinstembridge
Hi all, Is it possible to use the JBoss JMX console to evict individual objects from the Hibernate 2nd-level cache? I've managed to evict all instances of a single class but I can't find a syntax that will allow me to evict just one instance. So, for a class named com.mycompany.MyClass with a

[jboss-user] [Clustering/JBoss] - Re: UDP discarded messages from the same cluster node

2007-08-15 Thread kevinstembridge
Hi Brian, Thank for the reply. The info on the wiki page was very helpful. My problem was that I was setting both the jboss.partition.updGroup and jboss.partition.udpPort at the same time, as described at the bottom of the wiki. Thanks for your help. View the original post : http://www.jbos

[jboss-user] [Clustering/JBoss] - UDP discarded messages from the same cluster node

2007-08-13 Thread kevinstembridge
Hi all, I've just upgraded from JBoss-4.0.5 to 4.2.1 and I'm now getting the following warnings in the log file: 14:50:28,455 WARN [org.jgroups.protocols.UDP:897] discarded message from different group "DefaultPartition-EntityCache" (our group is "DefaultPartition"). Sender was 10.xxx.xxx.xxx

[jboss-user] [JBossCache] - Re: TimeoutException on next access after eviction

2007-03-22 Thread kevinstembridge
Hi Manik, Thanks for the info, I'll give the latest distro a try and let you know how it goes. Cheers, Kevin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030798#4030798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBossCache] - TimeoutException on next access after eviction

2007-03-20 Thread kevinstembridge
Hi folks, I'm using JBossCache as the L2 cache for Hibernate and I started seeing a strange error after adding some eviction policy configuration. I'm now getting a TimeoutException when Hibernate tries to add an object to the cache. However, even though the error is thrown, the object still see

[jboss-user] [JBossCache] - Re: EvictionPolicyConfig

2007-03-02 Thread kevinstembridge
Hi Manik, Thanks very much. That's exactly what the problem was. Turns out I was using Hibernate 3.2.0CR1 ! Switching to 3.2.0GA fixed it. Thanks for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024587#4024587 Reply to the post : http://www.jbo

[jboss-user] [JBossCache] - EvictionPolicyConfig

2007-03-01 Thread kevinstembridge
Hi all, I'm having trouble getting an eviction policy to work properly for objects that are not in a top-level tree node. I'm using JBossCache as the 2nd-level cache for Hibernate. So, for example, if I am caching an object called my.package.MyClass, it ends up in a cache region called /my/pa

[jboss-user] [Installation, Configuration & Deployment] - Failed to read schema document

2006-12-05 Thread kevinstembridge
Hi folks, I'm getting an error when trying to deploy an application that contains some Spring config files with XSD declarations in them. I'm sure the declaration is correct, the files are definitely accessible online and I don't have any problem parsing the same config file in a standalone appl

[jboss-user] [Installation, Configuration & Deployment] - Solved

2006-09-28 Thread kevinstembridge
The contents of the EntityMap attribute is expected to be in java.util.Properties format, so the whitespace in the key needs to be escaped. This is the complete service.xml file that works. | | | true | | -//SPRING//DTD\ BEAN//EN=org/sp

[jboss-user] [Installation, Configuration & Deployment] - Problem (almost) solved

2006-09-06 Thread kevinstembridge
After a bit more digging around, I found this page in the JBoss wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=XMLEntitySchemaResolution So JBoss versions 4.0.3 and above have an MBean that we can use to configure an entity resolver. However, when I created a service descriptor with the followi

[jboss-user] [Installation, Configuration & Deployment] - DTD lookup behind firewall

2006-09-01 Thread kevinstembridge
Hi folks, How can I ask JBoss to look for a local copy of a DTD rather than going to the web? We're behind a firewall, so when JBoss starts up and tries to deploy an EAR file that contains some Spring bean definition files, it complains about not being able to find the spring-beans DTD. This D