Re: Debug Solr in Netbeans..

2009-06-16 Thread noor
Yes Mark Miller, I changed the Connector specification in attach-debugger dialog, from SocketAttach TO socketListen. Now i got the netbeans debugger-console output as, Listening on 5005 But, nothing will be display after that, but the progress shows, attaching debugger What is the problem

Re: Debug Solr in Netbeans..

2009-06-15 Thread noor
Addition to my previous reply:: I am running solr by start.jar file. It has my custom class jar file in its lib folder. Also in netbeans, custom class source has the checkpoint to debug.; and in the project folder, i created the build.properties. So i set the AttachDebugger settings; but it giv

Re: Debug Solr in Netbeans..

2009-06-15 Thread noor
Now, i put that build.properties file in the solr location tooo. But still i am getting. Attaching to localhost:5005 Connection refused Note: Solr lib folder contains, my custom class's jar file. But in netbeans, i am doing the attach-debugger processing. And in browser, i am accessing that clas

Re: Debug Solr in Netbeans..

2009-06-15 Thread Mark Miller
If you don't see that, you may have build.properties in the wrong place. When you run 'solr-example' in debug mode, Listening for transport dt_socket at address: 5005 will be printed to STD out. Once you have that working correctly, you want to attach to port 5005, not 8983. Solr runs on 8983

Re: Debug Solr in Netbeans..

2009-06-15 Thread noor
No. In netbeans, debugger-console output shows, Attaching to localhost:8983 handshake failed - connection prematurally closed i dont know where the problem is ? Mark Miller wrote: Do you see the following printed to std out when you start solr (using 'run-example')? Listening for transport d

Re: Debug Solr in Netbeans..

2009-06-15 Thread Mark Miller
Do you see the following printed to std out when you start solr (using 'run-example')? Listening for transport dt_socket at address: 5005 noor wrote: Addition to the previous reply: I built my custom project and put into solr webapps lib folder. And starts running solr. In netbeans, i made the

Re: Debug Solr in Netbeans..

2009-06-15 Thread noor
Addition to the previous reply: I built my custom project and put into solr webapps lib folder. And starts running solr. In netbeans, i made the changes as i said before. But it shows connection refused error. anybody please give me the solution... noor wrote: Solr starts running in the port 89

Re: Debug Solr in Netbeans..

2009-06-15 Thread noor
Solr starts running in the port 8983, i created build.properties in the project folder, where the build.xml is. And in that empty build.properties file, i added, example.debug=true only. And in Netbeans, Debug -> Attach Debugger, - Debugger is JavaDebugger(JPDA); - Connector is SocketAttach(Attach

Re: Debug Solr in Netbeans..

2009-06-15 Thread Mark Miller
noor wrote: hi, i am new to apache solr. i got the solr source code, and i created my own (custom) classes. Also, i make the request reference to that newly created classes in solr-config.xml. now i need to debug my code, when the solr search calls my class.. So, for this, i dont know how to d

Debug Solr in Netbeans..

2009-06-15 Thread noor
hi, i am new to apache solr. i got the solr source code, and i created my own (custom) classes. Also, i make the request reference to that newly created classes in solr-config.xml. now i need to debug my code, when the solr search calls my class.. So, for this, i dont know how to debug my code