Help ----- Original Message ----- From: webobjects-deploy-bounces+wbutler=partners....@lists.apple.com <webobjects-deploy-bounces+wbutler=partners....@lists.apple.com> To: webobjects-deploy@lists.apple.com <webobjects-deploy@lists.apple.com> Sent: Sat Aug 29 10:37:39 2009 Subject: Webobjects-deploy Digest, Vol 6, Issue 117
Send Webobjects-deploy mailing list submissions to webobjects-deploy@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/webobjects-deploy or, via email, send a message with subject or body 'help' to webobjects-deploy-requ...@lists.apple.com You can reach the person managing the list at webobjects-deploy-ow...@lists.apple.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Webobjects-deploy digest..." Today's Topics: 1. Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error (Mark Ainge) 2. Re: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error (Johann Werner) 3. Fwd: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error (Ramsey Lee Gurley) 4. Re: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error (Mark Ainge) 5. Re: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error (Stephen R. Smith) ---------------------------------------------------------------------- Message: 1 Date: Sat, 29 Aug 2009 11:27:41 +0100 From: Mark Ainge <mai...@googlemail.com> Subject: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error To: webobjects-deploy@lists.apple.com Message-ID: <f327410c0908290327o6b16e465ke1c6ef53428a8...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" I have successfully deployed a webobjects app onto a OS 10.4 Server. The app launches and runs fine, but associated style sheets and images are not loaded. I have checked apaches logs and can see 404's for the images and stylesheet. I have unzipped and copied the WebServerResources.tar.gz into my servers /Library/WebServer/Documents/WebObjects/ directory under a folder name matching my app. (Full path to stylesheet is /Library/WebServer/Documents/WebObjects/MyApp.woa/Contents/WebServerResources/St yleSheet.css) My webserver is a stock install of Mac OS Server 10.4.11 with wonder frameworks placed in (/Library/Frameworks/). My app is a Wonder app based on WebObjects 5.3.3 and embeds all frameworks. Can anyone suggest what I may be missing? Do I need to apply a argument when deploying? I develop with directconnect = true, is this my problem? Is my folder permissions for my MyApp.woa folder wrong (ie does it need to be something specific)? Any help would be appreciated? Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.apple.com/mailman/private/webobjects-deploy/attachments/20090829/d4 8839e6/attachment.html ------------------------------ Message: 2 Date: Sat, 29 Aug 2009 12:51:57 +0200 From: Johann Werner <j...@oyosys.de> Subject: Re: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error To: Mark Ainge <mai...@googlemail.com> Cc: webobjects-deploy@lists.apple.com Message-ID: <d1d73e26-a256-42af-8000-3c61a2b82...@oyosys.de> Content-Type: text/plain; charset="us-ascii" Hi Mark, have you checked if the URLs that are generated match the folder structure of your webserver resources? What does the browser look for when accessing the resources that are not loaded. Another possible cause would be a permission problem. You should check that too. jw Am 29.08.2009 um 12:27 schrieb Mark Ainge: > I have successfully deployed a webobjects app onto a OS 10.4 Server. > The app launches and runs fine, but associated style sheets and > images are not loaded. I have checked apaches logs and can see 404's > for the images and stylesheet. > > I have unzipped and copied the WebServerResources.tar.gz into my > servers /Library/WebServer/Documents/WebObjects/ directory under a > folder name matching my app. (Full path to stylesheet is /Library/ > WebServer/Documents/WebObjects/MyApp.woa/Contents/WebServerResources/ > StyleSheet.css) > > My webserver is a stock install of Mac OS Server 10.4.11 with wonder > frameworks placed in (/Library/Frameworks/). My app is a Wonder app > based on WebObjects 5.3.3 and embeds all frameworks. > > Can anyone suggest what I may be missing? Do I need to apply a > argument when deploying? I develop with directconnect = true, is > this my problem? Is my folder permissions for my MyApp.woa folder > wrong (ie does it need to be something specific)? > > Any help would be appreciated? > > Mark > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-deploy mailing list (Webobjects- > dep...@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-deploy/jw > %40oyosys.de > > This email sent to j...@oyosys.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2146 bytes Desc: not available Url : http://lists.apple.com/mailman/private/webobjects-deploy/attachments/20090829/2a 967f5a/smime.bin ------------------------------ Message: 3 Date: Sat, 29 Aug 2009 07:02:15 -0400 From: Ramsey Lee Gurley <rgur...@mac.com> Subject: Fwd: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error To: Webobjects-deploy@lists.apple.com Message-ID: <4373e2ee-ae26-480d-a73c-0988b8c1c...@mac.com> Content-Type: text/plain; charset="us-ascii" Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2413 bytes Desc: not available Url : http://lists.apple.com/mailman/private/webobjects-deploy/attachments/20090829/22 7c34aa/smime.bin ------------------------------ Message: 4 Date: Sat, 29 Aug 2009 14:02:10 +0100 From: Mark Ainge <mai...@googlemail.com> Subject: Re: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error To: Johann Werner <j...@oyosys.de> Cc: webobjects-deploy@lists.apple.com Message-ID: <f327410c0908290602h411a6f62nf0015e44a4a5c...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Yes, I have checked the urls in the source of the webpage. <link rel="stylesheet" type="text/css" href="/WebObjects/IntraNET2.woa/Contents/WebServerResources/StyleSheet.css"></li nk> Do you know what permissions should be applied? On Sat, Aug 29, 2009 at 11:51 AM, Johann Werner <j...@oyosys.de> wrote: > Hi Mark, > > have you checked if the URLs that are generated match the folder structure > of your webserver resources? What does the browser look for when accessing > the resources that are not loaded. Another possible cause would be a > permission problem. You should check that too. > > jw > > > Am 29.08.2009 um 12:27 schrieb Mark Ainge: > > I have successfully deployed a webobjects app onto a OS 10.4 Server. The >> app launches and runs fine, but associated style sheets and images are not >> loaded. I have checked apaches logs and can see 404's for the images and >> stylesheet. >> >> I have unzipped and copied the WebServerResources.tar.gz into my servers >> /Library/WebServer/Documents/WebObjects/ directory under a folder name >> matching my app. (Full path to stylesheet is >> /Library/WebServer/Documents/WebObjects/MyApp.woa/Contents/WebServerResources/St yleSheet.css) >> >> My webserver is a stock install of Mac OS Server 10.4.11 with wonder >> frameworks placed in (/Library/Frameworks/). My app is a Wonder app based on >> WebObjects 5.3.3 and embeds all frameworks. >> >> Can anyone suggest what I may be missing? Do I need to apply a argument >> when deploying? I develop with directconnect = true, is this my problem? Is >> my folder permissions for my MyApp.woa folder wrong (ie does it need to be >> something specific)? >> >> Any help would be appreciated? >> >> Mark >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-deploy/jw%40oyosys.de >> >> This email sent to j...@oyosys.de >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.apple.com/mailman/private/webobjects-deploy/attachments/20090829/eb e22451/attachment.html ------------------------------ Message: 5 Date: Sat, 29 Aug 2009 10:37:06 -0400 From: "Stephen R. Smith" <ssm...@alignsoft.com> Subject: Re: Deploy Wonder 5.3.3 app on Mac OS 10.4 Server, Images / Stylesheets 404 error To: Mark Ainge <mai...@googlemail.com> Cc: webobjects-deploy@lists.apple.com Message-ID: <5dd48029-a71d-4aeb-ac41-14c80f360...@alignsoft.com> Content-Type: text/plain; charset="us-ascii" Hi Mark, Couple of things to note. You've mentioned that you're embedding all frameworks, in which case you don't need to put the Wonder frameworks into /Library/Frameworks on the deployment machine, in fact you want not to. If you're embedding all frameworks, you can include different versions of the frameworks in different applications deployed on the same server. You also can update the Wonder frameworks in one application without having to rebuild and test all the other applications deployed on the same server. Second - when building from Eclipse (I'm assuming you're building from Eclipse with WOLips), right click on the build.xml file in the WOExplorer view, and choose WOLips Ant Tools -> Install... Confirm that any required packages are included (for example, of your application includes several custom frameworks, make sure they are all checked), and the application will be built into your local Library/ WebObjects/Applications directory in several parts. YourApp-Applications.tar.gz - this is the .woa application bundle that should be copied to Library/WebObjects/Applications and expanded on the deployment machine YourApp-WebServerResources.tar.gz - this is the .woa bundle with only the WebServerResources contained in it, and this should be coped to Library/WebServer/Documents/WebObjects/ on the deployment server. NOTE: This assumes that Library/WebServer/Documents/ is the root for the domain your application is hosted from, for example - we host multiple sites on a deployment server, each having their own root directory, so each has their own nested WebObjects directory containing the web server resources for the app for that domain. Library/WebServer/Documents/_clientOne/WebObjects/clientOneApp.woa [containing just the web server resources] Library/WebServer/Documents/_clientTwo/WebObjects/clientTwoApp.woa Library/WebServer/Documents/_clientThree/WebObjects/ clientThreeApp.woa Have a look in Server Admin on the deployment machine at the site configuration for the domain you're accessing the application through. If the Web folder: setting is anything deeper than/Library/WebServer/ Documents, you'll need to move the /WebObjects/YourApp.woa - web server resources there too. The Ant build script sets the right permissions on everything for a default install, so you shouldn't have to change that. The only other thing that may throw you is that accessing the application through the link on WOMonitor may use a different URL path than the one you'll normally use, and may appear to not be working only because of the way you are accessing it. For example, if you've configured Java WOMonitor to use the server's IP address, then clicking an application link in WOMonitor to launch the app will use an URL of http://IP_Address/cgi-bin/WebObjects/ YourApp to access the application, and if that path isn't configured on the server to access the same document root as http://Your_Domain/ cgi-bin/WebObjects/YourApp - you'll get the application, but the relative URL's to the web server resources won't resolve properly. Be sure to test the application with the URL you intend to use for actual deployment to be sure it's actually not working before you try to fix it. Best, :Steve -- Stephen R. Smith Partner Align Software Inc. 2054 Halton Place, Burlington, Ontario, Canada, L7R 1P7 T : 905.633.9178 C : 905.464.4440 F : 905.634.1064 ssm...@alignsoft.com http://www.alignsoft.com On Aug 29, 2009, at 6:27 AM, Mark Ainge wrote: > I have successfully deployed a webobjects app onto a OS 10.4 Server. > The app launches and runs fine, but associated style sheets and > images are not loaded. I have checked apaches logs and can see 404's > for the images and stylesheet. > > I have unzipped and copied the WebServerResources.tar.gz into my > servers /Library/WebServer/Documents/WebObjects/ directory under a > folder name matching my app. (Full path to stylesheet is /Library/ > WebServer/Documents/WebObjects/MyApp.woa/Contents/WebServerResources/ > StyleSheet.css) > > My webserver is a stock install of Mac OS Server 10.4.11 with wonder > frameworks placed in (/Library/Frameworks/). My app is a Wonder app > based on WebObjects 5.3.3 and embeds all frameworks. > > Can anyone suggest what I may be missing? Do I need to apply a > argument when deploying? I develop with directconnect = true, is > this my problem? Is my folder permissions for my MyApp.woa folder > wrong (ie does it need to be something specific)? > > Any help would be appreciated? > > Mark > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-deploy mailing list (Webobjects- > dep...@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-deploy/ssmith%40alignsoft.com > > This email sent to ssm...@alignsoft.com -------------- next part -------------- Skipped content of type multipart/related ------------------------------ _______________________________________________ Webobjects-deploy mailing list Webobjects-deploy@lists.apple.com http://lists.apple.com/mailman/listinfo/webobjects-deploy End of Webobjects-deploy Digest, Vol 6, Issue 117 ************************************************* The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to arch...@mail-archive.com