Project.woa/Contents/UNIX/UNIXClassPath.txt

2011-10-13 Thread Bjarni Sævarsson
Hi all.

Encountered a strange error after a redeploy a wo app, Salsa, this morning.
Javamonitor refused to start the instances so I started the app manually.

"
...
Can't find main method on class is.us.util.USPrincipalClass, exiting...
java.lang.NoSuchMethodException:
is.us.util.USPrincipalClass.main([Ljava.lang.String;)
at java.lang.Class.getMethod(Class.java:1605)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86)
"

Opened "Salsa.woa/Contents/UNIX/UNIXClassPath.txt" and there I see
"...
ApplicationClass == is.us.salsa.USPrincipalClass
..."

Changed it to
"...
ApplicationClass == is.us.salsa.Application
..."

aaand now jm runs the instances normally.


So, my question is if anyone has any idea how this can happen?

p.s. Using eclipse.

Best regards,
Bjarni Sævarsson
 ___
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.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Flush response

2009-07-14 Thread Bjarni Sævarsson
Hi.

Actually the server memory is not an issue since I'm using a batch
processing object.

The ERXBatchingDisplayGroup is not a bad idea at all.
The table can be viewed as a web page or downloaded as a pdf(which i just
force download on).
Going to pitch this batchdisplaygroup idea, with a knife.

Thanks for the response.

Reg,
Bjarni Sævarsson


2009/7/14 Chuck Hill 

> Hi Bjarni,
>
>
>
> On Jul 14, 2009, at 7:51 AM, Bjarni Sævarsson wrote:
>
>  Hola.
>>
>> I have a component that, in certain cases, returns a massive( up to
>> 100.000) row table.
>> Now, I would like tell the users that patience is golden in those cases
>> but since its all in a single component I have two options, ajax it or flush
>> the response.
>>
>> Now to the question, is it possible to flush a WOResponse object and if so
>> then how?
>>
>> Regards,
>> Bjarni Sævarsson
>>
>
>
> I'd try and catch this before response time.  One idea is to do a count of
> the rows that will be returned for a qualifier, and if it is greater than
> 2,000 (for example), then don't fetch them right away.  Instead, return a
> message to the user like "Your search matched 87,651 rows, showing these
> will take a long time.  Click here to show these rows.  Click here to change
> your search criteria".  And if they decided to go ahead, they already know
> it will be slow.
>
> Another, much better, idea is to use ERXBatchingDisplayGroup.  This fetches
> and shows the data in batches, thus avoiding the entire very large response
> issue.  It is also much kinder to server memory usage.
>
>
> Chck
>
>
> --
> Chuck Hill Senior Consultant / VP Development
>
> Learn WO at WOWODC'09 East in Montréal this August!
> http://www.wocommunity.org/wowodc09/east
>
>
> http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.ars
>
>
 ___
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.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Flush response

2009-07-14 Thread Bjarni Sævarsson
Hola.

I have a component that, in certain cases, returns a massive( up to 100.000)
row table.
Now, I would like tell the users that patience is golden in those cases but
since its all in a single component I have two options, ajax it or flush the
response.

Now to the question, is it possible to flush a WOResponse object and if so
then how?

Regards,
Bjarni Sævarsson
 ___
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.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com