You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Wunna Lwin <mr...@gmail.com> on 2016/11/22 05:35:47 UTC

compile solr6.2.1

Hi,

I am try to implement solr cloud with version 6.2.1 but I have a problem that I can’t compile solr source code to write custom plugin for solr. I just this command for remote debug "java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8080 -jar “ but it doesn’t work. Help me out please.

Re: compile solr6.2.1

Posted by Erick Erickson <er...@gmail.com>.
You said "I can't compile...." but then showed us the line for
_running_ Solr so I'm
really confused what your problem is. So:

1> can you compile? IOW, if you execute "ant server dest" from the
<solr_home>/solr
directory, does it run to completion? You should see "BUILD SUCCESSFUL" after a
few minutes indicating you have successfully compiled.

2> If <1> works, then is your problem is trying to run Solr
afterwards? This part of your command line
"suspend=y" means that Solr will hang until you connect to it with
your debugger. What happens
when you try to attach with the IDE? How did you set your remote
session up? What IDE do
you use? Did you follow the instructions here:
https://wiki.apache.org/solr/HowToContribute
in "Development Environment Tips"? What was the result?

If you just use "suspend=n" Solr will start up and you can attach with
the debugger any time.
"suspend=y" is, of course, very useful when debugging initialization
and the like.

Best,
Erick

On Mon, Nov 21, 2016 at 9:35 PM, Wunna Lwin <mr...@gmail.com> wrote:
> Hi,
>
> I am try to implement solr cloud with version 6.2.1 but I have a problem that I can’t compile solr source code to write custom plugin for solr. I just this command for remote debug "java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8080 -jar “ but it doesn’t work. Help me out please.