: The above code, if I start the server(tomcat) inside eclipse, it throws : "SolrException : Internal Server Error"; but if I start the server : outside eclipse, for instance, run "startup.bat" in tomcat's bin : directory, it runs successfully. I really don't understand Why they are : different.
Have you checked the logs? My guess is that when you use eclipse, the server is not starting up properly at all. Possible not finding the Solr Home directory? -Hoss