tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Tomcat 8, Apache 2.4, Tomcat Connector 1.2.40, Windows 7 home basic issue
Date Sat, 10 Jan 2015 07:37:20 GMT
Sandip Gaikwad wrote:
> Hi Rainer,
> 
> In addition to the comments form André: JkMount is by default only active
> in the vhost in which you configure it. If your Apache config contains some
> <VirtualHost> which matches your request but doesn't contain the JkMount in
> its ocnfig, then the rule will not trigger.
> 
> You can add
> 
> JkMountCopy All
> 
> in the above mod_jk config block, which will active the JkMounts in any
> VirtualHost. If it is working then, you should remove JkMountCopy again,
> find the correct VirtualHost and move the JkMount from the global config to
> the VirtualHost.
> 
> No. I have not configured Virtual Host. Please refer attached file.

Rainer was referring to Virtual Hosts in Apache httpd, not in Tomcat.


> 
> On Thu, Jan 8, 2015 at 6:31 PM, Rainer Jung <rainer.jung@kippdata.de> wrote:
> 
>> Am 08.01.2015 um 09:45 schrieb André Warnier:
>>
>>  Sandip Gaikwad wrote:
>>>> Hi Terence,
>>>>
>>>>  [ snip ]
>>>>
>>>> When i access http://localhost/jenkins/ i am getting following error:
>>>> Not Found
>>>>
>>>> The requested URL http://jenkins/ was not found on this server.
>>>>
>>>>  ...
>>>
>>>>>> *httpd.conf*
>>>>>> LoadModule jk_module "C:/Apache24/modules/mod_jk.so"
>>>>>> JkWorkersFile "C:/tomcat-connectors-1.2.40-
>>>>>> src/conf/workers.properties"
>>>>>> JkLogFile "C:/Apache24/logs/mod_jk.log"
>>>>>> JkLogLevel info
>>>>>> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>>>>>> JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
>>>>>> JkRequestLogFormat "%w %V %T"
>>>>>> JkMount /jenkins/* worker1
>>>>>>
>>> Did you look at what is in the mod_jk.log file ?
>>>
>>> Are you sure that the call "http://localhost/jenkins/" really gets
>>> proxied to Tomcat ?
>>>
>>> If you do not see anything in the mod_jk.log file when you request
>>> "http://localhost/jenkins/", then it is probably not happening, and then
>>> also, the error page which you get in the browser is coming from the
>>> front-end Apache httpd, not from Tomcat (these error pages have a quite
>>> distinctive style between httpd and Tomcat, so you should be able to
>>> tell - with a browser other than IE).
>>>
>> In addition to the comments form André: JkMount is by default only active
>> in the vhost in which you configure it. If your Apache config contains some
>> <VirtualHost> which matches your request but doesn't contain the JkMount in
>> its ocnfig, then the rule will not trigger.
>>
>> You can add
>>
>> JkMountCopy All
>>
>> in the above mod_jk config block, which will active the JkMounts in any
>> VirtualHost. If it is working then, you should remove JkMountCopy again,
>> find the correct VirtualHost and move the JkMount from the global config to
>> the VirtualHost.
>>
>> Regards,
>>
>> Rainer
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message