Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: JkMount causing problems - info from my httpd.conf file

batristain

2003-08-11

Replies:

Greetings,
This is everything JK related that is in my httpd.conf file.

LoadModule jk_module libexec/mod_jk.so
<IfModule !mod_jk.c>
LoadModule jk_module libexec/mod_jk.so
</IfModule>
JkWorkersFile "/usr/local/jakarta-tomcat-4.1.27/conf/jk/workers.properties"
JkLogFile "usr/local/jakarta-tomcat-4.1.27/logs/mod_jk.log"
JkLogLevel info

<VirtualHost *:443>
  DocumentRoot /usr/local/jakarta-tomcat-4.1.27/webapps
  ServerName placeanad.classifiedmarketplace.net
  ErrorLog logs/placeanadclassi.com-error_log
  CustomLog logs/placeanadclassi.com-access_log common
  SSLEnable
  SSLCertificateFile /usr/local/apache1/conf/ssl.crt/server3.crt
  SSLCertificateKeyFile /usr/local/apache1/conf/ssl.crt/server.key3
  JkMount /* ajp13
</VirtualHost>

<VirtualHost *:80>
  DocumentRoot /usr/local/jakarta-tomcat-4.1.27/webapps
  ServerName placeanad.classifiedmarketplace.net
  ErrorLog logs/placeanadclassi.com-error_log
  CustomLog logs/placeanadclassi.com-access_log common
  JkMount /* ajp13
</VirtualHost>

-----Original Message-----
From: John Turner [mailto:tomcat-user@(protected)]
Sent: Monday, August 11, 2003 3:12 PM
To: Tomcat Users List
Subject: Re: JkMount causing problems



If you're using the auto-generation function (are you?), then copy
mod_jk.conf from $CATALINA_HOME/conf/auto to $APACHE_HOME/conf, then
edit httpd.conf and change the "Include" line to reflect the new
location. Then edit $APACHE_HOME/conf/mod_jk.conf. Then restart Apache.

If you're not using the auto-generation function, then please post the
relevant portions of your httpd.conf file (not the whole thing!). That
means all of it, the JkWorkersFile stuff, JkLogLevel, etc. not just the
VirtualHost blocks.

John

batristain@(protected):

> How would I fix that so it wouldn't be overwritten?
>
> -----Original Message-----
> From: John Turner [mailto:tomcat-user@(protected)]
> Sent: Monday, August 11, 2003 3:08 PM
> To: Tomcat Users List
> Subject: Re: JkMount causing problems
>
>
>
> Are you sure its set to info? If you're using the auto-generation
> feature of Tomcat, then your change is probably getting overwritten.
>
> There should be something if JkLogLevel is set to info.
>
> John
>
> batristain@(protected):
>
>
>>Yes I don't have a mod_jk.log being created with the level set to info
>>
>>-----Original Message-----
>>From: Atristain, Bobbie J.
>>Sent: Monday, August 11, 2003 3:03 PM
>>To: tomcat-user@(protected)
>>Subject: RE: JkMount causing problems
>>
>>
>>yes
>>
>>-----Original Message-----
>>From: John Turner [mailto:tomcat-user@(protected)]
>>Sent: Monday, August 11, 2003 2:41 PM
>>To: Tomcat Users List
>>Subject: Re: JkMount causing problems
>>
>>
>>
>>You have no mod_jk.log, even with JkLogLevel set to "info"?
>>
>>John
>>
>>batristain@(protected):
>>
>>
>>
>>>The local host file doesn't say anything and I don't have a
>>>mod_jk.log
>>>being created. But I can't see any reason for it to not work. I have
>>>removed the 2nd 2 JkMount statements but the same thing is happening
>>>at http://placeanad.classifiedmarketplace.net
>>>
>>>No idea what is going on?
>>>
>>>
>>>-----Original Message-----
>>>From: John Turner [mailto:tomcat-user@(protected)]
>>>Sent: Monday, August 11, 2003 2:28 PM
>>>To: Tomcat Users List
>>>Subject: Re: JkMount causing problems
>>>
>>>
>>>
>>>One thing is that DocumentRoot is typically not "webapps" but some
>>>directory under webapps, like "webapps/ROOT" or "webapps/myApp" or
>>>whatever.
>>>
>>>What URL is causing the 500 error?
>>>
>>>What do Tomcat's logs say?
>>>
>>>Also, try setting JkLogLevel to "info", restarting, and trying it
>>>then.
>>>
>>>Also, the JkMounts you have are redundant...if you have "/*", there's
>>>no need for the other two, as "/*" means "send everything to Tomcat".
>>>
>>>John
>>>
>>>batristain@(protected):
>>>
>>>
>>>
>>>
>>>>When I have the JkMount statements in my virtual host directives the
>>>>server gives me a internal 500 server error message and the error
>>>>log doesn't say anything This is what I have in my virtual host
>>>>directives
>>>>
>>>><VirtualHost *:443>
>>>> DocumentRoot /usr/local/jakarta-tomcat-4.1.27/webapps
>>>> ServerName placeanad.classifiedmarketplace.net
>>>> ErrorLog logs/placeanadclassi.com-error_log
>>>> CustomLog logs/placeanadclassi.com-access_log common
>>>> SSLEnable
>>>> SSLCertificateFile /usr/local/apache1/conf/ssl.crt/server3.crt
>>>> SSLCertificateKeyFile /usr/local/apache1/conf/ssl.crt/server.key3
>>>> JkMount /* ajp13
>>>> JkMount /*.jsp ajp13
>>>> JkMount /servlet/* ajp13
>>>></VirtualHost>
>>>>
>>>>Any ideas?
>>>>
>>>>Thanks,
>>>>bobbie
>>>>
>>>>Bobbie Atristain
>>>>Internet Systems Administrator
>>>>Media General, INC.
>>>>804.649.6156
>>>>
>>>>--------------------------------------------------------------------
>>>>-
>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>>>For additional commands, e-mail: tomcat-user-help@(protected)
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>>For additional commands, e-mail: tomcat-user-help@(protected)
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>>For additional commands, e-mail: tomcat-user-help@(protected)
>>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>For additional commands, e-mail: tomcat-user-help@(protected)
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>For additional commands, e-mail: tomcat-user-help@(protected)
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>For additional commands, e-mail: tomcat-user-help@(protected)
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.