Re: NSTimestampFormatter and WOString dateformat

2007-11-22 Thread Gaastra Dennis - WO Lists
Hi There, But how is this helpful if you have been using POSIX formats everywhere; e.g. can the SimpleDateFormat accept those; or do you still need to convert everywhere? Thanks. With Kind Regards, Dennis Chief Technology Officer, On 22-Nov-07, at 7:57 PM, Q wrote: With NSTimestampFormat

Re: [wotips] NSTimestampFormatter and WOString dateformat

2007-11-22 Thread Chuck Hill
One thing I have been thinking about is that SimpleDateFormat is documented to NOT be thread safe. NSTimestampFormatter has no such documentation. Is has been my habit for some years now to hold formatter instances at the application level (e.g. for bindings like formatter = application.

NSTimestampFormatter and WOString dateformat

2007-11-22 Thread Q
With NSTimestampFormatter being deprecated in WO 5.4, and the recommended alternative being to use SimpleDateFormat, there is the slightly annoying matter of WOString's dateformat binding taking a POSIX strftime() style date format string, and SimpleDateFormat using ISO format datetime form

Re: Unit testing logic / EOF

2007-11-22 Thread Chuck Hill
Hi Jean-François, On Nov 22, 2007, at 1:12 PM, Jean-François Veillette wrote: I'm relatively new to unit testing, junit, selenium and all that stuff. I'd suggest going straight to TestNG rather than using JUnit. I have found TestNG to be easier to control and configure than JUnit. I've

Unit testing logic / EOF

2007-11-22 Thread Jean-François Veillette
I'm relatively new to unit testing, junit, selenium and all that stuff. I've built simple test so far for logic that didn't involve database operation and didn't invole much of eof in fact. I have to modify an existing project and would like to start building test cases for it, slowly but su

Re: Nested NSArray of Strings - Generics - WO5.4

2007-11-22 Thread Q
Array types cannot be a type variable or a parameterised type. You will need to suppress the warning if you want to use the NSArray(E[]) constructor On 22/11/2007, at 4:17 PM, Gaastra Dennis - WO Lists wrote: Dear List, We like to create a nested array the following way: NSArray row

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-22 Thread Xavier Destombes
Hello Johan, Did you fix your issue? Actually I'm experiencing the exact same one:) Thanks Xavier Op 11 nov 2007, om 17:40 heeft Mike Schrag het volgende geschreven: After I made all the classes part of a package, everything was fine, apart from the fact that they were 5.4-ish, and I wan

Re: generate sql from entity modeler in Eclipse -- MySQL

2007-11-22 Thread Tarun Reddy
On Nov 20, 2007, at 7:15 PM, Mike Schrag wrote: I'm still getting the no space between the VARCHAR and NOT NULL in 3.3.4655 of WOLips. This is because the regex I'm using is wrong ... I use \w (or \W .. i don't recall) and I think it's not matching ) on varchar(xxx) Cool... look forward t

Re: VelocityEOGenerator - files in Finder but not in Eclipse project

2007-11-22 Thread Xavier Destombes
Well, sometimes I should try harder before posting;) Actually with the default filter on _Entities, I didn't see the ERXGenericRecord I was using has no import statement. I seems like the last issue lies in the many_to_many relationships. Hi, Things starts to look good with Leopard migrati

Re: Nested NSArray of Strings - Generics - WO5.4

