Re: The requested application not found on this server

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Mon Jan 19 2009 - 23:43:58 EST

  • Next message: Chuck Hill: "Re: The requested application not found on this server"

    On 20/01/2009, at 3:28 PM, Chuck Hill wrote:

    > On Jan 19, 2009, at 4:19 PM, Lachlan Deck wrote:
    >
    >> Any thoughts on why I'm getting nothing in the adaptor logs for the
    >> requests?
    >
    > The adaptor not being configured or loaded is the usual cause. As
    > apps deployed in JavaMonitor are working for you, we can rule that
    > out.

    Yeah.

    > Beyond that, I'd guess wrong path, wrong permissions, or wrong
    > configuration. BUT you get logging from restarting Apache so that
    > rules that out too.
    >
    > So... uh... hmmm....
    >
    > Is there any chance that Apache 1.3 is still running?

    Left of field... but no.
    $ cd /
    $ sudo locate httpd.conf
    Password:
    /Applications/TextMate.app/Contents/SharedSupport/Bundles/
    Apache.tmbundle/Commands/Open httpd.conf.plist
    /Library/Application Support/Apple/ParentalControls/ContentFiltering/
    httpd.conf
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
    gems/1.8/gems/rails-1.2.6/configs/lighttpd.conf
    /Users/ldeck/Development/ISH/usyd/apache2conf/httpd.conf
    /Users/ldeck/Development/ISH/usyd/apache2conf/httpd.conf.bak
    /Users/ldeck/Development/ISH/usyd/apache2conf/httpd.conf.sample
    /Users/ldeck/Development/ISH/usyd/apache2conf/original/httpd.conf
    /Users/ldeck/Development/Ruby/Tiger/bfm_rails/config/lighttpd.conf
    /Users/ldeck/Development/Sites/rubyrails/bfm/config/lighttpd.conf
    /Users/ldeck/Development/Sites/rubyrails/cookbook/config/lighttpd.conf
    /Users/ldeck/Development/Sites/rubyrails/expenses/config/lighttpd.conf
    /Users/ldeck/Development/Sites/rubyrails/test/config/lighttpd.conf
    /Users/ldeck/Development/Sites/rubyrails/testrails/config/lighttpd.conf
    /Users/ldeck/Development/WebObjects/wonder/Wonder/Utilities/Adaptors/
    FastCGI/.svn/text-base/lighttpd.conf.svn-base
    /Users/ldeck/Development/WebObjects/wonder/Wonder/Utilities/Adaptors/
    FastCGI/lighttpd.conf
    /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/
    apache2/files/patch-httpd.conf.in-sensitive-files.diff
    /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/
    htdig/files/httpd.conf
    /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/
    lighttpd/files/patch-doc-lighttpd.conf
    /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/
    lighttpd-devel/files/patch-doc-lighttpd.conf
    /private/etc/apache2/httpd.conf
    /private/etc/apache2/httpd.conf~
    /private/etc/apache2/original/httpd.conf

    > I have seen one upgrade where both Apache 1.3 and Apache 2.2 were
    > running. Apache 1.3 was listening on port 80 and Apache 2.2 on some
    > odd port. But that does not explain why deployed apps would work.

    Yep.

    > When you deploy via JavaMonitor on that machine, what are you using
    > for a host name in the requests?

    localhost

    > What is the host configured as in JavaMonitor?

    localhost.
    $ less /Library/LaunchDaemons/com.apple.webobjects.womonitor.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd
    ">
    <plist version="1.0">
    <dict>
             <key>Disabled</key>
             <false/>
             <key>GroupName</key>
             <string>appserverusr</string>
             <key>Label</key>
             <string>com.apple.webobjects.womonitor</string>
             <key>OnDemand</key>
             <false/>
             <key>Nice</key>
             <integer>20</integer>
             <key>LowPriorityIO</key>
             <true/>
             <key>Program</key>
             <string>/System/Library/WebObjects/JavaApplications/
    JavaMonitor.woa/JavaMonitor</string>
             <key>ProgramArguments</key>
             <array>
                     <string>JavaMonitor</string>
                     <string>-WOPort</string>
                     <string>56789</string>
                     <string>-WOHost</string>
                     <string>localhost</string>
             </array>
             <key>ServiceIPC</key>
             <false/>
             <key>UserName</key>
             <string>appserver</string>
    </dict>
    </plist>
    /Library/LaunchDaemons/com.apple.webobjects.womonitor.plist (END)

    > Is there any chance that your WO config is in a virtual host that is
    > only getting used for deployed apps?

    I've not defined any additional virtual hosts in apache (I'm pretty
    sure).

    > If the default host was not configured for WO, you would get a 404
    > and nothing in WebObjects.log.

    The default being defined where?

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Mon Jan 19 2009 - 23:44:54 EST