Article - CS262557

Solr doesn't index Word files containing embedded Visio schemes in Windchill PDMLink

Modified: 07-Jul-2023   


Applies To

  • Windchill PDMLink 11.0 F000 to M030

Description

Solr doesn't index Word files containing embedded Visio schemes

Error below in MethodServer.log log: 
ERROR [BulkIndexContentQueue2.PollingThread] wt.index.AbstractCoreManager Administrator - Failed to index: 1874843509
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://<HOSTNAME>: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 500 Server Error</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /solr/wblib/update. Reason:
<pre>    Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NoClassDefFoundError: com/microsoft/schemas/office/visio/x2012/main/ConnectsType
  at com.microsoft.schemas.office.visio.x201

Caused by: java.lang.ClassNotFoundException: com.microsoft.schemas.office.visio.x2012.main.ConnectsType
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:487)
  at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:428)
This is a printer-friendly version of Article 262557 and may be out of date. For the latest version click CS262557