File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes What about [conector.conf] (TomCat + APACHE) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "What about [conector.conf] (TomCat + APACHE)" Watch "What about [conector.conf] (TomCat + APACHE)" New topic
Author

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

Gabriel Pinares
Greenhorn

Joined: Mar 11, 2008
Posts: 16
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

Joined: Oct 27, 2005
Posts: 19783
    
  20

I'm missing directive JkWorkersFile, and the contents of that workers file.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Gabriel Pinares
Greenhorn

Joined: Mar 11, 2008
Posts: 16
Where I find [ JkWorkersFile ] ?
What is extention ?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19783
    
  20

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

Joined: Mar 11, 2008
Posts: 16
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What about [conector.conf] (TomCat + APACHE)