Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Using multiple cm-properties(properties, osgi-compendium)
Using multiple cm-properties [message #633595] Mon, 18 October 2010 14:00 Go to next message
Marco Plebani is currently offline Marco PlebaniFriend
Messages: 9
Registered: October 2010
Junior Member
Hi,
I'm trying to deploy an existing WAR in Virgo. Now the application is correctly deployed and it works.

Now I'm trying to exploit the admin application facilities of Virgo. In particular the application property files are now in the repository/usr folder and they are activated via PLAN file. I'm able to see all the files and the entries in the admin console.

Reading the documentation I used the osgi-compendium with persistence-id.

There is a way to include in the bundle more than one property files? I included in the applicationContext file more than one files but the entries in the second file is not visible to the bundle:


<context:property-placeholder properties-ref="aProperties"/>
		<osgi-compendium:cm-properties id="aProperties"
			persistent-id="aProperties"/>

<context:property-placeholder properties-ref="bProperties"/>
		<osgi-compendium:cm-properties id="bProperties"
			persistent-id="bProperties"/>


Thanks
-- Marco
Re: Using multiple cm-properties [message #633639 is a reply to message #633595] Mon, 18 October 2010 15:46 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
This issue sounds similar to one reported against Spring. I wonder if specifying ignore-resource-not-found="true" on the property-placeholder elements would do the trick?
Previous Topic:Problem redeploying a WAR application
Next Topic:why do I need to press Ctrl-F5 to view new posts?
Goto Forum:
  


Current Time: Wed Nov 26 17:51:38 GMT 2014

Powered by FUDForum. Page generated in 0.01637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software