Thanks! This works...
I'm getting a (possibly unrelated?) warning and can't hit the Admin page (I get a 503). I DO see eclipse "hook into" the debug session which is excellent. The warning resolves to this: java.io.FileNotFoundException: /Users/.../.../workspace/solr-6.2.1/solr/server/solr-webapp/webapp Full stack trace below... I built the project using ant and ivy for eclipse. ant eclipse (inside the solr6.x.x directory per the instructions I referenced) I did not see a way to build the jetty portion - and perhaps that's what the problem is -- although the instructions here ( http://opensourceconnections.com/blog/2013/04/13/how-to-debug-solr-with-eclipse/) about building jetty don't seem to work with this version of Solr... Any suggestions welcome. It seems to me the jetty jars are all there but maybe I'm missing something. Especially since the stack trace is complaining about "Web application not found" I'll dig into it more tomorrow... ========= stack trace: 220 WARN (main) [ ] o.e.j.w.WebInfConfiguration Web application not found /Users/.../Documents/workspace/solr-6.2.1/solr/server/solr-webapp/webapp 221 WARN (main) [ ] o.e.j.w.WebAppContext Failed startup of context o.e.j.w.WebAppContext@3b0090a4 {/solr,null,null}{/Users/jbickerstaff/Documents/workspace/solr-6.2.1/solr/server/solr-webapp/webapp} java.io.FileNotFoundException: /Users/.../Documents/workspace/solr-6.2.1/solr/server/solr-webapp/webapp at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:497) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:72) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:480) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:516) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:458) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:405) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:372) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1510) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214) at org.eclipse.jetty.start.Main.start(Main.java:457) at org.eclipse.jetty.start.Main.main(Main.java:75) 240 INFO (main) [ ] o.e.j.s.ServerConnector Started ServerConnector@68e5eea7{HTTP/1.1,[http/1.1]}{0.0.0.0:8983} 240 INFO (main) [ ] o.e.j.s.Server Started @18534ms On Tue, Oct 4, 2016 at 4:45 PM, Jihwan Kim <jihwa...@gmail.com> wrote: > I read your first reference and run the following command on the > Solr_Installed Dir. I am using v. 6.2.0 and 4.10.4. both works. > > bin/solr start -f -a "-Xdebug > -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7666" > > On Tue, Oct 4, 2016 at 5:26 PM, John Bickerstaff <j...@johnbickerstaff.com > > > wrote: > > > All, > > > > I've found some hints, but can't get Solr running in debug mode in > eclipse > > with the instructions > > > > Here: > > http://opensourceconnections.com/blog/2013/04/13/how-to- > > debug-solr-with-eclipse/ > > > > or Here: http://wiki.apache.org/solr/HowToConfigureEclipse > > > > When I run this command from the wiki : java -Xdebug > > -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7666 -jar > > start.jar > > > > I get an error: WARNING: Nothing to start, exiting ... > > > > I can't start the jar file "normally" either and it turns out to be a > > symlink. > > > > I'm thinking that things are different now given that the way to start > Solr > > is this way: > > > > bin/solr start -e cloud -noprompt > > > > Can anyone point me at documentation or drop a hint? > > >