On 4/5/11 7:56 AM, Michael McCutcheon wrote:
> Hello,
> 
> I have a java webapp that is going to make calls to Solr.  Both the
> webapp and Solr will be on the same server.

OK.  Note it's a good idea to tell us what exact OS, Java, Tomcat
versions you're running.


> I have heard that it is not recommended to run the webapp on the same
> tomcat instance as Solr, due to potential threading issues of tomcat
> calling into itself.

Oh dear.  That's a quite vague description, so it's really impossible to
say what it means.  Can you elaborate?


> Would it be best to run 2 instances of tomcat (1 for webapp, another for
> Solr)?

NEEDINFO


> Or is there a way to configure tomcat so that the webapp and solr can
> run in the same tomcat instance, reliably and without threading or
> performance issues?

No idea.  If Solr has threading issues (I've not heard of any) you'd
best ask that community.  Tomcat is not an OS or JVM, it doesn't manage
all the threads in your app.


p

> -Mike
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to