Discussion:
A problem with depolying:solr6.5 report 404 error
David
2017-04-24 01:44:30 UTC
Permalink
Dear,manager:


I have a problem with deploying the solr6.5. my environment are windows7+jdk 8u131+tomcat9.0+solr6.5. java run successfully, tomcat run successfully, solr6.5 has been depolyed. Enter http://localhost:8080/solr/index.html in firefox, and then report 404 error. The detail is "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists." Could you tell me why it happened and how to solve this problem? Thank you!


sincerely yours
David.Wu
Rick Leir
2017-04-24 11:56:59 UTC
Permalink
David,
Did you say Tomcat? Try to install without Tomcat. Then, after starting Solr, look in solr.log.
HTH -- Rick
Post by David
I have a problem with deploying the solr6.5. my environment are
windows7+jdk 8u131+tomcat9.0+solr6.5. java run successfully, tomcat run
successfully, solr6.5 has been depolyed. Enter
http://localhost:8080/solr/index.html in firefox, and then report 404
error. The detail is "The origin server did not find a current
representation for the target resource or is not willing to disclose
that one exists." Could you tell me why it happened and how to solve
this problem? Thank you!
sincerely yours
David.Wu
--
Sorry for being brief. Alternate email is rickleir at yahoo dot com
Shawn Heisey
2017-04-24 13:33:33 UTC
Permalink
Post by Rick Leir
David,
Did you say Tomcat? Try to install without Tomcat. Then, after starting Solr, look in solr.log.
HTH -- Rick
Post by David
I have a problem with deploying the solr6.5. my environment are
windows7+jdk 8u131+tomcat9.0+solr6.5. java run successfully, tomcat run
successfully, solr6.5 has been depolyed. Enter
http://localhost:8080/solr/index.html in firefox, and then report 404
+1 to what Rick said.

Although Solr is a webapp, since version 5.0, the only supported
deployment option is the jetty that Solr comes with and the scripts
provided.

https://wiki.apache.org/solr/WhyNoWar

It is possible that in the last two years (since 5.0 was released) Solr
has become reliant on the code mechanisms provided by Jetty and certain
things will no longer function under Tomcat.

You could try the url without "index.html" and see whether it works ...
but you're running an unsupported configuration. To get help, you're
going to have to run it as it was shipped, not in Tomcat.

I tried the URL you mentioned on a Solr 6.5 download running with the
included scripts, and it worked ... but under Tomcat, we can't be sure
of anything.

Thanks,
Shawn

Loading...