• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOLongResponse Page Kills Main Thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOLongResponse Page Kills Main Thread


  • Subject: WOLongResponse Page Kills Main Thread
  • From: Jonathan Miller <email@hidden>
  • Date: Mon, 28 Jan 2008 16:12:02 -1000

Hi,

I have a very perplexing problem.

I have a simple shopping cart. After the user enters their information into the payment form the request to authorize the payment is sent to a WOLongResponsePage.

Inside the performAction method is a switch statement. On two of the cases the WOLongResponse behaves normally and returns the result page. On the other hand on only one of the cases it goes through all the business logic of that case (even a simple logging statement called right before the break) but then does not fire the pageForResult method. The return for performAction is put outside the switch statement.

Not only does the pageForResult action not get called by the WOLongResponse totally hangs and craps out the main thread and I get the dreaded "no instance is available" message in a blank html page.

There are no error messages. Everything works normally in development mode. This is my first WONDER application, is there anything I should be aware of when using WOLongResponse and WONDER?

Other details

WO 5.3
OS X Server 10.4.11
Java 5

Thanks in advance,

Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WOLongResponse Page Kills Main Thread
      • From: Lachlan Deck <email@hidden>
    • Re: WOLongResponse Page Kills Main Thread
      • From: Guido Neitzer <email@hidden>
  • Prev by Date: Re: multipart/form-data WOForm broken in 5.4 when deploying as a WAR?
  • Next by Date: Re: WOLongResponse Page Kills Main Thread
  • Previous by thread: Re: multipart/form-data WOForm broken in 5.4 when deploying as a WAR? [WORKED AROUND]
  • Next by thread: Re: WOLongResponse Page Kills Main Thread
  • Index(es):
    • Date
    • Thread