[ 
https://issues.apache.org/jira/browse/SOLR-7293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380472#comment-14380472
 ] 

Shalin Shekhar Mangar commented on SOLR-7293:
---------------------------------------------

Uwe, in my experience, not having that JVM flag leads to inordinately long DNS 
lookup times when you are only using ipv4 (it may have been an incorrectly 
configured DNS server). So if someone is using ipv4 only, I always recommend to 
have this flag on.

> Install script makes solr not listen on ipv6 socket
> ---------------------------------------------------
>
>                 Key: SOLR-7293
>                 URL: https://issues.apache.org/jira/browse/SOLR-7293
>             Project: Solr
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 5.0
>         Environment: Centos 7
>            Reporter: Sebastian Pesman
>            Assignee: Uwe Schindler
>              Labels: ipv6, sockets
>             Fix For: Trunk, 5.1
>
>         Attachments: SOLR-7293.patch
>
>
> When installing solr with the install script (documentation 
> https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production) 
> the process only listens on an IPv4 socket. > *8983
> When manually installing with the same software set but running the software 
> via a tomcat startup it does listen on ipv4 and IPv6 sockets. > :::8080
> I do realize that I have different ports, it's about 2 servers. I 
> intentionally did not change port of the IPv6 only server to be exact and 
> presize and maybe running it via Tomcat affects this.
> {noformat}
> vim /etc/tomcat/web.xml
>     <env-entry> 
>        <env-entry-name>solr/home</env-entry-name> 
>        <env-entry-value>/home/solr</env-entry-value> 
>        <env-entry-type>java.lang.String</env-entry-type> 
>     </env-entry>
> cp /tmp/solr-5.0.0/server/webapps/solr.war /var/lib/tomcat/webapps/
> service tomcat start
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to