Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how run tomcat on 80 port.. ASAP!!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sboomer
n00b
n00b


Joined: 15 Mar 2005
Posts: 9
Location: Russia

PostPosted: Thu Mar 17, 2005 12:18 pm    Post subject: how run tomcat on 80 port.. ASAP!!!! Reply with quote

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
View user's profile Send private message
rex123
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 272

PostPosted: Thu Mar 17, 2005 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
rex123
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 272

PostPosted: Thu Mar 17, 2005 12:33 pm    Post subject: Reply with quote

Or, it seems, you can run jsvc. There doesn't seem to be an official Gentoo way of doing this.
Back to top
View user's profile Send private message
sboomer
n00b
n00b


Joined: 15 Mar 2005
Posts: 9
Location: Russia

PostPosted: Thu Mar 17, 2005 12:38 pm    Post subject: Reply with quote

how run tomcat as root...
Back to top
View user's profile Send private message
rex123
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 272

PostPosted: Thu Mar 17, 2005 12:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
sboomer
n00b
n00b


Joined: 15 Mar 2005
Posts: 9
Location: Russia

PostPosted: Thu Mar 17, 2005 12:45 pm    Post subject: Reply with quote

thanks, i did't
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum