Re: java.lang.outofmemory

2006-03-07 Thread Mike Schrag
This topic came up in January too -- Hopefully nobody minds me quoting myself :) This is a description of the current behavior in 5.3 that one might be able to gather if one were to, say, decompile and review the entire process -- not that i would ever do this or condone it, of course -- b

Re: WWDC 2006 -- August 7-11, San Francisco

2006-03-07 Thread Joe Little
My bet (This is purely a guess with no inside info other than what's announced today): Conroe based machines will likely be deliverable by August/September, ie, "Mac Pro" or whatever they name it. That would be a good reason to delay WWDC. This will include Intel EM64T and the newer single-executi

Re: Expanding Import

2006-03-07 Thread Jerry W. Walker
Hi, Scott, On Mar 7, 2006, at 8:16 PM, Scott Winn wrote: Thanks much to everyone for the help. Let me know if anyone hears a good rule of thumb for what does and does not need a relationship. I think the primary rule of thumb is never add bi-directional relationships to reference data, e.g

Re: Hiding session id in the URL

2006-03-07 Thread Gavin Eadie
Title: Re: Hiding session id in the URL At 12:49 PM -0800 3/7/06, Sacha Michel Mallais wrote: You can tell WO to use cookies to store the session IDs.  Check out WOSession.setStoresIDsInCookies(). ... and don't forget to also turn OFF the URL sessionID: setStoresIDsInURLs(false);  

Re: WODisplayGroup multiple sorting

2006-03-07 Thread Art Isbell
On Mar 7, 2006, at 3:38 PM, Jim Wong wrote:i know that inside the .woo file there's the below:            sortOrdering = (                {                    class = EOSortOrdering;                     key = oppActStageID;                     selectorName = "compareAscending:";                 } 

How to removing instance number from target namespace

2006-03-07 Thread Corin Lawson
Hi List, How does one (or is it possible) to change the target namespace of the definitions (root) element of a wsdl doc of a web service registered by WO 5.2.4? I should like to remove the instance number, at least. To be more specific I have this in the wsdl doc that is located at htt

Re: WODisplayGroup multiple sorting

2006-03-07 Thread Jim Wong
i know that inside the .woo file there's the below:            sortOrdering = (                {                    class = EOSortOrdering;                     key = oppActStageID;                     selectorName = "compareAscending:";                 }            ); segment. but how to change the

Re: java.lang.outofmemory

2006-03-07 Thread Chuck Hill
On Mar 7, 2006, at 4:49 PM, Denis Stanton wrote: On 8/03/2006, at 12:54 PM, Art Isbell wrote: Your statement seems to contradict On 8/03/2006, at 1:08 PM, Ken Anderson wrote: I used to think that too ... Art proved me wrong though... Hi guys This has been an interesting discussion as

Re: Expanding Import

2006-03-07 Thread Scott Winn
On Mar 7, 2006, at 4:23 PM, Chuck Hill wrote: On Mar 7, 2006, at 4:04 PM, Scott Winn wrote: On Mar 7, 2006, at 3:00 PM, Chuck Hill wrote: On Mar 7, 2006, at 2:46 PM, Scott Winn wrote: Thanks for the response Chuck. The solution, is to not include this relationship in your model or to not

Re: java.lang.outofmemory

2006-03-07 Thread Art Isbell
On Mar 7, 2006, at 2:49 PM, Denis Stanton wrote: This has been an interesting discussion as it touches on area that has caused me some grief - outOfMemory problems are hard to solve, partly because they tend to fail to record all the usual evidence. Possibly one of the reasons this type of

Re: java.lang.outofmemory

2006-03-07 Thread Denis Stanton
On 8/03/2006, at 12:54 PM, Art Isbell wrote:Your statement seems to contradict On 8/03/2006, at 1:08 PM, Ken Anderson wrote:I used to think that too ...  Art proved me wrong though...Hi guysThis has been an interesting discussion as it touches on area that has caused me some grief - outOfMemory pro

Re: Expanding Import

2006-03-07 Thread Chuck Hill
On Mar 7, 2006, at 4:04 PM, Scott Winn wrote: On Mar 7, 2006, at 3:00 PM, Chuck Hill wrote: On Mar 7, 2006, at 2:46 PM, Scott Winn wrote: Thanks for the response Chuck. The solution, is to not include this relationship in your model or to not make it a class property. In most cases like th

Re: Hiding session id in the URL

2006-03-07 Thread Arturo Pérez
You could try generating your own session ID. The trick, then, is to make one based on some aspect of the client. This is one of the few things that J2EE appservers get right :-) -arturo On Mar 7, 2006, at 4:05 PM, Gino Pacitti wrote: Wouldnt a https session handle this though? Gino On

