You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ibm123 <xg...@yahoo.com> on 2007/08/25 05:38:16 UTC
[users@httpd] Deploying war on Apache HTTP Server
I am pretty new to Apache Http Server (AHS). I was looking into the document
for deploying the war file on AHS but could not found anything. I am not
sure whether I can deploy war on AHS or not. If not then I should use Tomcat
but how to integrate tomcat with AHS. I want to use AHS because I want to
configure some mod_expire and mod_header module on AHS.
Please suggest.
--
View this message in context: http://www.nabble.com/Deploying-war-on-Apache-HTTP-Server-tf4326753.html#a12322872
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Deploying war on Apache HTTP Server
Posted by ibm123 <xg...@yahoo.com>.
Can someone help me with the response.
ibm123 wrote:
>
> I am pretty new to Apache Http Server (AHS). I was looking into the
> document for deploying the war file on AHS but could not found anything. I
> am not sure whether I can deploy war on AHS or not. If not then I should
> use Tomcat but how to integrate tomcat with AHS. I want to use AHS because
> I want to configure some mod_expire and mod_header module on AHS.
>
> Please suggest.
>
--
View this message in context: http://www.nabble.com/Deploying-war-on-Apache-HTTP-Server-tf4326753.html#a12325859
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Deploying war on Apache HTTP Server
Posted by Vincent Bray <no...@gmail.com>.
On 25/08/07, Vincent Bray <no...@gmail.com> wrote:
> You need Tomcat (or any number of alternatives) to host the .war.
> Apache's written in C, not Java, so can't run those kinds of things
> directly.
Sorry, when I say "Apache", of course I mean "Apache HTTPD". Tomcat's
as much apache as apache is, but apache's usually just called apache
:-)
--
noodl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Deploying war on Apache HTTP Server
Posted by Jaqui Greenlees <ja...@yahoo.ca>.
--- Vincent Bray <no...@gmail.com> wrote:
> All in all, it's not a bad way to distribute a
> webapp.
true, a plug and go format is a good idea for
distributing web apps
> Certain commercial webapps are just a single .war
> file that you can dump in
> Tomcat's webapps directory and go. Tomcat then
> notices the new .war,
> unzips it, and gets on with trying to start up some
> time this decade
> :-)
one reason to avoid Java apps, the bloat inherent in
the language. :D
I never install any jre / jvm or have java enabled in
any browser, speeds up browsing drastically to be
plugin and clientside scripting free.
Jaqui
Jeff Henager: "If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology."
Website: http://jaqui-greenlees.net
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Deploying war on Apache HTTP Server
Posted by Vincent Bray <no...@gmail.com>.
On 25/08/07, Jaqui Greenlees <ja...@yahoo.ca> wrote:
> ahh, so a .war is some sort of Java file format, nice
> to know. Not that a non java enabled browser would do
> anything but try to download it, at least now I know
> it's not always malware, at least not any more than
> any java app is.
Heh. As I understand it a .war is simillar to a .jar in the sense that
they're both basically zip files including a specific named file
(MANIFEST or simillar). In this particular case, .war is a web
application archive, and contains a standard directory layout for
servlet class files and jsps and config files (yay xml) etc.
All in all, it's not a bad way to distribute a webapp. Certain
commercial webapps are just a single .war file that you can dump in
Tomcat's webapps directory and go. Tomcat then notices the new .war,
unzips it, and gets on with trying to start up some time this decade
:-)
--
noodl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Deploying war on Apache HTTP Server
Posted by Riemer Palstra <ri...@palstra.com>.
On Sat, Aug 25, 2007 at 11:24:20AM -0400, Jaqui Greenlees wrote:
> ahh, so a .war is some sort of Java file format, nice to know. Not
> that a non java enabled browser would do anything but try to download
> it, at least now I know it's not always malware, at least not any more
> than any java app is.
Why would that be? .war files are usually run server-side, by the
application server, Tomcat for instance. The client side, the browser,
shouldn't actually have to anything else but display the output :)
--
Riemer Palstra
riemer@palstra.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Deploying war on Apache HTTP Server
Posted by Jaqui Greenlees <ja...@yahoo.ca>.
--- Vincent Bray <no...@gmail.com> wrote:
> On 25/08/07, ibm123 <xg...@yahoo.com> wrote:
> > I am pretty new to Apache Http Server (AHS). I was
> looking into the document
> > for deploying the war file on AHS but could not
> found anything. I am not
> > sure whether I can deploy war on AHS or not. If
> not then I should use Tomcat
> > but how to integrate tomcat with AHS. I want to
> use AHS because I want to
> > configure some mod_expire and mod_header module on
> AHS.
>
> You need Tomcat (or any number of alternatives) to
> host the .war.
ahh, so a .war is some sort of Java file format, nice
to know. Not that a non java enabled browser would do
anything but try to download it, at least now I know
it's not always malware, at least not any more than
any java app is.
~snip~
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Deploying war on Apache HTTP Server
Posted by Vincent Bray <no...@gmail.com>.
On 25/08/07, ibm123 <xg...@yahoo.com> wrote:
> I am pretty new to Apache Http Server (AHS). I was looking into the document
> for deploying the war file on AHS but could not found anything. I am not
> sure whether I can deploy war on AHS or not. If not then I should use Tomcat
> but how to integrate tomcat with AHS. I want to use AHS because I want to
> configure some mod_expire and mod_header module on AHS.
You need Tomcat (or any number of alternatives) to host the .war.
Apache's written in C, not Java, so can't run those kinds of things
directly.
You can front Tomcat by a variety of methods including mod_proxy_http,
mod_proxy_ajp & mod_jk.
All this and more is documented in the relevant sites and manuals. Good luck.
Oh, this might help too:
http://people.apache.org/~mturk/docs/article/ftwai.html
--
noodl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org