Jacek I did a damn mistake by deleting the cache thought there is something wrong with it but it is like I removed all bundles I installed few days ago. But before doing that I got the same error about javax.transaction thing related to bundle of openejb loader. I will restart the thing all over again will not do that till tomorrow night or maybe even on Friday. Sorry pal :(.
On Wed, Oct 28, 2009 at 7:48 PM, Jacek Laskowski <[email protected]> wrote: > On Wed, Oct 28, 2009 at 5:38 PM, Jean-Louis MONTEIRO > <[email protected]> wrote: > >> First of all, i went to Felix-Karaf 1.0.0 which is a bit for user friendly > > I've been wondering what Karaf was having seen it in use in Geronimo > osgification. I'm glad you used it so I'm encourage to do so if it > gets things easier. > >> 1. For some strange reasons, installing osgi bundles using Pax mvn url >> handler didn't run fine (not able to find my proxy settings). > > Why did you have to use it at all? Was it as a replacement for > installing bundles from maven repos using http? > >> 2. I played with information from your mail. It was useful but too heavy. > > It will get easier when I (or someone else) prepare appropriate config > file and the necessary bundles get installed automatically. Anyway, > I'm all ears to hear how the process can get simpler. > >> 3. To eases installation i started changing some stuff either in OpenEJB or >> in your OSGI module. >> The result is a set of features. But, i'm facing an issue with >> openejb-loader and openejb-core. >> >> Basically, we have openejb-core depending on openejb-loader. >> And openejb-loader declares a required bundle: openejb-core. I would be nice >> to get rid of this dependency. > > +1 if it gets the osgification simpler. Having a bundle required is > just a way to link bundles together and they can get installed by not > started. Starting a bundle resolves imports so it's not a cyclic > dependency because only openejb-core has to be started. > >> With features, you just need to do: >> >> features:addUrl >> mvn:org.apache.openejb/openejb-core-osgi/3.1.2-SNAPSHOT/xml/features >> >> features:list outputs >> ka...@root> features:list >> State Version Name Repository >> [uninstalled] [5.0-2 ] javaee-api repo-0 >> [uninstalled] [3.1.2-SNAPSHOT] openejb-loader repo-0 >> [uninstalled] [3.1.2-SNAPSHOT] openejb-api repo-0 >> [uninstalled] [3.1.2-SNAPSHOT] openejb-javaagent repo-0 >> [uninstalled] [3.1.2-SNAPSHOT] openejb-jee repo-0 >> [uninstalled] [3.1.2-SNAPSHOT] ejb31-api-experimental repo-0 >> [uninstalled] [3.1.2-SNAPSHOT] openejb-core repo-0 >> [uninstalled] [3.1.2-SNAPSHOT] openejb-core-osgi repo-0 >> [uninstalled] [2.5.6.SEC01 ] spring karaf-1.0.0 >> [uninstalled] [1.2.0 ] spring-dm karaf-1.0.0 >> [uninstalled] [1.0.0 ] wrapper karaf-1.0.0 >> [uninstalled] [1.0.0 ] obr karaf-1.0.0 >> [uninstalled] [1.0.0 ] http karaf-1.0.0 >> [uninstalled] [1.0.0 ] webconsole karaf-1.0.0 >> [installed ] [1.0.0 ] ssh karaf-1.0.0 >> [installed ] [1.0.0 ] management karaf-1.0.0 > > I don't understand it yet - it looks karaf-specific which I would > avoid unless it's required. Could you explain what it is for? > > Jacek > > -- > Jacek Laskowski > Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl > -- Thanks - Mohammad Nour - LinkedIn: http://www.linkedin.com/in/mnour ---- "Life is like riding a bicycle. To keep your balance you must keep moving" - Albert Einstein "Writing clean code is what you must do in order to call yourself a professional. There is no reasonable excuse for doing anything less than your best." - Clean Code: A Handbook of Agile Software Craftsmanship
