I think the easiest thing to get your problem patched around in the short run (until this all gets figured out) would be to:

1) Do a split install of YourApp.woa putting the web server split into the WebObjects folder inside your doc root
        (    /Library/WeServer/Documents/WebObjects   )

2) Go to your web server's doc root ( /Library/WeServer/Documents ) and issue the following commands:
        
        mkdir Library

        mkdir Library/WebServer

        mkdir Library/WebServer/Documents

        cd Library/WebServer/Documents

        ln -s /Library/WebServer/Documents cgi-bin


-Alex


On Sep 2, 2008, at 8:39 AM, Andrew R. Kinnie wrote:

OK, I just went back and uninstalled Wonder and reinstalled it per the instructions, and it still isn't working. The WOLips Console is giving me an exception, which leads me to believe that there is a configuration issue with static resources. The second line here indicates that it is looking in

/Library/WebServer/Documents/cgi-bin/WebObjects/MyApp.woa/Contents/ WebServerResources/Image.gif

for the static file, and not in the build directory where the rest of the app is. All the WOImages and the CSS file are all in the build directory's MyApp.woa/Contents/WebServerResources/ folder as expected. The background image is also there. Where would the app get the /Library/WebServer/ path? What should I be doing here?

Previously, I have been building the app, zipping the .woa and sending it to the server where it is unzipped into the proper directory. However, prior build's (before trying to bring it into Wonder) have found the background image, but they had the declaration in the Body tag of the HTML. This is one of the CSS related changes.

[2008-9-2 8:26:13 EDT] <WorkerThread0> <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri. file: /Library/WebServer/ Documents/cgi-bin/WebObjects/MyApp.woa/Contents/WebServerResources/ Image.gif; uri: /cgi-bin/WebObjects/MyApp.woa/Contents/ WebServerResources/Image.gif [2008-9-2 8:26:13 EDT] <WorkerThread0> java.io.FileNotFoundException: /Library/WebServer/Documents/cgi-bin/ WebObjects/MyApp.woa/Contents/WebServerResources/Image.gif (No such file or directory)




On Sep 2, 2008, at 1:52 AM, [EMAIL PROTECTED] wrote:

Date: Mon, 1 Sep 2008 19:02:32 -0400
From: Mike Schrag <[EMAIL PROTECTED]>
Subject: Re: WebObjects/WOnder CSS and Image path issues
To: Apple WebObjects Dev <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

I presume I'm missing something?  What else do I need to do to get
this app to be using Wonder?  It obviously is to some extent or the
ERXStylesheet presumably would not work at all.
That should be all ... This request handler is automatically setup in
ERXApp.  Are you using an old version of Wonder?  I just tried this
now with the latest wonder and WO 5.4.3 in directconnect and it works
as expected.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ahorovitz%40brookeside.com

This email sent to [EMAIL PROTECTED]

Alex

Alexander J. Horovitz
Chief Technology Officer
The Brookeside Group, Inc.
524 Main Street, Acton MA 01720
978.266.9876   ext. 225
978.808.0808 (c)
[EMAIL PROTECTED]
www.brookeside.com

The Brookeside Group, Inc. - The world's leading authority on measuring and improving customer, partner and employee loyalty.




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to