Re: Weird case of "The requested application was not found on this server"

Ondřej Čada <[email protected]> Thu, 16 Feb 2012 03:15:45 +0100
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Chuck,

On Feb 9, 2012, at 7:30 PM, Chuck Hill wrote:
> On 2012-02-08, at 10:48 PM, Ond=C5=99ej =C4=8Cada wrote:
>=20
>> When I run my built application manually from Terminal, like =
"./Test.woa/Test -WOPort 56000", then the =
"http://localhost/cgi-bin/WebObjects/Test.woa/-56000" URL does not work =
-- consistently yields "The requested application was not found on this =
server".
>>=20
>> Direct connect (http://localhost:56000) works all right (assumed I =
use -WODirectConnectEnabled of course).
>>=20
>> If I set up the very same application in JavaMonitor and access =
through "http://localhost/cgi-bin/WebObjects/Test.woa", it _again_ works =
all right!
>=20
> Check and see what other parameters JavaMonitor is adding to the =
command line.  Maybe a default was changed and needs to be set?  Or the =
older application has something different in its Properties?

Actually, I've found the culprit, but it does not elucidate the problem =
the slightest bit: when my app runs under JavaMonitor, anything like =
"http://localhost/cgi-bin/WebObjects/Foo.woa/-1" or =
"...Foo.woa/-123456789" or "...Foo.woa/-whattheheck" runs just as well, =
using in fact the JavaM-controlled instance.

In other words, it seems that the =
"http://localhost/cgi-bin/WebObjects/Foo.woa/-portnumber" URL completely =
ignores the -portnumber part and always works exactly as if it was not =
there. Did I perhaps miss anything and this kind of URL should not work?

>> Finally, to make it couriouser and couriouser, when I run manually =
from the Terminal an _older_ application, a pre-5.4.3, Xcode-built one, =
the "...Another.woa/-56000" URL _does_ work all right :-O

Here I was mislead -- the old application I've tried _does_ run in JM, =
so I was using that instance.

And one quite unrelated question -- is there a way to get rid of the =
superfluous "Display groups are defined for component FOO.wo but class =
was not found" errors? They get reported for all my groovy components =
(and they are wrong, the classes are build all right and the app works =
with them without a glitch).

Thanks and all the best,
---
Ondra =C4=8Cada
OCSoftware:     [email protected]               http://www.ocs.cz
private         [email protected]             http://www.ocs.cz/oc