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 04:31:54 +1100
-------- Lachlan writes --------
It'll be better to keep this discussion on the list; two heads are
better than one as they say ;-)
--------------------------------
Hi LD,
Thanks so much for helping. This is driving me slightly insane.
I did find your research on the list previously, but being new, I was
not sure if anything was actually solved. I reread the thread and at
least have more insight.
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.
Here is my output:
kevins-computer:~ kbull$ sudo /System/Library/StartupItems/
WebObjects/WebObjects restart
Restarting WebObjects services
kevins-computer:~ kbull$ sudo lsof -i tcp:1085
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 4028 root 5u IPv6 0x01cf92c8 0t0 TCP *:webobjects
(LISTEN)
Here is the webobjects.log.1 file to confirm all is working
javawoservice.sh: `wotaskd' is starting up ...
[2005-11-09 09:59:37 EST] <main> Multicast Response Disabled
[2005-11-09 09:59:37 EST] <Thread-0> Created UDP socket; listening
for requests...
[2005-11-09 09:59:37 EST] <main> The URL for webserver connect is:
http://kevins-computer.local/cgi-bin/WebObjects/wotaskd.woa/-1085
The URL for direct connect is:
http://kevins-computer.local:1085/cgi-bin/WebObjects/wotaskd.woa
[2005-11-09 09:59:37 EST] <main> null
[2005-11-09 09:59:37 EST] <main> Waiting for requests...
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.
First I built and ran (Build and Go) the application with Xcode
without adding/changing any of the default properties.
The page appears in Safari, with "Hello World" showing at the url
http://kevins-computer.local:49917/cgi-bin/WebObjects/TestApp.woa
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. 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.
I am stumped. The only things I see that are odd are "Cannot use
rapid turnaround. Please start Xcode and open the project for this
application." in the Run Log. I also see this while Xcode is still
running the TestApp
sudo lsof -i tcp:1085
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 4075 root 5u IPv6 0x01cf9658 0t0 TCP
*:webobjects (LISTEN)
java 4075 root 8u IPv6 0x01cf9490 0t0 TCP [::
10.10.10.80]:webobjects->[::10.10.10.80]:49924 (ESTABLISHED)
java 4923 kbull 7u IPv6 0x01cf8ba8 0t0 TCP [::
10.10.10.80]:49924->[::10.10.10.80]:webobjects (ESTABLISHED)
I am so new, I am not sure if I need to do anything else to run
application in "deployment" mode, like switching a build setting in
Xcode, a switch, setting active build style to Deployment rather than
Development?
Any help that you have gathered would be great. I will post the
findings back to the group list.
Thanks,
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