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 28.03.2004, 00:35: > Yes, by using direct connect it works, thanks. However this obviously is not > using the web server. Okay, that was just for checking. I had the weiredest errors sometimes and later it turned out that a JARfile or something was missing. > Ah, here I have misled you, sorry. I am indeed starting the application from > the command line. So can I obtain a URI like: > > http://<name>/cgi-bin/WebObjects/HelloWorld > > by starting the app from the comand line? You mean, without Monitor? I am not sure if this is possible at all. There is a startup type called "webserver development" where you specify the negative port number your application is using. Say your application runs on port 3333, then the URL would look like: http://<name>/cgi-bin/WebObjects/HelloWorld.woa/-3333 This can be used to check whether static resources (GIF, CSS etc) are correctly deployed on the webserver. However, you will not be able to use load balancing or a distributed deployment with more then one machine. When you have set up the application via Monitor, you also have to setup instances of the application that will then run. When in Monitor, click on the "Applications" tab right on top of the screen. Then select the application you want to run and click on its "Config" button. This brings you to the application config page. Now, on this page in the upper right corner, there is a button called "Detail View", click on this button. This will list all instances you have at the moment. Below, there is a line "Add [ 1 ] instance(s) on host: xxx.xxx.xxx.xxx" Click on the "Add" button, to add one instance, then click on "Start" to start the instance. After a while (you can click "Refresh Now" to get a screen update), the instance should run and you should be able to access it by clicking on its name (directly above the "Refresh Now" hyperlink). Maybe that was just the piece you were missing? If it does not work, feel free to write again. -- Regards, Stefan