2007-11-22 Thread Gaastra Dennis - WO Lists
Dear List, That line works; but the end result needs to be of "NSArray>" Thanks for any help. Dennis. 2007/11/22, Gaastra Dennis - WO Lists <[EMAIL PROTECTED]>: Dear List, We like to create a nested array the following way: NSArray row1 = new NSArray( new String[] { "Jim", "Pattis

Re: Deadlock - restoreSessionWithID holding on to the lock ?

2007-11-22 Thread Guido Neitzer
On 22.11.2007, at 10:09, Simon McLean wrote: Any ideas where I go from here ? It looks like you're accessing your sessions editing context outside of the request-response-loop and looking it. Maybe a LongResponsePage accessing an object from the session editingContext in performAction an

Re: Deadlock - restoreSessionWithID holding on to the lock ?

2007-11-22 Thread Chuck Hill
On Nov 22, 2007, at 9:09 AM, Simon McLean wrote: Hi All, I'm still trying to debug a deadlock. 1 week in and i still can't get a thread dump from jstack, jdb or -QUIT. It seems that when the deadlock occurs the apps is just truly locked up. Other than the app running out of memory, I can

VelocityEOGenerator - files in Finder but not in Eclipse project

2007-11-22 Thread Xavier Destombes
Hi, Things starts to look good with Leopard migration... I'm still having issue with EOGeneration. I'm using the VeloictyEOGenerator with Mike's templates. The files _entites are correctly generated. But my subclass have the following error: "The hierarchy of the type MyType is inconsistent"

Deadlock - restoreSessionWithID holding on to the lock ?

2007-11-22 Thread Simon McLean
Hi All, I'm still trying to debug a deadlock. 1 week in and i still can't get a thread dump from jstack, jdb or -QUIT. It seems that when the deadlock occurs the apps is just truly locked up. However, I'm finally starting to get some information through using the excellent ScreamingEditin

Re: WOLips Howto? have a plist file copy to build when it's changed...

2007-11-22 Thread Daniele Corti
2007/11/22, Les Vogel <[EMAIL PROTECTED]>: > > Aloha, > > In Eclipse/WOLips what can I do to convince it to copy my plist file > when it gets changed? It looks like I can "clean" the project and it will > get copied from Resources, but not automagicly when it's changed. > Thoughts? If I've un

Read PDF, Modify and Email Solution

2007-11-22 Thread Calven Eggert
Hi All, I had help from some of the great people here on the list and so I thought I'd post a solution to reading in a PDF document, changing text on a form field and then emailing it. I used iText to deal with the pdf and ERMailer to email the document. Here is my solution: public WOCo

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Daniele Corti
2007/11/22, Shravan Kumar.M <[EMAIL PROTECTED]>: > > One other information none of the components involved in this module are > stateless. This is an old application and works great with frames and users > are used to it, so, no AJAX implementation. > It has allways worked fine? It seems strange t

Re: Leopard, Eclipse/WOLips: xerces issue

2007-11-22 Thread Xavier Destombes
Well, removing "some" of the jars from /Library/Java/Extensions resolved the issue... Hello Ulrich, I tried to re-install only the provided jar, but I still got the same error when trying to install an application... Any other idea? Xavier Moin Xavier, don't put anything in Incom

Re: Leopard, Eclipse/WOLips: xerces issue

2007-11-22 Thread Xavier Destombes
Hello Ulrich, I tried to re-install only the provided jar, but I still got the same error when trying to install an application... Any other idea? Xavier Moin Xavier, don't put anything in IncompatibleLibariesAreABrandNewSoftwareDevelopmentIssue/Extensions unless your goal is to rein

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Shravan Kumar.M
Yeah! actually I had come across this Pierre Bernard site while exploring on this issue, but did not check out till the end of this article am checking this out now... thank u Daniele... Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the p

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Shravan Kumar.M
One other information none of the components involved in this module are stateless. This is an old application and works great with frames and users are used to it, so, no AJAX implementation. Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Shravan Kumar.M
Daniele, Below is our module layout: --some hidden co

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Daniele Corti
Another thing: have you look at this? http://www.bernard-web.com/pierre/webobjects/code.html 2007/11/22, Shravan Kumar.M <[EMAIL PROTECTED]>: > > Hi Daniele, > > We are using WO 5.2.4, Solaris 9, Java 1.4.2_09. > > Thanks & Rgds, > Shravan Kumar.M > > "Let us learn from the past to profit by the p

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Daniele Corti
Ok, let me see if i've understand correctly: in OTW //some hidden code You know, I'm not sure, you are not making a request also in OTW... but I don't think this is your problem, are your components SQRW and TLF stateless? BTW why are you using frameset and not Ajax cal

Re: Missing StartupItems/WebObjects After installing Leopard and WO5.4 I (way too long subject)

2007-11-22 Thread John Pollard
I apologise for that long subject, not sure how I managed that. This wiki page is very helpful, thank you: wotaskd now runs for me on boot for me using launchd. We run Max OS X Client and up to now have always used StartupItems, so I was not aware of the launchd method. Now configuring a new

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Shravan Kumar.M
Hi Daniele, We are using WO 5.2.4, Solaris 9, Java 1.4.2_09. Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the present to live better in the future." --William WordsWorth --- On 22-No

Re: Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Daniele Corti
Well, give us some more info: whitch WO using, OS version, Framework using, etc... 2007/11/22, Shravan Kumar.M <[EMAIL PROTECTED]>: > > Hello Jonathan/Group, > > We have recently come across this infamous error in our WebObjects > application. I was googling for any experts reasons & solution and

Need help on 'Backtracking too far' error, when Framesets are involved...

2007-11-22 Thread Shravan Kumar.M
Hello Jonathan/Group, We have recently come across this infamous error in our WebObjects application. I was googling for any experts reasons & solution and none of them could convince me except your post[http:// www.wodeveloper.com/omniLists/webobjects-dev/2002/August/ msg00620.html]. Hence

Re: Foreign Key Constraints and EOModeler

2007-11-22 Thread Cornelius Jaeger
hello all is this MSSQL Server only or will this work for frontbase as well? i've always had to handle fk constraints in frontbase manually on cascade delete's, across tables. FrontBase can handle deferred constraints. Maybe this is just not set on the constraint ("deferrable initially def

WoResourceManager.stringForKey, slow app and out of memory errors

2007-11-22 Thread Fabrice Pipart
Hi dear list ! Like many I guess, I am adapting my project to Leopard and WO 5.4 I have many details to solve but one is more a problem than others. My app is terribly slowed down under Leopard. But now it becomes even more obvious why. I very often get that kind of error after something like 2

Re: Nested NSArray of Strings - Generics - WO5.4

2007-11-22 Thread Daniele Corti
2007/11/22, Gaastra Dennis - WO Lists <[EMAIL PROTECTED]>: > > Dear List, > > We like to create a nested array the following way: > > NSArray row1 = new NSArray(new String[] {"Jim", > "Pattison"}); > NSArray row2 = new NSArray(new String[] {"Tony","Lo" > }); > NSArray row2 = new NSArray