You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Murthy <mu...@spatialtechnologies.com> on 2003/01/22 08:23:49 UTC

Re: How to configure Apache HTTP Server 2.0.43 to communicate with JBoss 3.0.3

    Hi,
    I Have sucessfully installed
    Jboss 3.0.3 & Tomcat 4.1.12 Bundle
    Apache 2.0.43
    mod_jk2(ajp13 running fine ,tomcat embedded with Jboss)
    on windows 98......
    Apache on PORT:8000

    Configurations:

----------------------------------------------------------------------------

    workers2.properties file
    [shm]
    file=E:\Apache\Apache2\logs\shm.file
    size=1048576

    # Example socket channel, override port and host.
    [channel.socket:localhost:8009]
    port=8009
    host=127.0.0.1

    # define the worker
    [ajp13:localhost:8009]
    channel=channel.socket:localhost:8009

    # Uri mapping
    [uri:/*.jsp]
    worker=ajp13:localhost:8009


----------------------------------------------------------------------------

    httpd.conf file  -added the following to the file

    LoadModule jk2_module E:/Apache/Apache2/modules/mod_jk2.dll

----------------------------------------------------------------------------

    tomcat41-service.xml ( in E:\Jboss\jbossTom3\server\default\deploy)

    <Connector className = "org.apache.catalina.connector.http.HttpConnector"
                   port = "8080" minProcessors = "3" maxProcessors = "10" enableLookups = "true"
                   acceptCount = "10" debug = "0" connectionTimeout = "60000"/> 
               

               <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
                    port="8009" minProcessors="5" maxProcessors="75" enableLookups="true"  acceptCount="10" debug="1" />

----------------------------------------------------------------------------


    Problem:-
    I have deployed a CMP bean in Jboss and tested it 
    alone with tomcat on 8080, successfullly running.
    Jboss- tomcat url: http://localhost:8080/customer

    After I started with mod_jk2 to attach with Apache2
    I'm not able to GET THE PROPER URL to "customer bean"
    I have here the examples/jsp running fine..
    i.e, http://localhost:8000/examples/jsp

    I see this on Jboss console always

    "13:44:47,700 INFO [STDOUT] Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]"

    But when I type http://localhost:8000/customer
    I get this "OBJECT NOT FOUND " from apache...on the browser.
    and in apache error log:
    "[Tue Nov 19 13:50:13 2002] [error] [client 127.0.0.1] File does not exist: E:/Apache/Apache2/htdocs/customer"
    I know that it is checking in the root of apache.

    How do I call the CMP bean "customer" in the 
    JBoss---> server/deploy/cmpcustomer.ear from APACHE2 ?

    I humbly request anyone out there to PLEASE help me out with this.
    Thanx in Advance

    Murthy