Re: Help: The requested application was not found on this server
Re: Help: The requested application was not found on this server
- Subject: Re: Help: The requested application was not found on this server
- From: Lachlan Deck <email@hidden>
- Date: Thu, 10 Nov 2005 11:19:25 +1100
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. 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.
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 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...
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!
:-))
with regards,
--
Lachlan Deck
_______________________________________________
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