Re: The requested application not found on this server

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Mon Jan 19 2009 - 17:47:59 EST

  • Next message: Q: "Re: Renaming component breaks editor"

    On 20/01/2009, at 7:32 AM, Chuck Hill wrote:

    > On Jan 19, 2009, at 12:11 AM, Lachlan Deck wrote:
    >
    >> Hi there,
    >>
    >> I've just upgraded an app to WO5.4.3, Wonder 5.x (from WO5.3.3,
    >> Wonder 4.x) and am unable to connect to the app when running from
    >> Eclipse.
    >> The logs suggest, of course, that the app started just fine.
    >>
    >> I've tried updating WOLips .. now running 3.4.5602.
    >>
    >> I've done the following but I get nothing...
    >> $ sudo touch /tmp/logWebObjects
    >> $ tail -F /Library/WebObjects/Logs/WebObjects.log
    >>
    >> I've restarted wotaskd and apache. No diff. I can connect to
    >> JavaMonitor on my local machine just fine.
    >>
    >> Both wotaskd and the app in Eclipse are set to use WOHost localhost.
    >>
    >> Probably missing something obvious - any clues?
    >
    > Well, no. Adding WOHost=localhost to the Properties file of wotaskd
    > and the app and restarting everything has always worked for me.

    Hmm. That's a shame. After a good night's sleep, nothing changed.
    Restarted stuff (as below) but still the same occurs (Tim I've
    refreshed the browser ad nauseam but it ain't happening).

    Oh - forgot to mention I'd updated Mac OS X from 10.5.5 to 10.5.6 also
    over the holidays + downloaded installed the latest dev tools (which
    would have touched WO stuff). I vaguely remember someone mentioning
    something about a problem they had recently after a system update.

    I've pasted in the output below from the following stuff (if that
    helps trigger any clues)
    [A] launch daemon plist for wotaskd
    [B] apache conf setup
    [C] Fixing permissions on /Library/WebObjects/Logs/
    [D] Output from /Library/WebObjects/Logs - only from apache restart/
    graceful, but nothing further.

    Any help appreciated :-)

    with regards,

    --
    

    Lachlan Deck

    ---------------- [A] launch daemon plist for wotaskd ---------------- $ less /Library/LaunchDaemons/com.apple.webobjects.wotaskd.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.wotaskd</string> <key>OnDemand</key> <false/> <key>Nice</key> <integer>20</integer> <key>LowPriorityIO</key> <true/> <key>Program</key> <string>/System/Library/WebObjects/JavaApplications/ wotaskd.woa/wotaskd</string> <key>ProgramArguments</key> <array> <string>wotaskd</string> <string>-WOPort</string> <string>1085</string> <string>-WOHost</string> <string>localhost</string> </array> <key>ServiceIPC</key> <false/> <key>UserName</key> <string>appserver</string> </dict> </plist>

    ----------------------- [B] apache conf setup ----------------------- $ pwd /private/etc/apache2/other $ ls -la total 24 drwxr-xr-x 5 root wheel 170 19 Dec 18:15 . drwxr-xr-x 9 root wheel 306 19 Dec 18:14 .. -r--r--r-- 1 root wheel 73 25 Nov 2007 bonjour.conf -r--r--r-- 1 root wheel 194 25 Nov 2007 php5.conf lrwxr-xr-x 1 root wheel 57 14 May 2008 webobjects.conf -> /System/ Library/WebObjects/Adaptors/Apache2.2/apache.conf $ tail webobjects.conf

    # 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

    ------------------------------ [C] Fixing permissions on /Library/WebObjects/Logs/ ------------------------------ $ ls -lan /Library/WebObjects/Logs total 24 drwxrwxr-x 4 79 81 136 21 Aug 12:53 . drwxrwxr-x 7 79 81 238 14 May 2008 .. drwxr-xr-x 51 79 81 1734 17 Jan 15:28 AjaxExample -rw-r--r-- 1 0 81 9723 19 Jan 19:04 WebObjects.log $ sudo chown -R 79:81 /Library/WebObjects/Logs/

    ------------------------------ [D] Output from /Library/WebObjects/Logs - only from apache restart/ graceful, but nothing further. ------------------------------ $ sudo launchctl stop com.apple.webobjects.wotaskd $ sudo launchctl stop com.apple.webobjects.womonitor $ sudo launchctl start com.apple.webobjects.wotaskd $ sudo launchctl start com.apple.webobjects.womonitor $ sudo apachectl graceful

    Tailing /Library/WebObjects/Logs/WebObjects.log - I get the following from apachectl graceful but firing up the app (which opens the browser) I get nothing further...

    Debug: init_adaptor(): beginning initialization. Adaptor version 4.5.1. Info: init_adaptor(): config options are: String table: config = http://localhost:1085 confinterval = 10 logPath = /Library/WebObjects/Logs/WebObjects.log logLevel = Debug Info: Adaptor shared state file: /tmp/WOAdaptorState Info: Adaptor info user: <no user set>, password: <no password set> Debug: init_adaptor(): WOShmem_init succeeded Debug: init_adaptor(): tr_init succeeded Debug: init_adaptor(): hl_init succeeded Warn: la_initialize(): WA_INST_LB_INFO_SIZE too small to use loadaverage Info: lb_init(): loadaverage scheduler not available - initialization failed Debug: init_adaptor(): lb_init succeeded Info: WOShmem_alloc(): allocated region "application list" (868 x 64) Info: WOShmem_alloc(): allocated region "instance list" (160 x 8192) Info: WOShmem_alloc(): allocated region "configTimes" (40 x 1) Info: WOShmem_alloc(): allocated region "configServers" (6208 x 1) Info: ac_init(): reading configuration from: http://localhost:1085 Info: Caching hostent for localhost Info: Added new config server localhost:1085. Debug: init_adaptor(): ac_init succeeded Debug: init_adaptor(): transaction_init() succeeded Info: Reading configuration from http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig Info: attempting to connect to localhost on port 1085 Info: Preparing to read config for host: localhost Info: New response: HTTP/1.0 200 Apple WebObjects Info: ac_newInstance(): added JavaMonitor:-56789 (56789) Info: WebObjects_post_config(): WebObjects adaptor initialization succeeded. Debug: init_adaptor(): beginning initialization. Adaptor version 4.5.1. Info: init_adaptor(): config options are: String table: config = http://localhost:1085 confinterval = 10 logPath = /Library/WebObjects/Logs/WebObjects.log logLevel = Debug Info: Adaptor shared state file: /tmp/WOAdaptorState Info: Adaptor info user: <no user set>, password: <no password set> Debug: init_adaptor(): someone installed a SIGPIPE handler Debug: init_adaptor(): WOShmem_init succeeded Debug: init_adaptor(): tr_init succeeded Debug: init_adaptor(): hl_init succeeded Warn: la_initialize(): WA_INST_LB_INFO_SIZE too small to use loadaverage Info: lb_init(): loadaverage scheduler not available - initialization failed Debug: init_adaptor(): lb_init succeeded Info: WOShmem_alloc(): allocated region "application list" (868 x 64) Info: WOShmem_alloc(): allocated region "instance list" (160 x 8192) Info: WOShmem_alloc(): allocated region "configTimes" (40 x 1) Info: WOShmem_alloc(): allocated region "configServers" (6208 x 1) Info: ac_init(): reading configuration from: http://localhost:1085 Info: Caching hostent for localhost Info: Added new config server localhost:1085. Debug: init_adaptor(): ac_init succeeded Debug: init_adaptor(): transaction_init() succeeded Info: Reading configuration from http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig Info: attempting to connect to localhost on port 1085 Info: Preparing to read config for host: localhost Info: New response: HTTP/1.0 200 Apple WebObjects Info: ac_newInstance(): added JavaMonitor:-56789 (56789) Info: WebObjects_post_config(): WebObjects adaptor initialization succeeded.



    This archive was generated by hypermail 2.0.0 : Mon Jan 19 2009 - 17:48:59 EST