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

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



Ian

Note that in ProjectBuilder's run options panel you can type in any
command linar args you'd like to pass such as -WOPort 4532 or whatever
port number you like, and PB will remember it next time you run.

Also if you use the default write I mentioned in a previous message then
unless you specifically override the -WOPort in the default with the
command line arg, any time you start the app, it'll use the default port
number. No need for a WebObjects.conf file or startup in the Monitor.

d

Ian Calegory wrote:
> 
> I've heard that there's a way to use the same URL to access an application that
> changes port numbers every time you run it, but I haven't gotten it to work.
> You should also be able to edit the public WebObjects.conf file by hand, but my
> app. still started on a different port each time when I ran it from Project
> Builder.  I used the Monitor application to start the app. on a single port each
> 
> time (for deployment--I like the "random" port thing for development, because it
> 
> makes it harder for people to connect to your apps. while you're developing
> them).  But, the installation put Monitor in the wrong place, so I had to move
> it to where it was supposed to be (and do some other things, because I had to
> change the host name of the machine I was working on) and mess around with it to
> 
> get it to work.  It's working great now!
> 
> Now I just need to figure out how to get Monitor to start up on a single port,
> when it's started with the NT Monitor services or otherwise.
> 
> Ian
> 
> 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