Hello all,
I'm having a problem making work the following configuration:
Solaris 8, Apache 1.3.23(compiled with DSO), Tomcat 4.0.1, mod_jk
(unknown version, but taken from jakarta-tomcat-3.2.4-src and compiled
fresh) with ajp13 connector. I've checked the archives,the documentation
at jakarta site and other guides (including Gal hachor's minimalistic)
and although found the exact and similar examples of configuration,
haven't got this work. The problem right now is: pointing to 
http://192.168.20.18/examples/jsp/snp/snoop.jsp and/or
http://192.168.20.18/examples/ causes to the neverending download:)
No internal server errors, no "page not found", just the bar progressing
at the bottom of the browser and an empty page.
Here's the excerpts of conf files:
############## httpd.conf ############
...
LoadModule    jk_module  libexec/mod_jk.so
AddModule     mod_jk.c
JkWorkersFile /usr/local/jakarta-tomcat-4.0.1/conf/workers.properties
JkLogFile     /usr/local/apache/logs/mod_jk.log
JkLogLevel    info
JkMount /* ajp13
JkMount /*.jsp ajp13
JkMount /examples/* ajp13 
JkMount /servlet/* ajp13 
#JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
NameVirtualHost 192.168.20.18
<VirtualHost 192.168.20.18>
  DocumentRoot /usr/local/jakarta-tomcat-4.0.1/webapps
  ServerName 192.168.20.18
  Port 8009
  JkWorkersFile /usr/local/jakarta-tomcat-4.0.1/conf/workers.properties
  JkMount /*.jsp ajp13
  JkMount /servlet/* ajp13 
  JkMount /examples/* ajp13
  JkMount /examples/jsp/* ajp13
  JkMount /* ajp13
</VirtualHost>
################################################

########### server.xml #########################
...
<!-- Define an Apache-Connector Service -->
  <Service name="Tomcat-Apache">

      <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
      port="8009" minProcessors="25" maxProcessors="75"
      acceptCount="10" debug="0"/>

      <Engine name="Apache" defaultHost="localhost" debug="0">

       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="engine_log." suffix=".txt"
               timestamp="true"/>

      <Realm className="org.apache.catalina.realm.MemoryRealm" />

       <Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" >

             <Logger className="org.apache.catalina.logger.FileLogger"
                   prefix="host_log." suffix=".txt"
                   timestamp="true"/>
       </Host>

    </Engine>

  </Service>
################################################

#################### workers.properties ########
<VirtualHost 192.168.20.18>
  DocumentRoot /usr/local/jakarta-tomcat-4.0.1/webapps
  ServerName 192.168.20.18
  JkMount /*.jsp 192.168.20.18
  JkMount /examples/* 192.168.20.18
</VirtualHost>

workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.1
workers.java_home=/usr/java
ps=/
worker.list=ajp13

worker.ajp13.type=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
###############################################

The only errors appearing at logs are those:
####### catalina.out ####
...
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V
not found
        at org.apache.ajp.tomcat4.Ajp13Connector.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
#####################
And I'm sure that 8009 is in LISTEN state (that's what netstat says).
I'd appreciate any help or point to a misconfiguration I have. 


Thanks,
Edward Broustinov
[EMAIL PROTECTED] 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to