Thanks for your reply Lachlan. On Jul 18, 2008, at 7:59 PM, Lachlan Deck wrote:
I was running wotaskd from the Terminal, as well as the JavaMonitor. Also, I had mod_webobjects loaded in Apache. here's a snippet of my httpd.conf:Hi Darren, you might like to see the 'Deployment' section here: http://wiki.objectstyle.org/confluence/display/WO/Home For development: http://wiki.objectstyle.org/confluence/display/WOL/Tutorials On 18/07/2008, at 1:57 PM, Darren VanBuren wrote:This is my first time developing for WebObjects or distributing a WebObjects app. I am on 10.5.4 with the iPhone SDK.This app is very simple and only uses static HTML.Try the 'Create a new WO Application' article in the WOL/Tutorials.When I try to use the Apache 2.2 Connector I get a 404.You've probably not got the wotaskd launchd started up or perhaps not configured with apache. This is one of those annoyances for getting started at the moment. Do you have a wotask and monitor plist in /Library/LaunchDaemons?
# WebObjects 5.4: Enable the WebObjects module.LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so
# Alternatively, You can load the WebObjects Module manually by typing and commenting out the previous
# LoadModule directive. # /usr/bin/apxs -i -a -n WebObjects mod_WebObjects.la #LoadModule WebObjects_module modules/mod_WebObjects.so # Path to the Document Root of your Webserver, # it should contain a directory named WebObjects WebObjectsDocumentRoot LOCAL_LIBRARY_DIR/WebServer/Documents # You can change the 'cgi-bin' part of WebObjectsAlias to whatever you # prefer (such as Apps), but the 'WebObjects' part is required. WebObjectsAlias /cgi-bin/WebObjects # Here are the 3 possible configuration modes. # The apache module uses one of them to get information # about your deployed applications.# 1085 is the reserved port on which wotaskd processes listen to by default.
# Host List Configuration # wotaskd is started automatically on supported platforms, # so this is the default mode. # The apache module gets its configuration from the wotaskds # listed on the configuration line # For multiple hosts:# WebObjectsConfig http://<name-of-a-host>:<port-on-a-host>,http:// <name-of-another-host>:<port-on-a-host> <interval>
# For localhost: WebObjectsConfig http://localhost:1085 10 # Multicast Configuration # The apache module gets its configuration from all wotaskds # that respond to the multicast call on the subnet # WebObjectsConfig webobjects://239.128.14.2:1085 10 # File Configuration # The apache module gets its configuration from one file # WebObjectsConfig file://<path-to-a-xml-config-file> 10# To enable public access to the WOAdaptorInfo page, uncomment the following line
# WebObjectsAdminUsername public # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access,# use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password .
WebObjectsAdminUsername admin WebObjectsAdminPassword password # To change the logging options, read the following comments:# The option name is "WebObjectsLog" and the first value indicates the path of the log file. # The second value indicates the log level. There are five, in decreasing informational order:
# "Debug", "Info", "Warn", "Error", "User" ## Note: To enable logging, touch '/tmp/logWebObjects' as the administrator user (usually root).
# # The following line is the default: # WebObjectsLog /Library/WebObjects/Logs/WebObjects.log Debug (No, the password is not password)
The application should be here: http://oks.verymad.net/cgi-bin/WebObjects/WebObjectHome.woaI can access it through http://localhost:2001/ (sorry, I don't have port 2001 open).Is this your development machine or deployment?
The machine is kind of both, as it's the only Mac I have.
I decided to try Tomcat. Tomcat gives me a 404 as well: http://oks.verymad.net:8080/WebObjectsHomeSome people do this... but it's not the popular route.Either one of these deployment methods would work for me.with regards, -- Lachlan Deck
Darren VanBuren [EMAIL PROTECTED] ---------------------------------------------- Administrator of Onekopakaspace Trunk MediaWiki install: http://oks.verymad.net/~onekopaka/mwtrunk/
smime.p7s
Description: S/MIME cryptographic signature
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ 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]
