Re: Problem with pages saved in a variable

2009-10-14 Thread Stephane Guyot
Andri, I don't what exactly you want do, but have a look on API Session : restorePageForConextID, savePage, savePageInPermanentCache. You can start to override this API and just log, to understand how WebObjects works with pages and contextIDs. HTH, Stephane Le

Re: Build failed on Snow Leopard

2009-10-14 Thread Amedeo Mantica
Xcode 3.1 on Snow leopard ??? you should use 3.2 Amedeo On 14/ott/2009, at 04.58, Stavros Panidis wrote: Well, Snow Leopard clean install, then xcode 314, WebObjects 543, eclipse-sdk-4.4.2 and from there WOLips 3.4.5830. Everything else works fine (at the moment) except build. Stavros

[SOLVED]Antw: Re: Problem with pages saved in a variable

2009-10-14 Thread Andri vonAllmen
Hi Stephane, The reason for not using the WO caching mechanism was, that I'm maintaining a application which has pageWithName methods ad infinitum and this method does always create a new instance of a page (please do correct me, if this is not true), which is not the behaviour I want it to

Re: Build failed on Snow Leopard

2009-10-14 Thread Eleni Manou
/20091014/7f95c8aa/attachment.html -- ___ Webobjects-dev mailing list Webobjects-dev@lists.apple.com http://lists.apple.com/mailman/listinfo/webobjects-dev End of Webobjects-dev Digest, Vol 6, Issue 916

Re: WebObjects deployment with JBoss

2009-10-14 Thread Daniele Corti
Hi, well, you right I should have posted in the list my activity, but, really, we are coming from a crazy week, and this one sound very similar to the passed. Ok, answering your question: I'm looking for a way to LEAVE jboss and install WO on Linux, because I have too many problems with

Re: Build failed on Snow Leopard

2009-10-14 Thread Amedeo Mantica
... URL: http://lists.apple.com/pipermail/webobjects-dev/attachments/20091014/7f95c8aa/attachment.html -- ___ Webobjects-dev mailing list Webobjects-dev@lists.apple.com http://lists.apple.com/mailman/listinfo/webobjects-dev End

Re: Community machine

2009-10-14 Thread Amedeo Mantica
Hi Pascal, that's should be great. I'm available for testing, remember also that if you need a machine for testing / hosting ( apple intel or ppc ) I'm available to share a machine (and internet connection) for the help of all wocommunity Regards Amedeo On 14/ott/2009, at 01.36, Pascal

WOWorkerThread

2009-10-14 Thread Kristof Cossement
Hi all, when deploying a webobjects app, we can see the min and max number of WOWorkerThread specified by variables 'WOWorkerThreadCountMin' and 'WOWorkerThreadCountMax' root 43233 0.1 1,5 2612824 498428 ?? RMi10am 160:15.03 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -

Re: [SOLVED]Antw: Re: Problem with pages saved in a variable

2009-10-14 Thread Mike Schrag
Can you explain this more in terms of the end result you're trying to achieve rather the approach you're trying at the moment? On Oct 14, 2009, at 4:03 AM, Andri vonAllmen wrote: Hi Stephane, The reason for not using the WO caching mechanism was, that I'm maintaining a application which

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread David Avendasora
Hi Frank, On Oct 13, 2009, at 10:59 PM, Mr. Frank Cobia wrote: I am trying to get a Hudson build server setup and I am having a few issues. Hopefully someone can/will help. As background I am running hudson on Mac OS X server and I am using subversion. 1) The setupWorkspace.sh script

Re: WOWorkerThread

2009-10-14 Thread Mike Schrag
You most likely have a deadlock problem ... Worker threads should never hit 256. You should be able to stack dump your threads and see that you're hanging on some locked resource -- objectstore, session, something like that. ms On Oct 14, 2009, at 8:06 AM, Kristof Cossement wrote: Hi

Antw: WOWorkerThread

2009-10-14 Thread Andri vonAllmen
Hi Kristof, there is no such mechanism as far as I know. Instead of terminating the threads that are idling, they are suspended, in order to be resumed if required. They could be self-terminating, but creating a new thread is quite resource intensive and it is better to reuse existing threads

Re: [SOLVED]Antw: Re: Problem with pages saved in a variable

2009-10-14 Thread Andri vonAllmen
The end result: A user navigates from page A to page B to page C. Page C has a hyperlink to page A (return pageWithName(A)). If clicking on this hyperlink, page A shall be shown in the same state as it has been left (e.g. the same filter options, etc.). Mike Schrag msch...@mdimension.com

Re: Antw: WOWorkerThread

2009-10-14 Thread Mike Schrag
Ah .. Maybe I misunderstood, that these are just idle listening threads rather than deadlocked threads, though I'm still very suspicious that your app ramped up to 256. Can you confirm from the stack traces if those threads are actually hung vs waiting for a connection? ms On Oct 14,

Re: [SOLVED]Antw: Re: Problem with pages saved in a variable

2009-10-14 Thread Mike Schrag
My recommendation is not to think of this in terms of preserving the page instance, and instead think of it in terms of preserving the underlying model state for the page and pass that around. Now you COULD actually pass a previous page instance into the next page instance so you come back

Re: [SOLVED]Antw: Re: Problem with pages saved in a variable

2009-10-14 Thread Henrique Gomes
I have some cases where before returning the 'next' page, I store the current page on a var on the next page, like 'previousPage' nextPage=pageWithName(blabla); nextPage.setPreviousPage(this); Then on that page I have a link or button that returns previousPage. return previousPage; Seems

