RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-18 Thread Mark Mynsted

I wonder how much faster Apache will be?

>>> [EMAIL PROTECTED] 4/18/2001 9:48:09 AM >>>
MS IIS

-Original Message-
From: Tim O'Neil [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 17, 2001 1:25 PM
To: [EMAIL PROTECTED] 
Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache


At 01:04 PM 4/17/2001 -0700, you wrote:
>Do the performance and stress testing yourself and compare the two.
>Regardless of configuration, you should be doing the scalability testing up
>front to verify what you get from your hardware and software will
>satisfactorily meet your needs.
>
>My numbers show a large increase in performance when running tomcat under
>another web server.


That's great. What web server? Any? Did you test all
the web servers out right now? Like Jetty or the W3's?

If not, might be helpful to know what web server you
used in your testing.








RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-18 Thread Todd Carmichael

MS IIS

-Original Message-
From: Tim O'Neil [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 1:25 PM
To: [EMAIL PROTECTED]
Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache


At 01:04 PM 4/17/2001 -0700, you wrote:
>Do the performance and stress testing yourself and compare the two.
>Regardless of configuration, you should be doing the scalability testing up
>front to verify what you get from your hardware and software will
>satisfactorily meet your needs.
>
>My numbers show a large increase in performance when running tomcat under
>another web server.


That's great. What web server? Any? Did you test all
the web servers out right now? Like Jetty or the W3's?

If not, might be helpful to know what web server you
used in your testing.






RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Tim O'Neil

At 01:04 PM 4/17/2001 -0700, you wrote:
>Do the performance and stress testing yourself and compare the two.
>Regardless of configuration, you should be doing the scalability testing up
>front to verify what you get from your hardware and software will
>satisfactorily meet your needs.
>
>My numbers show a large increase in performance when running tomcat under
>another web server.


That's great. What web server? Any? Did you test all
the web servers out right now? Like Jetty or the W3's?

If not, might be helpful to know what web server you
used in your testing.







RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Todd Carmichael

Do the performance and stress testing yourself and compare the two.
Regardless of configuration, you should be doing the scalability testing up
front to verify what you get from your hardware and software will
satisfactorily meet your needs.  

My numbers show a large increase in performance when running tomcat under
another web server.  

