You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Alvin <pa...@surplusmax.com> on 2004/09/04 01:54:53 UTC

Why is Tomcat/Connector Installation So Incredibly Painful??

Don't get me wrong; I love Java; I love Tomcat.

But why is it so 
incredibly painful to install Apache/Tomcat/Connector?  It always 
takes me about two days.  I look forward to it as much as doing my 
federal tax returns.

My 2 cents: This installation process has to get as easy as running a
setup.exe on Windows.  This process also doesn't help the Java cause,
either.  Sorry for whining!

Specifically: Do others feel the same way?  Is anyone addressing this
problem?  Or is it just impossible to come up with a super-easy 
install process because there are so many different 
systems/processors that Linux supports?
 
Peter Alvin
mobile 719-210-3858









---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Why is Tomcat/Connector Installation So Incredibly Painful??

Posted by John Gentilin <jo...@gentilin.org>.
I just built mod_jk, I think it was random luck that I actually got it 
running.  For me, there are two things
that would help out greatly.

1) As always, documentation but in this case, as mod_jk evolves, the 
install docs seems to be notes that
are a diff from the previous rev. It also doesn't help that Apache is 
very version sensitive including the APXS
perl script. I had RH9.0 with at Apache 2.0.40 ( the default install) 
and the version of apxs was incomputable
with the configure script. One item that in the docs that is really 
needed is the section, "How to debug". I still
can't get logging to work....

2) simple things (and this exists in Tomcat also) is the deletion of the 
bin (with Ant.jar etc) and the build.sh
and build.bat files.  I don't always install ant on my servers, so the 
extra steps of setting up the class path
just adds to the confusion. If you want to use Ant, then include the 
jars and
the setup, otherwise go back to ./configure and make.

My $0.02

-JG

Peter Alvin wrote:

>Don't get me wrong; I love Java; I love Tomcat.
>
>But why is it so 
>incredibly painful to install Apache/Tomcat/Connector?  It always 
>takes me about two days.  I look forward to it as much as doing my 
>federal tax returns.
>
>My 2 cents: This installation process has to get as easy as running a
>setup.exe on Windows.  This process also doesn't help the Java cause,
>either.  Sorry for whining!
>
>Specifically: Do others feel the same way?  Is anyone addressing this
>problem?  Or is it just impossible to come up with a super-easy 
>install process because there are so many different 
>systems/processors that Linux supports?
> 
>Peter Alvin
>mobile 719-210-3858
>
>
>
>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Why is Tomcat/Connector Installation So Incredibly Painful??

Posted by Greg Ward <gw...@python.net>.
On 03 September 2004, Peter Alvin said:
> But why is it so
> incredibly painful to install Apache/Tomcat/Connector?  It always
> takes me about two days.  I look forward to it as much as doing my
> federal tax returns.

I'm in complete agreement with you.  Even finding the right files to
download is a bit of a chore.  ("OK, so everyone says I need mod_jk.
Therefore I'm looking for a file called...
jakarta-tomcat-connectors-jk-1.2.6-src.tar.gz.  Riiiight.  Well, at
least they have two letters in common.)

Here's an interesting experiment: google'ing for "mod_jk" finds this
page:
  http://jakarta.apache.org/site/binindex.cgi
as the second hit.  But the string "mod_jk" occurs nowhere in that page;
you have to hunt around until you realize that what you're really
looking for is "Tomcat Web Server Connectors".  And then you only get to
the "binary releases" page, which is useless -- I need the source,
dammit!

Oh, the *first* Google hit for "mod_jk" is
  http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html
which I think most people who are working with Tomcat 4.1.x or 5.0.x
would probably ignore based on the URL.

Anyways, once you've downloaded the source (which I've already forgotten
how to do -- luckily I kept a local copy), you then have to figure out
*what* to build in that tree and where to find it.  Not obvious.  And
it's different from mod_jk to mod_jk2.  And then getting things to build
is even less obvious.

Alas, I don't have time to do anything more than bitch and gripe.
Whoever is actually maintaining mod_jk, mod_jk2, and associated web
pages, please hear our cries!

        Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Why is Tomcat/Connector Installation So Incredibly Painful??

Posted by "Filip Hanik (lists)" <de...@hanik.com>.
it can also be as easy as

ProxyPass /mywebapp http://localhost:8080/mywebapp
ProxyPassReverse /mywebapp http://localhost:8080/mywebapp

in httpd.conf if you are using mod_proxy, took me 5 minutes to get tomcat
and apache to play nice together

Filip

-----Original Message-----
From: Wendy Smoak [mailto:java@wendysmoak.com]
Sent: Friday, September 03, 2004 7:06 PM
To: Tomcat Users List
Subject: Re: Why is Tomcat/Connector Installation So Incredibly
Painful??


From: "Peter Alvin" <pa...@surplusmax.com>
> Don't get me wrong; I love Java; I love Tomcat.
> But why is it so
> incredibly painful to install Apache/Tomcat/Connector?  It always
> takes me about two days.  I look forward to it as much as doing my
> federal tax returns.

It took two days the first time, now we have really good notes and a
procedure to follow.  I agree, it's complex.  My usual advice is "Getting
Apache and Tomcat to play nicely together is a bit of an art form, but the
good news is that once it's done, it just works and you can largely ignore
it."

It's different on every platform, and then you have things like HP deciding
to relocate the config files every time they release a new version!  So we
have to hunt them down and put them back where we want them so that I can
upgrade to a newer version of Tomcat straight from Jakarta.

OTOH, I don't *like* for things to be done for me, I want to do it myself.

--
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Why is Tomcat/Connector Installation So Incredibly Painful??

Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "Peter Alvin" <pa...@surplusmax.com>
> Don't get me wrong; I love Java; I love Tomcat.
> But why is it so
> incredibly painful to install Apache/Tomcat/Connector?  It always
> takes me about two days.  I look forward to it as much as doing my
> federal tax returns.

It took two days the first time, now we have really good notes and a
procedure to follow.  I agree, it's complex.  My usual advice is "Getting
Apache and Tomcat to play nicely together is a bit of an art form, but the
good news is that once it's done, it just works and you can largely ignore
it."

It's different on every platform, and then you have things like HP deciding
to relocate the config files every time they release a new version!  So we
have to hunt them down and put them back where we want them so that I can
upgrade to a newer version of Tomcat straight from Jakarta.

OTOH, I don't *like* for things to be done for me, I want to do it myself.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org