• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

What about [conector.conf] (TomCat + APACHE)

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

My TomCat is wrong

<IfModule mod_jk.c>
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
JkMount /*.do ajp13
</IfModule>

No do DEPLOY of NOTHING INTO folders
servlet
servlets

I find the file [connector.conf], this load fine, but TomCat only deploy files WAR into folder root ( / )

How I can repair this ?

Is wrong the file CONECTOR.CONF ?

Thanks
 
Sheriff
Posts: 22656
126
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm missing directive JkWorkersFile, and the contents of that workers file.
 
Gabriel Pinares
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where I find [ JkWorkersFile ] ?
What is extention ?
 
Rob Spoor
Sheriff
Posts: 22656
126
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://tomcat.apache.org/connectors-doc/reference/apache.html
http://tomcat.apache.org/connectors-doc/generic_howto/workers.html

I usually call the file worker.properties and put it in the same folder as the httpd.conf file. The JkWorkersFile directive then has the full path to that file as its value.
 
Gabriel Pinares
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I find this:

usr/local/jakarta/apache-tomcat-6.0.26/conf/workers.properties

into workers.properties

I have EXACTLY this:

############################
workers.tomcat_home=/usr/local/jakarta/tomcat
workers.java_jre=/usr/local/jre
workers.java_jdk=/usr/local/jdk
ps=/
worker.list=ajp12, ajp13
worker.ajp12.port=8007
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1
worker.ajp12.host=localhost
worker.ajp13.host=localhost
worker.ajp13.port=8009
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=ajp12, ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=.*libjvm.so
worker.inprocess.jvm_lib=.*libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
############################

I need COPY or MOVE [workers.properties] to WHERE ?

THANKS NEWLY
 
reply
    Bookmark Topic Watch Topic
  • New Topic