Re: Type of server
This is from the online doc. Tomcat 5 implements the Servlet 2.4 and JavaServer Pages 2.0 specifications from the Java Community Process, and includes many additional features that make it a useful platform for developing and deploying web applications and web services. The generalized idea is: CLIENT | | http request/response (maybe this request is to an application) | APACHE web server (with mod_proxy enabled) receive the request. if the request is a request to an application within tomcat apache send the request to tomcat (the container of web applications) | | request is forwarded to the container | TOMCAT | | request is forwarded (again) to the appropriated application. | APPLICATION | | query to a db store | DB STORE Jorge Dvila. El mi, 27-04-2005 a las 16:04 -0400, Chawke, Nitin (Corporate, consultant) escribi: Hi All, I have a very basic question here. What is tomcat ? Is it a Web Server or an App Server My understanding was its a Web Server with a Web Container. But recently I have come accross a lot of discussions saying that is an Application server? I tried to find out in the documentations, but nowhere it is clearly mentioned. Please advise. Thanks, Nitin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tutorial
Well.. the first thing to do is download all files. In fedora core 3 there are some things that not run will the java installation packed with the system. If posible, don't install java from fc3's cd. Install java, then tomcat. In my opinion the best source of information for java is: http://java.sun.com/docs http://www.jdocentral.com For tomcat: If you has successfully installed Java install Tomcat and try http://127.0.0.1:8080/tomcat-docs/ Additionally: You can search information in: http://db.apache.org/ojb/docu/index.html About the Object/Relational Java Bridge. Best regards, Jorge Dvila. El mar, 26-04-2005 a las 07:32 -0400, Eugene Poole escribi: I'm looking for a Tomcat tutorial that works! I want to teach myself, if possible. Where can I find a tutorial that covers Apache, Tomcat, Java2 1.4.x, and a database (hopefully Oracle) running on Fedora Core 3? Gene [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat + Apache Web Server
You most configure mod_proxy in apache to get the configuration desired. The idea is that apache receive the request and if the request is for tomcat apache send the request at the respective servlet. http://httpd.apache.org/docs-2.0/mod/mod_proxy.html Best regards, Jorge Dvila. El mar, 05-04-2005 a las 16:50 -0400, Magnotta, Salvatore escribi: Hello, I'm new with Apache products and this is my first post. Please see the background info - it explains what versions I have and what I have done. Question: How can I have both Apache and Tomcat running on a Windows platform using Internet Explorer and do the following: http://localhost/servlet/HelloServlet (no Tomcat default port 8080) instead of http://localhost:8080/servlet/HelloServlet ? If I try to do http://localhost/servlet/HelloServlet I get an internal server error. It cannot find where this is located. Apache is trying to find it at C:\Documents and Settings\username\My Documents\My Website\localhost\www\servlet\HelloServlet instead of C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\WEB-INF\classes\HelloServlet - Background: Apache 2.0.53 (Port 80 - default) Tomcat 5.5.7(Port 8080 - default) mod_jk 1.2.8 (to connect the two together) Operating System: Win 2K Server I installed both Apache and Tomcat as Windows Services using the install programs that are available. I am able to access http://localhost and http://localhost:80 (Apache Web server page comes up) I am able to access http://localhost:8080 (Tomcat page comes up) I am able to create basic servlets and run them. For example, http://localhost:8080/servlet/HelloServlet I am able to access this host from another machine running Win XP. I can bring up the Apache and Tomcat home pages on that PC's browser, and the servlets. I have placed the following in my httpd.conf file: LoadModule jk_module modules/mod_jk.so JkWorkersFile C:/Program Files/Apache Software Foundation/Tomcat 5.5/conf/workers.properties JkLogFile C:/Program Files/Apache Group/Apache2/logs/mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] I have the workers.properties file also set up: worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=2 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp12, ajp13 Thank you, Sal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat + Apache Web Server
Are you suggesting that we can drop apache and only use tomcat in some cases? El mar, 05-04-2005 a las 16:58 -0500, Caldarale, Charles R escribi: From: Magnotta, Salvatore [mailto:[EMAIL PROTECTED] Subject: Tomcat + Apache Web Server Question: How can I have both Apache and Tomcat running on a Windows platform using Internet Explorer and do the following: Before introducing that complexity, why are you using Apache httpd at all? Peter Lin's recent testing showed little performance improvement using httpd vs. Tomcat 5.5.7 for static content. See http://cvs.apache.org/~woolfel/benchmark_summary.doc for details. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ream authentication + Apache Web Server Authentication
try to configure ajp13 connector to put apache in front of tomcat. SAG - Jose Antonio Tarifa wrote: Hi. I have a question. How can I mix authentication on both servers, Tomcat and Apache? I want to use Form authentication with Tomcat, also I need Apache Web Server to be authenticated. Is posible to authenticate a user in Tomcat and get authenticated in Apache at the same time? Thanks. José Antonio Tarifa Lorenzo SAGE-OMEL Tfno. +34 91 659 89 79 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]