943,416 Members | Top Members by Rank

Oct 12th, 2004
0

integrating apache and tomcat

Expand Post »
hi,
i've looked through just about every webpage out their on this topic and i just cant get it to work.

have any of you got apache and tomcat working together through mod_jk?

i'm trying to get this working on windows 2000 (desktop), using apache2 and tomcat 5.5. its loading up the mod_jk.dll but when i get to workers.properties file, the startup halts and gives the message that the workers.properties file can not be found and there is a syntax error in httpd.

-------extract from httpd---------------------------

#Tomcat conf
JkWorkersFile C:/Tomcat5/conf/jk/workers.properties (line of syntax error)
JkLogFile C:/Tomcat5/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

#Redirect
JkMount /*.jsp ajp13

----------------------------------------------------

-------------workers.properties---------------------

workers.tomcat_home=C:/Tomcat5
workers.java_home=C:/j2sdk1.4.2_05

ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

----------------------------------------------------

can anyone help?

cheers,

spikes
Similar Threads
Reputation Points: 11
Solved Threads: 2
Junior Poster
spikes is offline Offline
106 posts
since Jul 2003
Oct 12th, 2004
0

Re: integrating apache and tomcat

I would start by going through workers.properties line by line and check for your syntax error or misssing file there.. This is so much easier in linux.

happy hunting. im glad im not you.
Reputation Points: 18
Solved Threads: 2
Posting Whiz in Training
Cain is offline Offline
298 posts
since Aug 2004
Oct 13th, 2004
0

Re: integrating apache and tomcat

tell me about it, its always easyer in linux.

from the windows error logs i can see two entrys, one says syntax error in the httpd, the other says cant find file workers.properties.

so i'm not convinced that the workers file is wrong, just that it cant be used due to the syntax error in the httpd.

if you have any further thoughts let me know

many thanks

spikes
Reputation Points: 11
Solved Threads: 2
Junior Poster
spikes is offline Offline
106 posts
since Jul 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: RewriteCond and RewriteRule
Next Thread in Linux Servers and Apache Forum Timeline: Passwording certain pages on my site...





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC