• 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
Long delay after Application.java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Long delay after Application.java


  • Subject: Long delay after Application.java
  • From: Randall Perry <email@hidden>
  • Date: Sat, 04 Feb 2006 21:43:22 -0500
  • Thread-topic: Long delay after Application.java

I'm doing my 1st 5.3 app and am experiencing over a 1 minute delay after the
application class loads and before other classes load (discovered this using
the debugger). Here's the line it's hanging on:

#0    0x00000014 in com.webobjects.appserver.WOApplication.main() at
WOApplication.java:324

I'm running Tiger client 10.4.4 with WO 5.3.1. Using EOModeler generated
classes with latest Wonder PostgreSQL plugin.

It's a very simple app at the moment, just a main component with a table
wrapped in WORepetition, and a fetch coming from Session.java.

Anyone know what would cause it to hang for a minute?




Session.java ------------------------------------------

public class Session extends WOSession {

    protected NSArray fetchResults;

    public Session() {
        super();

        EOEditingContext ec = defaultEditingContext();
        EOFetchSpecification fs = new
EOFetchSpecification("SeymRegistration", null, null);
        fetchResults = ec.objectsWithFetchSpecification(fs);

    }

}

Main.java ------------------------------------------

public class Main extends WOComponent {

    public SeymRegistration rec = new SeymRegistration();

    public Main(WOContext context) {
        super(context);
    }

}



--
Randall Perry
sysTame

Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales

http://www.systame.com/



 _______________________________________________
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: Long delay after Application.java
      • From: "Jerry W. Walker" <email@hidden>
  • Prev by Date: Re: WOBuilder + Webkit Any Chance?
  • Next by Date: RE: command line EOF + WOContext
  • Previous by thread: WebObjects & javaeoutil (database <---> ascii)
  • Next by thread: Re: Long delay after Application.java
  • Index(es):
    • Date
    • Thread