On 2/9/2018 4:21 AM, Mayank Kumar wrote:
I am Mayank and just wanted to contribute to Apache Solr.

I want to deploy the solr application in Apache tomcat in Eclipse so that I 
will be able to debug it.

Can anybody help me in doing the same.

You MIGHT be able to get new Solr versions to run in Tomcat at the moment, but this capability could disappear at any time. The combination is not officially supported, and it's always possible that some new capability that gets added to Solr will explicitly use Jetty classes.

The only officially supported option is the Jetty that comes with Solr:

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

I was trying to adapt the instructions on the following page to Solr 7.2, but Solr fails to start, and nothing gets logged to indicate why it never starts:

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

This is the command I tried (on Windows):

bin\solr start -f -a "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7666" -m 4g

The only thing that gets logged is:

Listening for transport dt_socket at address: 7666

I also tried without the "-f" option. That option starts Solr in the foreground and logs to the console.

If I start without the -a option and the debug parameters, then Solr starts just fine.

Thanks,
Shawn

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to