Re: java.lang.outofmemory

2006-03-07 Thread Ken Anderson
Paul, I used to think that too - anyone from the old days do :) Art proved me wrong though... Ken On Mar 7, 2006, at 6:39 PM, Paul Lynch wrote: On 7 Mar 2006, at 23:11, Art Isbell wrote: On Mar 7, 2006, at 1:00 PM, Paul Lynch wrote: saveChanges() doesn't release snapshots, unfortunate

Re: Expanding Import

2006-03-07 Thread Scott Winn
On Mar 7, 2006, at 3:00 PM, Chuck Hill wrote: On Mar 7, 2006, at 2:46 PM, Scott Winn wrote: Thanks for the response Chuck. The solution, is to not include this relationship in your model or to not make it a class property. In most cases like this, you really don't need this relations

Re: java.lang.outofmemory

2006-03-07 Thread Art Isbell
On Mar 7, 2006, at 1:39 PM, Paul Lynch wrote: Snapshots are stored at a lower level than editing context, so they won't be released. Your statement seems to contradict : "The memory allocated for the database row

Re: java.lang.outofmemory

2006-03-07 Thread Paul Lynch
On 7 Mar 2006, at 23:11, Art Isbell wrote: On Mar 7, 2006, at 1:00 PM, Paul Lynch wrote: saveChanges() doesn't release snapshots, unfortunately, which I would surmise is the problem. But if snapshot reference counting is working as advertised, dereferencing the only editing context cont

Re: java.lang.outofmemory

2006-03-07 Thread Art Isbell
On Mar 7, 2006, at 1:00 PM, Paul Lynch wrote: On 7 Mar 2006, at 22:46, Jacky Gagnon wrote: First, its not a good idea to use invalidateAllObjects() to free memory; call saveChanges more frequently or just fetch what you need. saveChanges() doesn't release snapshots, unfortunately, which

RE: java.lang.outofmemory

2006-03-07 Thread Randy Wigginton
At the risk of appearing foolish to a lot of people… where do I adjust the memory setting in XCode?  I’ve gone to the target, and pasted the command line changes into the “pure java” field.  But my startup parameters don’t change.  Where does it really belong?   From: [EMAIL PROTE

Re: Expanding Import

2006-03-07 Thread Scott Winn
And the big question. . . 3) How do I check the database for an Entity and relate an object to it when there are potentially a million other objects related to it? I think, in a round about way, you have identified the problem. I will hazard a guess that in your model you have a Certifica

Re: Expanding Import

2006-03-07 Thread Chuck Hill
On Mar 7, 2006, at 2:46 PM, Scott Winn wrote: Thanks for the response Chuck. The solution, is to not include this relationship in your model or to not make it a class property. In most cases like this, you really don't need this relationship or seldom need it. In this case you can mimi

Re: java.lang.outofmemory

2006-03-07 Thread Paul Lynch
On 7 Mar 2006, at 22:46, Jacky Gagnon wrote: First, its not a good idea to use invalidateAllObjects() to free memory; call saveChanges more frequently or just fetch what you need. saveChanges() doesn't release snapshots, unfortunately, which I would surmise is the problem. If you just w

Re: java.lang.outofmemory

