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 l
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
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.Tomcat
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 htt
Ok, thanks. I'm starting Tomcat with a script (now I know that, didn't before). It
has a configuration file which defines the startup user as 'tomcat3' (I'm still using
Tomcat 3.3.1). Should I change the TOMCAT_USER config variable to root?
Or is there a Better Way? P'haps some permission I c
The only user with permission to bind to port 80 is "root". So either
define the user as "root" or manually start Tomcat using the startup
scripts while logged in as root. My guess is that you have an RPM install,
which means that manually starting the scripts will probably cause you more
gri
Ok, thanks. Changing TOMCAT_USER in tomcat3.conf to 'root' did the trick, eventually.
I had errors in several chown commands during the setup for start. I just commented
them out, since there shouldn't be any need for a root user to access files, right?
Anyway, it's running now, on port 80 an
Well, errors are generally bad.
John
On Fri, 13 Jun 2003 14:17:31 -0700, <[EMAIL PROTECTED]> wrote:
Ok, thanks. Changing TOMCAT_USER in tomcat3.conf to 'root' did the
trick, eventually. I had errors in several chown commands during the
setup for start. I just commented them out, since there
Just a word of caution.
Running Tomcat as root can be a pretty serious security hole.
Anyone who can put a put a JSP file onto your server can run
java programs as root. Since Java can execute shell commands,
you've pretty much opened the door for someone to run anything they want.
If multiple us
Yeah, maybe we do need a separate list. Or a daily posting here that says
"LOOK HERE FOR INTEGRATION HELP".
I'm working on a virtual hosting HOWTO right now, thanks to a couple
generous donations, both JK and JK2. Once that is done, the only thing I
can think of that might need to really be d
I have the RPM version of tomcat3 installed and found out the hard way
that there are three places that let you specify TOMCAT_USER:
/usr/bin/tomcat3, /etc/rc.d/init.d/tomcat3, and
/etc/tomcat3/conf/tomcat3.conf. It seems like only the last one matters
as far as setting TOMCAT_USER is concerned.
>After that, a separate list might be overkill.
It seems to me that integrating Tomcat with Apache and/or IIS has been and
most likely always will be a moving target. I did it with Tomcat 3x a couple
years ago and the process seems to be different now.
Has the process stabilized at all? I'
Howdy,
>Has the process stabilized at all? I've put off the the integration
until
>our app is closer to being released because I didn't want to spend a
lot of
>time on it just to find out that the process has changed after I
finished.
> Does anyone know if there has been talk of enabling the Tom
So it's possible? I'd love to be part of the effort if it isfor some
reason, I didn't think it was.
John
On Mon, 16 Jun 2003 10:15:14 -0400, Shapira, Yoav <[EMAIL PROTECTED]>
wrote:
Howdy,
Has the process stabilized at all? I've put off the the integration
until
our app is closer to bei
Well, the process has been stable for nearly a year, because my answers
haven't changed any. ;)
John
On Mon, 16 Jun 2003 10:09:03 -0400, Ben Souther <[EMAIL PROTECTED]> wrote:
After that, a separate list might be overkill.
It seems to me that integrating Tomcat with Apache and/or IIS has been
Howdy,
>So it's possible? I'd love to be part of the effort if it isfor
some
>reason, I didn't think it was.
Nothing is impossible technically ;) It's just varying degrees of
cleanliness. Tomcat just runs inside a JVM, not much to do there in so
far as root privileges.
But there are many
jakarta-commons/sandbox/daemon has had this for a very long time. I think
that Launcher stole it from daemon, but I've always considered Launcher to
be primarily for Windows, so I haven't really looked at Launcher much.
"John Turner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
17 matches
Mail list logo