If you anyhow have fileinstall there why are you not using it for
loading also the configurations? Less tools, less things to go wrong
;)

On Wed, Apr 14, 2010 at 11:50 AM, Nima Kaviani <nima.kavi...@gmail.com> wrote:
> Hello all,
> I have configured a setting in which configadmin, fileinstall, shell, and
> shell-tui get automatically deployed from the "bundle auto deploy" folder of
> felix and every other bundle gets loaded from a folder watched by
> fileinstall (PaxConfMan is among the bundles in this
> fileinstall-watched-folder). However, even though I have specified
> "bundles.configuration.location" in the config.properties of my felix
> framework to point to the folder where my configurations are located, it
> doesn't seem like the configurations get picked up by the PaxPropsLoader
> bundle.
> This results in PaxLogging printing all the logging information to the
> console, making a mess in the output. I spent all day today trying to figure
> out what is wrong, and my guess was that maybe PaxConf / PaxPropsLoader and
> FileInstall cant properly work together. But I don't have a proper
> explanation for it, and I am still stuck with the problem. I would
> appreciate any help.
> BTW, here is th structure of my project; starts is executed in the root dir
> and config.properties holds the project properties. I also specify
> "bundles.configuration.location=configurations" in the config.properties
> file.
> thanks,
> -Nima
> .
> |-- core
> |   |-- fragment.driver.jdbc-0.0.1-SNAPSHOT.jar
> |   |-- broker.api-0.1.2.jar
> |   |-- broker.impl-0.1.2.jar
> |   `-- sms
> |       `-- broker.sms-0.1.2.jar
> |-- config.properties
> |-- configurations
> |   |-- factories
> |   `-- services
> |       |-- ca.ubc.magic.broker.service.sms.installer.properties
> |       |-- ca.ubc.magic.osgibroker.storage.mysql.properties
> |       `-- org.ops4j.pax.logging.properties
> |-- felix
> |   |-- bin
> |   |   `-- felix.jar
> |   `-- bundle
> |       |-- org.apache.felix.bundlerepository-1.4.3.jar
> |       |-- org.apache.felix.configadmin-1.2.4.jar
> |       |-- org.apache.felix.fileinstall-2.0.8.jar
> |       |-- org.apache.felix.shell-1.4.2.jar
> |       `-- org.apache.felix.shell.tui-1.4.1.jar
> |-- install
> |   |-- org.apache.felix.fileinstall-lib.cfg
> |   `-- org.apache.felix.fileinstall-core.cfg
> |-- lib
> |   |-- com.ibatis-2.3.4.726.jar
> |   |-- com.mysql.jdbc-5.1.6.jar
> |   |-- commons.codec-1.3.0.jar
> |   |-- jline-0.9.94.jar
> |   |-- org.jdom-1.0.0.jar
> |   |-- osgi.cmpn.jar
> |   |-- pax-logging-api-1.4.jar
> |   |-- pax-logging-service-1.4.jar
> |   |-- pax-propsloader-0.2.1.jar
> |   |-- pax-web-jetty-bundle-0.7.1.jar
> |   |-- servlet-api-2.5.jar
> |   `-- webconsole-2.0.0.jar
> `-- start.sh
> --
> http://nima.magic.ubc.ca
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Alin Dreghiciu
Software Developer
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.wordpress.com
http://sonatype.com - Sonatype - The Maven Company
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to