2006-03-07 Thread Robert Walker
There are a number of things that can be done to resolve this.1. Allow your application to use more memory by increasing the heap size.     [This is good if you are running your app with too little heap space]2. Make your application use less memory by qualifying your fetches more precisely.     [M

Re: java.lang.outofmemory

2006-03-07 Thread Jacky Gagnon
Hi Randy,First, its not a good idea to use invalidateAllObjects() to free memory;  call saveChanges more frequently or just fetch what you need.  System.gc() is good for debugging but  will not help you to solve your problem.If you really  need more memory you can adjust the maximum memory size of

Re: Expanding Import

2006-03-07 Thread Scott Winn
Thanks for the response Chuck. The solution, is to not include this relationship in your model or to not make it a class property. In most cases like this, you really don't need this relationship or seldom need it. In this case you can mimic it by fetching the related objects when needed.

Re: Expanding Import

2006-03-07 Thread Anjo Krank
Am 07.03.2006 um 23:20 schrieb Chuck Hill: And the big question. . . 3) How do I check the database for an Entity and relate an object to it when there are potentially a million other objects related to it? I think, in a round about way, you have identified the problem. I will hazard

Re: java.lang.outofmemory

2006-03-07 Thread Tanmoy Roy
You can increase the memory in the Monitor setup as well as in the Application where you can add some more memory in the Java Heap which will help in the memory management. On 3/7/06, Randy Wigginton <[EMAIL PROTECTED]> wrote: > > > > Hello, > > My program loads a great deal of data from the datab

Re: Expanding Import

2006-03-07 Thread Chuck Hill
Hi Scott, On Mar 7, 2006, at 1:49 PM, Scott Winn wrote: Hello List, I am working on a fixed-width record importer for my database. I have to interface with a legacy app, so there is no getting out of it. My WO importer app has significant performance issues. The CPU is very busy, memo

java.lang.outofmemory

2006-03-07 Thread Randy Wigginton
Hello, My program loads a great deal of data from the database.  I process it, then attempt to “free” the memory.  My code looks vaguely like this: For (all objects) { EOEditingContext tmp = new EOEditingContext();   tmp.invalidateAllObjects(); tmp = null; System.gc(); }   Even

Expanding Import

2006-03-07 Thread Scott Winn
Hello List, I am working on a fixed-width record importer for my database. I have to interface with a legacy app, so there is no getting out of it. My WO importer app has significant performance issues. The CPU is very busy, memory usage is high, and the database has hardly any load on

Re: Hiding session id in the URL

2006-03-07 Thread Gino Pacitti
Wouldnt a https session handle this though? Gino On 7 Mar 2006, at 21:02, Chuck Hill wrote: And most every browser has a way to display them. On Mar 7, 2006, at 12:57 PM, Randy Wigginton wrote: Not true. Cookies for secure sites, as long as they are session only, are supposed to be stored

Re: Hiding session id in the URL

2006-03-07 Thread Chuck Hill
And most every browser has a way to display them. On Mar 7, 2006, at 12:57 PM, Randy Wigginton wrote: Not true. Cookies for secure sites, as long as they are session only, are supposed to be stored in memory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

RE: Hiding session id in the URL

2006-03-07 Thread Randy Wigginton
Not true. Cookies for secure sites, as long as they are session only, are supposed to be stored in memory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Hill Sent: Tuesday, March 07, 2006 3:55 PM To: webobjects-dev Subject: Re: Hiding session id i

Re: Hiding session id in the URL

2006-03-07 Thread Chuck Hill
Of course, if they can copy the URL, they can also look at the cookies and copy them. You can add a separate cookie of your own and cross validate them, but that only makes it harder. Or, if it is available, you can keep the user's IP in their session and check that the IP of each new req

Re: Hiding session id in the URL

2006-03-07 Thread Sacha Michel Mallais
On Mar 7, 2006, at 12:35 PM, Tanmoy Roy wrote: I have an application which does quite a lot of form submissions. My application is a secured application and if the Session id is exposed then any user can copy the URL and paste the same in his/her browser then he/she will be able to view the same

Hiding session id in the URL

2006-03-07 Thread Tanmoy Roy
Hi All, I have an application which does quite a lot of form submissions. My application is a secured application and if the Session id is exposed then any user can copy the URL and paste the same in his/her browser then he/she will be able to view the same page as that of the other user. This has

Re: CustomQueryExpressionHintKey and rawRowKeyPaths?

2006-03-07 Thread Chuck Hill
On Mar 7, 2006, at 12:25 PM, Art Isbell wrote: On Mar 7, 2006, at 9:02 AM, Marcos Trejo Munguia wrote: I am trying to make a fetch using custom SQL, I tried with CustomQueryExpressionHintKey, but I also needed to return raw rows instead of complete Enterprise Objects, the thing is that

