Confluence クラスタの設定が「リクエストされたアドレスを割り当てることができません」で失敗する

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The following appears in the atlassian-confluence.log:

Error Message: (Wrapped: UnicastUdpSocket{State=STATE_INITIAL, address:port=FE80:0:0:0:211:25FF:254.165.180.24:8088}) 
Cannot assign requested address
Error Code: 500
Target Servlet: action
Error Stack:
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: (Wrapped: UnicastUdpSocket{State=STATE_INITIAL, 
address:port=FE80:0:0:0:211:25FF:254.165.180.24:8088}) Cannot assign requested address
     at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:603)
     at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:868)
     at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:152)
     at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:152)
     at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageResponseWrapper.java:176)
     at com.opensymphony.webwork.dispatcher.ServletDispatcher.sendError(ServletDispatcher.java:349)
     at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:235)
     at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1521)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

原因

There's a known issue with the JVM and IPv6, particularly on Linux. Refer to Data Center Troubleshooting for more information.

Resolution

The workaround is to tell the JVM to prefer IPv4, by adding -Djava.net.preferIPv4Stack=true to JAVA_OPTS (This can be set in CONFLUENCE_INSTALL/bin/setenv.sh). See Configuring System Properties for specifics on how to set this property.

最終更新日 2016 年 3 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.