• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help: The requested application was not found on this server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help: The requested application was not found on this server


  • Subject: Re: Help: The requested application was not found on this server
  • From: email@hidden
  • Date: Wed, 9 Nov 2005 13:04:39 -0500

Thanks Lachlan,

On 09 Nov, 2005, at 12:32 PM, Lachlan Deck wrote:

Hi Kev,

On 10/11/2005, at 2:29 AM, email@hidden wrote:

I did find your research on the list previously, but being new, I was not sure if anything was actually solved.

It was for me ;-) but your problem may be slightly different so we'll follow the steps Chuck outlined (2nd Oct 2005)


Thanks also for sending the WebObjects Startup Script.... indeed mine would not restart stop properly (as was evidenced in my previous webobjects.log.1) file. After following your instructions I am able to start, stop and restart WebObjects without error messages.
<...>
Good. That's Step #1.

Step #2, check the permissions of the config file. With wotaskd running as root it needs to be owned by root with permissions as follows...
$ ls -l /Library/WebObjects/Configuration/
total 8
-rw-r--r-- 1 root admin 351 Nov 5 10:30 SiteConfig.xml

I did this an got the following:

$ ls -l /Library/WebObjects/Configuration/
total 8
-rw-r--r--   1 root  admin  351 Nov  9 10:02 SiteConfig.xml

So that seems OK.

Next I recreated a new WebObjects Application from Xcode 2.0 (called it simply TestApp, again, no eomodel). I just added text "Hello World" to the Main.wo page. <...> The page appears in Safari <...>

Now, I put in the following to the properities
	WODirectConnectEnabled=false
	WOAutoOpenInBrowser=false
	WOPort=49303

I rebuilt and run (Build and Go) the application with Xcode.

Just for fun, try trashing the build directory, just in case there's something going on with Xcode's indexing, and re-running.

I did this: Trashed the build directory, cleaned all targets, built and ran the TestApp applications. Still the same results. When I go to the URL (note I had changed WOPort to 55555 in the Properties, so it was easier to see) http://kevins-computer.local/cgi-bin/WebObjects/ TestApp.woa/-55555, I still get "The requested application was not found on this server"



The following is the tail end of the run log

[2005-11-09 10:16:41 EST] <main> Created adaptor of class WODefaultAdaptor on port 49303 and address kevins-computer.local/ 10.10.10.80 with WOWorkerThread minimum of 16 and maximum of 256
[2005-11-09 10:16:41 EST] <main> NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.
[2005-11-09 10:16:41 EST] <main> Cannot use rapid turnaround. Please start Xcode and open the project for this application.
[2005-11-09 10:16:41 EST] <main> Creating LifebeatThread now with: TestApp 49303 kevins-computer.local/10.10.10.80 1085 30000
Welcome to TestApp!
[2005-11-09 10:16:41 EST] <main> The URL for webserver connect is:
http://kevins-computer.local/cgi-bin/WebObjects/TestApp.woa/-49303
[2005-11-09 10:16:41 EST] <main> null
[2005-11-09 10:16:41 EST] <main> Waiting for requests...


I point my browser to http://kevins-computer.local/cgi-bin/ WebObjects/TestApp.woa/-49303

and still get a page with the message:
"The requested application was not found on this server."

Step #3 [Quote]: "Run your application. Get the No Instance Available message. Then go to http://kevins-computer.local:1085/. You _should_ get an HTML page detailing the setup and running apps on that machine. Look near the bottom for a part that looks like this:


Adaptor Config as sent to Local WOAdaptors - All Running Applications and Instances

<?xml version="1.0" encoding="ASCII"?>
<adaptor>
  <application name="TestApp">
    <instance id="-51536" port="51536" host="Paris.local"/>
  </application>
</adaptor>

That is your app running in dev mode. Is it there? [/Quote]

Note I do not get "No instance Available", but "The requested application was not found on this server" as my message, if that makes a difference. I went to the page as described. I get the following:


Adaptor Config as sent to Local WOAdaptors - All Running Applications and Instances

<?xml version="1.0" encoding="ASCII"?>
<adaptor>
  <application name="TestApp">
    <instance id="-55555" port="55555" host="kevins-computer.local"/>
  </application>
</adaptor>

It looks as if it is the adaptor is configured right.


Step #4, get some logging messages... $ sudo cat /tmp/WebObjects.log $ sudo cat /tmp/logWebObjects $ sudo chmod a+w /tmp/WebObjects.log

Now rebuild the app and hit the front page a couple of times. Then
$ cat /tmp/WebObjects.log

What does it say?

I had activated the log by using 'touch' that I read as a tip in one of Chuck Hill's archived list messages. Here is the logfile (note my earlier attempts with a different WOPort)


Info: <WebObjects Apache Module> new request: /cgi-bin/WebObjects/ TestApp.woa/-50240
Debug: App Name: TestApp.woa/-50240 (7)
Info: Specific instance TestApp: not found. Reloading config.
Error: Request handling error: The requested application was not found on this server.
Info: <WebObjects Apache Module> new request: /cgi-bin/WebObjects/ TestApp.woa/-55555
Debug: App Name: TestApp.woa/-55555 (7)
Info: Specific instance TestApp: not found. Reloading config.
Error: Request handling error: The requested application was not found on this server.
Info: <WebObjects Apache Module> new request: /cgi-bin/WebObjects/ TestApp.woa/-55555
Debug: App Name: TestApp.woa/-55555 (7)
Info: Specific instance TestApp: not found. Reloading config.
Error: Request handling error: The requested application was not found on this server.


I am beginning to believe I am failing to grasp something basic or simple... where is TestApp.woa supposed to be located after the build if I have WODirectConnectionEnabled set to false? ... still in my Projects /build folder (which it is) or in some System or Library folder?


with regards, --

Lachlan Deck



Thanks for your continued help... at least I am learning more than I wanted to know at this point. I will be happy to get back to WORepetitions!


Kev

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Help: The requested application was not found on this server
      • From: Lachlan Deck <email@hidden>
References: 
 >Help: The requested application was not found on this server (From: email@hidden)
 >Re: Help: The requested application was not found on this server (From: Lachlan Deck <email@hidden>)
 >Re: Help: The requested application was not found on this server (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Help: The requested application was not found on this server
  • Next by Date: [OT] Australian WO Developers
  • Previous by thread: Re: Help: The requested application was not found on this server
  • Next by thread: Re: Help: The requested application was not found on this server
  • Index(es):
    • Date
    • Thread