-Original Message-
From: Chris Andreou [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 11:27 AM
To: '[EMAIL PROTECTED]'
Subject: Asking for an Opionio on Apache & Tomcat or Just Apache


Dear forum, 

Please take a time to provide me with the following opinion. I spend some
time configuring Tomcat and Apache. Because of deadline constaints and the
fact that some allready developed code has been devloped using only Tomcat
as standalone, the prototype team is focusing on just using Tomcat. Does
anybody know if that approach is good? Personally I feel very reluctant in
following that approach, but I have to convence by team leader why Tomcat by
itself won't do the same work as Apache & Tomcat  together will. 

Any  opinions are wellcome


Thanks



Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread suha_yacoub



Thanks very much Benoit and thanks Sam for your help.
You both came to the same conclusion: move all contents of mod_jk.conf-auto to
the httpd.conf file for apache
and set up apache default files to index.html and index.jsp
I will try to set that up and let you know if there's a problem. Otherwise,
assume all's well.
thanks again,
suha.





"Sam Newman" <[EMAIL PROTECTED]> on 04/17/2001 11:54:03 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject:  Re: Asking for an Opionio on Apache & Tomcat or Just Apache




- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:56 PM
Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache


>
>
> Thanks. It's still not working. I get a 404 error now when I go to my
> application directory (http://mysite.com/myapp/).
> I also get a 404 error when I type in the full path
> (http://mysite.com/myapp/index.jsp).
> myapp is a virtual directory. The physical path is something along the
lines of
> /users/me/myapp/
>
> Any help would be appreciated. Thx.

It sounds then like apache is not correctly serving jsp files then, or else
your trying the wrong URL. I take it the jsp works fine directly with
tomcat? If so, and assuming you are using mod_jk (please say you are!)
simply including the mod_jk.conf-auto generated by tomcat in httpd.conf
should get you started. try the Tomcat-Apahe howto, and the mod_jk howto
included in the tomcat distro

HTH,

sam










Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:56 PM
Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache


>
>
> Thanks. It's still not working. I get a 404 error now when I go to my
> application directory (http://mysite.com/myapp/).
> I also get a 404 error when I type in the full path
> (http://mysite.com/myapp/index.jsp).
> myapp is a virtual directory. The physical path is something along the
lines of
> /users/me/myapp/
>
> Any help would be appreciated. Thx.

It sounds then like apache is not correctly serving jsp files then, or else
your trying the wrong URL. I take it the jsp works fine directly with
tomcat? If so, and assuming you are using mod_jk (please say you are!)
simply including the mod_jk.conf-auto generated by tomcat in httpd.conf
should get you started. try the Tomcat-Apahe howto, and the mod_jk howto
included in the tomcat distro

HTH,

sam




Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman

have you edited the Apache directive for the default filex? Search for
index.html or index.htm in httpd.conf and try adding index.jsp. Apache
doesn't automatically look for any file called index - you need to
explicitly tell it what files to load as defaults. If this doesn't work but
typing in the index.jsp explicitly does, I'd guess is a problem with the
ajpv13 connector (or which ever one you are using).

sam
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:06 PM
Subject: Re: Asking for an Opionio on Apache & Tomcat or Just Apache


>
>
>
> I have tomcat running within apache. This was recommended by the user
guide for
> performance reasons. I'm wondering if running tomcat within apache has
anything
> to do with why I can't serve index.jsp as a default file for my
application
> directories. Do I have to anything on the apache end?
>
> Thanks.
>





RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread suha_yacoub



Thanks. It's still not working. I get a 404 error now when I go to my
application directory (http://mysite.com/myapp/).
I also get a 404 error when I type in the full path
(http://mysite.com/myapp/index.jsp).
myapp is a virtual directory. The physical path is something along the lines of
/users/me/myapp/

Any help would be appreciated. Thx.





Benoit Jacquemont <[EMAIL PROTECTED]> on 04/17/2001 10:32:03 AM

Please respond to [EMAIL PROTECTED]; Please respond to
  [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject:  RE: Asking for an Opionio on Apache & Tomcat or Just Apache



I think you have to change the DirectoryIndex directive in the httpd.conf
(add index.jsp as a directory index file):

DirectoryIndex index.html index.jsp

Benoit


> I have tomcat running within apache. This was recommended by
> the user guide for
> performance reasons. I'm wondering if running tomcat within
> apache has anything
> to do with why I can't serve index.jsp as a default file for
> my application
> directories. Do I have to anything on the apache end?
>
> Thanks.
>
>
>
>
>
> "Sam Newman" <[EMAIL PROTECTED]> on 04/17/2001 02:27:28 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED]
> cc:(bcc: Suha Yacoub/IL/ONE)
> Subject:  Re: Asking for an Opionio on Apache & Tomcat or Just Apache
>
>
>
>
> > >Please take a time to provide me with the following
> opinion. I spend some
> > >time configuring Tomcat and Apache. Because of deadline
> constaints and
> the
> > >fact that some allready developed code has been devloped using only
> Tomcat
> > >as standalone, the prototype team is focusing on just
> using Tomcat. Does
> > >anybody know if that approach is good? Personally I feel
> very reluctant
> in
> > >following that approach, but I have to convence by team
> leader why Tomcat
> by
> > >itself won't do the same work as Apache & Tomcat  together will.
> > >
> > >Any  opinions are wellcome
>
> Beyond the fact that Apache will give you a wealth of options for
> configuration, it serves static pages MUCH faster than
> tomcat. Once you get
> SSL working with Apache, its pretty transparent to tomcat for
> example - your
> servlets will use SSL without any extra work by yourself.
>
> sam
>
>
>
>
>
>
>










RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Benoit Jacquemont

I think you have to change the DirectoryIndex directive in the httpd.conf
(add index.jsp as a directory index file):

DirectoryIndex index.html index.jsp

Benoit


> I have tomcat running within apache. This was recommended by
> the user guide for
> performance reasons. I'm wondering if running tomcat within
> apache has anything
> to do with why I can't serve index.jsp as a default file for
> my application
> directories. Do I have to anything on the apache end?
>
> Thanks.
>
>
>
>
>
> "Sam Newman" <[EMAIL PROTECTED]> on 04/17/2001 02:27:28 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED]
> cc:    (bcc: Suha Yacoub/IL/ONE)
> Subject:  Re: Asking for an Opionio on Apache & Tomcat or Just Apache
>
>
>
>
> > >Please take a time to provide me with the following
> opinion. I spend some
> > >time configuring Tomcat and Apache. Because of deadline
> constaints and
> the
> > >fact that some allready developed code has been devloped using only
> Tomcat
> > >as standalone, the prototype team is focusing on just
> using Tomcat. Does
> > >anybody know if that approach is good? Personally I feel
> very reluctant
> in
> > >following that approach, but I have to convence by team
> leader why Tomcat
> by
> > >itself won't do the same work as Apache & Tomcat  together will.
> > >
> > >Any  opinions are wellcome
>
> Beyond the fact that Apache will give you a wealth of options for
> configuration, it serves static pages MUCH faster than
> tomcat. Once you get
> SSL working with Apache, its pretty transparent to tomcat for
> example - your
> servlets will use SSL without any extra work by yourself.
>
> sam
>
>
>
>
>
>
>




Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread suha_yacoub




I have tomcat running within apache. This was recommended by the user guide for
performance reasons. I'm wondering if running tomcat within apache has anything
to do with why I can't serve index.jsp as a default file for my application
directories. Do I have to anything on the apache end?

Thanks.





"Sam Newman" <[EMAIL PROTECTED]> on 04/17/2001 02:27:28 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject:  Re: Asking for an Opionio on Apache & Tomcat or Just Apache




> >Please take a time to provide me with the following opinion. I spend some
> >time configuring Tomcat and Apache. Because of deadline constaints and
the
> >fact that some allready developed code has been devloped using only
Tomcat
> >as standalone, the prototype team is focusing on just using Tomcat. Does
> >anybody know if that approach is good? Personally I feel very reluctant
in
> >following that approach, but I have to convence by team leader why Tomcat
by
> >itself won't do the same work as Apache & Tomcat  together will.
> >
> >Any  opinions are wellcome

Beyond the fact that Apache will give you a wealth of options for
configuration, it serves static pages MUCH faster than tomcat. Once you get
SSL working with Apache, its pretty transparent to tomcat for example - your
servlets will use SSL without any extra work by yourself.

sam











Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman

There are some issues depending on the protocol you are using. Apparently
ajpv12 couldn't correctly determine which mechanism was being used. Are you
using ajpv13? Also, check the config settings for SSL in the server.xml.

sam
- Original Message -
From: "Christopher Kirk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 1:59 PM
Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache


>
> Many thanx, I'll be very interested in your results.
>
> My impressions of things is that HttpSession works on session ids. That
> session id either comes from a cookie or a http GET paremeter.. The code
>
> servletResponse.encodeURL(url);
>
> is required to make the switch between the two different mechanisms. I
find
> that under my current setup with Apache/Tomcat/SSL, the encodeURL method
> makes the wrong choice when the browser has had its cookies disabled.
>
> - Chris.
>





RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Christopher Kirk


Many thanx, I'll be very interested in your results.

My impressions of things is that HttpSession works on session ids. That
session id either comes from a cookie or a http GET paremeter.. The code

servletResponse.encodeURL(url);

is required to make the switch between the two different mechanisms. I find
that under my current setup with Apache/Tomcat/SSL, the encodeURL method
makes the wrong choice when the browser has had its cookies disabled. 

- Chris.

> -Original Message-
> From: Sam Newman [mailto:[EMAIL PROTECTED]]
> Sent: 17 April 2001 13:04
> To: [EMAIL PROTECTED]
> Subject: Re: Asking for an Opionio on Apache & Tomcat or Just Apache
> 
> 
> HmmI thought the use of HttpSession worked independantly 
> of cookies
> settings? I assumed it is something very different to the 
> Cookie object.
> That said, I'll give it a go and let you know.
> 
> sam
> - Original Message -
> From: "Christopher Kirk" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 17, 2001 12:01 PM
> Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache
> 
> 
> >
> > Is that still the case if you disable cookies within a client?
> > I find that Tomcat doesn't notice that cookies have been 
> disabled and
> won't
> > rewrite the URL.. (this behaviour is only when I have SSL 
> turned on at the
> > Apache end).
> >
> 
> 


-
This e-mail is intended only for the addressee(s) named above. It
may contain confidential or privileged information and if you are
not the intended addressee you are not  authorized  to  disclose,
copy, distribute or place any reliance on it  whatsoever  and  we
request that you inform our  postmaster ([EMAIL PROTECTED]) that
you have received this e-mail. Any attachment(s) to this  message
has been checked for viruses, but please rely on your  own  virus
checker and procedures. If you contact  us  by  e-mail,  we  will
store your name and address to facilitate communications.
-



Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman

HmmI thought the use of HttpSession worked independantly of cookies
settings? I assumed it is something very different to the Cookie object.
That said, I'll give it a go and let you know.

sam
- Original Message -
From: "Christopher Kirk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 12:01 PM
Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache


>
> Is that still the case if you disable cookies within a client?
> I find that Tomcat doesn't notice that cookies have been disabled and
won't
> rewrite the URL.. (this behaviour is only when I have SSL turned on at the
> Apache end).
>





RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Christopher Kirk


Is that still the case if you disable cookies within a client? 
I find that Tomcat doesn't notice that cookies have been disabled and won't
rewrite the URL.. (this behaviour is only when I have SSL turned on at the
Apache end).


> -Original Message-
> From: Sam Newman [mailto:[EMAIL PROTECTED]]
> Sent: 17 April 2001 10:32
> To: [EMAIL PROTECTED]
> Subject: Re: Asking for an Opionio on Apache & Tomcat or Just Apache
> 
> 
> Well, I have run my servlets over SSL. They use session 
> tracking using the
> HttpSession object and it works fine. I haven't had to change ANY
> configuraation files at all.
> 
> sam
> - Original Message -
> From: "Christopher Kirk" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 17, 2001 8:33 AM
> Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache
> 
> 
> >
> > You said 'pretty transparent' to tomcat. Where is it not 
> transparent?
> > Specifically I am wondering about cookies, do cookies work 
> with SSL at all
> > or is it a possible configuration thing that has to be done 
> correctly?
> >
> > - Chris.
> 
> 


-
This e-mail is intended only for the addressee(s) named above. It
may contain confidential or privileged information and if you are
not the intended addressee you are not  authorized  to  disclose,
copy, distribute or place any reliance on it  whatsoever  and  we
request that you inform our  postmaster ([EMAIL PROTECTED]) that
you have received this e-mail. Any attachment(s) to this  message
has been checked for viruses, but please rely on your  own  virus
checker and procedures. If you contact  us  by  e-mail,  we  will
store your name and address to facilitate communications.
-



Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman

Well, I have run my servlets over SSL. They use session tracking using the
HttpSession object and it works fine. I haven't had to change ANY
configuraation files at all.

sam
- Original Message -
From: "Christopher Kirk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 8:33 AM
Subject: RE: Asking for an Opionio on Apache & Tomcat or Just Apache


>
> You said 'pretty transparent' to tomcat. Where is it not transparent?
> Specifically I am wondering about cookies, do cookies work with SSL at all
> or is it a possible configuration thing that has to be done correctly?
>
> - Chris.





RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Christopher Kirk


You said 'pretty transparent' to tomcat. Where is it not transparent?
Specifically I am wondering about cookies, do cookies work with SSL at all
or is it a possible configuration thing that has to be done correctly?

- Chris.

> Beyond the fact that Apache will give you a wealth of options for
> configuration, it serves static pages MUCH faster than 
> tomcat. Once you get
> SSL working with Apache, its pretty transparent to tomcat for 
> example - your
> servlets will use SSL without any extra work by yourself.
> 
> sam
> 
> 


-
This e-mail is intended only for the addressee(s) named above. It
may contain confidential or privileged information and if you are
not the intended addressee you are not  authorized  to  disclose,
copy, distribute or place any reliance on it  whatsoever  and  we
request that you inform our  postmaster ([EMAIL PROTECTED]) that
you have received this e-mail. Any attachment(s) to this  message
has been checked for viruses, but please rely on your  own  virus
checker and procedures. If you contact  us  by  e-mail,  we  will
store your name and address to facilitate communications.
-



Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman


> >Please take a time to provide me with the following opinion. I spend some
> >time configuring Tomcat and Apache. Because of deadline constaints and
the
> >fact that some allready developed code has been devloped using only
Tomcat
> >as standalone, the prototype team is focusing on just using Tomcat. Does
> >anybody know if that approach is good? Personally I feel very reluctant
in
> >following that approach, but I have to convence by team leader why Tomcat
by
> >itself won't do the same work as Apache & Tomcat  together will.
> >
> >Any  opinions are wellcome

Beyond the fact that Apache will give you a wealth of options for
configuration, it serves static pages MUCH faster than tomcat. Once you get
SSL working with Apache, its pretty transparent to tomcat for example - your
servlets will use SSL without any extra work by yourself.

sam





Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-16 Thread Tim O'Neil

At 02:27 PM 4/16/2001 -0400, you wrote:
>Please take a time to provide me with the following opinion. I spend some
>time configuring Tomcat and Apache. Because of deadline constaints and the
>fact that some allready developed code has been devloped using only Tomcat
>as standalone, the prototype team is focusing on just using Tomcat. Does
>anybody know if that approach is good? Personally I feel very reluctant in
>following that approach, but I have to convence by team leader why Tomcat by
>itself won't do the same work as Apache & Tomcat  together will.
>
>Any  opinions are wellcome

That would be insane. Just an opinion.
Keep using Apache. Once you get basics of configuring
TC/Apache down its not that bad. Sure, there's a learning
curve, but I think it would be a mistake to run an
enterprise on TC alone.




Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-16 Thread Mark Mynsted

What about performance?  

If Tomcat was as fast, as reliable, etc., as a web server as Apache, why would 
Apache.org keep the Apache web server?  Do some bench marking.  I think you will find 
that using Tomcat and Apache will provide better performance than Tomcat alone.  If 
not, then, what-the-heck, run Tomcat by its self.  ;-)

P.S.  It is difficult to image what code would work with Tomcat, stand alone, but not 
with Tomcat and Apache together.

>>> [EMAIL PROTECTED] 4/16/2001 1:27:12 PM >>>
Dear forum, 

Please take a time to provide me with the following opinion. I spend some
time configuring Tomcat and Apache. Because of deadline constaints and the
fact that some allready developed code has been devloped using only Tomcat
as standalone, the prototype team is focusing on just using Tomcat. Does
anybody know if that approach is good? Personally I feel very reluctant in
following that approach, but I have to convence by team leader why Tomcat by
itself won't do the same work as Apache & Tomcat  together will. 

Any  opinions are wellcome


Thanks





RE: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-16 Thread Randy Layman


My opinion, and its just that, is that unless there is a compelling
reason to use Apache (like its superior speed in static content, logging
abilities, support of PHP/SSI/mod_perl/whatever, or ability to gracefully
handle very large loads), don't use it.  In most of today's systems, the
complexity is astounding.  Its easy to build a system using 5 to 10 levels
of software (including various OS levels), which increases the number of
points of failure.  Any time that you can decrease the number of levels in a
system you increase its speed (level communication is generally
inter-process communication or sockets) and decrease the number of points of
failure (in this sense, I mean software bugs).  Obviously, if Apache gets
you something that would be difficult, time consuming, or impossible to do
with Tomcat, use it.  But in general, I would advice to use the simplest
approach.

I know this isn't the opinion you were looking for, but its what I
think is best.

Randy


> -Original Message-
> From: Chris Andreou [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 2:27 PM
> To: '[EMAIL PROTECTED]'
> Subject: Asking for an Opionio on Apache & Tomcat or Just Apache
> 
> 
> Dear forum, 
> 
> Please take a time to provide me with the following opinion. 
> I spend some
> time configuring Tomcat and Apache. Because of deadline 
> constaints and the
> fact that some allready developed code has been devloped 
> using only Tomcat
> as standalone, the prototype team is focusing on just using 
> Tomcat. Does
> anybody know if that approach is good? Personally I feel very 
> reluctant in
> following that approach, but I have to convence by team 
> leader why Tomcat by
> itself won't do the same work as Apache & Tomcat  together will. 
> 
> Any  opinions are wellcome
> 
> 
> Thanks
>