QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

Why Apache Tomcat instead of IIS?

PrinterOn Campus Printing - FAQs
Because we can control the installation and configuration of an Apache web server during install, we use it as the default web server even though Microsoft IIS is usually available on a Windows 2000/XP/2003 platform. Apache also provides a cleaner servlet container through Tomcat. However, we also provide an IIS Plug-in, and you can configure IIS as the web server if you have a requirement to use Microsoft technologies.

How does Apache and Tomcat work together?

Cheap Webhosting service - PHP, JSP, MySQL, Postgres SQL - B...
We run Apache as a front-end for Tomcat, using mod_jk. In this configuration, Apache sees all Web requests. It processes some itself, and hands others off to Tomcat for processing. If you would like Tomcat to handle other URL patterns, you need to request us to set that up for you. For example, if you have a servlet-based online store at http://www.yourdomain.com/store, then you probably want Apache to send all URL's of the form /store/* to Tomcat.

How do I install Apache and Tomcat?

jGuru: Tomcat FAQ
Author: Alex Chaffee (http://www.jguru.com/guru/viewbio.jsp?EID=3) The Tomcat Apache HOWTO has been revised and placed on the Tomcat web site. Here's a way to do it: Getting, Installing and starting Tomcat Download Tomcat from here: Get Tomcat Installing and starting Tomcat This is a breeze. It consists of the following steps: Unzip "jakarta-tomcat.zip" to the root drive. The zip automatically makes a "jakarta-tomcat" folder and extracts to it.

How do you do servlet aliasing with Apache and Tomcat?

jGuru: Tomcat FAQ
Author: Serge Knystautas (http://www.jguru.com/guru/viewbio.jsp?EID=100012) Question originally posed by Felix Wong (http://www.jguru.com/guru/viewbio.jsp?EID=102927 Servlet aliasing is a two part process with Apache and Tomcat. First, you must map the request in Apache to Tomcat with the ApJServMount directive, e.g., ApJServMount /myservlet /ROOT Second, you must map that url pattern to a servlet name and then to a servlet class in your web.xml configuration file.

Why am I getting spam mail from the Apache site?

Apache Server Frequently Asked Questions
The short answer is: "You aren't." Usually when someone thinks the Apache site is originating spam, it's because they've traced the spam to a Web site, and the Web site says it's using Apache. See the previous FAQ entry for more details on this phenomenon. No marketing spam originates from the Apache site. The only mail that comes from the site goes only to addresses that have been requested to receive the mail.

How do I debug an Apache Tomcat 5.0 Servlet?

JDebugTool - Graphical Java Debugger
First make sure you have defined the environment variable JAVA_HOME to point to the root directory where you have the JDK installed. Then simply invoke on Windows Then in JDebugTool, select Attach... from the Target menu in the menubar, to display the Attach to Target dialog. On Windows, select the Shared Memory tab, and enter jdbconn in the Shared Memory Name field. On Unix, select the Socket tab, and enter 8000 in the Port Number field.

How do I debug an Apache Tomcat 5.0 JSP?

JDebugTool - Graphical Java Debugger
You can indirectly debug a Tomcat 5.0 JSP, by generating the corresponding Java source file, and then Mounting the corresponding Source Path in JDebugTool. First you will need to attach JDebugTool to Tomcat as described in FAQ #25 above. Then you will need to invoke your JSP to determine where the generated Java source file is created. For example, you would then Mount the following Source Path (see FAQ #1): where mywebapp would be the corresponding name of your web app.

How do I set up virtual hosting on Tomcat with Apache?

jGuru: Tomcat FAQ
Author: Serge Knystautas (http://www.jguru.com/guru/viewbio.jsp?EID=100012) Question originally posed by Alex Chaffee PREMIUM (http://www.jguru.com/guru/viewbio.jsp?EID=3 [The Tomcat User's Guide has a section called "Configuring Virtual Hosting" at http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html. This document should also be in the distribution under the doc directory.

What is Apache?

Apache Server Frequently Asked Questions
runs on Windows NT/9x, Netware 5.x and above, OS/2, and most versions of Unix, as well as several other operating systems DBM databases for authentication allows you to easily set up password-protected pages with enormous numbers of authorized users, without bogging down the server. Customized responses to errors and problems Allows you to set up files, or even CGI scripts, which are returned by the server in response to errors and problems, e.g.

How do I go about getting trash service started?

City of Travelers Rest, South Carolina | FAQ
You must first purchase a city trash cart for $85 and the pick-up day will be either Wednesday or Thursday, depending upon the area where you live. You will need to have your trash cart at the roadside by 6:30 am. Yes, we do. If you wish to recycle you can pick up a recyclables container from City Hall for free, but it must be returned to City Hall, or left at your home, if you move from the area.

GETTING STARTED Q. All this sounds great. How do I get started?

FREQUENTLY ASKED QUESTIONS: Applied Physics Letters...
Send your order to AIP Circulation and Fulfillment: 500 Sunnyside Blvd., Woodbury, NY 11797. Upon receipt of your paid order, we will send you a Subscription Agreement. Once your signed agreement is received, OCLC will establish your account, issue a password, and send you the start-up package, which includes both user documentation and software.

Can I restart the Tomcat service at any time?

Serlvet, Jsp, Java, Tomcat, MySQL, PostgreSQL - web hosting ...
On a Shared JVM Plan you can't restart Tomcat on your own. You will need to email us when you need Tomcat restarted and we'll do it for you. On Private JVM Plan you'll have full control over Tomcat and you'll be able to restart it at any time through SSH (instructions will be given to you in an account activation email).

How do I set up Tomcat as a NT Service?

jGuru: Tomcat FAQ
Hi, I configured Tomcat as a NT Service Control Manager Application, successfully, and like to share the procedure with the community. Edit %TOMCAT_HOME%\conf\wrapper.properties with i.e. wrapper.tomcat_home=c:\progra~1\apache~1\Apache\jakarta-tomcat-3.2.1 jk_nt_service.exe -i Jakarta-Tomcat c:\progra~1\apache~1\Apache\jakarta-tomcat-3.2.1\conf\wrapper.properties You can also build jk_nt_service.exe from sources with VC 6.0. You'll need source code from both Apache 1.3.14 and Tomcat 3.2.

To use Tomcat will we have to use the Apache web server?

JavaServer Pages[tm] - Apache Tomcat - FAQ
No. You can choose any web server on the market that supports JSP and Servlets (e.g. Sun ONE Web Server, IBM WebSphere, BEA Weblogic and others). We are working closely with a variety of partners to support them in quickly adding JSP and Servlet support to their web servers.

Apache/Tomcat] I created a new application but I cannot execute it. What do I do?

FAQ - JSP Hosting, Servlet Hosting, J2EE Hosting
Most likely you forgot that we are using Apache which then passes requests on to Tomcat via mod_jk and there is no mapping in Apache for the new application. Also note that the mappings do not allow multiple wildcards or exclusion lists in a JkMount, so we can do If you have a tomcat installation and you whish to use a servlet to replace noexist documents, and you want to do it using Apache and PHP, then Handle properly the wrong requested URL at the servlet "notFoundHandler".

How do I build Apache with DSO support, to use Tomcat and mod_jserv?

jGuru: Tomcat FAQ
Author: Alex Chaffee (http://www.jguru.com/guru/viewbio.jsp?EID=3) You have to add the '--enable-module=so' option to your 'configure' call in order to enable DSO, i.e.: ./configure --prefix=/usr/local/apache --enable_rule=SHARED_CORE --enable-module=so (Thanks to Peter Theill from the Tomcat User Mailing List.) Comments and alternative answers

How do I install Apache and Tomcat with SSL / HTTPS support?

jGuru: Tomcat FAQ
Author: Alex Chaffee (http://www.jguru.com/guru/viewbio.jsp?EID=3) STeve Punte, from the Tomcat Users List, writes: The web site http://www.ccl.net/cca/software/UNIX/apache/index.shtml was great for me on getting SSL operational. Not for the faint of heart! Also, Jun Inamori has written a great tutorial walkthrough on compiling and installing Apache with Tomcat and JServ at http://www.oop-reserch.com/tomcat_3_1/.

How do I connect Apache (1.3.12) to the Tomcat 3.x engine ?

jGuru: Tomcat FAQ
Author: John Mitchell (http://www.jguru.com/guru/viewbio.jsp?EID=4) Question originally posed by Achim Dreyer (http://www.jguru.com/guru/viewbio.jsp?EID=29434 As of Tomcat 3.3, the User's Guide is included in the distribution as http://127.0.0.1:8080/doc/tomcat-ug.html. -Alex] Comments and alternative answers Append the following line to your httpd.conf Include /path/to/tomcat/tomcat.conf or Include /path/to/tomcat/tomcat-apache.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact