Large number of sessions creating in WO appliations

2009-01-22 Thread Santhosh
Hello group, We are facing some session related problems in our WebObjects application. After users had logged out from our WebObjects aplication, WOStats page is still showing that there are some active sessions are still there. We have kept the Session log out time as 1 hour. Even though so

Re: Large number of sessions creating in WO appliations

2009-01-22 Thread Mark Ritchie
On 23-Jan-09, at 12:24 AM, NAGA MALLESWARA RAO MADDALI wrote: Please help me out why active sessions are still showing in the WOStats page even though users had logged out from the application. I've always looked at this problem from the opposite direction. Look at what is creating sessions

Large number of sessions creating in WO appliations

2009-01-22 Thread Mallesh
Hello group, We are facing some session related problems in our WebObjects application. After users had logged out from our WebObjects aplication, WOStats page is still showing that there are some active sessions are still there. We have kept the Session log out time as 1 hour. Even though so

Large number of sessions creating in WO appliations

2009-01-22 Thread Mallesh
Hello group, We are facing some session related problems in our WebObjects application. After users had logged out from our WebObjects aplication, WOStats page is still showing that there are some active sessions are still there. We have kept the Session log out time as 1 hour. Even though so

Large number of sessions creating in WO appliations

2009-01-22 Thread Mallesh
Hello group, We are facing some session related problems in our WebObjects application. After users had logged out from our WebObjects aplication, WOStats page is still showing that there are some active sessions are still there. We have kept the Session log out time as 1 hour. Even though so

Large number of sessions creating in WO appliations

2009-01-22 Thread NAGA MALLESWARA RAO MADDALI
Hello group, We are facing some session related problems in our WebObjects application. After users had logged out from our WebObjects aplication, WOStats page is still showing that there are some active sessions are still there. We have kept the Session log out time as 1 hour. Even though so

Large number of sessions creating in WO appliations

2009-01-22 Thread NAGA MALLESWARA RAO MADDALI
Hello group, We are facing some session related problems in our WebObjects application. After users had logged out from our WebObjects aplication, WOStats page is still showing that there are some active sessions are still there. We have kept the Session log out time as 1 hour. Even though

Re: webobjects installer crashing

2009-01-22 Thread John Ours
I've seen this once before and IIRC it's not specific to WO. I believe it was from an old (bad?) install of GraphKit. See: http://discussions.apple.com/thread.jspa?threadID=1206377 and http://forums.macosxhints.com/showthread.php?p=464643 On Jan 22, 2009, at 7:30 PM, Fred Wells wrote:

Re: webobjects installer crashing

2009-01-22 Thread Fred Wells
Process: Installer [2148]Path:    /System/Library/CoreServices/Installer.app/Contents/MacOS/InstallerIdentifier:  com.apple.installerVersion: ??? (???)Build Info:  Installer-281~1Code Type:   X86 (Native)Parent Process:  launchd [86]Date/Time:   2009-01-2

Re: Cannot Debug Application

2009-01-22 Thread Mike Schrag
at org .objectstyle .wolips .variables .VariablesPlugin .fixMissingSeparatorAfterDevice(VariablesPlugin.java:171) at org .objectstyle .wolips .variables.VariablesPlugin.getSystemRoot(VariablesPlugin.java:185) It might be a corrupt launch configuration. If you create a new one, does

Re: Cannot Debug Application

2009-01-22 Thread Chuck Hill
On Jan 22, 2009, at 3:53 PM, Johnny Miller wrote: I recently had some voodoo happen to my system when my workstation became frozen while syncing files to my OD server after it updated to 10.5.6. Now, when attempting to debug an app I get a "Null Pointer Exception". This happens for all

Cannot Debug Application

2009-01-22 Thread Johnny Miller
I recently had some voodoo happen to my system when my workstation became frozen while syncing files to my OD server after it updated to 10.5.6. Now, when attempting to debug an app I get a "Null Pointer Exception". This happens for all my projects. Here is the stack trace from the PDE e

Re: W3C validation and ERXBatchNavigationBar

2009-01-22 Thread Mike Schrag
Sounds like a good idea. One question though: have you considered contributing back to Wonder the components you've overridden from it? In Ravi's defense, they did completely offer all of their stuff back to Wonder, actually ... It was some work to integrate into Wonder because their code was

Re: W3C validation and ERXBatchNavigationBar

