Re: Dynamic Proxies and OSGi

2010-12-04 Thread Niclas Hedhman
On Sat, Dec 4, 2010 at 11:31 PM, Niclas Hedhman wrote: > This is mostly a mail to give people a hint why you might see > NoClassDefFoundError of a dynamic proxy creation even though there > really are no class *loading* problems, as all classes involved has > already been loaded correctly. I shou

[issues] Commented: (PAXWEB-218) Support for multiple apps on the same context path as described in the OSGi Web Application spec

2010-12-04 Thread Achim Nierbeck (JIRA)
[ http://issues.ops4j.org/browse/PAXWEB-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698#action_13698 ] Achim Nierbeck commented on PAXWEB-218: --- I'm not quite sure what should be done here. As far as I

Re: Dynamic Proxies and OSGi

2010-12-04 Thread Guillaume Nodet
Thx! Fwiw, Apache Aries has created some bundles to do some proxiing, including class proxiing based on asm. On Saturday, December 4, 2010, Niclas Hedhman wrote: > I just want to report back an interesting case, where OSGi imports are > 'violated' by the Sun JVM. > > If you create Dynamic Proxie

Dynamic Proxies and OSGi

2010-12-04 Thread Niclas Hedhman
I just want to report back an interesting case, where OSGi imports are 'violated' by the Sun JVM. If you create Dynamic Proxies (java.lang.reflect.Proxy), I have uncovered that somewhere deep inside, the constituent classes/interfaces will be requested by the proxy creation code, from the classloa

Re: splitting-up pax-logging

2010-12-04 Thread Niclas Hedhman
On Fri, Dec 3, 2010 at 9:41 PM, Reto Bachmann-Gmuer wrote: > Pax-Logging provides an implementation of the OSGi LogService (based on > Log4J) as well as frontend-adapters for various api. I think it would be > good to split this up, and have e.g. a bundle pax-log-slf4j-osgi which > provides slf4j