Re: A problem with depolying:solr6.5 report 404 error

2017-04-24 Thread Shawn Heisey
On 4/24/2017 5:56 AM, Rick Leir wrote:
> David,
> Did you say Tomcat? Try to install without Tomcat. Then, after starting Solr, 
> look in solr.log.
> HTH -- Rick
>
> On April 23, 2017 9:44:30 PM EDT, David  wrote:
>> 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



Re: A problem with depolying:solr6.5 report 404 error

2017-04-24 Thread Rick Leir
David,
Did you say Tomcat? Try to install without Tomcat. Then, after starting Solr, 
look in solr.log.
HTH -- Rick

On April 23, 2017 9:44:30 PM EDT, David  wrote:
>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

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com