• 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: Chuck Hill <email@hidden>
  • Date: Wed, 9 Nov 2005 21:55:27 -0500

I've been savagely attacked by the recently, twice. Scarred and bloodied, I'm not sure that I am in the best position to advise. Nonetheless..

As far as I can tell, this stuff is just wonky. WO 5.3 might have made it worse. Or it might be Tiger. Something. Somewhere. It is worse now.

OK.  Deep breath.  Whew.  Let's begin.

On Nov 9, 2005, at 7:19 PM, Lachlan Deck wrote:

Hi Kev,

On 10/11/2005, at 5:04 AM, email@hidden wrote:


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


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

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.

It does. "No instance Available" means "I know about this application, but I can't find any running instance that I am on speaking terms with." "The requested application was not found on this server" means, "Who? Never heard of him".


The former usually means that the app is configured but all instances have crashed or the the communications are not working or all instances have been so slow that they have been marked dead.


  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.


I blame Rendezvous / Bonjour / French speakers in general (just joking).

I got pissed off at the end, I just wanted it to work. In fact, I just wanted it to work at the beginning. But after a while I got angry!

Here is why mine now looks like:

<adaptor>
  <application name="Blog">
    <instance id="-3456" port="3456" host="localhost"/>
  </application>
</adaptor>

To do this, I had to:

a) Edit /System/Library/WebObjects/JavaApplications/wotaskd.woa/ Contents/Resources/Properties

to include this line:
-WOHost=localhost

Then restart the webobjects service or reboot


b) Add this parameter to WO apps when launching: -WOHost=localhost

It seems to be rather important that these two applications agree on the host name. Who knew? They seem to not agree a lot lately. Can't we all just get along?

It is even better if you add / change
-WOAdaptorURL http://localhost/cgi-bin/WebObjects


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.



Make sure the log file is world writeable. i.e., $ sudo chmod a+w /tmp/WebObjects.log

Until I did that the error messages that I weren't nearly as helpful...


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.



Chuck?

I'd need to see a bit more but it still looks like a host name issue


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)


Yep, that's fine...

Something is failing to grasp something basic and simple but it is not you.



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!


:-))


Amen brother!

Well, I hope that helps. If not, write back and I will see what I can do.

Chuck
Thinking "farming might be a better career"


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


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-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to 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>)
 >Re: 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>)

  • Prev by Date: RE: Help with stack trace from frozen application
  • Next by Date: Re: Help: The requested application was not found on this server
  • 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