• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic