Re: Embedding tomcat 7 , several connectors

2011-07-08 Thread Mark Thomas
On 08/07/2011 09:38, Denis Pimenov wrote: > We are using tomcat 6 and org.apache.catalina.startup.Embedded in our > server application, but class Embedded was deprecated in tomcat 7 and > was replaced by org.apache.catalina.startup.Tomcat. This class has only > one connector , but we use 2 differ

Embedding tomcat 7 , several connectors

2011-07-08 Thread Denis Pimenov
We are using tomcat 6 and org.apache.catalina.startup.Embedded in our server application, but class Embedded was deprecated in tomcat 7 and was replaced by org.apache.catalina.startup.Tomcat. This class has only one connector , but we use 2 different connectors for http and https (different p

Re: Embedding Tomcat 7

2011-02-15 Thread Mark Thomas
On 15/02/2011 17:18, Afkham Azeez wrote: > One more question: Why isn't the Tomcat class used in the mainstream code > and is only used in the test cases? In Tomcat 5.x and 6.x IIRC, Catalina > used to extend Embedded. Because Tomcat provides simplified startup that isn't sophisticated enough for

Re: Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
eb 15, 2011 at 6:54 PM, Caldarale, Charles R < > > chuck.caldar...@unisys.com> wrote: > > > >>> From: Afkham Azeez [mailto:afk...@gmail.com] > >>> Subject: Embedding Tomcat 7 > >> > >>> We need our webapps to be visible through > &

Re: Embedding Tomcat 7

2011-02-15 Thread Mark Thomas
On 15/02/2011 14:07, Afkham Azeez wrote: > On Tue, Feb 15, 2011 at 6:54 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >>> From: Afkham Azeez [mailto:afk...@gmail.com] >>> Subject: Embedding Tomcat 7 >> >>> We need our webapps to

Re: Embedding Tomcat 7

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Afkam, On 2/15/2011 3:54 AM, Afkham Azeez wrote: > Hi folks, > Is there any documentation available on embedding Tomcat 7? We were using > Tomcat 5.5.23 but the Embedded class has been deprecated. The Tomcat class > is the alternative,

Re: Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
On Tue, Feb 15, 2011 at 6:54 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Afkham Azeez [mailto:afk...@gmail.com] > > Subject: Embedding Tomcat 7 > > > We need our webapps to be visible through > > multiple connectors. How can this be d

RE: Embedding Tomcat 7

2011-02-15 Thread Caldarale, Charles R
> From: Afkham Azeez [mailto:afk...@gmail.com] > Subject: Embedding Tomcat 7 > We need our webapps to be visible through > multiple connectors. How can this be done? Connectors belong to the Service, so you can attach new ones with this: Tomcat.getService().addConnector() -

Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
Hi folks, Is there any documentation available on embedding Tomcat 7? We were using Tomcat 5.5.23 but the Embedded class has been deprecated. The Tomcat class is the alternative, but it seems that a single Tomcat instance can only handle a single connector. We need our webapps to be visible