Re: Maven classpath ordering

2016-03-24 Thread Fabian Peters
Hi Ramsey, I don't know about excluding a single class from a jar, but I've had problems with JavaEOAccess getting on the classpath before ERAttributeExtensions. To avoid that I've used the following: wonder.core ERExtensions

Maven classpath ordering

2016-03-24 Thread Ramsey Gurley
Hi all, I have a small problem with classpath ordering in Maven and I’m hoping someone can explain how it works. In the log of my app, I see the java.class.path. It starts with lots of dependent jars and mostly ends with In house frameworks, Wonder then WebObjects frameworks. Unfortunately,

Re: Maven not copying java resources into jar file

2016-03-24 Thread Hugi Thordarson
The snapshot version used in my pom-files is included by default by the archetypes found at: http://maven.wocommunity.org/service/local/repositories/snapshots/content/archetype-catalog.xml Which is the archetype catalog recommended for use by: https://wiki.wocommunity.org/display/WOL/Quick+Star

Re: Maven not copying java resources into jar file

2016-03-24 Thread Lachlan Deck
Glad you got it working… Just one question: Is there a reason why you’re using a snapshot version of womaven-lifecycle-plugin? That’s generally not a good idea (and could have been part of the problem). > On 22 Mar 2016, at 8:39 PM, Hugi Thordarson wrote: > > Hi Lachlan, > Here’s what my pom

Re: prevent memory drain through sessions?

2016-03-24 Thread Chuck Hill
Moving session IDs to cookies will also open you up to CSRF attacks. :-) On 2016-03-24, 10:21 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC" wrote: >Hello there, > >one of my applications drained its memory quickly; it looks like the primary >cause was cr

Re: prevent memory drain through sessions?

2016-03-24 Thread Lon Varscsak
We treat crawl bots in a special way. Basically, we have 1 session for all of them, and restore them to that session id. So we override WOApplication’s createSessionForRequest(WORequest request) We then check the user-agent against a list of known bots, and assign them to a single session. Some

prevent memory drain through sessions?

2016-03-24 Thread OC
Hello there, one of my applications drained its memory quickly; it looks like the primary cause was creation of thousands sessions, which itself was caused by lots of Google requests containing spurious (probably stored years ago) session IDs. It seems each such request creates a new session, a

loosing changed data in AjaxExpansion

2016-03-24 Thread Benjamin Steiner
Hi list, I’m working with an old application where we used an ERXCollapsibleComponentContent in a form to display some additional textfields and checkboxes if needed. Now i would like to replace them with an AjaxExpansion (for better usability), but there’s a problem now that if i change some