Re: apache and tomcat version
Ayden, On Thu, Sep 18, 2008 at 12:53 AM, <[EMAIL PROTECTED]> wrote: > > I would also like a Blogger like WordPress or Apache ROLLER > Actually it's pretty simple: - Wordpress is based on PHP - Apache Roller is based on Java (Java-Webapp) There are some options to run PHP using Tomcat, but it's not recommended. There is no option to run Java within Apache HTTPD without a servlet-container such as Tomcat. That means: - When you're going for Wordpress, you'll need Apache HTTPD - When you're going for Roller (my fav), you'll need Tomcat However: Be aware that you can't run Tomcat on a so-called "privileged" port such as 80 on any Linux / Unix unless you're running Tomcat as root - which you wouldn't want to do due to security reasons. However. there are some options - preferably runnung Tomcat as a demon - which is described here:http://www.klawitter.de/tomcat80.html You also could "front" Tomcat with Apache HTTPD (by means of AJP/mod_jk or mod_proxy), however, configuration is a bit more tricky than the demon-solution. Hope that gives you a start! Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache and tomcat version
> From: [EMAIL PROTECTED] [EMAIL PROTECTED] > Does Tomcat do the same thing as Apache? ie http; as well as the bonus of > java? Yes, with reservations. Tomcat's a Web server in its own right - and a pretty fast one, in its modern versions. You'll saturate your network bandwidth long before you saturate your CPU. It's tuned for serving static content and Java web application content. It *can* serve other content via custom webapps and filters, but in my opinion this is less well developed than the facilities in Apache httpd (what most people call "Apache"). > I am using PhP, and would to like to also have Java/AJAX?J2EE on my web > page, and I am not sure if I need both Apache and Tomcat, or can just use > Tomcat? (I dont know if it will do everything that Apache does plus more?) httpd has more modules available, and is probably a better choice as your front-end if you're running several different active server technologies such as PHP and Java. Tomcat *can* serve PHP, but as far as I'm aware the integration is slower than httpd's. I've not done it, however - can anyone who has comment on performance? If you do run httpd in front of Tomcat, you do of course have the integration job to do. The appropriate version of the docs at http://tomcat.apache.org will, of course, be of benefit :-). I'd go with Tomcat 6 unless you have a good reason to use an older version. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache and tomcat version
My one of the client has this tomcat 3.2.1 and apache 1.3.27 config. i have one project to convert into struts and ajax(dwr) from jsp-java beans with current config. so i was little bit confused when i was knew abt this config bcoz i know only tomcat 5.x but thanks , one another question,which version of strtus wil be good for this configuration i have know struts 2 but never used s1 thanks I did not understand your question but here are some pointers: - Tomcat is a servlet container which can be used to host your servlet / JSPs etc. - Apache 1.3.27 is an HTTP server that can only host static files like html pages, images etc. However you can integrate Tomcat with Apache using mod_jk and then access your servlets / JSPs via Apache Server. See Apache - Tomcat HOWTO doc for more details on how this can be done. If this does not answer your query, plz provide some more details. - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/apache-and-tomcat-version-tp19529503p19545645.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache and tomcat version
What I want to run on my webpage is AJAX push via icefaces.org opensource code (asynchronous, web-based push of presentation changes to the client browser based on server-side events) to do this I believe I need NIO (I think NIO is also referred to as APACHE MINA project or another name I have seen but cannot find info on is 'Comet') I would also like a Blogger like WordPress or Apache ROLLER So I am unsure if I need Apache, Tomcat or both? Many Thanks, Ayden > [EMAIL PROTECTED] wrote: >> Does Tomcat do the same thing as Apache? ie http; as well as the bonus >> of >> java? >> >> I am using PhP, and would to like to also have Java/AJAX?J2EE on my web >> page, and I am not sure if I need both Apache and Tomcat, or can just >> use >> Tomcat? (I dont know if it will do everything that Apache does plus >> more?) >> > Ayden, > the way your question is asked, it is not certain that using Tomcat > would really bring you any advantage. Can you explain what you mean > exactly by "have Java/AJAX?J2EE on my web page" ? > What do you want to achieve ? > > To give you a quick overview : > > Both Apache and Tomcat are free and open source software; they are both > developed by volonteers, who do this for fun (and sometimes hubris). > They are both impressive, powerful pieces of software, and are both used > by thousands of websites. > Both Apache and Tomcat can act as webservers, to serve static html > pages, images and other documents. Both Apache and Tomcat can deliver to > your browser html pages containing "Java applets", which are small Java > programs which run in your browser and on your web page. > But the way Apache and Tomcat work inside is very different, and their > configurations are also very different (*). > Tomcat can run applications written in Java, on the server side (that's > where J2EE lives); Apache cannot do that. On the other hand, there are > many things that Apache can do easily, which are a lot more complicated > to do with Tomcat. For example processing PHP instructions embedded in > html pages on the server side, or running perl cgi-bin scripts. > Apache and Tomcat can also work together and split the work between > them, but you have to add and configure a connector for that. > Both have a good user support list, this one for Tomcat and > "[EMAIL PROTECTED]" for Apache. The people on both are very helpful, even > to beginners. But the ones on this list sometimes have a tendency to be > a bit elitist (talking about classes all the time) and sometimes obscure > (contexts, objects, factories, etc.. ). > Ajax has not much to do with either Apache or Tomcat. It is javascript > code that runs in the browser, not on the server. But you can use html > pages with Ajax stuff with both Tomcat and Apache, from that point of > view it's the same. > > (*) For example, Apache has basically one configuration file, written as > plain text; Tomcat has many configuration files all over the place, and > they are written in XML. For example also, it takes 2 lines to create a > couple of Apache logfiles, and what is in them is usually quite clear; > in Tomcat, it takes .. many lines to create a logfile; you gets lots of > them, but what is in them is more difficult to read. > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache and tomcat version
[EMAIL PROTECTED] wrote: Does Tomcat do the same thing as Apache? ie http; as well as the bonus of java? I am using PhP, and would to like to also have Java/AJAX?J2EE on my web page, and I am not sure if I need both Apache and Tomcat, or can just use Tomcat? (I dont know if it will do everything that Apache does plus more?) Ayden, the way your question is asked, it is not certain that using Tomcat would really bring you any advantage. Can you explain what you mean exactly by "have Java/AJAX?J2EE on my web page" ? What do you want to achieve ? To give you a quick overview : Both Apache and Tomcat are free and open source software; they are both developed by volonteers, who do this for fun (and sometimes hubris). They are both impressive, powerful pieces of software, and are both used by thousands of websites. Both Apache and Tomcat can act as webservers, to serve static html pages, images and other documents. Both Apache and Tomcat can deliver to your browser html pages containing "Java applets", which are small Java programs which run in your browser and on your web page. But the way Apache and Tomcat work inside is very different, and their configurations are also very different (*). Tomcat can run applications written in Java, on the server side (that's where J2EE lives); Apache cannot do that. On the other hand, there are many things that Apache can do easily, which are a lot more complicated to do with Tomcat. For example processing PHP instructions embedded in html pages on the server side, or running perl cgi-bin scripts. Apache and Tomcat can also work together and split the work between them, but you have to add and configure a connector for that. Both have a good user support list, this one for Tomcat and "[EMAIL PROTECTED]" for Apache. The people on both are very helpful, even to beginners. But the ones on this list sometimes have a tendency to be a bit elitist (talking about classes all the time) and sometimes obscure (contexts, objects, factories, etc.. ). Ajax has not much to do with either Apache or Tomcat. It is javascript code that runs in the browser, not on the server. But you can use html pages with Ajax stuff with both Tomcat and Apache, from that point of view it's the same. (*) For example, Apache has basically one configuration file, written as plain text; Tomcat has many configuration files all over the place, and they are written in XML. For example also, it takes 2 lines to create a couple of Apache logfiles, and what is in them is usually quite clear; in Tomcat, it takes .. many lines to create a logfile; you gets lots of them, but what is in them is more difficult to read. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache and tomcat version
Does Tomcat do the same thing as Apache? ie http; as well as the bonus of java? I am using PhP, and would to like to also have Java/AJAX?J2EE on my web page, and I am not sure if I need both Apache and Tomcat, or can just use Tomcat? (I dont know if it will do everything that Apache does plus more?) Thanks Ayden >> From: Hardik Shah [mailto:[EMAIL PROTECTED] >> is tomcat 3.2.1 and apache 1.3.27 are both server > > Tomcat 3.2.1 is a web server. You can use it to serve Web pages or web > applications directly. You do not need to use any version of Apache httpd > as well. > > If you want to use Apache httpd as well, you can connect Tomcat to httpd > using AJP. It is more difficult to set up the two servers in this way. > > If possible, I would use a newer version of Tomcat than version 3. > > - Peter > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache and tomcat version
> From: Hardik Shah [mailto:[EMAIL PROTECTED] > is tomcat 3.2.1 and apache 1.3.27 are both server Tomcat 3.2.1 is a web server. You can use it to serve Web pages or web applications directly. You do not need to use any version of Apache httpd as well. If you want to use Apache httpd as well, you can connect Tomcat to httpd using AJP. It is more difficult to set up the two servers in this way. If possible, I would use a newer version of Tomcat than version 3. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache and tomcat version
I did not understand your question but here are some pointers: - Tomcat is a servlet container which can be used to host your servlet / JSPs etc. - Apache 1.3.27 is an HTTP server that can only host static files like html pages, images etc. However you can integrate Tomcat with Apache using mod_jk and then access your servlets / JSPs via Apache Server. See Apache - Tomcat HOWTO doc for more details on how this can be done. If this does not answer your query, plz provide some more details. -Original Message- From: Hardik Shah <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Wed, 17 Sep 2008 4:19 pm Subject: apache and tomcat version hi i have used yet tomcat 5.0 and tomcat 5.5 i have one confusion , is tomcat 3.2.1 and apache 1.3.27 are both server or ,we have to use both for configure server or anything else please help me - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/apache-and-tomcat-version-tp19529503p19529503.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You are invited to Get a Free AOL Email ID. - http://webmail.aol.in - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
apache and tomcat version
hi i have used yet tomcat 5.0 and tomcat 5.5 i have one confusion , is tomcat 3.2.1 and apache 1.3.27 are both server or ,we have to use both for configure server or anything else please help me - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/apache-and-tomcat-version-tp19529503p19529503.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]