2009-01-22 Thread Lachlan Deck
On 22/01/2009, at 10:08 PM, Ravi Mendis wrote: If you're looking for "table-less" WO components (that happen to validate to XHTML strict), you will find a set (including ERXBatchNavigatorBar) included in the ERDivaLook framework: http://www.svgobjects2.com/downloads/ERDivaLook_beta_II.zip

Re: plist to xml conversion of lists

2009-01-22 Thread Atli Páll Hafsteinsson
If screaming NO is not an option you could checkout the XML-RPC xml format and even find an opensource library that serializes/desiralizes between NSArray/NSDictionary and borrow that part of the code. Atli On 1/22/09 10:11 PM, "Chuck Hill" wrote: > > On Jan 22, 2009, at 2:05 PM, Joe Little

Re: plist to xml conversion of lists

2009-01-22 Thread Chuck Hill
On Jan 22, 2009, at 2:05 PM, Joe Little wrote: Previously, I had Property entries like: degree.list = ("PHD", "MS") My newer projects have XML-style plist files. I understand the basic key/string layout for single assignments, but I can't figure out what is the right way to do multiple assign

Re: plist to xml conversion of lists

2009-01-22 Thread Alan Ward
I think you want something like degree.list PHD MS On Jan 22, 2009, at 3:05 PM, Joe Little wrote: Previously, I had Property entries like: degree.list = ("PHD", "MS") My newer projects have XML-style plist files. I understand the basic key/string layout for single assignments, but I c

Re: plist to xml conversion of lists

2009-01-22 Thread Joe Little
Ok. I found this example: Author William Shakespeare Lines It is a tale told by an idiot, Full of sound and fury, signifying nothing. Birthdate 1564 Would the string's just need to be quoted or is that redundant? On Thu, Jan 22, 2009 at 2:05 P

plist to xml conversion of lists

2009-01-22 Thread Joe Little
Previously, I had Property entries like: degree.list = ("PHD", "MS") My newer projects have XML-style plist files. I understand the basic key/string layout for single assignments, but I can't figure out what is the right way to do multiple assignments. I presume that: degree.list ("PHD", "MS")

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Mike Schrag
(with the expection of doing things like limits also ... "expection" => "exception" :) ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Paul Hoadley
On 23/01/2009, at 2:16 AM, Mike Schrag wrote: I guess I'm just asking for a sanity check. This can't be an uncommon use case---what do people do next? Use EOQualifier.filteredArrayWithQualifier() on the result? Am I overlooking something basic? You use ERXFetchSpecification and setIncl

Re: last chance for stable

2009-01-22 Thread Mike Schrag
"java.lang.IllegalStateException: adaptorValueType: unable to load class named 'java.lang.BigDecimal' for attribute balance on entity Account" So it looks like you're using the "build before I fixed that" build ... BigDecimal is in java.math, not java.lang. Alan Zebchuck caught that a little

Re: last chance for stable

2009-01-22 Thread Henrique Prange
Hi Mike, It seems that WOL-936 broke my models. :( I get the following message when opening most of my models: "Removed redundant 'classname' attribute." I confirm the message and save the model. After that, I get the following error when running the application: "java.lang.IllegalStateExcepti

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Chuck Hill
On Jan 22, 2009, at 7:52 AM, Ken Anderson wrote: Nice... one day I'm going to have to get into this Wonder stuff... :) Ken, Ken, Ken... :-P You can reap a lot of benefit from Wonder without eating all of the pudding. You can pull off the rubbery crust and just dig out the raisins if y

Re: last chance for stable

2009-01-22 Thread Stamenkovic Florijan
WOL-950, just created. F On Jan 21, 2009, at 13:36, Mike Schrag wrote: If there are any bugs you consider total showstoppers for the new stable release of WOL, please comment on them in the WOLips Jira. Clock is ticking :) ms ___ Do not post

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Ken Anderson
Nice... one day I'm going to have to get into this Wonder stuff... :) On Jan 22, 2009, at 10:46 AM, Mike Schrag wrote: I guess I'm just asking for a sanity check. This can't be an uncommon use case---what do people do next? Use EOQualifier.filteredArrayWithQualifier() on the result? Am I

Re: [OT] ActiveRecord.js

2009-01-22 Thread Mike Schrag
Well, while it's cool, I suspect you'll get a massive security problem, when you provide direct access to a real server side database using this. I think the bigger target for this is, for instance, a HTML5 persistence engine -- doing persistence in the client apropos of nothing ...

