Yes, I downloaded the mod_webobjects from mDimension. I have no idea why I didn't think of looking in the console before, I guess I thought it would create a log file. :-/ Anyway, the console says:
10/14/10 8:02:33 AM com.apple.launchd[1] (org.apache.httpd[7736]) Exited with exit code: 1 10/14/10 8:02:33 AM com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds 10/14/10 8:02:41 AM com.apple.launchd[1] (com.apple.InternetSharing) Throttling respawn: Will start in 10 seconds 10/14/10 8:02:43 AM org.apache.httpd[7740] httpd: Syntax error on line 490 of /private/etc/apache2/httpd.conf: Could not open configuration file /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: No such file or directory which seems to mean I am either lacking that file, or the path is wrong. I have no idea where it is or how to find something in unix. Where else would this be? I can't find it in any location I think makes sense On Oct 14, 2010, at 1:28 AM, Chuck Hill wrote: > Let's keep things on the list. > Sorry, I did "reply all" all to one of your emails, and apparently . . . oh well, no biggie. > > On Oct 13, 2010, at 10:22 PM, Andrew R. Kinnie wrote: > >> well, I noticed one issue, the Include statement was apparently there twice >> resulting in a bad path >> >> Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.confInclude >> /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf > > Are you using the mod_webobjects build from mDimension? > > http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/ > > >> however, I changed it, and stopped and started and got: >> >> ARKs-iMac:~ akinnie$ ps auxwww | grep httpd >> akinnie 1357 0.0 0.0 2435040 556 s001 R+ 1:15AM 0:00.00 grep >> httpd >> ARKs-iMac:~ akinnie$ > > It is not starting or not staying started. Check the logs in Console.app. > Do you get any message when starting it? > > Chuck > > >> seems to be an issue. I still get server not found. I also had to re-add >> the app in JavaMonitor using the -WOHost localhost under "additional >> arguments", added the >> http://localhost/cgi-bin/WebObjects >> line under adaptor url in site >> >> localhost shows available >> <Screen shot 2010-10-14 at 1.17.47 AM.png> >> >> But now it does not run. (It ran yesterday, though I couldn't see it, when >> it was originally apparently not properly configured. :-/ ) >> >> >> <Screen shot 2010-10-14 at 1.18.47 AM.png> >> <Screen shot 2010-10-14 at 1.20.20 AM.png> >> >> I can send you the httpd.conf file too, if you'd like. >> >> <httpd.conf> >> >> Thanks. Sorry for being an idiot when it comes to this stuff. >> >> On Oct 14, 2010, at 1:10 AM, Chuck Hill wrote: >> >>> On Oct 13, 2010, at 10:06 PM, Andrew R. Kinnie wrote: >>>> >>>> However, it appears that Apache isn't running, because I get the server >>>> not found error. However, I assumed if wotaskd would appear, Apache had >>>> to be running >>> >>> >>> No. Check it like this: >>> >>> saskatoon:~/Cadre/Code/WebObjects chuck$ ps auxwww | grep httpd >>> chuck 9391 0.7 0.0 2435036 528 s000 S+ 10:08PM 0:00.00 grep >>> httpd >>> _www 2384 0.0 0.1 2442140 3748 ?? S Tue12PM 0:06.34 >>> /usr/sbin/httpd -D FOREGROUND >>> etc. etc. >>> root 40 0.0 0.2 2442140 6320 ?? Ss Mon11PM 0:04.22 >>> /usr/sbin/httpd -D FOREGROUND >>> >>> >>> You probably have a config error in the httpd.conf file. Try stopping and >>> restarting it: >>> >>> sudo apachectl stop >>> sudo apachectl start >>> >>> >>>> Web Sharing is on in prefs, and I edited the httpd.conf file . . . what >>>> else do I need to do? >>> >>> I am guessing fix your edits to the httpd.conf file :-) the above should >>> point this out. >>> >>> >>> Chuck >>> >>> >>> >>>> >>>> >>>> >>>> On Oct 14, 2010, at 12:59 AM, Chuck Hill wrote: >>>> >>>>> What is the exact (copy and paste) message? Is Apache running (go to >>>>> http://localhost/)? What does http://localhost:1085 show? >>>>> >>>>> >>>>> Chuck >>>>> >>>>> >>>>> On Oct 13, 2010, at 9:37 PM, Andrew R. Kinnie wrote: >>>>> >>>>>> hmm. well I restarted and re-ran the app using the -WOHost localhost >>>>>> >>>>>> now the url indeed says localhost, but it still fails in exactly the >>>>>> same way :-/ >>>>>> >>>>>> On Oct 13, 2010, at 11:24 PM, Chuck Hill wrote: >>>>>> >>>>>>> >>>>>>> On Oct 13, 2010, at 8:16 PM, Andrew R. Kinnie wrote: >>>>>>> >>>>>>>> ok, so now I need to restart wotaskd and JavaMonitor (guess I'll >>>>>>>> google that), though evidently, I am supposed to restart the app with >>>>>>>> this WOHost launch parameter as well? Where would I do that? >>>>>>> >>>>>>> In the launch args in JavaMonitor is one choice. The Properties file >>>>>>> (or one of the many Wonder Properties files) is another. >>>>>>> >>>>>>> >>>>>>>> And yes, deploying WO can make me feel like a eunuch but as far as I >>>>>>>> know, it's never manifested itself physically. >>>>>>>> >>>>>>>> TMI >>>>>>> >>>>>>> :-P >>>>>>> >>>>>>> >>>>>>>> On Oct 13, 2010, at 10:48 PM, Chuck Hill wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> On Oct 13, 2010, at 7:45 PM, Andrew R. Kinnie wrote: >>>>>>>>> >>>>>>>>>> OK, I finally got home. I ran the app in the console, and it tells >>>>>>>>>> me it's running (the usual console mumbo-jumbo), but when I copy the >>>>>>>>>> url for webserver connect, I get the server not found in safari. >>>>>>>>>> >>>>>>>>>> However, I did notice that the url has my local computer name rather >>>>>>>>>> than localhost or 127.0.0.1 despite the fact that the wolips >>>>>>>>>> properties sets the host as localhost, and JavaMonitor says >>>>>>>>>> localhost as the host. >>>>>>>>>> >>>>>>>>>> I assume this is the basis of my problem? >>>>>>>>> >>>>>>>>> Maybe? >>>>>>>>> >>>>>>>>> >>>>>>>>>> Where is this information set? >>>>>>>>> >>>>>>>>> The WOHost launch parameter, e.g. -WHost localhost >>>>>>>>> >>>>>>>>> You probably also want that on the JavaMonitor and wotaskd apps and >>>>>>>>> to then restart them (or reboot :-) >>>>>>>>> >>>>>>>>> Chuck >>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Thanks for your help >>>>>>>>>> >>>>>>>>>> Andrew >>>>>>>>>> >>>>>>>>>> On Oct 13, 2010, at 1:05 PM, David Holt wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 2010-10-13, at 9:52 AM, Andrew R. Kinnie wrote: >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Oct 13, 2010, at 12:39 PM, Andrew R. Kinnie wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hmm. How does one start a wo app from the command line? >>>>>>>>>>> >>>>>>>>>>> Sorry missed the question. You have to >>>>>>>>>>> >>>>>>>>>>> 1) cd into your .woa >>>>>>>>>>> >>>>>>>>>>> cd /Library/WebObjects/Applications/MyApp.woa >>>>>>>>>>> >>>>>>>>>>> 2) Run the executable inside. For MyApp.woa you should see a file >>>>>>>>>>> called MyApp inside the package. >>>>>>>>>>> >>>>>>>>>>> . MyApp >>>>>>>>>>> >>>>>>>>>>> David >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> OK, that was a fairly dumb question. >>>>>>>>>>>> >>>>>>>>>>>> I will hopefully be able to check that tonight. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Do not post admin requests to the list. They will be ignored. >>>>>>>>>> Webobjects-deploy mailing list >>>>>>>>>> ([email protected]) >>>>>>>>>> Help/Unsubscribe/Update your Subscription: >>>>>>>>>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net >>>>>>>>>> >>>>>>>>>> This email sent to [email protected] >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Chuck Hill Senior Consultant / VP Development >>>>>>>>> >>>>>>>>> Practical WebObjects - for developers who want to increase their >>>>>>>>> overall knowledge of WebObjects or who are trying to solve specific >>>>>>>>> problems. >>>>>>>>> http://www.global-village.net/products/practical_webobjects >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Chuck Hill Senior Consultant / VP Development >>>>>>> >>>>>>> Practical WebObjects - for developers who want to increase their >>>>>>> overall knowledge of WebObjects or who are trying to solve specific >>>>>>> problems. >>>>>>> http://www.global-village.net/products/practical_webobjects >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> Chuck Hill Senior Consultant / VP Development >>>>> >>>>> Practical WebObjects - for developers who want to increase their overall >>>>> knowledge of WebObjects or who are trying to solve specific problems. >>>>> http://www.global-village.net/products/practical_webobjects >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> >>> -- >>> Chuck Hill Senior Consultant / VP Development >>> >>> Practical WebObjects - for developers who want to increase their overall >>> knowledge of WebObjects or who are trying to solve specific problems. >>> http://www.global-village.net/products/practical_webobjects >>> >>> >>> >>> >>> >>> >>> >> > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/products/practical_webobjects > > > > > > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to [email protected]
