アーティクル - CS298675

ルートユーザーを使用して PSI を起動すると、スタンドアロン インデックス検索 (SOLR) のインストールが「java.lang.Exception: Subinstaller failed」というエラーで失敗します。

修正日: 24-Oct-2025   


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

適用対象

  • Windchill PDMLink 11.1 to 13.1
  • Windchill PartsLink 11.1 to 12.1
  • Red Hat Linux/Unix

説明

  • Linux/Unix で Windchill Index Search(Solr) のインストールが「 java.lang.Exception: Subinstaller failed 」というエラーで失敗する
  • java.lang.Exception: Subinstaller failed」というエラーが発生し、Windchill PDMLink に Solr をインストールできません
  • スタンドアロンの SOLR インストール中に PSI がエラー「 java.lang.Exception: Subinstaller failed 」で失敗する
  • ルートユーザーを使用してPSIを起動すると、SOLRスタンドアロンインストールが失敗し、以下のエラーポップアップが表示されます。
  • PSI GUIは次のエラーを報告します
Installation Aborting
The following 2 logs contain information that may be useful for diagnosing installation problems. Include them in your support requests. Shutdown the installer before accessing any logs to ensure that they are up to date.
 /app/ptc/Windchill_###/PSI/installer/logs/PTCSOLNINSTALLER_PtcInstall.log
 /app/ptc/Windchill_###/PSI/installer/logs/PTCSOLNINSTALLER_InstallLog.xml
