Re: using file install & config admin together?

2010-07-26 Thread Filippo Diotalevi
install-part-2-dynamic-configurations/ It's a quite old article but it should still work. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Integrate log4j

2009-11-19 Thread Filippo Diotalevi
nd displays the list of installed bundles. Is the log4j bundle installed and active? 2) where did you get the log4j bundle? Is it really an OSGi bundle or just the normal Java library? 3) can you check with the console if your log4j bundle export the "org/apache/l

[Invitation] "Felix and more: o...@apache" BOF - Devoxx 2009, Antwerp (Belgium)

2009-11-05 Thread Filippo Diotalevi
cts (Felix Framework, Karaf, Webconsole and Apache Ace f.i), but there are some areas which are at the moment uncovered (Sigil, IPojo...). Is anybody else coming to Antwerp willing to fill these gaps? Please get in contact with me directly for proposal. Regards, -

Re: Welcome message

2009-10-22 Thread Filippo Diotalevi
ss. Its code is quite simple and can be found at: https://svn.apache.org/repos/asf/felix/trunk/main/src/main/java/org/apache/felix/main/Main.java Regards, -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.ap

Re: [Karaf] How about a Karaf single-bundle distro?

2009-10-21 Thread Filippo Diotalevi
ase, I would preserve a fine grained bundle list to allow the user to understand what's installed. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: List available and registered services

2009-10-04 Thread Filippo Diotalevi
ervices (exposed or used) by all the bundles. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Could not log messages

2009-09-30 Thread Filippo Diotalevi
d felix.log.level does not control application logs. However, you should be able to see your logs typing: $ log in the felix console -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Web Interface

2009-09-28 Thread Filippo Diotalevi
ample), but if you plan to use a web framework you may find some issues. Check my blog post for a more detailed list. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additi

Re: Question: Howto auto install bundles that depend on fragments

2009-09-02 Thread Filippo Diotalevi
get an exception telling that a fragment cannot be started on felix > startup. Is there a way to prevent this ? > > Tanks for any hints, Martin Not 100% sure, but if you add felix.auto.install.= it should work. -- Filippo Diotalevi

Re: FileInstall: only uuse latest version

2009-08-28 Thread Filippo Diotalevi
an open a improvement request on Jira and we can have a look at its feasibility. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: How does your development environment look like?

2009-08-15 Thread Filippo Diotalevi
ect that use Fileinstall to load bundles from a specified folder. When I update a single bundle, I just use a simple maven plugin I wrote to copy it in the folder watched by Fileinstall, so that the new bundle is hot deployed in the running application (you don't really need a mojo for t

Re: How to use/include commons bundle(s)

2009-07-27 Thread Filippo Diotalevi
wrapper at http://svn.apache.org/repos/asf/felix/trunk/commons/commons-email/ -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Exported Packages in System Bundle

2009-07-09 Thread Filippo Diotalevi
o the packages in org.osgi.framework.system.packages. The default value is empty. If a value is specified, it is appended to the list of default or specified packages in org.osgi.framework.system.packages. -- Filippo Diotalevi - To unsubscribe, e-mai

Re: What UserAdmin do you use?

2009-07-09 Thread Filippo Diotalevi
ts.ops4j.org [3] https://scm.ops4j.org/repos/ops4j/laboratory/users/mkuespert/useradmin/pax-useradmin-service/ -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: File Install dependency problem

2009-06-30 Thread Filippo Diotalevi
leInstall is not controllable (nor should it be). In FI all the discovered bundles are installed first, and then started. So when a bundle starts, all the exported packages from all the discovered bundles are already available. -- Filip

Re: File Install dependency problem

2009-06-30 Thread Filippo Diotalevi
. I suggest you to check your setup, and try to reproduce the error with the minimal set of bundles possible. If the problem persist, please post here the list of bundles installed, with import and exports, and the exception you get. -- Filippo Diotalevi -

Re: How to config the fileinstall bundle in configuration file?

2009-06-30 Thread Filippo Diotalevi
e that .cfg files must be created in the *watched folder* (the one specified in 2) ) and not the config folder (which is only for internal persistence of the Configuration Admin service) HTH, -- Filippo Diotalevi - To unsubs

