Re: install with embedded frameworks

2011-02-28 Thread John Baldwin
I think I understand better now. The frameworks exist, and the WebServerResources are there for javaclient, so they're included. I added this to the copy section of the split target of my build.xml file exclude

IllegalStateException in _beginTransaction()

2011-02-28 Thread Paul Hoadley
Hello, I got an exception stack trace from a production app, the start of which looks like this: --- java.lang.IllegalStateException: _beginTransaction(): com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@1162212 Transactions cannot be nested at

Programmatically changing database configuration on startup

2011-02-28 Thread Paul Dunkler
Hi all, we are currently trying to make our deployment work nice. A problem we currently have is, that we have different database connection configurations in the EOModel of our Application (one for deployment and one for local testing). Now the question is if it is possible to change these

Re: Programmatically changing database configuration on startup

2011-02-28 Thread David LeBer
Yes, If you are using Wonder you can configure your db connection dictionaries in properties: http://wiki.objectstyle.org/confluence/display/WO/Project+Wonder+Properties+Files Look at the source for http://wonder.sourceforge.net/javadoc/er/extensions/ERXConfigurationManager.html if you want

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2011-02-28 Thread Jon Nolan
Hi Kieran, I have a multi-threaded app and I'm starting to run into deadlock issues on EC locking/unlocking (OSC really). After a weekend of digging and researching I think your solution is the answer. Question #1: Is this the final, dust-settled version? Question #2: Do you always use a

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2011-02-28 Thread Kieran Kelleher
Hi Jon, On Feb 28, 2011, at 10:28 AM, Jon Nolan wrote: Hi Kieran, I have a multi-threaded app and I'm starting to run into deadlock issues on EC locking/unlocking (OSC really). After a weekend of digging and researching I think your solution is the answer. Question #1: Is this the

Fwd: Programmatically changing database configuration on startup

2011-02-28 Thread Paul Dunkler
Sorry, but i forgot to forward the answer on my past question to the whole mailing list. Here is my answer again for all other people which are investigating the same issue. Thank you for the quick help. I'm ended up with using the wonder property dbConfigNameGLOBAL. By doing that i can

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2011-02-28 Thread Jon Nolan
Thanks Kieran. I've implemented your solution and will roll it through to prod within a couple of days. I have deadlocks on at least a daily basis so if those disappear it will be another validation of your work... not to mention once again earning my gratitude. Slán, Jon On 2/28/11 8:50

Re: install with embedded frameworks

2011-02-28 Thread Chuck Hill
On Feb 28, 2011, at 12:26 AM, John Baldwin wrote: I think I understand better now. The frameworks exist, and the WebServerResources are there for javaclient, so they're included. I added this to the copy section of the split target of my build.xml file

Re: install with embedded frameworks

2011-02-28 Thread John Baldwin
Great, thanks. John On Monday Feb 28 12:00 PM, at 12:00 PM, Chuck Hill wrote: On Feb 28, 2011, at 12:26 AM, John Baldwin wrote: I think I understand better now. The frameworks exist, and the WebServerResources are there for javaclient, so they're included. I added this to the

Re: IllegalStateException in _beginTransaction()

2011-02-28 Thread Paul Hoadley
Hi Chuck, On 01/03/2011, at 4:38 AM, Chuck Hill wrote: It is possible that some prior transaction had an error and left the DBC transaction open? Actually, yes, I think I can see a couple of candidates. A user can initiate a long-running background task from the page in question, which

Re: IllegalStateException in _beginTransaction()

2011-02-28 Thread Chuck Hill
Hi Paul, On Feb 28, 2011, at 8:51 PM, Paul Hoadley wrote: Hi Chuck, On 01/03/2011, at 4:38 AM, Chuck Hill wrote: It is possible that some prior transaction had an error and left the DBC transaction open? Actually, yes, I think I can see a couple of candidates. A user can initiate

Re: IllegalStateException in _beginTransaction()

2011-02-28 Thread Paul Hoadley
Hi Chuck, On 01/03/2011, at 3:32 PM, Chuck Hill wrote: On Feb 28, 2011, at 8:51 PM, Paul Hoadley wrote: On 01/03/2011, at 4:38 AM, Chuck Hill wrote: It is possible that some prior transaction had an error and left the DBC transaction open? Actually, yes, I think I can see a couple

Re: IllegalStateException in _beginTransaction()

2011-02-28 Thread Chuck Hill
Hi Paul, On Feb 28, 2011, at 9:38 PM, Paul Hoadley wrote: Hi Chuck, On 01/03/2011, at 3:32 PM, Chuck Hill wrote: On Feb 28, 2011, at 8:51 PM, Paul Hoadley wrote: On 01/03/2011, at 4:38 AM, Chuck Hill wrote: It is possible that some prior transaction had an error and left the DBC

Issue With the Eclipse

2011-02-28 Thread pavan.jayam
Dear List, I am facing a problem with eclipse, i developed an application with Eclipse3.2 and now upgraded my eclipse to 3.6 with compatible WOLips, but it is giving lot of errors, and i added all related libraries and jar files to the project. ThanksRegards, *Pavan Jayam *