-->
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: Search: Config from system properties problem
PostPosted: Fri Sep 06, 2013 7:10 am 
Newbie

Joined: Fri Sep 06, 2013 6:35 am
Posts: 1
Hi,
I need to have the property hibernate.search.default.indexBase set from System properties.
This works like a charm when JBoss is freshly restarted.
However if I undeploy my project and deploy it again with another hibernate.search.default.indexBase set in System properties, Hibernate Search will still use the old indexbase prior the redeploy which is now nowhere to be found in the system properties.
Another indexBase setting will not work until I restart JBoss.

For debug purposes I log the system property value just before starting the indexing and that output is correct as far as the property value go, but it's not what's used by Hibernate Search.

I am using the following:
JBoss EAP 6,
Hibernate Search 4.3.0 Final, I have also tested it on 4.1.0 and I got the same problem there.

Anyone able to shed some light on this? Is it a bug perhaps?
Thanks!


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.