Apache 2.0, Tomcat 4.0.3, No go...

Hi,
I've been trying to get Apache 2.0 and Tomcat 4.0.3 linked up so other computers on the network can access my intranet website test environment and run JSPs and servlets. Unfortunatly I have been unable to compile mod_webapp into a DLL (I keep missing out on some header files). Is there anyplace where I can obtain mod_webapp.dll all compiled and everything? The Jakarta Apache site seems to provide only the precompiled stuff which is useless to me.
Also, could anyone please help me out by providing a small snippet of configuration lines that I need to change to make Apache 2.0 and Tomcat 4.0.3 operate together? It is unclear to me exactly what things I need to change in the httpd.conf file.
Thanks.

You did already check port 8080 at your server?
martijn
here our conf file included in the apache conf
# Auto generated configuration. Dated: Fri Aug 31 15:28:28 CEST 2001
# The following line instructs Apache to load the jk module
LoadModule jk_module /opt/jakarta/lib/jk/mod_jk.so
JkWorkersFile /opt/jakarta/conf/workers.properties
JkLogFile /opt/jakarta/logs/mod_jk.log
# Log level to be used by mod_jk
JkLogLevel error
# SSL configuration #
# By default mod_jk is configured to collect SSL information from
# the apache environment and send it to the Tomcat workers. The
# problem is that there are many SSL solutions for Apache and as
# a result the environment variable names may change.
# The following (commented out) JK related SSL configureation
# can be used to customize mod_jk's SSL behaviour.
# Should mod_jk send SSL information to Tomact (default is On)
# JkExtractSSL Off
# What is the indicator for SSL (default is HTTPS)
# JkHTTPSIndicator HTTPS
# What is the indicator for SSL session (default is SSL_SESSION_ID)
# JkSESSIONIndicator SSL_SESSION_ID
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
# JkCIPHERIndicator SSL_CIPHER
# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
# JkCERTSIndicator SSL_CLIENT_CERT
# Root context mounts for Tomcat
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
# Auto configuration for the /examples context starts.
# The following line makes apache aware of the location of the /examples context
Alias /examples "/opt/jakarta/webapps/examples"
<Directory "/opt/jakarta/webapps/examples">
Options Indexes FollowSymLinks
</Directory>
# The following line mounts all JSP files and the /servlet/ uri to tomcat
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12
# The following line prohibits users from directly accessing WEB-INF
<Location "/examples/WEB-INF/">
AllowOverride None
deny from all
</Location>
# The following line prohibits users from directly accessing META-INF
<Location "/examples/META-INF/">
AllowOverride None
deny from all
</Location>
# Auto configuration for the /examples context ends.
# Auto configuration for the /admin context starts.
# The following line makes apache aware of the location of the /admin context
Alias /admin "/opt/jakarta/webapps/admin"
<Directory "/opt/jakarta/webapps/admin">
Options Indexes FollowSymLinks
</Directory>
# The following line mounts all JSP files and the /servlet/ uri to tomcat
JkMount /admin/servlet/* ajp12
JkMount /admin/*.jsp ajp12
# The following line prohibits users from directly accessing WEB-INF
<Location "/admin/WEB-INF/">
AllowOverride None
deny from all
</Location>
# The following line prohibits users from directly accessing META-INF
<Location "/admin/META-INF/">
AllowOverride None
deny from all
</Location>
# Auto configuration for the /admin context ends.
# Auto configuration for the /test context starts.
# The following line makes apache aware of the location of the /test context
Alias /test "/opt/jakarta/webapps/test"
<Directory "/opt/jakarta/webapps/test">
Options Indexes FollowSymLinks
</Directory>
# The following line mounts all JSP files and the /servlet/ uri to tomcat
JkMount /test/servlet/* ajp12
JkMount /test/*.jsp ajp12
# The following line prohibits users from directly accessing WEB-INF
<Location "/test/WEB-INF/">
AllowOverride None
deny from all
</Location>
# The following line prohibits users from directly accessing META-INF
<Location "/test/META-INF/">
AllowOverride None
deny from all
</Location>
# Auto configuration for the /test context ends.

Similar Messages

  • Apache server and tomcat

    Today i got from apache website the Apache server 2.0.28 (for windows 2000)
    y tomcat server 5.0 , i dont know how work with them. (how setting?)(what do it?)
    i worked only with tomcat server for show my jsp pages that using servlets-
    but i got access troubles from internet (not localhost), the jsp pages only show parts.
    for that reason i want to use the Apache server and tomcat server together, but how setting
    each one of them, please help me. thanks-

    You know, it also helps if you take the time to respond to requests for more information.
    http://forum.java.sun.com/thread.jsp?thread=473507&forum=45&message=2192194
    I'm sure there were lots of other people wondering exactly which problem you were having, and if you don't answer, but keep creating new posts asking for help, people decide it's just not worth their time and effort to help you.

  • Apache Web Server & Tomcat Join

    Hai all
    i learnto Tomcat is not a web server where u can use it as Web and Aplication server. we need to use Apache Web server and connect it to Tomcat this is the only good way of using tomcat as web server.
    i have new version of Apache Web Server and Tomcan can anybody give me the steps to connect both into one ?
    please help me
    thankyou
    Rajesh

    It depends on the complexity of your application, you may not need Apache server. Tomcat by itself should do the job. And yes, Tomcat is a web server.
    Hope this helps.

  • Discussion on Apache with Apaphe Tomcat

    I am doing some research on the pros and cons of
    either using Apache with Apaphe Tomcat on a live production server
    or
    Apaphe Tomcat on its own on a live server.
    Anyone knows any urls to some documentation on the subject
    Con (Apache with Apaphe Tomcat)
    I personally feel that Apaphe Tomcat on its own is a better sollution
    because the OS will use more memory to run both application (Apache with Apaphe Tomcat) simultanuesly.

    I've heard on many occasions that Apache can serve static content (html) faster than Tomcat. So if you are not concerned with Java the you'd be better off with just Apache. Tomcats main focus is to serve dynamic Java content, it just so happens that it can serve static content as well.
    here is one link,
    http://www.theserverside.com/discussions/thread.tss?thread_id=38472

  • Apache+Tomcat access to static apache data from Tomcat

    Hi,
    Apache is in path /opt/apache
    and tomcat is on /opt/apache/tomcat
    I have to access to static data (/opt/apache/data) that is handled by my apache http server from my tomcat web application. Is there a way to do this in a clean way without doing things like this :
    getServletCoontext().getRealPath(xxx) and doing some ../data manipulations
    Thanks

    I'm not completely sure I fully understand your problem.
    I do not recommend opening sockets to your own WLS instance. That is a
    recipe for deadlock.
    Can you just include the static file in your response?
    -- Rob
    Yol. wrote:
    We have a WebApplication which is running on a WebLogic Server 6.1.
    The clients access to the application via an Apache hosted in another machine.
    The Apache server redirects the requests to the server except the static files
    which are served by the Apache Server.
    Nevertheless, we have a few static resources that are not requested by the external
    clients but are requested by the application in the WLS. The problem is that to
    make this, it access the resource via the WLS, that is, via an url. That makes
    the WLS open at least one socket. This cause that after a few time, there are
    too many sockets in the machine opened in TIME-WAIT state.
    For some reasons it is not possible to change the configuration of the sockets
    in the server hosting the WLS.
    We would like to access to this resources that are in the war of the WebApllication
    without opening a socket.
    Is it possible? Any ideas or suggestions?
    Many many thanks in advance,
    Yol.

  • Preinstalled apache, apache2 and tomcat

    Hello,
    I'm setting up a Sun Fire V490 running solaris 10 for use as a web server. I need to have Apache httpd version 2 and tomcat version 4.x to run.
    So I found that the machine comes with apache httpd 2 preinstalled and also apache httpd 1 with fully integrated tomcat engine.
    But as stated I need to have apache httpd 2 with tomcat running!
    Apart from configuring the system to run httpd version 2 instead of version 1 by use of svcadm, I'm wondering how to get a solid solution to also have tomcat running. Ok I could simply install a tomcat version from apache.org, but I would like to ensure that this is the right solution for e.g. future upgrades.
    So if anybody has got some more knowledge but this issue, I would be happy about letting me know!
    Thanks, Raimund

    Hey, I came into the same question while configuring tomact on Sun server.
    So, what did you finally do...........?
    any help will be great....
    Thanks,

  • Oracle9i Apache Server and Tomcat

    Hi,
    Currently I have an Oracle9i database installed which has it's own Apache Webserver installed but I don't use it. Instead I am using the latest version of Apache in another directory. What I would like to do is upgrade the version of Apache that came with the Oracle9i database installation and then delete the extra Apache Webserver I am using now? Is it as simple as replacing the contents of the ORACLE_HOME/Apache/Apache folder?
    I also use Tomcat to serve up the servlets and JSP's...does Oracle9i have anything similar to Tomcat already integrated? If not could I install Tomcat into the ORACLE_HOME/Apache folder instead of having it reside in another directory?
    TIA.

    What I would like to do is upgrade the version of Apache that came with the Oracle9i database installation and then delete the extra Apache Webserver I am using now? Is it as simple as replacing the contents of the ORACLE_HOME/Apache/Apache folder?
    r.- why do you want to do that if the Apache that comes with Oracle has more resources than the another Apache ?
    also use Tomcat to serve up the servlets and JSP's...does Oracle9i have anything similar to Tomcat already integrated?
    r.- tell me exactly what you can carry out in the web server and I will be able to tell you how do it.
    Joel PĂ©rez

  • Apache HTTPd + 2 Tomcats with BlazeDS

    The web architecture that we have is quite simple, it is a single Apache HTTPd server that is communicating with 2 Tomcat servers using mod_jk. The configuration is made so one Tomcat is in a waiting state in case the other Tomcat server crashes (or bounce).
    How can I configure BlazeDS to support this configuration? Is sharing the HTTPSession between the two Tomcats enough for BlazeDS?
    I would like the simplest solution possible, I know about BlazeDS clustering possibilities with JGroups but it seems not adapted to multi-environments (DEV/QA/PROD) sites because we have to configure stuff inside the web app.
    In short, do BlazeDS only need HTTPSession sharing between Tomcats or is there some other requirements?

    As far as my understanding goes there should be no reason to use JGroups unless you are using messaging.
    If you are storing session data on the server you will need to using Tomcat clustering other wise you shouldn't even need that.
    We are using a similar setup with HTTPd and multiple JBoss servers for high availability/scalability. We are not using messaging so we didn't configure JGroups. We don't have JBoss clustering enabled because we don't have any data to replicate between the JBoss nodes.
    I have run several load tests using JMeter and everything runs happily when JBoss nodes are added or removed under load.
    Something to note if you are using recent builds of BlazeDS and you want to run 2 or more Tomcat servers concurrently you will need to enable Sticky Sessions with mod_jk and Tomcat other wise recent builds of BlazeDS may start throwing exceptions. This change was introduced to prevent subsequent client requests from needlessly creating new sessions. As it turns out this is a bit of an issue when doing loadbalancing unless Sticky Sessions are used.
    Hope some of that information helps,
    Lance

  • Apache integrates with Tomcat

    Hi, we have Apache 1.3.19 intergrated with Tomcat 3.2.2 using mod_jk.
    When we checked with the mod_jk.log file, the file size is very large for just turning on it for 5 days. And the contents of this file are repeating the following two lines:
    [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters
    [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter
    Can somebody tell me what this two lines mean? The whole file is full of this two lines, nothing else.
    Thanks so much in advance.

    It's just logging from the Apache module which handles the protocol between the web server and the servlet container. Chances are your mod_jk configuration has its logging set higher than you want it -- if it is set to "DEBUG", try turning it down (or off, if you desire).
    Good luck,
    -Derek

  • Help with Apache plugin for Tomcat

    I downloaded jakarta-tomcat-connectors-jk2-src-current.tar.gz from apache.org. I am trying to install this without any progress. The web page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html gives lots of info on how to install the plug in called JK. I believe the unix section applies to linux as well. Can anyone help me with this? Please copy your message if at all possible to [email protected] Thanks Murthy

    I know what mod_jk is, I was just trying to understand your situation.
    You have two choices, mod_jk and mod_jk2 with different configurations files.
    In both cases, you need 3 parts:
    1- apache
    2- the mod_jk(2) module (.so) for your apache version (1.3.x or 2.x)
    3- tomcat
    You obviously have 1 and 3, and probably 2 also.
    Config is twofold:
    1) In httpd.conf (Apache 2.0) you need:LoadModule jk2_module modules/mod_jk2.so
    <IfModule mod_jk2.c>
      JkSet config:file "/path/to/workers2.properties"
    </IfModule>
    # And for each context:
       <Location "/contextname/*">
          JkUriSet worker ajp13:localhost:8001
       </Location>2) workers2.properties:[logger]
    level=WARN
    #INFO
    #/web_ci/
    [config:]
    file=/path/to/workers2.properties
    debug=0
    debugEnv=0
    [uriMap:]
    info=Maps the requests. Options: debug
    debug=0
    # Alternate file logger
    [logger.file:0]
    level=WARN
    file=/path/to/logs/jk2.log
    # Cache for activity
    # Must point to a writeable path
    [shm:]
    info=Scoreboard. Required for reconfiguration and status with multiprocess servers
    file=/path/to/jk2.shm
    size=1000000
    debug=0
    disabled=0
    [workerEnv:]
    info=Global server options
    timing=1
    debug=99
    # Default Native Logger (apache2 or win32 )
    # can be overriden to a file logger, useful
    # when tracing win32 related issues
    logger=logger.file:0
    # Communication channel to use
    [channel.socket:localhost:8001]
    info=Ajp13 forwarding over socket
    debug=0
    tomcatId=localhost:8001
    # Connector as in conf/server.xml
    [ajp13:localhost:8001]
    channel=channel.socket:localhost:8001
    # Tomcat load balancing
    [lb:lb]
    info=Default load balancer.
    debug=0
    [status:status]
    info=Status worker, displays runtime informations
    # Monitor for requests and config http://server:port/jkstatus
    [uri:/jkstatus/*]
    info=Display status information and checks the config file for changes.
    group=status:status3) Finally, you need to set the connector (port number) in server.xml    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8001 -->
        <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
                   port="8001" minProcessors="5" maxProcessors="75"
                   enableLookups="true" redirectPort="8443"
                   acceptCount="10" debug="3" connectionTimeout="2000"
                   useURIValidationHack="false"
                   protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>This is the setup I use on Win2K, but should work pretty much the same on Linux. I also have a similar setup on Linux, but with mod_jk instead of mod_jk2.
    Hope this helps!

  • Apache Server and Tomcat integration

    Where can I get some information on installing Tomcat to work with an existing Apache server. I have read a couple of books that do not go into detail on this topic.
    I have a webserver set up serving a number of sites and with to move into JSP development, but want to make sure the transition, during the research phase, is seamless.

    You should go to http://jakarta.apache.org/tomcat/index.html then click on the documentation link for the version of Tomcat that your running. Good luck.

  • Difference between J2EE, Apache WebServer and Tomcat

    Hi,
    today I read a lot about WebServers and HTTPClients, ..... Now I am totaly confused. Does J2EE uses Apache and Tomcat or not? And what are the differences between these three implementations?
    Thanks,
    Sabine

    The J2EE SDK and the SJSAS PE 8.0 use Tomcat as a web container.
    The J2EE platform provides for many additional services, such as EJB, Connectors, which are not provided by Tomcat.
    Please refer to the J2EE Platform spec for additional details.

  • Cannot import package org.apache.catalina in Tomcat 4.1

    Hi,
    Don't know why I cannot import org.apache.catalina.realm.RealmBase.*; or org.apache.catalina.*; but no problem in importing org.apache.*; ?
    error prompts "package org.apache.catalina.realm.RealmBase does not exist " Thanks.
    Jackie

    Yes, I can find org.apache.catalina.jar in /lib but why my jsp program cannot locate this class? Something wrong with my web.xml / server.xml? Thank you.

  • Integrating tomcat 5.0.28 with apache web server 2.2

    hi all
    i tried a lot on net but could not get the steps for
    connctivity between tomcat 5.0.28 with apache web server 2.2.
    any one pzl do help me in finding the solution
    pzl do tel me the step by step process for this connectivity
    sus

    hi :-)
    you need jk modules ;-)
    i havent try the integrating the version of apache web
    and tomcat you specify but you can refer to the links below :-)
    gudluck :-)
    http://www.serverwatch.com/tutorials/article.php/2203891
    http://www.onjava.com/lpt/a/2826
    http://raibledesigns.com/tomcat/
    regards,

  • Web Service client running on Tomcat behind Apache-ModJk

    Hi all.
    I've realized a web service, which have been deployed on a Tomcat 5.5 instance running behind a firewall.
    The Web Service is published through an Apache 2.0 Web Server, which is in the DMZ and which is connected to Tomcat via modjk.
    Everything is working fine (as apache forwards to tomcat clients' calls), except from one thing: one of the web-methods needs to connect to a remote server to validate some data... that is, this web-method implements a "web service client" piece of code, by which a remote validating method must be called.
    So, the problem is that this remote method must be accessed from something running behind the firewall...
    One way could be to open a hole in the firewall, allowing only calls to that remote address, but I'd rather avoid this.
    Do someone have other suggestions?
    Is there perhaps any way to use mod_jk also for "exiting" and not only for "entering"?
    Any help will be very appreciated!!

    Could you not use a proxy server. The web service client would go through the proxy server to the internet

Maybe you are looking for

  • Error connecting to the BPEL server from JDeveloper

    My student asks about an error she gets while trying to test a connection defined in JDeveloper to a mid-tier BPEL PM. She gets one error the first time the connection is tested, another at second and subsequent tests. The following error I get only

  • In making .ard file what command line argument

    In making .ard file what command line argument  must be kept

  • Sorting by Size/Resolution?

    Has anyone found out how to sort photos by size or resolution? I'm looking to be able to quickly determine what pictures I can print in large format at home. I don't want to have to manually key word tem for each size, Is there another way?

  • MS Word- Shared Library Error after 10.4.7 Instal

    After re-starting after installing the upgrade, I received the message Microsoft Database Shared Library Error: Microsoft Database Daemon><CarbonLib><CFMPriv_CarbonSound and, obviously, no launch of Office products. Any solutions?

  • Can aperture 3.6 read from the photos app library?

    when I try to select the photos library for aperture it is greyed out. I don't want to store two whole libraries on my computer.