Re: Felix integration with Eclipse

2012-01-06 Thread Matt Madhavan
Hi Mohamad, I think Ken is rt! I started with Eclipse and Felix my self last year since then I switched to Eclipse with Apache Karaf(with Felix) inside and this env is just awesome! I would really urge you to consider Apache Karaf option. Thanks Matt On Jan 6, 2012 7:31 PM, "Ken Gilmer" wrote:

Urgent - PAX -logging Vs Logback

2011-12-07 Thread Matt Madhavan
Hello, I would like to know the Pros and cons of PaxLogging vs Logback. I have used PaxLogging a lot but the my client's Enterprise team (different team) that sets directions, would like to use Logback. Can someone let me know what are the pros and cons between the two and especially in the OSGi w

Re: Felix testing

2011-11-24 Thread Matt Madhavan
Hi, Few moths ago I tried both and Spring as well. I highly recommend u going with Pax! Matt On Nov 24, 2011 3:18 AM, "Victor Antonovich" wrote: > Hello! > 23.11.2011 12:17, Huy Nguyen Quoc wrote: > > I have 2 questions about using the junit4osgi package: > > > > - Can i write a bundle for autom

OSGI/SCA/Tuscany/ActiveMQ bindings

2011-10-10 Thread Matt Madhavan
Hello, Has any one point me to an OSGi/SCA/ActiveMQ binding example? has any one done it? I'm looking to invoke an OSGi call upon receiving a msg from activemq. Thanks in advance! Matt

Re: Urgent - Strange uses constraints violation issues

2011-10-07 Thread Matt Madhavan
f multiple updates/installs, and the > framework doesn't know when you are finished. > > Hopefully the problem should be solved simply by typing "refresh". Please > let us know how it goes. > > Regards > Neil > > On Friday, 7 October 2011 at 21:44, Matt M

Urgent - Strange uses constraints violation issues

2011-10-07 Thread Matt Madhavan
Hello, I'm running into some strange uses constraint issues! I'm involved in a rather large Enterprise application for my client. There are multiple developers both in the States and India involved in this! This could be one of the largest Enterprise OSGi project ever! As Niel Bartlett put it her

Aries Aries Blog Sample and Karaf 2.2.x

2011-09-16 Thread Matt Madhavan
Hello, Has any one ported Aries Blog 0.3 sample to Karaf 2.2.x successfully? If so could you please share the bundle features/versions ? I would greatly appreciate it! Thanks Matt

KARAF and JPA Bundle issues - Urgent

2011-09-16 Thread Matt Madhavan
Hello, I moving couple of my sample applications from pax:provision to Apache Karaf. Both application run ok on pax:provision inside of a Felix container. But when I run the same applications (derby/openjpa 2.0, aries) I'm getting a null pointer exception when I start my persistence bundle. The sa

Karaf - Features/bundles for OpenJPA/JTA /Persitence

2011-09-16 Thread Matt Madhavan
Hello, I'm new to Karaf! I'm trying to port on of my app that uses Aries/OpenJPA/derby/JTA trasaction etc.* I have tested this successfully using pax:provision in Felix container. * I'm having some issues with KARAF. Looks like KARAF already has bunch of bundles installed like JTA/JNDI/JPA etc. M

KARAF cannot execute many commands from the user guide

2011-08-31 Thread Matt Madhavan
Hello, I downloaded and started Karaf per instructions. I just cannot execute many commands successfully! karaf@root> osgi:install wrap:mvn: http://download.java.net/maven/2!net.java.dev.jna/jna/3.1.0 Error executing command: !net.java.dev.jna/jna/3.1.0: event not found karaf@root> features:instal

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-26 Thread Matt Madhavan
guide/index.html<http://karaf.apache.org/manual/latest-2.2.x/developers-guide/index.html> > [2] - http://karaf.apache.org/**manual/latest-2.2.x/** > developers-guide/custom-**distribution.html<http://karaf.apache.org/manual/latest-2.2.x/developers-guide/custom-distribution.html>

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-26 Thread Matt Madhavan
this. Any help will be appreciated! Thanks Matt On Tue, Aug 2, 2011 at 10:12 PM, Andreas Pieber wrote: > Hey Matt, > > On Wed, Aug 3, 2011 at 04:14, Matt Madhavan > wrote: > > > > Than you very much for the reply! > > > Still, I don't like making advertisment

