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

Discussion in 'Server Operation' started by avivenna, Aug 12, 2010.

  1. avivenna

    avivenna New Member

    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.
     

Share This Page