# Embedded configuration

**URL:** <https://discuss.elastic.co/t/embedded-configuration/7955>\
**Category:** Elasticsearch\
**Created:** [June 3, 2012, 1:06pm UTC](https://discuss.elastic.co/t/embedded-configuration/7955 "2012-06-03T13:06:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tullio0106](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@tullio0106](https://discuss.elastic.co/u/tullio0106)\
**Post date:** [June 3, 2012, 1:06pm UTC](https://discuss.elastic.co/t/embedded-configuration/7955/1 "2012-06-03T13:06:13Z")

</div>

I want to configure elasticsearch in order to be, on the same Tomcat Application Server, embedded server for many applications running as clients.  
If I look at elasticsearch.yml I'm not able to understand how I should configure it.  
Could someone suggest the correct way or, at least, where I can find documentation ?  
Tks  
Tullio

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [June 4, 2012, 1:20pm UTC](https://discuss.elastic.co/t/embedded-configuration/7955/2 "2012-06-04T13:20:27Z")

</div>

I am not quite sure what you are referring to. If you want to run  
elasticsearch as a servlet, you can take a look  
at [GitHub - elastic/elasticsearch-transport-wares: Servlet transport for Elasticsearch](https://github.com/elasticsearch/elasticsearch-transport-wares). Alternatively,  
you can just create an elasticsearch node in your application or run it as  
a separate process on the same machine and use transport client to connect  
to it.

On Sunday, June 3, 2012 9:06:13 AM UTC-4, tullio0106 wrote:

> I want to configure elasticsearch in order to be, on the same Tomcat  
> Application Server, embedded server for many applications running as  
> clients.  
> If I look at elasticsearch.yml I'm not able to understand how I should  
> configure it.  
> Could someone suggest the correct way or, at least, where I can find  
> documentation ?  
> Tks  
> Tullio
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Embedded-configuration-tp4018749.html](http://elasticsearch-users.115913.n3.nabble.com/Embedded-configuration-tp4018749.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:25am UTC](https://discuss.elastic.co/t/embedded-configuration/7955/3 "2017-07-06T03:25:43Z")

</div>