Re: packaging problem in bundle

2009-06-23 Thread Filippo Diotalevi
impl Check http://www.nabble.com/Re%3A-Weird-behavior-with-Maven-Bundle-Plugin%2C-classes-not-included-in--bundle-p22473673.html -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Felix File Install

2009-06-11 Thread Filippo Diotalevi
On Thu, Jun 11, 2009 at 12:31 PM, Guido Spadotto wrote: > Filippo Diotalevi wrote: > Would this next line of code work? (you save one "properties.get" > invocation) > > value instanceof String ? Util.substVars(( String ) value, name, null, > properties) : value );

Re: Felix File Install

2009-06-11 Thread Filippo Diotalevi
FELIX-1216 As for the original Fiona's email, I hope the patch fixes her bug too, since the file she was referring to (props.xargs file) is indeed a Knopflerfish file. -- Filippo Diotalevi - To unsubscribe, e-mai

Re: Felix File Install

2009-06-10 Thread Filippo Diotalevi
ification wise, the configuration dictionary can contain a limited set of types (the usual int, long, string and so on, plus vectors and arrays), but I sort of expected that the Configuration Dictionary received in this particular case contained exactly the properties defined in the config

Re: Felix File Install

2009-06-10 Thread Filippo Diotalevi
le updating org.apache.felix.fileinstall.0 > (java.lang.ClassCastException: java.lang.Boolean cannot be cast to > java.lang.String That's strange... is the stacktrace giving any more detail? -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: I want to join Felix User community.

2009-06-07 Thread Filippo Diotalevi
ace and then the framework folder. You can import pretty much every felix subproject in this way. Have a look at the felix subproject documentation at http://felix.apache.org/site/subprojects.html to learn about the several subprojects. HTH, -- Filippo Diotalevi -

Re: Servlet dispatcher problem

2009-06-04 Thread Filippo Diotalevi
"/servlet1", new FirstServlet(), null, null); http.registerServlet("/servlet2", new SecondServlet(), null, null); } } } public void stop(BundleContext context) throws Exception { } } -- Fi

Re: Building felix

2009-06-03 Thread Filippo Diotalevi
u find in the zip distribution of Felix is the "main" module. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: bundle browser web

2009-05-25 Thread Filippo Diotalevi
e-felix-web-console.html -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Felix and Ajax

2009-05-21 Thread Filippo Diotalevi
e? Hi, any Javascript library should work. To see a working example with JQuery, you can checkout the Felix Webconsole at http://svn.apache.org/repos/asf/felix/trunk/webconsole -- Filippo Diotalevi - To unsubscribe, e-mail:

Re: updating fragment bundles

2009-05-19 Thread Filippo Diotalevi
ch to the host bundle until the Framework is restarted or the host bundle is refreshed. During this time, an attached fragment will have two versions: the old version, attached to the old version of the host, and a new fragment bundle that can get attached to a new version or to a diffe

Re: Can't execute a unit test bundle with JUnit4OSGi

2009-05-07 Thread Filippo Diotalevi
ted the TestSuite and added the Test-Suite header as explained at http://felix.apache.org/site/apache-felix-ipojo-junit4osgi-tutorial.html ? -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For ad

Re: File Install and execution environment

2009-04-23 Thread Filippo Diotalevi
. One question though (as an absolute CDC newbie): provided that we obtain CDC compatibility, is there any test when can run later to make sure we don't break this compatibility? -- Filippo Diotalevi - To unsubscribe, e-mail: users

Re: [Possible FAQ] Solving the slf4j issue for Felix users?

2009-04-19 Thread Filippo Diotalevi
his use case is not supported by Framework 1.6.0 ? I > understand that we still have some limitations with fragment support, > but some basic support should be available. >> afaiu it's not supported, check: http://www.nabble.com/Re%3A

[Possible FAQ] Solving the slf4j issue for Felix users?

2009-04-19 Thread Filippo Diotalevi
r, removing the fragmeng-host, Felix doesn't complain [1] http://forum.springsource.org/showthread.php?t=70639 [2] http://bugzilla.slf4j.org/show_bug.cgi?id=73 -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr

Re: Configuration File Issue

2009-04-17 Thread Filippo Diotalevi
t; Version 0.9.0 of the file install bundle seems to work just fine. However, > with this version the Factory Configurations don't work. Hi, sounds strange to me... I just tried in my installation (webconsole 1.2.8, fileinstaller 0.9.2, felix 1.6.0) and I do

Re: Diagnosing a deadlock at application startup

2009-04-17 Thread Filippo Diotalevi
On Fri, Apr 17, 2009 at 10:23 AM, Filippo Diotalevi wrote: > On Fri, Apr 17, 2009 at 10:19 AM, Karl Pauls wrote: >> Did you try with felix 1.6.0? > > Actually not yet. I'll give it a try. Seems like the update solved the issue. Still keeping my finger crossed, as it was an

Re: Diagnosing a deadlock at application startup

2009-04-17 Thread Filippo Diotalevi
On Fri, Apr 17, 2009 at 10:19 AM, Karl Pauls wrote: > Did you try with felix 1.6.0? Actually not yet. I'll give it a try. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For ad

Diagnosing a deadlock at application startup

2009-04-17 Thread Filippo Diotalevi
rganizing bundles in different folders with different startup level, following the example of Apache Sling. -- Filippo Diotalevi -- thread dump --- 2009-04-16 15:40:58 Full thread dump Java HotSpot(TM) Server VM (11.2-b01 mixed mode): "SpringOsgiExtenderThread-8" prio=10 tid=0x784f3000 nid=0x

Re: Tracking service changes in your bundle?

2009-04-16 Thread Filippo Diotalevi
mp; developer) http://felix.apache.org/site/apache-felix-ipojo.html Hope this helps -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: OSGi services

2009-04-03 Thread Filippo Diotalevi
the service lifecycle issues in OSGi without the > need to use trackers. Just to complete David's answer, also Spring DM provides the IOC. -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For

Re: File Install and multiple watched directories

2009-04-01 Thread Filippo Diotalevi
es listed at http://felix.apache.org/site/apache-felix-file-install.html the most important of which is, of course, "felix.fileinstall.dir" You can create as many org.apache.felix.fileinstall-.cfg files you want (as long they have different names) to monitor as many directory you n

Re: Web Console Configuration

2009-03-26 Thread Filippo Diotalevi
e.org/site/apache-felix-web-console.html#ApacheFelixWebConsole-Configuration Third option (never tried, actually) is to use Lumins' configuration admin cli https://opensource.luminis.net/confluence/display/SITE/OSGi+Configuration+Admin+command+lin

Re: BOF @ApacheCon EU 09/Amsterdam

2009-03-16 Thread Filippo Diotalevi
for sure. Thanks for proposing it! -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Weird behavior with Maven Bundle Plugin, classes not included in bundle

2009-03-12 Thread Filippo Diotalevi
On Thu, Mar 12, 2009 at 11:43 AM, Stuart McCulloch wrote: > 2009/3/12 Filippo Diotalevi > the only classes that will appear in the bundle are the ones you ask it to > include using Export-Package, Private-Package, Include-Resource, and > Embed-Dependency - so just because a file

Weird behavior with Maven Bundle Plugin, classes not included in bundle

2009-03-12 Thread Filippo Diotalevi
1.5 1.5 .... Thanks, -- Filippo Diotalevi - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Felix and JPA: best practices

2009-02-05 Thread Filippo Diotalevi
ist data on the DB. Does anybody has any suggestion, or experience in production systems with JPA and Felix? What's in your opinion the JPA provider more Felix-friendly? [1] http://www.dynamicjava.org/projects/dynamic-jpa Thanks, -

Managing a clustered OSGi application

2009-01-29 Thread Filippo Diotalevi
the nodes? Any experience? Many thanks, -- Filippo Diotalevi http://www.diotalevi.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org