Re: how to setval from migrations????

2009-01-22 Thread Mike Schrag
ERXJDBCUtilities.executeUpdate(database.adaptorChannel(), "SELECT setval('t_plum_job_seq', 1000)"); You're doing a select but using the update API ... probably using executeQuery will make this work. ms ___ Do not post admin requests to the list. Th

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Mike Schrag
... but there isn't :) unless you use Wonder :) ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Mike Schrag
I guess I'm just asking for a sanity check. This can't be an uncommon use case---what do people do next? Use EOQualifier.filteredArrayWithQualifier() on the result? Am I overlooking something basic? You use ERXFetchSpecification and setIncludeEditingContextChanges(true). It will automag

Re: EOF Oracle function call

2009-01-22 Thread Tom Pelaia
Hi, Thanks to all who replied. I figured out how to configure the EO Attribute to make an Oracle function call (like a stored procedure with a return value). The key document that explains how to do it is: http://support.apple.com/kb/TA46172?viewlocale=en_US Basically, you need to treat an

Re: [OT] ActiveRecord.js

2009-01-22 Thread Mike Schrag
Well, while it's cool, I suspect you'll get a massive security problem, when you provide direct access to a real server side database using this. I think the bigger target for this is, for instance, a HTML5 persistence engine -- doing persistence in the client ms _

how to setval from migrations????

2009-01-22 Thread Theodore Petrosky
I have a migration that is working perfectly. But I need to set the starting value of a sequence... how can I do this? I tried to add (before I inserted any rows): ERXJDBCUtilities.executeUpdate(database.adaptorChannel(), "SELECT setval('t_plum_job_seq', 1000)"); which works... the sequence is

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Ken Anderson
I hear you - it would be nice if there were a merged view of what's in- memory vs what's in the database... but there isn't :) On Jan 22, 2009, at 6:47 AM, Paul Hoadley wrote: Hi Ken, On 22/01/2009, at 10:01 PM, Ken Anderson wrote: Deleting an EO is really just like setting a flag until you

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Paul Hoadley
Hi Ken, On 22/01/2009, at 10:01 PM, Ken Anderson wrote: Deleting an EO is really just like setting a flag until you save, so this behavior is really no surprise. Yeah, it certainly matches exactly with the description in the API docs, so I was only surprised because I hadn't read them clos

Re: Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Ken Anderson
Paul, Deleting an EO is really just like setting a flag until you save, so this behavior is really no surprise. I've honestly never run into exactly your use case, but I have run into other situations where it's important to find EOs that have not yet been saved. A typical situation for

Re: W3C validation and ERXBatchNavigationBar

2009-01-22 Thread Ravi Mendis
Hi, If you're looking for "table-less" WO components (that happen to validate to XHTML strict), you will find a set (including ERXBatchNavigatorBar) included in the ERDivaLook framework: http://www.svgobjects2.com/downloads/ERDivaLook_beta_II.zip (I might consider factoring these components

Re: Oracle Function call

2009-01-22 Thread Logi Helguson
I havn’t called Oracle DB from my model but I’ve done it with java.sql.CallableStatement by passing in all the parameters( including object to get the output parameters ). Something like this should get you on track: /* Dummy code for Oracle function call starting */ Connection conn = DriverManag

Re: [OT] ActiveRecord.js

2009-01-22 Thread Timo Hoepfner
Well, while it's cool, I suspect you'll get a massive security problem, when you provide direct access to a real server side database using this. Sample: 1. Checkout the current source git clone git://github.com/aptana/activejs.git 2. Open activejs/samples/synchronization/index.html with Fir

[OT] ActiveRecord.js

2009-01-22 Thread Pascal Robert
Looks cool : http://www.activerecordjs.org/ "ActiveRecord.js makes it easy to begin working with databases in JavaScript on the client or server, with Google Gears & Chrome,Aptana Jaxer, Adobe AIR or any platform supporting the W3C HTML5 SQL Specification (currently Webkit and iPho

Behaviour of objectsWithFetchSpecification()

2009-01-22 Thread Paul Hoadley
Hello, I've run into some EOF behaviour that I certainly didn't expect. 1. Say I have an entity Foo with an optional to-one relationship to Bar. There is no inverse relationship. 2. I have a particular Foo in an EC. I've deleted it with someFoo.editingContext().deleteObject(someFoo), and