Important: The information in this document is obsolete and should not be used for new development.
Your application doesn't respond at all after it's started up. Only occurs on Mac OS X.
The symptoms typically seen are an error page that contains text like:
Error: com.webobjects.appserver.WOPageNotFoundException: |
Unable to create page 'Main'.Reason: |
<webobjectsexamples.thinkmovies.Application>: |
Unable to create page 'Main'. |
In the stack trace that follows, you should notice no references to your WOApplication subclass, either (which is typically named "Application").
The lack of your WOApplication subclass and your "Main" WOComponent subclass should indicate to you that the main bundle (i.e. the .woa) is not being recognized by WebObjects.If you have a symbolic link that points to your .woa directory and you're using that to access the launch script (the executable file that is the same name as your .woa directory with the .woa extension stripped from it), check whether the path to which this symbolic link points ends in one or more slash characters (/).
There's a bug in the Java Runtime Environment that shipped with Mac OS X 10.2 that prevents java.io.File.getCanonicalPath() from properly removing slashes from the end of the paths that it returns, and this problem confuses part of the WebObjects runtime.
Recreate the symbolic link in question, and exclude slash characters from the end of the path to which the recreated symbolic link points.
Last updated: 2004-12-02