PDA

View Full Version : Change the default port 8080


Flu
02-22-2004, 07:41 AM
I got a JBOSS on port 8080 and two other running Tomcats on port 80 and 9080.

After I installed the Laszlo app, the added tomcat didn't want to run (obviously) until I changed its server.xml to 5000.

Problem is, the application doesn't run still. It just hangs in the main welcome window and doesn't load. Is there any other file I need to change if I want to run the Laszlo tomcat on port 5000 and not 8080 ?

bloch
02-22-2004, 08:06 AM
Hey

It looks like the startup .html page logic
is somewhere hardcoded to 8080 (this is a bug);
hopefully we'll fix it in 2.0.1.

But the server is actually up and you should be able to start using it by surfing to

http://localhost:5000/lps-2.0/lz-utils/welcome.html

(or simply http://localhost:5000/lps-2.0)

and waiting for the welcome clocks to display.

Best,

-Eric

bloch
02-22-2004, 08:09 AM
Also,

if you wanna use the icon to have everything startup work as designed, you can edit

$LPS_HOME\jakarta-tomcat-4.1.12\webapps\lps-2.0\lz-utils\startup.var

and change the 8080 to your port number.

-Eric

bloch
02-22-2004, 08:15 AM
Also, btw, if you have another instance of tomcat up and running, you may need/want to change the shutdown port in server.xml to something other than default of 8009.

Flu
02-22-2004, 12:09 PM
thx