Re: [Aimmath-developers] port 8080
Brought to you by:
gustav_delius,
npstrick
From: Greg G. <gr...@ma...> - 2003-07-18 04:31:59
|
On Thu, 17 Jul 2003, Gustav W Delius wrote: GG> ... and it all works fine, except that you will notice that I didn't GG> want port 8080 (but instead use port 80) which I have configured in GG> ManualConfig.mpl. However, everytime the admin.html and index.html GG> page are regenerated (by adding a subject) the form action is set GG> to a URL with :8080 inserted. I can edit it correctly by hand, but GG> where is this coming from? It's apparently generated by aim/Zone.mpl GG> using Config['ServletURL'], but I've checked this via Console.mpl GG> ... it is the URL given above. So what's going on? > ... > The only idea I have is that perhaps you first used your installation on > port 8080 and later changed to 80. It is then possible that the 8080 has > found its way into some of the automatically generated files in the > directory web-inf/root. Could you search all files in there for an occurence > of 8080? Indeed, I had neglected to add the configuration Config['TomcatPort'] := 80: in ManualConfig.mpl, on my first pass and so the file DefaultZone.mpl written to the top of the WEB-INF/root directory had the port :8080 inserted in the servlet URLs. I see that this file is first written by AliceServer.mpl. I would have avoided the problem if I had removed this file before rereading AutoConf.mpl. We should have a warning that WEB-INF/root/DefaultZone.mpl should be removed or at least checked for wrong information before re-reading AutoConf.mpl after changing ManualConfig.mpl in our installation instructions. Regards, Greg |