Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Gabriel Pinares
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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
 
Rob Spoor
Sheriff
Pie
Posts: 20532
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm missing directive JkWorkersFile, and the contents of that workers file.
 
Gabriel Pinares
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where I find [ JkWorkersFile ] ?
What is extention ?
 
Rob Spoor
Sheriff
Pie
Posts: 20532
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • 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: 16
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic