Re: Need help with a (non) deadlock Issue

2010-12-08 Thread Chuck Hill
On Dec 8, 2010, at 7:24 PM, Greg Lappen wrote: > Thanks for taking the time to look > > I don't have any code that is directly calling methods on the osc - does > locking editing contexts cause the underlying osc to get locked? No, not directly. Fetching and saving cause OSC locks. Those

Re: Need help with a (non) deadlock Issue

2010-12-08 Thread Greg Lappen
Hi Dov, Thanks for the input. I did find one quartz job that I'm passing EOs into. But inside the quartz job I create a new editing contenxt use editingContext.faultForGlobalID to bring those objects into the local editing context, and then I dispose that editingContext in a finally block. Is d

Re: Need help with a (non) deadlock Issue

2010-12-08 Thread Greg Lappen
Thanks for taking the time to look I don't have any code that is directly calling methods on the osc - does locking editing contexts cause the underlying osc to get locked? Just wondering what kind of cleanup code is in the hypothetical missing finally block that I need to find. Thanks again

Re: Index problems

2010-12-08 Thread Chuck Hill
On Dec 8, 2010, at 11:10 AM, Calven Eggert wrote: > On 2010-12-08, at 1:44 PM, Chuck Hill wrote: >> On Dec 8, 2010, at 10:41 AM, Calven Eggert wrote: >> >>> I still don't follow what you are saying. actually, I want to insert two >>> records at a time. I have a page that allows the user to inse

Re: Index problems

2010-12-08 Thread Chuck Hill
On Dec 8, 2010, at 10:57 AM, David Avendasora wrote: > Hi Calven, > > What Chuck is saying is that while you are _expecting_ two inserts, that > second insert is _not_ the one you think it is. These inserts are not the ones you are looking for. :-P > EOF hasn't yet gotten around to that inse

Re: Index problems

2010-12-08 Thread Calven Eggert
On 2010-12-08, at 1:44 PM, Chuck Hill wrote: > > On Dec 8, 2010, at 10:41 AM, Calven Eggert wrote: > >> I still don't follow what you are saying. actually, I want to insert two >> records at a time. I have a page that allows the user to insert records, >> but I don't actually do the insert

Re: Index problems

2010-12-08 Thread David Avendasora
Hi Calven, What Chuck is saying is that while you are _expecting_ two inserts, that second insert is _not_ the one you think it is. EOF hasn't yet gotten around to that insert yet and because it is failing on the one with a PK of 56, you don't see it. As far as the insert with the PK of 56, he

Re: Index problems

2010-12-08 Thread Chuck Hill
On Dec 8, 2010, at 10:41 AM, Calven Eggert wrote: > I still don't follow what you are saying. actually, I want to insert two > records at a time. I have a page that allows the user to insert records, but > I don't actually do the insert until the user clicks on the save button. As in ec.inse

Re: Index problems

2010-12-08 Thread Calven Eggert
I still don't follow what you are saying. actually, I want to insert two records at a time. I have a page that allows the user to insert records, but I don't actually do the insert until the user clicks on the save button. that's when I do the saving/inserting into the database. but then the

Re: datepicker on AMD problem

2010-12-08 Thread Chuck Hill
On Dec 8, 2010, at 6:48 AM, Theodore Petrosky wrote: > > I am back to trying to figure out a solution to this datepicker problem. > > http://173.54.121.129/cgi-bin/WebObjects/DatePicker It is almost certainly an offset calculation problem in the calendar.js. > is an example of the problem. I

Re: Index problems

2010-12-08 Thread Chuck Hill
On Dec 8, 2010, at 10:20 AM, Calven Eggert wrote: > the second record is valid. I am indeed wanting to insert two records. so > why would the retrieving of the next sequence number return me a number not > in sequence? It is not. I am pretty sure that it is doing what I said. There is anoth

Re: Index problems

2010-12-08 Thread Calven Eggert
the second record is valid. I am indeed wanting to insert two records. so why would the retrieving of the next sequence number return me a number not in sequence? On 2010-12-08, at 12:24 PM, Chuck Hill wrote: > > On Dec 8, 2010, at 8:28 AM, Calven Eggert wrote: > >> Recently a WO app has b

Re: Index problems

2010-12-08 Thread Chuck Hill
On Dec 8, 2010, at 8:28 AM, Calven Eggert wrote: > Recently a WO app has been getting the unique constraint error when creating > a record. This application has been running for years and so I'm surprised > at this 'just' showing up. here is the problem: you'll see in the following > lines

