[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO4: Application URL without port number doesn't work.



In two incredibly easy ways:

- Use a web server like you did in WO 3.5.1 (so port number doesn't show
up at all). In this case you are no longer using the DirectConnect
feature but a regular HTTP server -- which is what you want for
deployment anyway. Remember DirectConnect (the ability of WOApplication
is act like a web server) was added to make development easier and
improve the out of box experience. You don't have to use it.
- Specify the port number on the command line when you run the app or as
a default. If you do it on the command line you would add:
    -WOPort 4545

Or whatever port you want


Endre Meckelborg Rognerud wrote:
> 
> The application URL for a WO4-application has changed a bit. Now you include
> the port number the application works on. I read the documentation "Changes
> to WebObjects Application URL". Here I read that you can include the port
> number if you want, but it's not needed. But when I remove the port number,
> WO doesn't find the applicationa and I get an error.
> 
> In my project I have a static page that shows my application in one frame.
> This is really hard when the URL changes the whole time. Everytime I run my
> application from NT, it uses a different port number, and then it's really
> hard to make a static link to my application.
> 
> How can I solve this?
> 
> Thanks in advance!!
> Endre M. Rognerud