-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate.cache.use_query_cache="true" issues on JBoss EAP 6
PostPosted: Fri Oct 11, 2013 7:53 am 
Newbie

Joined: Fri Oct 11, 2013 7:43 am
Posts: 2
Hi.

I'm facing a weard problem when I'm setting hibernate.cache.use_query_cache="true" in my persistence.xml and deploy the application on JBoss EAP 6.1.0-Final.

Just by setting such property, when I try to visualize registered MBeans (by opening jboss-eap-6.1.0\bin\jconsole.bat, connecting locally to the JBoss process and navigatingto MBeans tab), I see nothing but a blank tab. I can´t even see the basic MBeans that are usually registered (like jboss.* or java.lang.* MBeans).

If I set the property to false or remove it from my persistence.xml, everything works fine, i.e., I can see and manage MBeans from JConsole.

I don't know if the bug (if there is any) is actually in Hibernate code or in JBoss code, but in any case I don´t know where to look at to fix this. Can anyone help me get both things working (Hibernate query cache and MBeans management through JConsole distributed in JBoss EAP installation)?

To help isolate and reproduce the problem, I built a simple EAR with minimum resources required to reproduce this issue and posted to JBoss Community Forum (if someon is interested, it can be downloaded from link [1]).

[1] https://community.jboss.org/thread/233421

Note: The only external requirements to deploy the EAR are JBoss EAP 6.1.0-Final installation (obviously) and the presence of the default datasource that comes in original EAP distribution ("java:jboss/datasources/ExampleDS").


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.