How to integrate Apache Web Server and Apache Tomcat 4.0 ?

<pre>
Hi All,
Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
Please point me to exact location,url to download the recent Apache Web Server and,
Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
A detailed explanation of how to integrate both is very helpful.
Thanks in advance.
<pre>

The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
You find the section "LoadModule" and you add the next lines:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
And the end of the file you must add these lines:
WebAppConnection conexion warp localhost:8008
WebAppDeploy examples conexion /examples
The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
At last you can add one more lines to check the module's configuration:
WebAppInfo /webapp-info
If you visit http://<yoor_host>/webapp-info you can see the configuration.

Similar Messages

  • Install Apach web server and Tomcat

    Is it possible to install Apach web server and Tomcat into Oracle Application Server?
    If possible, which way is the best? People said that I would better install Apach web server and Tomcat in Redhat.
    If you know the answer, would you mind give me the answer or document link?
    Thanks

    Tomcat is just a servlet engine. Oracle Application Server already includes a servlet engine. Apache is a default component too.

  • The tab is bad with apache web server and tomcat

    the tab not run with apache web server + tomcat.
    It is very bad..

    Fijate que solo he estado experimentando con JSC, no he tenido oportunidad de poner nada en producci�n usando la combinaci�n Apache Web Server y Tomcat JSP container y no cuento en �ste momento con �sta configuraci�n para probar.
    Nosotros (en donde trabajo) usamos IBM Web Server (basado en Apache Web Server 2), IBM Websphere 6 y las aplicaciones JSF en producci�n est�n hechas con Rational Web Developer.
    Ahora he estado muy ocupado con un proyecto urgente, si tengo alg�n tiempo libre la semana entrante tratar� de probar tu combinaci�n (no te prometo nada) pero para ello necesito que me digas las versiones que est�s usando de Apache Web Server y de Tomcat, como est�s enlazando entre ambos con un m�dulo o con ProxyPass y mejor si me mandas el httpd.conf.
    Saludos.

  • How to integrate deployed Web Services and Portlets

    Hi All,
    I am able to deploy Web Services and Portlets in the Application Server, which is in the network system.Now, I want to know how to integrate the Web Services and Portlets.I dont have any idea about this and i didn't got any good material..
    Please, provide some useful links or material, if anybody has any idea about this.
    Thanks in advance.
    Praphul

    You can consume a Web service from a JSF page for example using the ADF Web service data control:
    http://www.oracle.com/technology/obe/obe11jdev/bulldog/webservices/ws.html
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    You can turn these JSF pages into portlets using WebCenter's JSF to Portlet bridge.
    http://www.oracle.com/technology/products/jdev/11/cuecards111/jps_set_62/ccset62_ALL.html

  • How to link Apache Web Server and SJSAS 9.0

    I am running Apache 2.2.3 http server on port 80. I want to use Sun Java System Application Server 9.0 to serve my J2EE apps. I want to process JSP and servlets through the web server and have them redirected to the app server. In setting up Tomcat to do similar you have to use mod_jk and I would like to know how to do it on SJSAS ? Any help much appreciated, thanks.

    http://weblogs.java.net/blog/amyroh/archive/2006/08/index.html

  • Integrating Apache Web Server and Tomcat

    Hi,
    how do i integrate Apache Web Server (version 2.0) with Tomcat 5, on 2 different machines physically?
    I have managed to integrate them on the same machine. Now, I need to separate the 2 into 2 different servers.
    Please help.

    This is a forum for Sun's Java Application Server.
    Sun's AS is built on top of Tomcat and it's free in production (Platform Edition). The Standard Edition provides integration with an Apache HTTP server via a plugin.
    http://wwws.sun.com/software/products/appsrvr/home_appsrvr.htm
    For Tomcat, try http://jakarta.apache.org/tomcat/index.html
    -Alexis

  • Apache web server and tomcat

    I had loaded tomcat on my system to run JSP
    But it didnt worked
    so i loaded Apche web server on Win NT 4
    then tried to run JSP, but no result
    do Apache run JSPs by them selves
    or we need to attache Tomcat also
    if yes then how
    Thanks in advance

    Follow this steps:
    1. Set your JAVA_HOME environment variable in Autoexec.bat to
    your JDK installation directory.
         eg. SET JAVA_HOME=C:\j2sdk1.4
    2. Restart your computer.
    3. Install Tomcat
    4. Set your CATALINA_HOME environment variable in Autoexec.bat to
    your Tomcat installation directory.
         eg. SET CATALINA_HOME=C:\Program Files\Apache Tomcat X.X
    5. Goto C:\Program Files\Apache Tomcat X.X\Bin and right click in the startup.bat,
    choose Properties then select Memory. You should set you Conventional Memory's
    initial environment to something like 4096. Do the same with shutdown.bat.
    This will create a new shortcuts for the scripts you just modified.
    6. Restart your computer.
    7. Goto C:\Program Files\Apache Tomcat X.X\Bin and double-click on the startup shortcut you
    created in step 5.
    This will start your tomcat server. To test run your JSP's, put these in the ROOT folder.
    Then you must read your Java Web Services tutorial from then on.

  • Apache web server and asp

    Hi everyone!
    I am new to macs and am trying to learn asp programming. I have been designing web pages for a while, but I haven't gotten into real programming. I usually use Dreamweaver to design with. I have an ibook and an intel imac.
    On either of these can I write asp scripts using vbsript and execute them? Also, if I write the asp scripts for the server where do they go? And then on the web page that is supposed to connect to the server, does it matter where I put it?
    I know I'm asking a lot. But can anyone help me?
    Thank you I really apprecite any help.

    ASP pages typically require that your web server be IIS running on Windows. Apache cannot serve ASP pages by default. There is some information in the Wikipedia article that can point you to ways you can set up Apache to serve ASP pages. Personally, I would stick to a Windows server if you're going to be doing ASP pages, and I would use Java (JSP, servlets, etc.) or Perl if you want to serve your pages on Apache on OS X or Unix/Linux.

  • Sun one web server and apache

    Hi, all
    I would like to ask what are the differences between Sun ONE Web Server 6.1 and apache 2 on the features/functions matter.
    Compare with apache, what things do the SUN ONE Web can done.?
    What things do the SUN ONE Web Server cannot done?
    I just want to compare their functions/features.
    Thank you for your help.

    I don't know of a comprehensive comparison between the two, and I don't know enough about Apache Httpd to give a fair comparison. However, here are some highlights.
    - Functionality: Besides from a few things that can be done with Apache Httpd and mod_rewrite but cannot be done in WS6.1, almost everything else worth doing can be done with WS6.1.
    - Performance and stability: WS6.1 has the advantage here. Look at the latest SPECWeb2005 results submitted by sun (http://www.spec.org/web2005/results/web2005.html).
    If you have specific features/functions that you want to list, we can offer better comparisons.

  • How to integrate Crystal Report Server and J2EE platform

    Hi,
    It's my first time using Crystal Report, so I don't know exactly how I should start...
    As what i've searched around, there is a method of generating crystal report from a JSP file. By this way, everything will be handled within the application server.
    But in my project, we intend to leave the part of handling and generating report to another server, i.e. there will be 2 servers: application & report. Anyone experienced with this can guide me through? By splitting into 2 servers, that means I will need to have the Crystal Report Server right? And if doing so, from the application, how do I call the Crystal Report server?
    Thanks for viewing...

    You can use [Crystal Reports for Eclipse|Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!; to do exactly this. It comes with an example application for displaying reports using the CR Web Report Viewer. It's EXTREMELY easy to use and even to integrate in your existing web app. If you're using Eclipse and have the CR4E plugin installed, you can go to File > New > Crystal Reports and select Crystal Reports Web Project. This will create the CR server application for you. You can also right click on an existing web app and have Crystal Reports integrated directly into your existing app.
    To do this, just right click on your web app and go to Project Properties. Then, go to Project Facets, check the box next to Crystal Reports, click Apply and then OK. It will copy all of the necessary runtimes into your lib folder and will even update your web.xml to include the stuff needed for CR. On the left, you should see Crystal Reports File Versions. Click on that and you should see the version of Crystal that was just installed into your web app along with all of the files that were copied or modified.
    You could probably then create a report viewer in your other app (maybe an iframe?) that includes a link to the report in the CR Web App.
    If you need more assistance with this, let me know. I'd be glad to help out as I've already played with something similar to this.

  • Apache Web Server and Intel Mini Mac

    I've set up a web site hosted at home as I do expect a great deal of traffic on it on an Intel Mac Mini. The mac mini goes to 'sleep' and when it does I can not access it unless I get someone at home to wake it up!. The mini is behind 'behind' a netgear router.
    Does any one know how I can do this. I have the same problem at my office using netopia which if the office machine is asleep will not function.
    Question - How to wake up a mac mini when they are asleep?
    Guy

    Set the machine up to not to sleep. System Preferences>Energy Saver. Set sleep to Never. Put the display to sleep at whatever time you want.

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • What is the differece between Apache htttp web server and tomcat

    Hi friends,
    what is the difference between Apache htttp web server and apache tomcat.
    Can i run php in tomcat

    hi
    1) different of apache and tomcat
    http://forum.java.sun.com/thread.jspa?threadID=254299
    2) different of apache tomcat and jakarta tomcat
    http://forum.java.sun.com/thread.jspa?threadID=5191004

  • Issue with permissions to upload files into Apache web server to OS 10.8.2

    Hello everyone;
    I setted up Apache web server and mysql to OS 10.8.2 Mountain Lion. It's working fine except for the permissions. I can't upload files into the web site directory. Doesn't recognize, e.g., the PHP function "move_uploaded".
    One problem for my is that I can't modify the permissions by "Terminal" app since it telling me that the "Process completed" and I can't write any script.
    Any suggestion will be welcome.
    Thanks in advance.

    My only question now would be how to speed up Safari's 6.0.1 performance in 10.8.2 or do I just accept that it's a little slower than it was, which is fine. Are other folks having this issue?
    I was primarily passing along info about my particular download speed and for the Web Confidential 3.8 people: make a backup of your passwords b4 installing 10.8.2 or be prepared to upgrade.

  • 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.

