On Fri, Sep 20, 2002 at 12:01:30PM +1000, Rodney Schneider wrote:
> 
> I have never tried to build a TDK from scratch myself, but I have heard that 
> it is not for the faint of heart (ie: only experienced Turbine developers 
> should even attempt it).  Is there any reason why your developers can't just 
> use the TDK for development and then deploy their web apps onto a production 
> Tomcat 4.0.4?  We don't install the TDK onto our production machines, we only 
> use the TDK for development of Turbine applications.

Ok.  On you production Tomcat instance am I correct that you have added the 
Velocity "stuff" for your apps?  What other support classes that the TDK
has that you had to add to your Tomcat environment?

> 
> I noticed that you don't have an AJP Connector configured in your server.xml. 
> You have a WARP connector configured, but this is used for mod_webapp, not 
> mod_jk.
> 
> Add the following lines to your server.xml:
> 
> <!-- Define an AJP 1.3 Connector on port 8009 -->
> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>            port="8009" minProcessors="5" maxProcessors="75"
>            acceptCount="10" debug="0"/>

Thanks, I missed this.  Pardon my ignorance, but is there a specific place
to add this?  I looked at my tomcat/conf/server.xml and I saw where it
was there, so I put it in a similar place.  Unfortunately I am getting a
ClassNotFoundException eroor for org.apache.ajp.tomcat4.Ajp13Connector

Here is the error:

ERROR reading ../bin/../conf/server.xml
At Line 79 /Server/Service/Connector/ className=org.apache.ajp.tomcat4.Ajp13Connector 
port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0 

Catalina.start: java.lang.ClassNotFoundException: org.apache.ajp.tomcat4.Ajp13Connector
java.lang.ClassNotFoundException: org.apache.ajp.tomcat4.Ajp13Connector
        at 
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1111)

SNIPED to conserv elections :)

> 
> > ################## start mod_jk.conf ##################
> > JkMount /newapp/* ajp13
> > JkMount /newapp/*.jsp ajp13
> > JkMount /newapp/servlet/* ajp13
> > JkMount /examples/jsp/security/protected/j_security_check ajp13
> > JkMount /examples/CompressionTest ajp13
> > JkMount /examples/SendMailServlet ajp13
> > JkMount /examples/servletToJsp ajp13
> > JkMount /examples/snoop ajp13
> > JkMount /examples/*.jsp ajp13
> > JkMount /examples/servlet/* ajp13
> > JkMount /tomcat-docs/*.jsp ajp13
> > JkMount /tomcat-docs/servlet/* ajp13
> > #################### end mod_jk.conf ####################
> 
> You can see that the above URI paths are all being mapped to the "ajp13" 
> worker.  Have you checked your workers.properties file?  It should contain at 
> least the following lines:
> 
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13

My workers.properties file has this in it.  Thanks for reminding me to
check it.

Thanks for the pointers.

Kent

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to