Re: A better life: quick webapp deploy

2011-05-19 Thread Daniele Dellafiore
e sense to me. On Thu, May 19, 2011 at 2:27 PM, Daniele Dellafiore wrote: > On Thu, May 19, 2011 at 1:26 PM, Daniele Dellafiore < > dani...@dellafiore.net> wrote: > >> Sometimes happens that the resultant Manifest.mf contains a dot as the >> first of the Import-Package. Lik

Re: A better life: quick webapp deploy

2011-05-19 Thread Daniele Dellafiore
On Thu, May 19, 2011 at 1:26 PM, Daniele Dellafiore wrote: > Sometimes happens that the resultant Manifest.mf contains a dot as the > first of the Import-Package. Like > Can't really understand why that happen. > I've debugged and it's bnd that put the dot as the

Re: A better life: quick webapp deploy

2011-05-19 Thread Daniele Dellafiore
ngframework.beans,* jar bundle war On Sun, May 15, 2011 at 5:55 PM, Daniele Dellafiore wrote: > > On Tue, May 10, 2011 at 6:26 PM, wrote: > >> >> >> Danielle, >> >> >> >> What you are trying to do is

Re: A better life: quick webapp deploy

2011-05-15 Thread Daniele Dellafiore
On Tue, May 10, 2011 at 6:26 PM, wrote: > > > Danielle, > > > > What you are trying to do is best accomplished by using services. In my > application, we have a database connection and JMS connections that are used > by multiple bundles. does the connections provided by that bundle always poin

Re: A better life: quick webapp deploy

2011-05-10 Thread Daniele Dellafiore
On Tue, May 10, 2011 at 6:23 PM, wrote: > > > Danielle, > > > > We had similar issues with spring xml files, and you're correct, you cannot > access spring.xml files between bundles. To be clear though, are you > referring to the xml files in META-INF/spring or are you referring to the > .xsd fil

Re: A better life: quick webapp deploy

2011-05-10 Thread Daniele Dellafiore
On Tue, May 10, 2011 at 3:17 PM, Peter Kriens wrote: > In OSGi the idea is that you get a bunch of bundles that collaborate > through services. The bundle is a module and is therefore supposed to be > impenetrable. Just like a class has private fields so does a bundle have > private classes and re

Re: A better life: quick webapp deploy

2011-05-10 Thread Daniele Dellafiore
ad spring xml files that are in the bundle, not the ones in imported bundles. Anyway thanks to everyone for the help. > > Kind regards, > >Peter Kriens > > > > > On 21 apr 2011, at 10:48, Daniele Dellafiore wrote: > > > I thank you all for the inform

Re: A better life: quick webapp deploy

2011-04-27 Thread Daniele Dellafiore
On Wed, Apr 27, 2011 at 11:41 AM, Eike Kettner wrote: > Hi Daniele, > > > > > But there is a problem. When I reinstall the bundle, I get this kind of > > exception: > > > > java.lang.IllegalArgumentException: Can not set > > org.fenotipi.services.StudiService field > > org.fenotipi.web.general.Ho

Re: A better life: quick webapp deploy

2011-04-26 Thread Daniele Dellafiore
uot;in the cloud", without messing with OSGi and all the problem I'm addressing. I'd be glad to discuss about that with anyone interested, here or in private if we're off topic. Best. -- Daniele Dellafiore http://danieledellafiore.net

Re: A better life: quick webapp deploy

2011-04-26 Thread Daniele Dellafiore
d with wicket-1.5-rc1. in this release the wicket team created > one jar out of core, util and request (as i remember). but future > releases won't distribute this anymore. the idea was then to distribute > it with the wicket-stuff project... > > regards, > Eike > > On [Mon, 2

Re: A better life: quick webapp deploy

2011-04-25 Thread Daniele Dellafiore
On Mon, Apr 25, 2011 at 5:07 PM, Allen Lau wrote: > I'm jumping in a bit late, but in order to build our wicket app without > dependencies, we use both the maven-bundle-plugin to generate the manifest > file first and then have the maven-war-plugin do the packaging of the > actual > war. > > we u

Re: A better life: quick webapp deploy

2011-04-25 Thread Daniele Dellafiore
On Mon, Apr 25, 2011 at 12:44 PM, Daniele Dellafiore wrote: > > On Mon, Apr 25, 2011 at 11:56 AM, Daniele Dellafiore < > dani...@dellafiore.net> wrote: > > >> 10:27:07,797 | ERROR | Thread-35| RegisterWebAppVisitorWC >> | internal.

Re: A better life: quick webapp deploy

2011-04-25 Thread Daniele Dellafiore
On Mon, Apr 25, 2011 at 11:56 AM, Daniele Dellafiore wrote: > 10:27:07,797 | ERROR | Thread-35| RegisterWebAppVisitorWC > | internal.RegisterWebAppVisitorWC 254 | 62 - > org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception. &

Re: A better life: quick webapp deploy

2011-04-25 Thread Daniele Dellafiore
On Wed, Apr 6, 2011 at 5:08 PM, Peter Kriens wrote: > Create a WAB with bndtools (look at bnd -wab and -wablib). I'm using maven-bundle-plugin but it's almost the same. I've read everything, included OSGi in Action, but nowhere is explained how to create a WAB without the dependencies. If I ins

Re: A better life: quick webapp deploy

2011-04-21 Thread Daniele Dellafiore
this class and also the WicketFilter class. This is strange, maybe it's using a different classloader? > 2011/4/21 Daniele Dellafiore : > > On Thu, Apr 21, 2011 at 9:48 AM, Daniele Dellafiore > > wrote: > > > >> I thank you all for the information. I need to make

Re: A better life: quick webapp deploy

2011-04-21 Thread Daniele Dellafiore
On Thu, Apr 21, 2011 at 9:48 AM, Daniele Dellafiore wrote: > I thank you all for the information. I need to make it run from the > maven-bundle-plugin 2.2.0. > With the configuration (pasted in the end of the email) and instructing the > maven-war-plugin to where the MANIFEST file is

Re: A better life: quick webapp deploy

2011-04-21 Thread Daniele Dellafiore
I thank you all for the information. I need to make it run from the maven-bundle-plugin 2.2.0. With the configuration (pasted in the end of the email) and instructing the maven-war-plugin to where the MANIFEST file is, the module with packaging = war has the osgi info but still has the /lib folder

Re: spring-osgi and autowired

2011-04-06 Thread Daniele Dellafiore
, if you are relying on > the extender, why not expose your bundle A beans as services and then > reference them from bundle B,C,D, etc. > > > On Wed, Mar 30, 2011 at 5:37 AM, Daniele Dellafiore > wrote: > > > On Wed, Mar 30, 2011 at 2:23 PM, Daniele Dellafiore > >

Re: A better life: quick webapp deploy

2011-04-06 Thread Daniele Dellafiore
me. But you get > all the nasty OSGI features with classloading, less documentation and > experiences to help with your problems, and some difficulties to access > more > advanced Jetty features. But thats a choice.. > > 2011/4/6 Daniele Dellafiore > > > Hi. I am trying t

Re: spring-osgi and autowired

2011-04-06 Thread Daniele Dellafiore
> > On Wed, Mar 30, 2011 at 5:37 AM, Daniele Dellafiore > wrote: > > > On Wed, Mar 30, 2011 at 2:23 PM, Daniele Dellafiore > > wrote: > > > > > Hi have bundle A with a springA.xml file that depends on beans from > > bundle > > > B

Re: spring-osgi and autowired

2011-03-30 Thread Daniele Dellafiore
On Wed, Mar 30, 2011 at 2:23 PM, Daniele Dellafiore wrote: > Hi have bundle A with a springA.xml file that depends on beans from bundle > B springB.xml > I've added a springA-osgi.xml with declared services and on bundle A > activation everything works and I have > > >

spring-osgi and autowired

2011-03-30 Thread Daniele Dellafiore
Hi have bundle A with a springA.xml file that depends on beans from bundle B springB.xml I've added a springA-osgi.xml with declared services and on bundle A activation everything works and I have | INFO | tenderThread-114 | OsgiServiceFactoryBean | r.support.OsgiServiceFactoryBean 30

Re: conflict: Blamed On

2011-03-16 Thread Daniele Dellafiore
Hi. Thanks for you extended explanation. I did not had the chance to work with that till today. And another similar problem occurr, I think is simpler than the old one but I can't really understand what's going on. Status: [ 33] [Active ] [] [ ] [ 60] Spring Core (3.0.5.RE

Re: Deploy bundle to Apache Felix with maven

2010-10-26 Thread Daniele Dellafiore
  >>          org.apache.sling >>          maven-sling-plugin >>          2.0.4-incubator >>           >>             >>              install-bundle >>               >>                installgoal> >>               >>             >>           >>           >>            http://10.1

Re: Deploy bundle to Apache Felix with maven

2010-09-07 Thread Daniele Dellafiore
web console amazing. Will be back soon with new question about these wonderful stuff. On Tue, Sep 7, 2010 at 1:35 PM, Felix Meschberger wrote: > http://10.10.20.156:8181/system/console -- Daniele Dellafiore http://danieledellafiore.

Re: Deploy bundle to Apache Felix with maven

2010-09-07 Thread Daniele Dellafiore
maybe the problem is there but I have no more ideas... On Tue, Sep 7, 2010 at 11:26 AM, Felix Meschberger wrote: > Hi, > > On 07.09.2010 11:23, Daniele Dellafiore wrote: >> thanks for the answer, I am going to try this today. >> I am a little concerned about the sling maven pl

Re: Deploy bundle to Apache Felix with maven

2010-09-07 Thread Daniele Dellafiore
e Apache Felix Web Console [1] you can use the Maven Sling > Plugin [2] to deploy to a running framework using an HTTP request. > > Regards > Felix > > [1] http://felix.apache.org/site/apache-felix-web-console.html > [2] http://sling.apache.org/site/sling.html > > On 2

Deploy bundle to Apache Felix with maven

2010-08-25 Thread Daniele Dellafiore
to achieve the same with OSGI bundles, deploying them to a Felix installation and triggering the restart of the bundle. Thanks. -- Daniele Dellafiore http://danieledellafiore.net - To unsubscribe, e-mail: users-unsubscr...@felix