Skip to main content
19-Tanzanite
August 31, 2017
Question

Another Solr Configuration Issue in Windchill 11

  • August 31, 2017
  • 1 reply
  • 1433 views

I'm starting to really hate this new Solr setup procedure.  I'm trying to follow the guide and am doing the Configure Basic Authentication for Solr (Standalone Mode).  I follow the directions.  It generates my CRYPT password and then it will not let me restart Solr.  I used the same user name and password as I did to install Solr.

 

Here is the error I get on startup:

 

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)
        at org.eclipse.jetty.start.Main.start(Main.java:457)
        at org.eclipse.jetty.start.Main.main(Main.java:75)
Caused by: java.nio.file.InvalidPathException: Illegal char <
> at index 49: D:\ptc_solr\Windchill_11.0\SolrServer\solr\server
                 \etc\realm.properties
        at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
        at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
        at java.io.File.toPath(File.java:2234)
        at org.eclipse.jetty.security.PropertyUserStore.setConfigPath(PropertyUserStore.java:122)
        at org.eclipse.jetty.security.HashLoginService.doStart(HashLoginService.java:242)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
        at org.eclipse.jetty.server.Server.start(Server.java:405)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:372)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1510)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435)
        ... 7 more

Usage: java -jar start.jar [options] [properties] [configs]
       java -jar start.jar --help  # for more information

1 reply

5-Regular Member
September 4, 2017

Verify jetty.xml file whether it is pointing to correct jetty.home path or not.

This should be the property which you need to verify

<SystemProperty name="jetty.home" default="."/>