Re: CustomQueryExpressionHintKey and rawRowKeyPaths?

2006-03-07 Thread Art Isbell
On Mar 7, 2006, at 9:02 AM, Marcos Trejo Munguia wrote:   I am trying to make a fetch using custom SQL, I tried with CustomQueryExpressionHintKey, but I also needed to return raw rows instead of complete Enterprise Objects, the thing is that it looks like if I use raw rows my custom SQL is ignored.

[Meet] Toronto Area Cocoa & WebObjects Developer Group

2006-03-07 Thread Karl Moskowski
Hi all, The inaugural meeting of tacow (pronounced "taco"), the Toronto Area Cocoa & WebObjects Developer Group, will be held the evening of Tuesday, April 11, at the Apple Canada Market Center in Markham. Presentations are being finalized, but first part of the meeting will likely be int

Re: WWDC 2006 -- August 7-11, San Francisco

2006-03-07 Thread Kieran Kelleher
I am guessing that Leopard release is dictating the later than usual date .. plus Leopard needs to be timed correctly to take the wind out of MS Vista release! On Mar 7, 2006, at 1:46 PM, Ken Anderson wrote: August??? Holy cow! On Mar 7, 2006, at 1:44 PM, Cliff Tuel wrote: The dates

Re: How to focus on a text field on loading?

