Hi. Thanks Stuart. I'll move the CXF bundle to the end of dependency list and try again on PAX-Runner.
Kei 2009/2/24 Stuart McCulloch <[email protected]>: > 2009/2/24 Stuart McCulloch <[email protected]> >> >> 2009/2/24 Keiichiro Ono <[email protected]> >>> >>> Hi. >>> >>> I wrote a toy client to use public web service from OSGi + Apache CXF >>> + Spring-DM environment. It works fine on PAX-Runner if I specify the >>> platform to Equinox. >>> >>> More specifically, if I use this command: >>> >>> mvn clean install pax:provision "-Dprofiles=log" "-Dframework=equinox" >>> >>> everything works fine (please try the attached Maven project file). >>> JAX-WS proxy works and I can get some data from the web service (the >>> service I use in this example is a public web service providing >>> protein-protein interactions). However, without "-Dframework=equinox" >>> option, the process simply consumes 100% of a CPU core and nothing >>> happens even after 10 minutes. I'm not sure this is the Pax Runner >>> problem or Felix problem (or my code?) because at least it works with >>> Equinox option. Do you have any idea to run this on both OSGi >>> implementations? >> >> Hi Kei - I'm taking a look at it now, will let you know what I find out > > following up on this - the good news is that it's not a Pax-Runner problem, > the bad news is that it appears to be a bug in the Felix "uses" calculation > code that's using up CPU time and stopping the console from starting. > > I've raised an issue to track this, and attached a reduced testcase: > > https://issues.apache.org/jira/browse/FELIX-961 > > the troublesome point seems to be the CXF bundle: > > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-bundle</artifactId> > <version>2.1.4</version> > </dependency> > > you could try moving it down to the end of the dependency list in your > minimalws pom, that might re-order things enough to stop Felix from > falling into that long-running uses calculation. > > HTH > >>> Thanks. >>> Kei >>> >>> -- >>> Keiichiro Ono [email protected] >>> >>> Cytoscape Core Developer Team: http://www.cytoscape.org/ >>> UCSD Bioengineering Ideker Lab: http://chianti.ucsd.edu/idekerlab/ > > -- > Cheers, Stuart > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > > -- Keiichiro Ono [email protected] Cytoscape Core Developer Team: http://www.cytoscape.org/ UCSD Bioengineering Ideker Lab: http://chianti.ucsd.edu/idekerlab/ _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
