On Tue, Jul 6, 2010 at 11:44 AM, George Jahad
<cloj...@blackbirdsystems.net> wrote:
> My experiment with the JDI:
>
>
> http://georgejahad.com/clojure/cdt.html
>

Hi,

Thanks for this great project and notes.

For others who are trying this out, I found a minor issue. I am
running openJDK under Debian GNU/Linux amd64 arch, with the java
version as shown below.

 $ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-3)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)

I had a bit of a trouble to connect to the server instance of the JVM.
It was tracked down to the way jvm picks the hostname from /etc/hosts
instead of the one from loopback address.

Here are some links I found while trying to debug this:

 <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6452180>
 <http://forums.sun.com/thread.jspa?threadID=618145>

I had to explicitly specify the hostname (or ip address) to
cdt-attach. I have a fix here which explicitly connects to localhost,
if no hostname string is specified.

 <http://github.com/vu3rdd/cdt/tree/cdt-attach-fix>

Also the webpage gives 8021 as the listening address but connects to
8030. Again, a very minor nitpick.

Thanks for the great work, George. Hoping to play with it more.

-- 
  Ramakrishnan

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to