The installation is aborting due to an unexpected error.
java.lang.Exception: Subinstaller failed
    at com.ptc.windchill.install.suite.subinstaller.AbstractLightweightSubinstaller.run(AbstractLightweightSubinstaller.java:146)
    at com.ptc.windchill.install.suite.SubInstallerManagerImpl.executeInstaller(SubInstallerManagerImpl.java:881)
    at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:379)
    at com.ptc.windchill.install.suite.SubInstallerManager.process(SubInstallerManager.java:24)
    at com.ptc.windchill.install.framework.InstallAction.run(InstallAction.java:468)
    at com.ptc.windchill.install.framework.InstallAction.install(InstallAction.java:313)
    at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source)
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
    at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
    at com.zerog.ia.installer.Installer.install(Unknown Source)
    at com.zerog.ia.installer.actions.InstallProgressAction.ae(Unknown Source)
    at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source)
  • PSIログは次のエラーを報告します
    • エラー1
       INFO   23-10-2025 23:38:58 - checkSolrServerStatus: 
      INFO   23-10-2025 23:38:58 -      [java] Running in same VM Executing 'com.ptc.search.util.automation.SolrServerStatusChecker' with arguments: 
      INFO   23-10-2025 23:38:58 -      [java] '/opt/ptc/IndexSearch/SolrServer' 
      INFO   23-10-2025 23:38:58 -      [java]  
      INFO   23-10-2025 23:38:58 -      [java] The ' characters around the executable and arguments are 
      INFO   23-10-2025 23:38:58 -      [java] not part of the command. 
      INFO   23-10-2025 23:38:59 -      [java] ERROR [main] 23:38:59,119 com.ptc.search.util.automation.SolrServerStatusChecker Unexpected exception while pinging solr 
      INFO   23-10-2025 23:38:59 -      [java] java.net.ConnectException: Connection refused 
      INFO   23-10-2025 23:38:59 -      [java] 	at java.base/sun.nio.ch.Net.connect0(Native Method) ~[?:?] 
      INFO   23-10-2025 23:38:59 -      [java] 	at java.base/sun.nio.ch.Net.connect(Net.java:589) ~[?:?] 
      ...
      INFO   23-10-2025 23:39:09 -      [java] ERROR [main] 23:39:09,141 com.ptc.search.util.automation.SolrServerStatusChecker Unexpected exception while pinging solr 
      INFO   23-10-2025 23:39:09 -      [java] java.net.ConnectException: Connection refused 
      ...
      ERROR  23-10-2025 23:41:59 - failed to install (solrserver) 
      ERROR  23-10-2025 23:41:59 - error details: 
      java.lang.Exception: Subinstaller failed
      	at com.ptc.windchill.install.suite.subinstaller.AbstractLightweightSubinstaller.run(AbstractLightweightSubinstaller.java:148) [installer.zip:?]
      	at com.ptc.windchill.install.suite.SubInstallerManagerImpl.executeInstaller(SubInstallerManagerImpl.java:1248) [installer.zip:?]
      	at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:442) [installer.zip:?]
      	at com.ptc.windchill.install.suite.SubInstallerManager.process(SubInstallerManager.java:24) [installer.zip:?]
      	at com.ptc.windchill.install.framework.InstallAction.run(InstallAction.java:512) [installer.zip:?]
      	at com.ptc.windchill.install.framework.InstallAction.install(InstallAction.java:330) [installer.zip:?]
      	at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source) [installer.zip:?]
      	at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) [installer.zip:?]
      ...
      DEBUG  23-10-2025 23:41:59 - Processing subinstaller assembly (solrserver): timer.stop. Elapsed time = 00:03:49 -- 229 sec 
      DEBUG  23-10-2025 23:41:59 - java.lang.Exception: Subinstaller failed 
      DEBUG  23-10-2025 23:41:59 - at com.ptc.windchill.install.suite.subinstaller.AbstractLightweightSubinstaller.run(AbstractLightweightSubinstaller.java:148) 
      DEBUG  23-10-2025 23:41:59 - at com.ptc.windchill.install.suite.SubInstallerManagerImpl.executeInstaller(SubInstallerManagerImpl.java:1248) 
      DEBUG  23-10-2025 23:41:59 - at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:442) 
      ...
      DEBUG  23-10-2025 23:41:59 - Exiting with return code -1 
    • エラー2
 checkSolrServerStatus: 
     [java] running com.ptc.search.util.automation.SolrServerStatusChecker with default permissions (exit forbidden) 
     [java] Running in same VM Executing 'com.ptc.search.util.automation.SolrServerStatusChecker' with arguments: 
     [java] 'http://solrhost.domain.com:8085/solr/wblib/' 
     [java] 'solradmin' 
     [java] 'ts' 
     [java] ' /app/ptc/Windchill_##.#/SolrServer' 
     [java]  
     [java] The ' characters around the executable and arguments are 
     [java] not part of the command. 
     [java] SLF4J: Class path contains multiple SLF4J bindings. 
     [java] SLF4J: Found binding in [jar:file: /app/ptc/Windchill_11.1/SolrServer/srclib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
     [java] SLF4J: Found binding in [jar:file: /app/ptc/Windchill_11.1/SolrServer/codebase/WEB-INF/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
     [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 
     [java] SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] 
  [antcall] Exiting  /app/ptc/Windchill_##.#/SolrServer/installer/solrserver/SolrServer/deploy.xml. 
  [antcall] Exiting  /app/ptc/Windchill_##.#/SolrServer/installer/solrserver/SolrServer/deploy.xml. 
  [antcall] Exiting  /app/ptc/Windchill_##.#/SolrServer/installer/solrserver/SolrServer/deploy.xml. 
  [antcall] Exiting  /app/ptc/Windchill_##.#/SolrServer/installer/solrserver/SolrServer/deploy.xml. 
  [antcall] Exiting  /app/ptc/Windchill_##.#/SolrServer/installer/solrserver/SolrServer/deploy.xml. 
      [ant] Exiting  /app/ptc/Windchill_##.#/SolrServer/installer/solrserver/SolrServer/deploy.xml. 
      [ant] Exiting  /app/ptc/Windchill_##.#/SolrServer/bin/installModules.xml. 
 
BUILD FAILED 
 /app/ptc/Windchill_##.#/SolrServer/bin/installModules.xml:135: The following error occurred while executing this line: 
 /app/ptc/Windchill_##.#/SolrServer/bin/installModules.xml:158: The following error occurred while executing this line: 
 /app/ptc/Windchill_##.#/SolrServer/bin/commonImport.xml:277: The following error occurred while executing this line: 
 /app/ptc/Windchill_##.#/SolrServer/bin/installModules.xml:691: The following error occurred while executing this line: 
 /app/ptc/Windchill_##.#/SolrServer/bin/installModules.xml:702: The following error occurred while executing this line: 
 /app/ptc/Windchill_##.#1/SolrServer/installer/solrserver/SolrServer/deploy.xml:33: The following error occurred while executing this line: 
 /app/ptc/Windchill_11.1/SolrServer/installer/solrserver/SolrServer/deploy.xml:69: The following error occurred while executing this line: 
 /app/ptc/Windchill_11.1/SolrServer/installer/solrserver/SolrServer/deploy.xml:89: The following error occurred while executing this line: 
 /app/ptc/Windchill_11.1/SolrServer/installer/solrserver/SolrServer/solrServer.xml:16: The following error occurred while executing this line: 
 /app/ptc/Windchill_11.1/SolrServer/installer/solrserver/SolrServer/solrServer.xml:32: The following error occurred while executing this line: 
 /app/ptc/Windchill_11.1/SolrServer/installer/solrserver/SolrServer/solrServer.xml:84: java.lang.Exception: Solr Server failed to start up within 180 seconds 
    at com.ptc.search.util.automation.SolrServerStatusChecker.main(SolrServerStatusChecker.java:61) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
......
Total time: 5 minutes 52 seconds 
done calling run - result: 1 
failed to install (solrserver) 
error details: 
java.lang.Exception: Subinstaller failed
    at com.ptc.windchill.install.suite.subinstaller.AbstractLightweightSubinstaller.run(AbstractLightweightSubinstaller.java:146)
    at com.ptc.windchill.install.suite.SubInstallerManagerImpl.executeInstaller(SubInstallerManagerImpl.java:881)
    at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:379)
    at com.ptc.windchill.install.suite.SubInstallerManager.process(SubInstallerManager.java:24)

Processing subinstaller assembly (solrserver): timer.stop. Elapsed time = 00:05:55 -- 355 sec 
java.lang.Exception: Subinstaller failed 
at com.ptc.windchill.install.suite.subinstaller.AbstractLightweightSubinstaller.run(AbstractLightweightSubinstaller.java:146) 
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.executeInstaller(SubInstallerManagerImpl.java:881) 
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:379) 
at com.ptc.windchill.install.suite.SubInstallerManager.process(SubInstallerManager.java:24) 
...........
java.lang.Exception: Subinstaller failed 
at com.ptc.windchill.install.suite.subinstaller.AbstractLightweightSubinstaller.run(AbstractLightweightSubinstaller.java:146) 
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.executeInstaller(SubInstallerManagerImpl.java:881) 
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:379) 
at com.ptc.windchill.install.suite.SubInstallerManager.process(SubInstallerManager.java:24) 
at com.ptc.windchill.install.framework.InstallAction.run(InstallAction.java:468) 
...........
The installation is aborting due to an unexpected error. 
java.lang.Exception: Subinstaller failed 
at com.ptc.windchill.install.suite.subinstaller.AbstractLightweightSubinstaller.run(AbstractLightweightSubinstaller.java:146) 
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.executeInstaller(SubInstallerManagerImpl.java:881) 
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:379) 
...........
Exiting with return code -1

 - BUILD FAILED 
 - /tmp/install.dir.44687/InstallerData/psi/bin/psiDeploy.xml:24: /app/ptc/Windchill_11.1/SolrServer/bin does not exist. 
 -     at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:484) 
 -     at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:370) 
 -     at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496) 
 -     at org.apache.tools.ant.taskdefs.Chmod.execute(Chmod.java:182) 
 -      [java] ERROR StatusLogger Could not register mbeans 
 -      [java]  java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register") 
 -      [java]     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) 
 -      [java]     at java.lang.SecurityManager.checkPermission(SecurityManager.java:585) 
 -      [java]     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848) 
 -      [java]     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322) 
 -      [java]     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) 
最新バージョンはこちらを参照ください CS298675