How are you starting Tomcat? Are you starting Tomcat as root, or using a script? If you are using a script, does the script start Tomcat as another user, such as "tomcat4"?


John

On Thu, 12 Jun 2003 21:20:23 -0700, <[EMAIL PROTECTED]> wrote:

I don't think that Apache is running, status of httpd is stopped. Is there another way to ensure this?

The tomcat failure message is quite specific about permission:

Exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.TomcatExcept
ion: Root cause - Permission denied:80
at org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown
Source)




Regards, Terry Fuller
[EMAIL PROTECTED]
-------------------------------------------------------


In <[EMAIL PROTECTED]>, on 06/12/2003 at 08:33 PM, "Bill Barker" <[EMAIL PROTECTED]> said:


The most likely reason it fails is that you already have
Apache running on port 80.  Only one application on the box
can bind to port 80.  You have to stop Apache first.

After that, it is pretty much:
sudo $TOMCAT_HOME/bin/startup.sh

If you are running 3.3.1 stand-alone, you might want to
look into using the CoyoteConnector (which is part of
3.3.2-dev). It perfoms much better than the
Http10Connector in most cases. The best way is to grab the
nightly for 3.3, and follow the directions at
http://jakarta.apache.org/builds/jakarta-tomcat- connectors/coyote/release/v1
.0-rc2/ (The rc2 release is known to be broken for 3.3, so
don't grab the jars from here).

<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED] > What do I have
to do to get Tomcat 3.3.1 to run with port 80?  I modified
server.xml to alter the port number, and it now fails with
lack of permission on port 80.  The Redhad doc for Apache
says it must be started by root for this to work, but I
start it as root and it still fails. >
A command line procedure would be best, and pointer to commands and doc is
fine.

Thanks!


Regards,
Terry Fuller
[EMAIL PROTECTED]
-------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to