Status of Aries BluePrint Annotations

2011-08-26 Thread Matt Madhavan
Hi Alasdair, Whats the status of BP Annotations? There used to be a one page documentation on it in the Aries web-site, but I cannot find it anymore! Also I tested the annotations and they seem to work just fine! Any ideas? Thanks Matt

Re: Apache Aries BluePrint Annotations and Maven Felix Bundle Plugin

2011-08-26 Thread Matt Madhavan
think you need a > special plugin for that. > > > > And why would it generate an Export-Service header? > > > > Kind regards, > > > >Peter Kriens > > > > On 25 aug 2011, at 23:32, Matt Madhavan wrote: > > > >> Hello Peter, >

Apache Aries BluePrint Annotations and Maven Felix Bundle Plugin

2011-08-25 Thread Matt Madhavan
Hello Peter, I was testing with the Aries Blue Print Annotations with Apache Felix Plugin. Everything seemed to work fine, except that if did not generate the Export-Service manifest header! Question is that, does the Felix Plung in understand the Aries BluePrint Annotations? Does it try to read t

May be I'm having an Issue with MavenFelix Plugin

2011-08-23 Thread Matt Madhavan
Hello Peter, I think I may have an issue with MavenFelix Pl;ugin. I have removed all the embedded jars from my web bundle's WEb-INF/lib folder except for struts.jar. My osgi.bnd now has: Bundle-ClassPath: WEB-INF/classes, \ WEB-INF/lib/struts.jar When I build the app the Felix

Re: Maven Felix Plugin question on <_wab>src/main/WebContent/ tag

2011-08-23 Thread Matt Madhavan
Ha, Thx! On Tue, Aug 23, 2011 at 5:02 PM, Stuart McCulloch wrote: > On 23 Aug 2011, at 22:51, Matt Madhavan wrote: > > > Hello, > > Currently I have configured the instructions for my Maven Felix Plugin as > > follows: > > > >

Maven Felix Plugin question on <_wab>src/main/WebContent/ tag

2011-08-23 Thread Matt Madhavan
Hello, Currently I have configured the instructions for my Maven Felix Plugin as follows: /itsobank ${pom.artifactId} com.xxx.osgi.samples.bank.web.*, !com.xxx.osgi.samples.bank.web.internal !com.hcsc.itf.osgi.samples.bank.web.* *<_wab>src/main/WebContent/* I can pretty much move all the instru

Re: Maven Felix Bundle plugin (BND) - How to tell BND to ignore the jars inside of WEB-INF/lib

2011-08-23 Thread Matt Madhavan
te: > Well, at least your experiences and feedback would be appreciated. I can > take that to the guys local here and they probably would not mind distribute > it as an OSGi app as long as it also runs on older envs. > > Kind regards, > >Peter Kriens > > On

PAX Logging and dependency to Avalon and org.apache.log package

2011-08-23 Thread Matt Madhavan
Hello, I have couple of questions on PAX Loggiong bundles. My app works just fine in stand alone Felix container when deployed as mvn pax:provision. When I deploy the same to IBM WAS I getting an error saying that the required package org.apache.log is not found (does not tell me which bundle refe

Re: Maven Felix Bundle plugin (BND) - How to tell BND to ignore the jars inside of WEB-INF/lib

2011-08-23 Thread Matt Madhavan
Hello Peter, Couple of things! I agree with you and let the BND do its thing. Also not sure why IBM guys had so many jars in the bundle classpath. I can see may be something like a struts.jat and sitelib.jar being there and not commons! Also looks like the dependency to orag.apache.log and other A

Maven Felix Bundle plugin (BND) - How to tell BND to ignore the jars inside of WEB-INF/lib

2011-08-22 Thread Matt Madhavan
Hello Peter, As posted in an earlier post (actually a reply to your reply) I have a stringent requirement from my client that everything I do as far as OSGi development process, must run seamlessly with in IBM RAD and WAS env. But my OSGi development process is mainly of BND and PAX based! So as a

Re: Install Object as bundle

2011-08-22 Thread Matt Madhavan
e who got me started with OSGi some 7/8 months ago! Thanks Matt On Mon, Aug 22, 2011 at 1:04 PM, Peter Kriens wrote: > Hey, when you're at it ... I can use some bnd documenters! > > Kind regards, > >Peter Kriens > > On 22 aug 2011, at 19:57, Matt Madhavan wrot

Re: Install Object as bundle

2011-08-22 Thread Matt Madhavan
nly see "one" extra pax exam annotation, >>>>>>> all others are of junit 4. >>>>>>> >>>>>>> but this is just my 2 cents :-) >>>>>>> >>>>>>> Am 21.08.2011 04:18, schrieb john.dun...@excete

Re: Install Object as bundle

2011-08-19 Thread Matt Madhavan
ssion of OPS4J has been that their stuff(while very cool) tends > to be a little too "ornate" for my taste. > > Cheers! > -John > > Quoting Matt Madhavan : > >> OPS4J PAXTinyBundle Tool might be a good option too! >> On Aug 19, 2011 1:23 PM, wrote: >&

Re: Install Object as bundle

2011-08-19 Thread Matt Madhavan
OPS4J PAXTinyBundle Tool might be a good option too! On Aug 19, 2011 1:23 PM, wrote: > > That's quite a trick... Thanks! > > Quoting chetan mehrotra : > >> You can also have look at Karaf Spring deployer which creates a Bundle on >> the fly for a give Spring config file >> >> http://svn.apache.org

Re: Enabling Aries Blog Sample to IBM RAD projects and still keep maven/itests etc

2011-08-05 Thread Matt Madhavan
Anybody out there please - Any help will be appreciated! Matt On Tue, Aug 2, 2011 at 5:41 PM, Matt Madhavan wrote: > Hello, > I have helped set up an OSGi development for one of my client. > > It involves Blueprint/PaxEam/Maven etc. I like to keep the maven and also > the ITest f

Felix Run Time and JMX

2011-08-05 Thread Matt Madhavan
Hello, I have some basic questions on Felix container. I provision the basic Felix container and started it via mvn pax:provision -Dplaftform=felix . I see the following bundles were provisioned: ** *Welcome to Apache Felix Gogo* * * *g! lb* *START LEVEL 6* * ID|State

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-02 Thread Matt Madhavan
aring from you! Thanks Matt On Aug 2, 2011 8:41 PM, "Andreas Pieber" wrote: > Hey Matt, > > On Wed, Aug 3, 2011 at 00:58, Matt Madhavan wrote: > >> Hello, >> I have seen couple of email threads on this topic. But did not really get a >> definitive answer.

Apache Aries Blue Print and JMX

2011-08-02 Thread Matt Madhavan
Hello, I want to export one of bundle (service) as a JMX service. It was so easy to do so in SpringDM. I'm sure we have something similar in Aries. But I cannot find any documentation on it at all. I have see the Aries(BluePrint) JMX extender bundles. But not sure how to use them. Can some one po

Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-02 Thread Matt Madhavan
Hello, I have seen couple of email threads on this topic. But did not really get a definitive answer. Currently we do not use Karaf. We use Felix and other related bundles via pax runner. I have seen recommendations about using Karaf. Why cannot I just start the Felix container in debug via mvn pa

Enabling Aries Blog Sample to IBM RAD projects and still keep maven/itests etc

2011-08-02 Thread Matt Madhavan
Hello, I have helped set up an OSGi development for one of my client. It involves Blueprint/PaxEam/Maven etc. I like to keep the maven and also the ITest feature. But the target deployment platform is WAS/Equinox. I was wondering what are the steps to add the IBM RAD facet so that RAD recognizes

Re: Spring like Bean definition profiles in/for OSGi/Blueprint - An interesting question

2011-06-06 Thread Matt Madhavan
he advantage over the approach I suggested that it > completely conceals the datasource used in A from anything outside A. > > hope this is clearer... > > david jencks > > On May 26, 2011, at 1:07 PM, Matt Madhavan wrote: > > Hi Alasdair, > Can you please elaborate the fo

pax provision, mvn pax:provision - Strange provisioning behaviour?

2011-06-02 Thread Matt Madhavan
Hello All, I discovered a strange issue while provisioning: I have a dependency defined as follows in my *testproject\itests *project: org.apache.aries.transaction org.apache.aries.transaction.manager * test* When I run the felix container via *mvn pax:pro

Aries - Bundle waiting for Namespace Handlers - What does it mean?

2011-05-31 Thread Matt Madhavan
Hello, I'm running (trying to run) a web app inside Felix Container. One of my bundle (persistence bundle) is complaining as follows: *g! [Blueprint Extender: 2] INFO org.apache.aries.blueprint.container.BlueprintContainerImpl - Bundle com..osgi.samples.bank.persistence is waiting for namespac

Felix Web Console and Service Tab and JNDI names

2011-05-31 Thread Matt Madhavan
Hello All, I start my Felix Web Console by mvn pax:provision. On the services tab I can see the system services like datasources/persistence et which is fine. But I do not see any of the services which I had exported; For instance I have a service as follows: <*entry key="osgi.jnd

OSGi Fragment issue/Questions

2011-05-25 Thread Matt Madhavan
Hello, I have a simple datasource bundle and I created a fragment bundle called datasourcefrg with one bean definition The datasource bundle becomes active and the datasourcefrg fragment successfully resolves. Problem is that the bean definition inside the fragment never gets instantiated. Questio

Spring like Bean definition profiles in/for OSGi/Blueprint - An interesting question

2011-05-23 Thread Matt Madhavan
Hello All, This is an interesting question for you all! For all these years Spring users have been building custom built solution for Bean Definition Profiles which is now part of the Spring 3.1 (currently M1). The following blog talks about the Bean Definition Profile http://blog.springsource.co

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-19 Thread Matt Madhavan
's probably possible to do this in a more straightforward way - > keep on experimenting. Have fun! :) > > Bartek > > 2011/5/18 Matt Madhavan : > > Hello All, > > Thanks for the reply! I kind of get the recommended solution! This is my > > working scenerio >

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-18 Thread Matt Madhavan
ed; however JTA packages need to be > > removed or somewhat "blocked for import"; you can "block" them using: > > "javax.transaction; javax.transaction.xa; partial=true; > > mandatory:=partial" > > > > Best regards, > > Bartek > &

Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-18 Thread Matt Madhavan
Hello, I ran into a strange issue today. I'm running Felix container (3.2.0) with some provisioned bundles by invoking *mvn pax:provision* The OpenJpa bundle does not resolve (its in the installed stage!). I see the following issue in the Felix console! [qtp9097155-32 - /system/console/bundles/87

Re: PaxExam - How to look up an OSGi Service with jndi name based Filter String

2011-03-17 Thread Matt Madhavan
Hello, I tried filter string to "*osgi.jndi.service.name=jdbc/blogdbnojta*" and it worked just fine. Sorry must have tried this before [posting! Thanks Matt On Thu, Mar 17, 2011 at 12:47 PM, Matt Madhavan wrote: > Hello, > I'm Extending Apache Aries Blog Example t

PaxExam - How to look up an OSGi Service with jndi name based Filter String

2011-03-17 Thread Matt Madhavan
Hello, I'm Extending Apache Aries Blog Example to use the application devlopment guidelines I'm creating based on Pax Construct+Pax Runner+Pax Exam. Aries Blog sample has two datasources - simple and JTA as follows. Inside my ITest (PaxExam based) Test cla

Felix Console Startup problem

2011-02-12 Thread Matt Madhavan
Hello, I have the following bundles provisioned via PAX fpr felix: mvn org.ops4j:maven-pax-plugin:create-project -DgroupId=com.hcsc.itf.osgi.samples -DartifactId=maven-osgi-dev -Dversion=1.0-SNAPSHOT cd maven-osgi-dev mvn install pax:provision -Drunner=1.5.0 -Dplatform=felix -Dversion=3.0.0 mvn p