> I have successfully installed and tested Tomcat 4.1 and I am attempting to connect 
> with Apache 1.3 and I get the following jsp text when I attempt to connect with:
> www.appname.com :
<%@ page import="appname.controller.web.util.WebKeys" %>
<!-- Set Application Owner-->
<%
session.setAttribute(WebKeys.APP_OWNER,"OWNER");
request.setAttribute("target_screen","appname_index_bdy00.jsp");
%>
<jsp:include page="appname_template.jsp" flush="true"/>
> I have modified Appache httpd.conf with the following lines:

# Apache failes to load from /modules
LoadModule jk_module "D:/Program Files/jakarta-tomcat-4.1.12/modules/mod_jk.dll"

<VirtualHost 80.192.78.73>
    ServerName www.appname.com
    DocumentRoot "D:/Program Files/Apache Group/jakarta-tomcat-4.1.12/webapps/hag"
    JkMount /context_name/* ajp13
    # Send servlet for context /context_name to worker named ajp13
    JkMount /context_name/servlet/* ajp13
    # Send JSPs for context /context_nameto worker named ajp13
    JkMount /context_name/*.jsp ajp13
</VirtualHost>

JkWorkersFile "D:/Program Files/Apache 
Group/jakarta-tomcat-4.1.12/conf/jk/workers.properties"
JkLogFile "D:/Program Files/Apache Group/jakarta-tomcat-4.1.12/logs/mod_jk.log"

JkLogLevel emerg

> I have modified Tomcat 4.1.2 server.xml with the following:

<Server port="8005" shutdown="SHUTDOWN" debug="0">
...

  <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" />

...

      <Host name="www.appname.com" >
          <Context path="/context_name" docBase="webapps/context_name" debug="0"
                    reloadable="true" crossContext="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="context_name_log." suffix=".txt"
           timestamp="true"/>
          <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" 
append="true" forwardAll="false" />
          <ApacheConfig workersConfig="FULL_PATH"  />
        </Context>
      </Host>
    </Engine>
  </Service>

> When Tomcat is started the DOS window output is as follows:

[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
[INFO] JkMain - -Jk running ID=0 time=20/111  config=D:\Program Files\Apache Gro
up\jakarta-tomcat-4.1.12\conf\jk2.properties

> I look forward to your help.

Reply via email to