RE: WOBrowser selections missing

2010-12-08 Thread Perry, Steven
Meant to mention - getting "_slowTakeValuesFromRequest() Value not in list" messages on the console when debugging. Was not able to locate any info about that message. From: webobjects-dev-bounces+steven.perry=c-e@lists.apple.com [mailto:webobjects-dev-bounces+steven.perry=c-e@lists.appl

Re: Need help with a (non) deadlock Issue

2010-12-08 Thread Dov Rosenberg
My guess is that you passed some EOs into your quartz scheduler that is running in a separate thread. That is a good way to shoot yourself in the foot. Just pass in identifiers to your thread and refetch them in the scope of the thread and clean up after your self inside the thread. Dov Rosenbe

WOBrowser selections missing

2010-12-08 Thread Perry, Steven
Having some WOBrowser weirdness, after upgrading from OS X 10.5 to 10.6 (Snow Leopard) and from WebObjects 5.3.x to 5.4.1. This issue did not happen prior to the upgrade. Problem is, the selected items from our WOBrowser are not being passed correctly to our Java code. So I tried running this

Re: Need help with a (non) deadlock Issue

2010-12-08 Thread Mike Schrag
you can't spot the deadlock here ... it means a previous thread left the osc locked and went away. because there's no thread BEYOND that lock, it means the thread is gone now and you'll have to try and track down the one the had a problem. I would look for possibly exceptions that were thrown in

Index problems

2010-12-08 Thread Calven Eggert
Recently a WO app has been getting the unique constraint error when creating a record. This application has been running for years and so I'm surprised at this 'just' showing up. here is the problem: you'll see in the following lines that an index is retrieved for jobs_notes_seq twice because

Need help with a (non) deadlock Issue

2010-12-08 Thread Greg Lappen
Hi everyone, was wondering if anyone was up for a game of "spot the deadlock" today. I have a thread dump which I have removed duplicates from and cleaned up a bit. It seems that a lot of threads are BLOCKED waiting on the EOObjectStoreCoordinator.lock() call Deadlock Detection: No deadlocks fo

datepicker on AMD problem

2010-12-08 Thread Theodore Petrosky
I am back to trying to figure out a solution to this datepicker problem. http://173.54.121.129/cgi-bin/WebObjects/DatePicker is an example of the problem. I may try next to use D2W content on the AMD to see if the issue exists there also. still hopeful, Ted __

Re: Running through Apache, and testing in VMWare/Windows

2010-12-08 Thread Andrew R. Kinnie
Yeah, I just changed that (It is called Bridge vs. NAT which is the default). It now can see apache, but can't see the wo app. (i.e. the ip address gives me an "It Works!" page, but the full url including :/cgi-bin/WebObjects/MyApp.woa gets me "Internet Explorer cannot connect to this web page

Re: Running through Apache, and testing in VMWare/Windows

2010-12-08 Thread Pascal Robert
They also have a paid version. But personally, I trust more VMWare. Virtualization is their core business and so far Fusion have been rock solid for me (using it since mid 2008). > hold on a second - on the bottom of that web page there is an oracle badge. > let me guess: it's free to download

Re: Running through Apache, and testing in VMWare/Windows

2010-12-08 Thread Pascal Robert
Yep, I think if you use a NAT network setup you can't connect from Windows to OS X by IP. I always setup my VMs to use a bridge (don't know the exact term in English, my copy of Fusion is running in French). > What is the networking setup of your VMWare virtual machine? Maybe a screen > capture

Re: Running through Apache, and testing in VMWare/Windows

2010-12-08 Thread Simon
hold on a second - on the bottom of that web page there is an oracle badge. let me guess: it's free to download and free to install, but drains a $1000 per second from your bank account when you're not looking ? :-) simon On 8 December 2010 00:25, Chuck Hill wrote: > Mostly unrelated, but I ran

Re: Running through Apache, and testing in VMWare/Windows

2010-12-08 Thread Kieran Kelleher
I test Windows on Parallels. One way is to install "Bonjour for Windows" on your Windows VM and then use http://andrewsmac.local/ (or whatever your bonjour name is). Another way is to just use the Mac's IP address in the URL. On Dec 7, 2010, at 4:52 PM, Andrew R. Kinnie wrote: > Hi all, > > I