Maybe you are looking for

  • How do I clear recent items from Preview in Lion?

       I hate this new version of Preview, the screensaver won't loop, you can't clear the recent images... It is piece of crap software! Go back to Snow Leopard version please!!!

  • Pages 5.2.2 won't "send to back"

    Hi, I have recently upgraded my Pages version to 5.2.2.  I am having an issue moving an image backward.  If I click "Send to Back" it won't go behind my text.  I have gone into Format-Arrange and used the 'Send to Back' icons, and have also used the

  • My home button now reads "homeButton.label;" and does not work. Help. thanks...

    turned on my computer, looked up and saw this " homeButton.label;" on my home button. I cannot get rid of it in Tools etc and it does not work as a command. I press it to go home, in this case google, but it does nothing. At the bottom left of the pa

  • IMac Brightness forgets setting after shut down

    Hi, I have an old iMac (not sure what year but it's the white model 24"). Everytime I log in, the brightness setting is always at the lowest setting. At the minute I'm having to change it everytime I go on my mac. The iMac is running OS X 10.5.8 if t

  • Presentation hierarchy in 11.1.5

    I am using 11.1.5 version and facing issue with presentaion hierarchy.Some times it expands and sometimes it doesnt. I have used level based measure and Rank function in my Report. Any idea what could be the issue