Skip to main content



      Home
Home » Eclipse Projects » Virgo » Using multiple cm-properties(properties, osgi-compendium)
Using multiple cm-properties [message #633595] Mon, 18 October 2010 10:00 Go to next message
Eclipse UserFriend
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 11:46 Go to previous message
Eclipse UserFriend
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: Thu Jul 24 18:14:53 EDT 2025

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

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

Back to the top