2006-03-07 Thread Paul Lynch
On 7 Mar 2006, at 02:09, Jim Wong wrote: How do i have the cursor focus on a particular text field upon loading the page? The javascript technique is how to do it (already well explained). There is a special case, which is when you want focus to go to the first field on a page (usually

Re: WODisplayGroup multiple sorting

2006-03-07 Thread Paul Lynch
On 7 Mar 2006, at 18:22, Jim Wong wrote: How to do multiple sortings with WODisplayGroup? I want to sort according to field1, field 3 then field 2 all in ascending order. Edit the woo file. It's obvious what to do once you get an idea of the format. Paul

CustomQueryExpressionHintKey and rawRowKeyPaths?

2006-03-07 Thread Marcos Trejo Munguia
Hi list: I am trying to make a fetch using custom SQL, I tried with CustomQueryExpressionHintKey, but I also needed to return raw rows instead of complete Enterprise Objects, the thing is that it looks like if I use raw rows my custom SQL is ignored. Here is the code: EOFetchSpecifica

Re: WWDC 2006 -- August 7-11, San Francisco

2006-03-07 Thread Ken Anderson
August??? Holy cow! On Mar 7, 2006, at 1:44 PM, Cliff Tuel wrote: The dates for WWDC (our annual developers conference) have been announced. See you there! P.S. Session descriptions will be posted as the event draws nearer. -- Cliff Tuel . http://apple

WWDC 2006 -- August 7-11, San Francisco

2006-03-07 Thread Cliff Tuel
The dates for WWDC (our annual developers conference) have been announced. See you there! P.S. Session descriptions will be posted as the event draws nearer. -- Cliff Tuel . http://apple.com/services/technicalsupport __

Re: appserver -> root after 10.3.9 upgrade

2006-03-07 Thread Mike Schrag
I thought setuid on a script didn't actually work. I have a hazy memory from my perl days that it is just ignored since you're actually executing /bin/bash and passing it the script vs executing the script itself. ms On Mar 7, 2006, at 1:33 PM, Sacha Michel Mallais wrote: [huge top-post

Fwd: How to focus on a text field on loading?

2006-03-07 Thread Jerry W. Walker
Hmmm, I guess I have to cut this down and try again to get it accepted on the WO mailing list. Begin forwarded message: From: "Jerry W. Walker" <[EMAIL PROTECTED]> Date: March 7, 2006 12:58:33 PM EST To: Mark Morris <[EMAIL PROTECTED]> Cc: Jim Wong <[EMAIL PROTECTED]>, WebObjects Dev Apple

Re: appserver -> root after 10.3.9 upgrade

2006-03-07 Thread Sacha Michel Mallais
[huge top-post snipped] On Mar 6, 2006, at 7:34 PM, Kieran Kelleher wrote: Since I upgraded our WO app server from 10.3.7 to 10.3.9 lsof shows that wotaskd, and consequently all the WO apps, are being launched as root instead of appserver. Checking current permissions on wotasd.woa conten

WODisplayGroup multiple sorting

2006-03-07 Thread Jim Wong
How to do multiple sortings with WODisplayGroup? I want to sort according to field1, field 3 then field 2 all in ascending order.  Warmest Regards,Jim Wong[EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev

Re: URGENT, calculating MD5

2006-03-07 Thread Mark Morris
Cool, this has the same effect as what I posted earlier, but it seems as though sun.misc.BASE64Encoder (which I was using) has long been deprecated, so I like Mike's solution. Regards, Mark On Mar 7, 2006, at 11:31 AM, Mike Schrag wrote: That's actually going to give you really funky result

jFreeChart

2006-03-07 Thread Jim Wong
I'm trying to use this free chart but is confused of how to use it. anyone can give a crash course? Warmest Regards,Jim Wong[EMAIL PROTECTED] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-d

Re: URGENT, calculating MD5

2006-03-07 Thread Mike Schrag
That's actually going to give you really funky results, because some of those bytes won't necessarily map to known characters in your current encoding. Here's the method I use: public static String toHexString(byte[] _digest) { StringBuffer hexString = new StringBuffer(); for (int

Re: URGENT, calculating MD5

2006-03-07 Thread Timo Hoepfner
Hi, AFAIK java's arrays don't override java.lang.Object's toString() method, so you get a textual representation of the internal object ID. To get a String from an array of bytes you should use the public String(byte[] bytes) constructor. So try String calculatedMd5 = new

Re: How to focus on a text field on loading?

2006-03-07 Thread Mark Morris
There's a typo here.  Although I'd imagine everyone knows what Jerry meant, just in case, the name you wish to give the element should be entered in double quotes, as in "FirstNameField", not parentheses.Regards,MarkOn Mar 7, 2006, at 11:03 AM, Jerry W. Walker wrote:Hi, Jim,You can add bindings (HT

Re: How to focus on a text field on loading?

2006-03-07 Thread Jerry W. Walker
Hi, Jim,You can add bindings (HTML tag attributes) to any tag on your page. To do so, open your page in WOBuilder, be sure you're in Layout view (selected from the three tabs in the upper left corner of the page) and double click on the WOForm or WOTextField. This opens the Inspector panel for that

JSON / AJAX Requesthandler on WOCode

2006-03-07 Thread Jean-François Veillette
Now available on wocode : http://WOCode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem? itemId=450 - jfv __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___

Graphs, Charts, Filemanager, calendar howto?

2006-03-07 Thread Jim Wong
Hi Guys,I need to have graphic representation of data and a filemanager type of thing for my WO project. any idea how that can be done? also, i need to create a calendar which is something like that of .mac but a lot simpler. just need to be able to insert reminders in the calendar. how can i do th

Solution for MS IE 6.0 https download bug

2006-03-07 Thread Kieran Kelleher
FYI, MS IE 6.0 will have trouble on some (many?) PC's when returning a https download response. Modifying the cache and pragma headers in appendToResponse of the "download" page does not work since I guess WO tacks on the expiration, cache and pragma headers after the page appenToResponse. I

Re: How to focus on a text field on loading?

2006-03-07 Thread Jim Wong
Hi...but my form and field are all WOForm and WOTextField. how to name them? Warmest Regards,Jim Wong[EMAIL PROTECTED] On 07 Mar 2006, at 10:50 AM, Galen Rhodes wrote:Jim,In the tag of your document you need to put a little bit of _javascript_ like so:NameOfTheForm.NameOfTheField.focus()">On Mar 6

Re: appserver -> root after 10.3.9 upgrade

2006-03-07 Thread Kieran Kelleher
Hi Chuck, Here is that followed by output from a few other relevant command outputs (which seem to shows the s bit and appserver owner in the right places which is confusing): XApp:/System/Library/StartupItems/WebObjects admin$ ls -al total 16 drwxr-xr-x 4 root wheel 136 25 Nov 2