The adaptor will not create an application listing if a load  
balancing configuration (WebObjects.conf) file exists.

The logic behind this is that the listing is a convenience for  
developers; once deployed, you don't want everyone to be able to see  
every application you're hosting.

If you want to override this behaviour, you can modify the adaptor  
source (see the function shouldList() in listing.c).

Steve


Begin forwarded message:

Hi!

>From an earlier posting to this mailinglist:

<cut>

At 12:51 -0800 28-01-99, Kaj Hejer wrote:
>When I have no  
$NEXT_ROOT/Library/WebObjects/Configuration/WebObjects.conf
>I can say http://vigeland.uio.no/cgi-bin/WebObjects and get a  
listing of my
>running applications. I did't get that even after using the WOPort when I
>start my urlvakt application. Page 15 in the "What's new with WebObjects"
>(which is the same as
>http://developer.apple.com/techpubs/webobjects/System/Documentation/Developer/W
>ebObjects/DeltaDoc/NewInWO4.012.html) say:
>
>       Entering the path to the WebObjects adaptor in the browser  
(usually
>       http://localhost/cgi-bin/WebObjects) used to provide a list of
>       applications you had installed under the document root. Selecting
>       one of these applications took you to it, autostarting the
>       application if necessary.
>
>       Because the adaptor can no longer autostart applications, entering
>       the path to the adaptor now takes you to a list of already running
>       applications.
>

</cut>

When we _are_ using a
$NEXT_ROOT/Library/WebObjects/Configuration/WebObjects.conf file,
http://vigeland.uio.no/cgi-bin/WebObjects just gives us "Invalid
application name".

Is this right or wrong?


This file now looks like:

bash-2.01$ ls -la  
$NEXT_ROOT/Library/WebObjects/Configuration/WebObjects.conf
-rw-r--r--   1 www           616 Mar 24 21:32
/opt/Apple/Library/WebObjects/Conf
iguration/WebObjects.conf

bash-2.01$ cat $NEXT_ROOT/Library/WebObjects/Configuration/WebObjects.conf
hjemmesider:[EMAIL PROTECTED] 3333
romreservering:[EMAIL PROTECTED] 3334
telefonliste:[EMAIL PROTECTED] 3335
usitskjema:[EMAIL PROTECTED] 3336
kompetansekatalog:[EMAIL PROTECTED] 3337
tidsskrifter:[EMAIL PROTECTED] 3338
brukerregistrering:[EMAIL PROTECTED] 3339
borte:[EMAIL PROTECTED] 3340
urlvakt:[EMAIL PROTECTED] 3341
vispalett:[EMAIL PROTECTED] 3342
kapitalist:[EMAIL PROTECTED] 3343
ia:@vigeland.uio.no 3350
broker:@vigeland.uio.no 3355
stillinger:[EMAIL PROTECTED] 4001
stillinger:[EMAIL PROTECTED] 4002
stillinger:[EMAIL PROTECTED] 4003
stillinger:[EMAIL PROTECTED] 4004
stillinger:[EMAIL PROTECTED] 4005
bash-2.01$

We are using WO4 and Solaris.


-Kaj :)

Reply via email to