Re: problem with deploying wo application

Stefan Apelt <[email protected]>
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hi Beru,

your mail from 11.03.2004, 01:57:


> [As an aside, how does one set the Monitor password to <empty string>? This
> is not possible from within the monitor web app]

There is a file

/usr/local/Apple/Local/Library/WebObjects/Configuration/SiteConfig.xml

In  that  file,  search  for "<password" (without quotation marks) and
delete  the  whole line. You have to stop wotaskd and womonitor on all
machines  involved  in  your  setup  _before_  doing  this and restart
everything afterwards.


> When I try to hit the URL I get a 404.
> 
> 
> Is the fact that I receive no output telling me about "direct connect" or 
> just simply "Your application's URL is:" an indication that I have not set 
> the arguments correctly when i run the executable?
> 
> Or is it something I have completely missed?

I  am  not sure but you could try to move your application to a folder
without   any   hyphens   and   spaces   in   the   whole  path  (like
.../HelloWorld-0.1-20040311-101639/...).

Next,  you  can  try  to  set  "-WODirectConnectEnabled  YES"  in  the
application  configuration, then you can try to access the application
directly via the port to check if this works.


What I find strange is that your URL looks like this:

> http://<name>/cgi-bin/WebObjects/HelloWorld.woa/-1056

Normally  the  port  starts  with  2000  and  is  then counted upward.
However,  the  port  never  shows  up in a real deployment because the
webserver  adaptor  (in  conjunction  with  wotaskd) selects the right
instance and routes requests to it. The URL should look like this:

  http://<name>/cgi-bin/WebObjects/HelloWorld

Are you sure you are starting your application from within Monitor and
not (manually) from the command line?
  
-- 
Regards,
 Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.