How to install Tomcat 1.4 on Apache Web Server
I'd like to know how to install Tomcat 1.4 on Apache web server. I cant find any instructions from the documentation that goes along with the Tomcat 1.4
1) Use mod_jk.dll. Obtain it from the jakarta's site. (It comes with Tomcat 3.3 and above)Put it in the apache's modules folder.
2) Modify httpd.conf of the A.W.S, append the following line to it:
include TOMCAT_HOME/conf/mod_jk.conf-auto
3) Start Apache W.S first, then restart Tomcat.
It's simple and hope this works!
Rommel Sharma.
Similar Messages
-
How to save uploaded image file to Apache Web Server from Tomcat
Hi guys,
Perhaps this is not an appropriate topic to ask under this forum but I really don't know where should I post my question. Hope you understand.
Ok, I need to know if my web application is running in Tomcat5 and user uploading some image file where I need to save these image files to the other server, which is running Apache Web Server. Should I ftp to there or other better method ?
Anyone got a better idea on doing this kind of process pls advice. Many Thanks !
regards,
Markif your Apache server is running in the same computer and if your servlet have write access to the folder in apache under which you want to save the file you can just write the file there but you will have to address concurrency issues.
Otherwise you will have to do ftp but since apache does not have abuilt in frp server you will need a seperate FTP server for this -
How to install struts application in a real web server
I have a problem about installing my struts application into web server..
I can run my application under eclipse websphere development studio 5.0 web server but I don't know How I install it a real webserver (Apche,Unix,Tomcat or etc.) under location something like " http://cmpe.emu.edu.tr/ " .
I have small exprerinece about web servers.. So if you can state your answers clearly, I'll be really grateful...
Ergin DEMIREL
Thanks in Advance..Web servers like Apache or M$ IIS serve up static HTLM content. They don't handle Java servlets/JSPs by default. You need a servlet/JSP engine for that. Tomcat is one. All J2EE-compliant app servers have one, too (e.g., WebSphere, WebLogic, JBoss, etc.)
If you're asking how to do it with Apache the answer is: bolt Tomcat on top of Apache. There are docs on the Tomcat site to tell you how to do that.
% -
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. -
Should I install Apache Web server to use Jakarta Tomcat Servlet engine?
Hello,
I have some problems and now have a question:
Should I install Apache Web server to use Jakarta Tomcat Servlet engine?
JTK home page is available via http://localhost:8080
Tomcat ver 3.1.3
Thanks.No, you don't need to run Apache webserver (httpd) to run Tomcat. Tomcat by default runs on port 8080, but you can set it to any port, including 80, if you have permission to do so (on *nix systems, you need root permissions to run services on any port below 1024).
Tomcat is a webserver as well, just one that includes a servlet container and JSP processor. So it will serve your html files, images, etc (aka static content), just as well as Apache httpd, in addition to being able to run servlets and JSPs.
Apache httpd has more options for serving static content than Tomcat, so many people prefer to use it as their main webserver and only use Tomcat as a sort of "plugin" to handle servlets and JSPs. This can be achieved through a connector. Instructions on how to set this up are on the Jakarta website.
So you could use Apache and Tomcat combined, next to each other, or totally separated. In many cases, just Tomcat will do. -
How to Configure Apache Web Server with Tomcat web container in Linux
Hi all,
I am working on Tomcat web server 5.0.19 on Linux AS 3.0., ( my Control Server)
I need map my tomcat to Apache Web Server (httpd) in another system
(web server).
I dont have jk2_ or jk_mod .so files to use in my tomcat/conf directory to make them available for httpd.conf files of Apache Web server.
I have only jk2.properties file in my conf.,
Please tell me how to go about it
my mail id [email protected]
Thank You
Subramanyam.V
Hyderabad
IndiaThe simple answer is to download a web server that has a web container already integrated on it, so all that painful configuration work is avoided.
You can use the mature SJS Web Server 6.1 SP5 at
http://www.sun.com/webserver
Or you can try a preview of the upcoming version at
http://www.sun.com/download/products.xml?id=446518d5
You will get better performance and security, with easy of use, at about the same price ;) -
How to install Apache Web server on my SAP Content Server
Dear Experts,
I am in the process of installaing Content Server in my landscape, i am working on Suse Linux 10 SP2 and planning to install ContentServer 6.30.
I have read the standard SAP installation document for the same and it says that we need to install Apache Web server version 1.3.XX, so i have downloaded the file apache_1.3.27-x86_64-whatever-linux22.tar.
Now i want to know the following before i take any actions on my further installation of the Content Server
What is the difference between Apache and httpd servers (services) are they different or same
Is the file apache_1.3.27-x86_64-whatever-linux22.tar correct to install Web Server on my Linux system
Do i have to download any other httpd files
How to install and start the Web server on my Linux
Waiting for some information
Thanks and regards
BasoKingYou can install a higher apache also (2.2.x), I'd not use the old versions. I'd also not use a "somwhere" compiled apache, you don't now if that version is clean.
I'd rather compile an own one, it's not that difficult:
Note 664384 - Generation info for Apache Web server for SAP Content Server
The result will be a default webserver (httpd) without any unnecessary modules compiled in.
Markus -
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,
HarishApache 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 -
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?
ThanksTomcat is just a servlet engine. Oracle Application Server already includes a servlet engine. Apache is a default component too.
-
Apache web server/jakarta tomcat
Hey guys!
here's the fact, i installed jakarta-tomcat and apache web server, but i don't know how to integrate them, i mean, I just want to have one http server with the functionality to use servlets. Do I need only jakarta tomcat to have this?, please help me.
and forgive my very poor english! :)Hallo.
Create or edit the file %APACHE_HOME%/conf/worker.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
Edit the file %APACHE_HOME%/conf/httpd.conf
LoadModule jk_module modules/mod_jk.dll
AddModule mod_jk.c
JkWorkersFile "%APACHE_HOME%/conf/worker.properties"
JkLogFile "APACHE_HOME%/logs/mod_jk.log"
JkLogLevel debug
Alias /myWebApp "%TOMCAT_HOME%/webapps/myWebApp"
JkMount /myWebApp/*.jsp testWorker
Check the file mod_jk.dll in the folder %APACHE_HOME%/modules/. Howevere there are different libraries for different versions of Apache Web Aerver and Tomcat.
Edit the file %TOMCAT_HOME%/conf/server.xml
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
Good luck. -
How do I get Apache web server working ...
How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
That about exhausts my understanding of how to get a handle on my problem.
Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...Okai, so we are getting somewhere, but not quit there yet :-)
I opened the Kenneth.conf file using the command: vi Kenneth.conf
This is what it said:
<Directory "/Users/Kenneth/Sites/">
Options Indexes Multiviews
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
</Directory>
"Kenneth.conf" [readonly] 6L, 139C
I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/ -
How to use JSP in apache web server
hi all,
can anybody tell me how to use JSPs in Apache Web Server.
Thanks
sirYou would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
HTH -
Installing axis 2 Java in Apache HTTP Server...
Hi,
can i install axis 2 java in apache http server...if so can anyone tell me how?hi,
check out from this link
http://ws.apache.org/axis2/1_3/installationguide.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 -
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
sushi :-)
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,
Maybe you are looking for
-
SQL Query taking long time....its very urgent !!!
Hi All, Can any body help me out to tune this query... its cost is 62,900.. and thete is full table scan on ap_invoices_all... For one invoice ID its taking 20 sccs... SELECT /*+ INDEX ( i2 AP_INVOICES_N8 ) INDEX ( i1 AP_INVOICES_N8 ) */ DISTINC
-
Instant Client and usage of rpm in linux
I am running Fedora, but am not very familiar with using rpm. In the past I have used gunzip and uncompress for decompressing files. The Oracle Client notes indicate just to unzip into a selected directory and modify the environment variables accordi
-
DB Tool List Table: How to access tables which are in different SQL database ?
Hi, All, I'm working on a database application (SQL server) and is evaluating the NI DB Tool kit for this project. One of the requirement is that I need to access tables which are in two different database (say Table A in DB 1 and Table B in DB 2). O
-
Using DefaultTableModel features
I have my data model which I pass to AbstractTableModel and wrote my own implementation of getValueAt() method. I want to use the features provided by DefaultTableModel; for Eg addRows(), moveRows() rotate() etc. But defaultTableModel Treats Vector a
-
I am trying to update my iPod touches and keep getting an error message saying iTunes could not back up my iPod because a session could not be started. I have followed all trouble shooting advice found on the apple website, unplugged and replugged t