Tomcat and Elastic Search


(Rajesh Jain) #1

Can I run ES as a webapp within a tomcat container?

Thanks
Rajesh


(David Pilato) #2

You probably can write your own war with a Servlet which start an ES node.

What is your use case ?

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 29 mai 2012 à 22:01, Rajesh Jain rjain15@gmail.com a écrit :

Can I run ES as a webapp within a tomcat container?

Thanks
Rajesh


(Martijn Van Groningen) #3

You can use the transport wares plugin which basically does the same:

Add the elasticsearch-transport-wares as dependency to your web
project and you can configure the provided servlet in your web.xml
file.

Martijn

On 29 May 2012 22:27, David Pilato david@pilato.fr wrote:

You probably can write your own war with a Servlet which start an ES node.

What is your use case ?

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 29 mai 2012 à 22:01, Rajesh Jain rjain15@gmail.com a écrit :

Can I run ES as a webapp within a tomcat container?

Thanks
Rajesh

--
Met vriendelijke groet,

Martijn van Groningen


(benjelloun) #4

Hello,

can you describe steps to configure elasticSearch with tomcat6
or an exemple if you can !

thanks

regards


(system) #5