View previous topic :: View next topic |
Author |
Message |
sboomer n00b
Joined: 15 Mar 2005 Posts: 9 Location: Russia
|
Posted: Thu Mar 17, 2005 12:18 pm Post subject: how run tomcat on 80 port.. ASAP!!!! |
|
|
how run tomcat on 80 port... Help me.. ASAP!!!!
When i change in server.xml port 8080 on 80 and start tomcat , i see in log error 80 port permition denied...
80 port is free.. |
|
Back to top |
|
|
rex123 Apprentice
Joined: 21 Apr 2004 Posts: 272
|
Posted: Thu Mar 17, 2005 12:24 pm Post subject: |
|
|
Either run tomcat as root, or use iptables to redirect port 80 to port 8080, or run apache on port 80 and use mod_jk. |
|
Back to top |
|
|
rex123 Apprentice
Joined: 21 Apr 2004 Posts: 272
|
Posted: Thu Mar 17, 2005 12:33 pm Post subject: |
|
|
Or, it seems, you can run jsvc. There doesn't seem to be an official Gentoo way of doing this. |
|
Back to top |
|
|
sboomer n00b
Joined: 15 Mar 2005 Posts: 9 Location: Russia
|
Posted: Thu Mar 17, 2005 12:38 pm Post subject: |
|
|
how run tomcat as root... |
|
Back to top |
|
|
rex123 Apprentice
Joined: 21 Apr 2004 Posts: 272
|
Posted: Thu Mar 17, 2005 12:43 pm Post subject: |
|
|
sboomer wrote: | how run tomcat as root... |
Edit CATALINA_USER in /etc/conf.d/tomcat
This is the easiest, but least recommended, option. |
|
Back to top |
|
|
sboomer n00b
Joined: 15 Mar 2005 Posts: 9 Location: Russia
|
Posted: Thu Mar 17, 2005 12:45 pm Post subject: |
|
|
thanks, i did't |
|
Back to top |
|
|
|