tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milt Epstein <mepst...@uiuc.edu>
Subject RE: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!
Date Sun, 15 Dec 2002 16:05:19 GMT
On Sun, 15 Dec 2002, Denise Mangano wrote:

> At first I thought it might be a permission problem, so I changed
> permissions to 775 on workers.properties and still no good.  NOW my
> Apache won't work.  I am getting an error message saying that Apache
> could not bind to port 443, that the port is already in use.
> Figuring on the problem being Tomcat, I uninstalled Tomcat, and I am
> still getting the error message and I can't bring up my website?!
> Desperately need to solve that cause my website, HAS to be up.  Can
> someone tell me how to check what else is binding to port 443?

443 is the default SSL (https) port, so most likely it is Apache that
is using it.  You probably already have it running, and need to
restart it (i.e. stop it then start it, as opposed to just starting
it).  Not sure about the other stuff.


> As far as why the jk2.properties, I have no idea!  But I can say
> this, it looks like when I built mod_jk it uses a java file called
> ApacheConfig.  This file has code that points to a different
> location for mod_jk is installed then where it actually is on my
> system.  Is it possible that I need to modify this ApacheConfig file
> before I build or are my configuration settings supposed to override
> that.  (In my error log below you can see that it still looks for
> mod_jk.so in libexec/ even though I changed that location in my
> tomcat config files... That still doesn't explain why even though
> its looking in the right place for my workers.properties file, it
> says the file is not there).
>
> Right now my first problem is more pressing...
>
> THanks!
> Denise
>
>
> -----Original Message-----
> From: Milt Epstein
> To: Tomcat Users List
> Sent: 12/14/2002 11:00 AM
> Subject: Re:  Almost there...Updated Apach-Tomcat with mod_jk
>
> On Sat, 14 Dec 2002, Denise Mangano wrote:
>
> > I also found this in my cataline.out log.
> > INFO: Loading registry information
> > Dec 13, 2002 4:29:37 PM org.apache.commons.modeler.Registry
> getRegistry
> > INFO: Creating new Registry instance
> > Dec 13, 2002 4:29:38 PM org.apache.commons.modeler.Registry getServer
> > INFO: Creating MBeanServer
> > Dec 13, 2002 4:29:39 PM org.apache.coyote.http11.Http11Protocol init
> > INFO: Initializing Coyote HTTP/1.1 on port 8080
> > mod_jk location: libexec/mod_jk.so
> > Make sure it is installed corectly or  set the config location
> > Using <ApacheConfig modJk="PATH_TO_MOD_JK.SO_OR_DLL" />
> > Can't find workers.properties at
> > /usr/local/jakarta-tomcat-4.1.17/conf/jk/workers.properties
> > Please install it in the default location or  set the config location
> > Using <ApacheConfig workersConfig="FULL_PATH" />
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.1.17
> > Dec 13, 2002 4:29:44 PM org.apache.coyote.http11.Http11Protocol start
> > INFO: Starting Coyote HTTP/1.1 on port 8080
> > Dec 13, 2002 4:29:44 PM org.apache.jk.common.ChannelSocket init
> > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > Dec 13, 2002 4:29:44 PM org.apache.jk.server.JkMain start
> > INFO: Jk running ID=0 time=2/46
> > config=/usr/local/jakarta-tomcat-4.1.17/conf/jk2.properties
> >
> > It gives me an error that it can't find workers.properties, but it is
> in
> > fact there...
>
> What is the ownership/permissions on it?  In particular, is it
> readable by the user Tomcat is running as?
>
> Also, if you're using mod_jk, why all that stuff about jk2?
>
>
> > -----Original Message-----
> > From: Denise Mangano
> > To: 'tomcat-user@jakarta.apache.org'
> > Sent: 12/13/2002 10:36 PM
> > Subject: Almost there...Updated Apach-Tomcat with mod_jk
> >
> > Here is an update.  I managed to get passed the configure fail I was
> > getting, and got through the build of mod_jk.  I followed everything
> to
> > the T, and I am back to the almost the same boat that I was in
> > yesterday.
> >
> > Before mod_jk setup I could access http://localhost:8080 as well as
> > http://localhost.  Both apache and Tomacat were working fine.
> Yesterday
> >
> > after mod_jk install Tomcat stopped working.  This time, after second
> > try, I can still access both.  However, even though I installed mod_jk
> I
> >
> > need to input the :8080.
> >
> > I restarted apache, and found the following error:
> >
> > [Fri Dec 13 21:37:08 2002] [error] Error while opening the workers, jk
> > will not work
> > [Fri Dec 13 21:37:12 2002] [error] (2)No such file or directory: Error
> > while opening the workers, jk will not work
> >
> > Which file is trying to access the workers.properties file that I
> > created?  I searched the server.xml, the httpd.conf, and the
> mod_jk.conf
> >
> > files and could find nothing that called for it....
> >
> > As you can see I cannot access the files without using the port :8080
> > attached to the end of localhost - if I try to it is still looking in
> my
> >
> > Apache web directory...
> >
> > [Fri Dec 13 22:04:59 2002] [error] [client 216.164.30.185] File does
> not
> >
> > exist: /var/www/html/examples/jsp/num/numguess.jsp
> >
> > Any thoughts?  I can post my files, if anyone is willing to take a
> look
> > at it...
> >
> > Thanks.
> > Denise
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> >
>
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> mepstein@uiuc.edu
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message