I tried to use an eclipse remote debugger for the first time in a few
months and it appears to not be working now. I was using this regularly,
so I believe setup is probably OK. (famous last words)

Just wondering if anyone else has seen this and if I should file a bug.

When I try to connect from eclipse, it initially looks like it¹s working,
I see the server added to the debug window, then I get this error dialog:

An internal error occurred during: "Starting Sling Server (external) at
localhost".
org/apache/sling/ide/transport/Repository$CommandExecutionFlag

and get this in the sling log:

12.04.2015 17:14:26.273 *INFO* [qtp1958698118-46] logs/request.log
12/Apr/2015:17:14:26 -0700 [1] -> PROPFIND /server/ HTTP/1.1
12.04.2015 17:14:26.295 *INFO* [qtp1958698118-46] logs/request.log
12/Apr/2015:17:14:26 -0700 [1] <- 207 text/xml; charset=UTF-8 22ms
12.04.2015 17:14:26.296 *INFO* [qtp1958698118-46] logs/access.log 10.0.2.2
- admin 12/Apr/2015:17:14:26 -0700 "PROPFIND /server/ HTTP/1.1" 207 440
"http://localhost/"; "Jakarta Commons-HttpClient/3.1"



I know the debug port is setup correctly because can telnet to it, and
trigger this

        Debugger failed to attach: timeout during handshake

and:

#> lsof -p 19346 | grep TCP
java    19346 root    4u  IPv4             513679      0t0     TCP *:30303
(LISTEN)
java    19346 root    8u  IPv6             511763      0t0     TCP
localhost:43545 (LISTEN)
java    19346 root  145u  IPv6             513689      0t0     TCP
*:http-alt (LISTEN)


I am passing the appropriate debug startup args:

19346 pts/1    Sl+    0:28 java -Xmx512M
-agentlib:jdwp=transport=dt_socket,address=30303,server=y,suspend=n -jar
org.apache.sling.launchpad-8-SNAPSHOT-standalone.jar -a 0.0.0.0 start

-Bruce

Reply via email to