Peter Crowther wrote:
>
> 2010/1/14 pionier <pionierp...@interia.pl>:
>> Linux vs4160 2.6.22-vs2.2.0.7-gentoo #4 SMP Mon Jul 27 01:53:39 Local
>> time
>> zone must be set--see zic x86_64 AMD Phenom(tm) II X4 810 Processor
>> AuthenticAMD GNU/Linux
>
> Thanks. OK, you've got a few options here. This is all because a
> process can only bind to a port < 1024 on Unix if it's running as root
> at the instant it binds.
>
> - Fix your current configuration. You're presently using
> mod_proxy_ajp to pass data between httpd and Tomcat , which is less
> mature than mod_jk. mod_jk takes a bit of setting up, but that would
> let you keep httpd if you want to.
>
> - Run Tomcat as root and set up an HTTP Connector on port 80. Not
> good for security!
>
> - Run Tomcat as non-root, set up an HTTP Connector on port 8080, and
> configure the Linux kernel firewalling to redirect port 80 to port
> 8080. Probably easier than setting up httpd, but it has a few
> irritating features like having to set proxyPort on the connector.
>
> - Start Tomcat using jsvc (see the section on "Unix daemon" at
> http://tomcat.apache.org/tomcat-6.0-doc/setup.html for details) and
> set up an HTTP Connector on port 80. This allows you to start Tomcat
> in a way that it can bind to port 80, but you then run it as an
> unprivileged user (using the --user option to jsvc). This is secure
> and doesn't require stuff like proxyPort.
>
> - Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
thx for ur time and help...
I finally found the solution...
I cant run my app on 80 porto i have to use apache to forward request...
All knowledge i get from this discution will be very helpfull in future...
but in my case the problem was more trivial... I had to buy exta 100MB of
ram...
it looks like grails application just love memmory :) 480MB and everything
works fine.
--
View this message in context:
http://old.nabble.com/Tomcat-%2B-Apache-%2B-AJP-%3D-high-cpu-usage%3A--tp27154357p27174860.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org