• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

missing uri error while integrating tomcat and apache with mod-jk

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,'

I am struck with this problem from quite a few days. Need to deliver urgently. So guys please help me how to get over with this error....

I have set up tomcat , apache (configured https) on ubuntu... Integrated apache with tomcat using mod-jk connector.. While accessing the required webapp i am getting an error like

" missing uri map for localhost:/application "

workers.properties file is:
=============================================
workers.tomcat_home= /usr/share/tomcat5.5

workers.java_home=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16


ps=/

worker.list=application

worker.application.port=8009
worker.application.host=10.120.133.135
worker.application.type=ajp13
worker.application.lbfactor=1
==============================================

uncommented connector tags in server.xml


Added the following lines in apache2.conf

========================================

JkWorkersFile /etc/apache2/workers.properties

JkLogFile /var/log/apache2/mod_jk.log

JkLogLevel debug



<LocationMatch '.*WEB-INF.*'>

AllowOverride None

deny from all

</LocationMatch>



# Send servlet for context /servlets-examples to worker named worker1

JkMount /*/servlet/* application

# Send JSPs for context /jsp-examples to worker named worker1

JkMount /*.jsp application



JkMount /application/servlet/* application

JkMount /application/*.jsp application

JkMount /application/* application

JkMount /*.do application

JkMount /winaf/*.html application

JkMount /winaf/*.gif application

JkMount /winaf/*.js application


======================================================


Please someone look into this and provide me a solution... Thanks in advance....


Regards,
Avinash Venna.
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic