On Jun 14, 2007, at 10:51 AM, Paul McMahan wrote:

I like your ideas! Thanks for bringing up this important topic. One of my pet peeves in debugging geronimo apps is when I'm trying to step through a gbean call but the debugger doesn't have the source available since cglib has dynamically generated the proxy classes. I usually end up having to do cheesy things like setting breakpoints on both sides of the proxy, which only works if I can figure out what's on the other side of the proxy. Seems like I remember some talk a while ago about an experimental runtime mode which disables proxying. I don't think you would want to normally run in that mode but it would be useful for debugging purposes. I don't remember where that ended up.

Start the server with the additional option:

-DXorg.apache.geronimo.gbean.NoProxy=true

If you have time I think the only reason that inhibits us from running the server in this mode is that there are a few Portlets that depend on Proxies. It would be excellent to remove that dependency.

Reply via email to