Re: Antw: WOWorkerThread

2009-10-14 Thread Chuck Hill
On Oct 14, 2009, at 7:03 AM, Mike Schrag wrote: Ah .. Maybe I misunderstood, that these are just idle listening threads rather than deadlocked threads, though I'm still very suspicious that your app ramped up to 256. Can you confirm from the stack traces if those threads are actually hung

Re: WebObjects deployment with JBoss

2009-10-14 Thread Henrique Prange
Hi Daniele, Daniele Corti wrote: - Last one, I still have the problem with the ERJavaMail that I posted last week, even using the solution posted by Henrique the ERJavaMail try to send mails to your.smtpserver.com http://your.smtpserver.com, I thought it was a config of JBoss, but I

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread Mr. Frank Cobia
Sorry, I hit reply instead of reply all on a previous email. 1) The setupWorkspace.sh script seems to be looking for the .classpath file in the wrong place. I setup the subversion URL as https://svnserver/path/MyProject. So when Hudson check out from subversion the .classpath is placed in

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread Mr. Frank Cobia
3) How will my apps and frameworks find the frameworks they depend on? Is this automatically done by the setupWorkspace.sh script as long as those frameworks have already been made? Do I have to do a build and install so that they are placed in /Library/Frameworks? Mike's latest

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread David Avendasora
On Oct 14, 2009, at 12:00 PM, Mr. Frank Cobia wrote: 3) How will my apps and frameworks find the frameworks they depend on? Is this automatically done by the setupWorkspace.sh script as long as those frameworks have already been made? Do I have to do a build and install so that they are

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread Mike Schrag
I believe that the tar.gz file is now automatically generated by the latest version of the build.xml files. Can you replace the build.xml file in your framework project with one from a new Framework project? the general hudson answer, though, is that hudson does not tar anything ... all it

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread David Avendasora
Oh, and on my frameworks that I build in hudson, I have this setup for the Archive the Artifacts hudson setting: dist/*.framework/**/* This is what puts MyFramework.framework in the Last Successful Artifacts directory. Dave On Oct 14, 2009, at 1:42 PM, David Avendasora wrote: Hi Frank,

D2W and stored procedures

2009-10-14 Thread Josh Paul
What is the recommended way to use a stored procedure within a D2W Query? My inclination is to create/use a fetchSpecification that uses the sp along with ERD2WQueryPage. If I do take that approach however, will other query components on the page be affected (in other words, does the FS

Location: header to get from webobjects app in iframe to static master website and back

2009-10-14 Thread Johan Henselmans
The WebObjects application I have built is running in an iFrame in another website which is built statically. Now the question was to be able to send links to specific information about performances (it's for a theater) that is in the WebObjects application. That in itself was accomplished

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread Mr. Frank Cobia
Mike's setupWorkspace.sh simply grabs the framework's tar.gz file and extracts the framework into your project's Root/Library/ Frameworks (if I remember correctly). Obviously you could change the script to just grab the MyFramework.framework folder itself instead and copy it. There's a

Re: Location: header to get from webobjects app in iframe to static master website and back

2009-10-14 Thread Chuck Hill
Hi Johan, On Oct 14, 2009, at 12:03 PM, Johan Henselmans wrote: The WebObjects application I have built is running in an iFrame in another website which is built statically. Now the question was to be able to send links to specific information about performances (it's for a theater) that

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread David Avendasora
On Oct 14, 2009, at 4:05 PM, Mr. Frank Cobia wrote: Mike's setupWorkspace.sh simply grabs the framework's tar.gz file and extracts the framework into your project's Root/Library/ Frameworks (if I remember correctly). Obviously you could change the script to just grab the

First d2w app

2009-10-14 Thread Matt Hendley
Hello, I am doing a direct to web application for the first time. I expected that when I went to insert a new or edit an entity with a property that is a to one relationship, it would give me a popup button to select the correct relationship. But instead of a popup button it is a read only

Re: First d2w app

2009-10-14 Thread Matt Hendley
Thanks, that's what I needed. On Oct 14, 2009, at 4:40 PM, David LeBer wrote: On 2009-10-14, at 5:02 PM, Matt Hendley wrote: Hello, I am doing a direct to web application for the first time. I expected that when I went to insert a new or edit an entity with a property that is a to one

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread Ramsey Lee Gurley
On Oct 14, 2009, at 4:22 PM, David Avendasora wrote: On Oct 14, 2009, at 4:05 PM, Mr. Frank Cobia wrote: Mike's setupWorkspace.sh simply grabs the framework's tar.gz file and extracts the framework into your project's Root/Library/ Frameworks (if I remember correctly). Obviously you could

Re: Community machine

2009-10-14 Thread Ramsey Lee Gurley
On Oct 13, 2009, at 7:36 PM, Pascal Robert wrote: Hello everyone, I'm about to create a Xen virtual machine that people can use to host their own WO open source projects/tools. I was planning to install: - Apache httpd 2.2 - WO 5.4.3 with Wonder's version of JavaMonitor and wotaskd -

Re: Community machine

2009-10-14 Thread Pascal Robert
- Ramsey Lee Gurley rgur...@mac.com a écrit : On Oct 13, 2009, at 7:36 PM, Pascal Robert wrote: Hello everyone, I'm about to create a Xen virtual machine that people can use to host their own WO open source projects/tools. I was planning to install: - Apache httpd 2.2