アーティクル - CS337515

Windchill PDMlink のログに、インデックス検索 Solr サーバーに関連する「エラー 401 権限がありません」がスローされました

修正日: 12-Nov-2025   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • Windchill PartsLink 11.2 to 13.1
  • Windchill PDMLink 11.0 to 13.1

説明

  • Windchill がメソッド サーバーのログ ファイルに「 Error 401 Unauthorized 」というSolrエラーとともに起動する
  • インデックスサーバーが稼働しているにもかかわらず、検索時にIndex Server Downます」という警告が表示される
  • インデックス検索サーバーを起動したにもかかわらず、分類エクスプローラー分類構造を正常に読み込むことができません
  • インデックス検索 Solr サーバーに関連するエラー「エラー 401 権限がありません」がログに記録されました
  • メソッド サーバーのエラー:
 wt.index.StandardIndexPolicyManager  - Exception while pinging the index server
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://xxx.xx.xx:8085/solr/wblib: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 401 Unauthorized</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /solr/wblib/admin/ping. Reason:
<pre>Unauthorized</pre></p>
</body>
</html>
  • 分類検索ができません。UI には「インデックス サーバーがダウンしています」と表示されますが、インデックス サーバーはエラーなしで稼働しています。
  • キーワードによる詳細検索を実行できません。UIに以下のエラーが表示されます。
     Index Server Down The index search function is not available, an attribute search has been used. The search results may not contain all of the objects you expected. Please contact your Windchill system administrator
  • 分類ノードの検索中に「インデックスサーバーがダウンしているようです。Windchill システム管理者に問い合わせてください」というエラーが発生する
  • MethodServer ログにエラーが報告されます:
 ERROR : wt.index.StandardIndexPolicyManager  - Exception while pinging the index server
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://XXX:8085/solr/wblib: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 401 Unauthorized</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /solr/wblib/admin/ping. Reason:
<pre>Unauthorized</pre></p>
</body>
</html>
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:620)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:262)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:245)
at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1274)
at wt.index.service.SolrServiceImpl.pingSolr(SolrServiceImpl.java:144)
at wt.index.StandardIndexPolicyManager.updateIndexServerStatusCache(StandardIndexPolicyManager.java:509)
at wt.index.StandardIndexPolicyManager.access$100(StandardIndexPolicyManager.java:69)
at wt.index.StandardIndexPolicyManager$IndexServerStatusManagerTask.run(StandardIndexPolicyManager.java:489)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java
  • 一括インデックス作成が「エラー 401 権限がありません」というエラーで失敗しています
  • codebase/WEB-INF/conf/index.solrAuth.propertiesおよび<Solr home>\config\solrserver.propertiesでパスワードを変更した後も 401 エラーが発生します。
最新バージョンはこちらを参照ください CS337515