You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Denis Pimenov <ki...@bitel.ru> on 2011/07/08 10:38:50 UTC

Embedding tomcat 7 , several connectors

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 ports) .   Embedded  doesn't working in 7.0.16 ( internal 
NullPointerException ) . What to do ?

Re: Embedding tomcat 7 , several connectors

Posted by Mark Thomas <ma...@apache.org>.
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 different connectors for http and https
> (different ports) .

So add another connector to the Service.

>   Embedded  doesn't working in 7.0.16 ( internal
> NullPointerException ) . What to do ?

If that is all the information you provide, no-one here is going to be
able to help you fix that. The Embedded class clearly does work in
7.0.16 since it is the basis for the majority of the unit tests and they
all pass.

Mark






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