tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paresh Varatkar" <pvarat...@TRIRIGA.com>
Subject RE: So lost and confused
Date Thu, 26 Dec 2002 22:39:48 GMT


-----Original Message-----
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:jeffrey.peloquin@hp.com]
Sent: Thursday, December 26, 2002 1:47 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


what errors appeared in your error.log file for apache?


with them uncommented you might also might want to try running from the
command prompt
in the directory C:\Apache\bin\apachectl configtest
or wherever the bin directory is for your server
this will tell also give you the errors in to http.conf




-----Original Message-----
From: Gman [mailto:lifegard@lvcm.com]
Sent: Thursday, December 26, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, I placed the lines below and now Apache won't start.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties<--actual path to where
I placed the workers.properties file.
#JkLogFile C:/Apache/apache/logs/mod_jk.log<--actual path to where the
log files will and should be created.
#JkLogLevel info<--?

#JkMount /examples/* ajp13>--?

I commented them out and Apache runs fine.

George Flatman
-----Original Message-----
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:jeffrey.peloquin@hp.com] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-----Original Message-----
From: Gman [mailto:lifegard@lvcm.com]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-----Original Message-----
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:jeffrey.peloquin@hp.com] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-----Original Message-----
From: Gman [mailto:lifegard@lvcm.com]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll<---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o>

George Flatman
-----Original Message-----
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:jeffrey.peloquin@hp.com] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="false" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

or

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>


-----Original Message-----
From: Gman [mailto:lifegard@lvcm.com]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-----Original Message-----
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:jeffrey.peloquin@hp.com] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not
do much apache/tomcat on windows but I have seen spaces in the path
beeing listed as a concern.  There was even a post earlier today that
mentioned it with regard to mod_jk.  try renaming Tomcat 4.1 to
Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-----Original Message-----
From: Gman [mailto:lifegard@lvcm.com]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 

And now I am even more confused and I can't figure what the hell to do.
I have Apache 2.0.43 currently running perfect(no easy task). I have
installed Tomcat 4.18 to run the java servlets I want to use. Is there
an idiots guide in simple english to get Apache to work with Tomcat? Or
is there another way to run Java that is simpler? I have even attached
my Apache http.conf file for viewing and laughing purposes. Any help
getting this to work would be greatly appreciated.

George Flatman


--
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>



--
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>


--
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>

--
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>


Mime
View raw message