Re: Different webapp paths on different hosts

2013-02-02 Thread bxqdev
On 1/28/2013 7:13 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 bxqdev, On 1/26/13 1:09 AM, bxqdev wrote: On 1/26/2013 1:05 AM, Christopher Schultz wrote: Dude, On 1/25/13 12:38 AM, bxqdev wrote: i want to have one instance of webapp, No problem

Re: Different webapp paths on different hosts

2013-02-02 Thread bxqdev
On 1/28/2013 7:11 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 bxqdev, On 1/26/13 3:04 PM, bxqdev wrote: On 1/26/2013 9:36 PM, Caldarale, Charles R wrote: From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: Different

Re: Different webapp paths on different hosts

2013-01-26 Thread bxqdev
On 1/26/2013 9:23 PM, chris derham wrote: it's not. maybe it will make things clear if i change the names of the paths, say: * when user goes to http://app1.com/ - {thesamewebapp}/app1 path is served as root path of the domain app1.com * when user goes to http://app2.com/ -

Re: Different webapp paths on different hosts

2013-01-26 Thread bxqdev
On 1/26/2013 9:36 PM, Caldarale, Charles R wrote: From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: Different webapp paths on different hosts To my mind if you deploy the app as ROOT.war, as long as DNS is configured correctly, that single context

Re: Different webapp paths on different hosts

2013-01-25 Thread bxqdev
On 1/25/2013 12:11 PM, Casper Wandahl Schmidt wrote: See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 25-01-2013 06:38, bxqdev skrev: On 1/24/2013 11:52 AM, Casper Wandahl Schmidt wrote: See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 24-01-2013 02:32

Re: Different webapp paths on different hosts

2013-01-25 Thread bxqdev
On 1/25/2013 12:29 PM, Konstantin Kolinko wrote: 2013/1/25 bxqdev bxq...@themailbay.com: Anyway I would say a context.xml file in conf/catalina/path1 (the hostname)/path1.xml (the context name) should do the trick? Place the webapp outside the appbase of the hosts and then point the docbase

Re: Different webapp paths on different hosts

2013-01-25 Thread bxqdev
On 1/26/2013 1:05 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dude, On 1/25/13 12:38 AM, bxqdev wrote: i want to have one instance of webapp, No problem. which has two paths, Problem: one context = one path = one instance If you want two separate

Re: Different webapp paths on different hosts

2013-01-24 Thread bxqdev
On 1/24/2013 5:32 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: i need to map a custom paths, like /path1 and /path2, (not root / path), of the same webapp to a custom domains. as i said i need this mapping

Re: Different webapp paths on different hosts

2013-01-24 Thread bxqdev
On 1/24/2013 11:52 AM, Casper Wandahl Schmidt wrote: See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 24-01-2013 02:32, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: i need to map a custom paths, like

Re: Different webapp paths on different hosts

2013-01-22 Thread bxqdev
://path1.com/path1 ${samewebapp}/path2 is mapped to http://path2.com/path2 custom paths of the same webapp should map to different root paths on different domains. thanks! On 1/23/2013 8:58 AM, Caldarale, Charles R wrote: From: bxqdev [mailto:bxq...@themailbay.com] Subject: Different webapp

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread bxqdev
On 1/28/2012 6:33 AM, Terence M. Bandoian wrote: How much is a lot? 10'000/sec How many Tomcats are you running? 1 How much RAM/CPU per server etc? 8GB/Xeon How big is the average response? 300Kb How many NICs do you have? Have fast are they? one. as i said above, the

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread bxqdev
On 1/28/2012 12:09 PM, Pid * wrote: On 27 Jan 2012, at 23:53, bxqdevbxq...@themailbay.com wrote: On 1/28/2012 3:41 AM, Pid wrote: On 27/01/2012 23:35, bxqdev wrote: On 1/28/2012 3:16 AM, Pid wrote: On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread bxqdev
, Mark Thomas wrote: On 27/01/2012 23:16, bxqdev wrote: 2. async servlet api is not much usefull for servers, with nio connectors (tomcat-7). at least you can't image the case. I don't say that. In fact, I said exactly the opposite. well, then what's the case to use both of this technologies? can

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread bxqdev
On 1/28/2012 5:01 PM, Pid wrote: On 28/01/2012 09:07, bxqdev wrote: snip I see. Did you identify where the bottleneck was? well, we are getting too far from the subject. can you make up 3 cases when to use 3 combinations of connector+servlet api 1. bio connector + async servlet 2. nio

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread bxqdev
On 1/28/2012 6:14 PM, Pid * wrote: On 28 Jan 2012, at 13:34, bxqdevbxq...@themailbay.com wrote: On 1/28/2012 5:01 PM, Pid wrote: On 28/01/2012 09:07, bxqdev wrote: snip I see. Did you identify where the bottleneck was? well, we are getting too far from the subject. can you make up 3

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread bxqdev
andre, i'm sorry if i hurt your feelings and trust in humanity, try to be positive, try to look on the situation from another point of view, the one which is not depressive. i hope my question answer summary upgraded your level of tomcat understanding. and that's a good thing, because you

Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? 2. Do i get any advantages if i use Sync Servlet Api with Http11NioProtocol connector or do i have to use Async Servlet Api to get the

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/27/2012 8:29 PM, Mark Thomas wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? There is no such protocol as apache.coyote.http11

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? Eh? Is that what you really mean? i mean what are the reasons

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 1:14 AM, Mark Thomas wrote: On 27/01/2012 21:03, bxqdev wrote: On 1/27/2012 8:29 PM, Mark Thomas wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 1:53 AM, Mark Thomas wrote: On 27/01/2012 21:31, bxqdev wrote: On 1/28/2012 1:14 AM, Mark Thomas wrote: On 27/01/2012 21:03, bxqdev wrote: On 1/27/2012 8:29 PM, Mark Thomas wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 2:28 AM, Mark Thomas wrote: On 27/01/2012 22:22, bxqdev wrote: ok, so what about this case: http nio connector + async servlet i would say that in this variant there're 2 points of asynchronism - both connector and servlet code are async. is there a case when i would need

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 2:49 AM, Mark Thomas wrote: On 27/01/2012 22:41, bxqdev wrote: On 1/28/2012 2:28 AM, Mark Thomas wrote: On 27/01/2012 22:22, bxqdev wrote: ok, so what about this case: http nio connector + async servlet i would say that in this variant there're 2 points of asynchronism

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 3:16 AM, Pid wrote: On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 3:41 AM, Pid wrote: On 27/01/2012 23:35, bxqdev wrote: On 1/28/2012 3:16 AM, Pid wrote: On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27