Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » remote debug, connection refused
remote debug, connection refused [message #304224] Fri, 02 June 2006 15:52 Go to next message
Eclipse UserFriend
Originally posted by: erictse2.gmail.com

Hi I was trying to debug a remote application server using eclipse I first
set something to java such that


/export/dsee/dsee-binaries/jre/bin/java -Xmx2000M -Xms2000M -XX:NewRatio=2
-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend= n.. serverclass
and seems that it started up properly without any error msg ..

and the version is java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Server VM (build 1.5.0_03-b07, mixed mode)

Eclipse SDK

Version: 3.1.2
Build id: M20060118-1600


After I do the gui, debug -> remote Java Application (my javasrc)->(my
project, standard socket attach, host, 8787 ) -> debug


I got Femote failed to connect to remote VM. Connection refused
when I ps the system .. the java process is running with that option ..

I feel like it is a network/connection/permission issue .. can anyone help
me out ? Anything I can configure on the eclipse side that I can solve it
.. or i need to do something on the system?

thanks a lot in advance

eric
Re: remote debug, connection refused [message #304225 is a reply to message #304224] Fri, 02 June 2006 16:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

Do you have a firewall enabled that's preventing connections to
localhost? Are you able to debug a normal simple java app from eclipse
- debugging normally rather than connecting to an existing process?

- Jeff
Re: remote debug, connection refused [message #304238 is a reply to message #304225] Sat, 03 June 2006 19:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: erictse2.gmail.com

Jeff Myers wrote:

> Do you have a firewall enabled that's preventing connections to
> localhost? Are you able to debug a normal simple java app from eclipse
> - debugging normally rather than connecting to an existing process?

> - Jeff
Hi Jeff,

thanks for your advice

>>Do you have a firewall enabled that's preventing connections to localhost?

I do not have a firewall installed . I can ssh or scp to that machine. but
that machine doesn;t allow me to telnet or ftp to .. is there anything i
need config form eclipse .. like a secure connection .. to connection the
server?

>> Are you able to debug a normal simple java app from eclipse - debugging
normally rather than connecting to an existing process?

I can debug a simple java app locally from my machine.
But I cannot debug normally on that machine.. since it is a solaris
server, i can't install eclipse and I can;t use GUI on that machine.
I can;t install the server on my machine, since my machine is a windows,
and the server run only on solaris.

Can you or someone please help me further ..
really need help ..
i really appreciate ....

thanks and lot and regards,

eric
Re: remote debug, connection refused [message #304245 is a reply to message #304225] Sun, 04 June 2006 17:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: erictse2.gmail.com

Would that be an authentication problem of eclipse trying to access the
solaris server ????
Has any one here sucessfully trying to debug a remote java process on a
solaris machine using eclipse? Can you please share experience..??
and also notice they only accept ssh and scp, not telnet and ftp ..
may be something related to PAM?

i am not sure .. can you guys please advise.

eric
Re: remote debug, connection refused [message #304250 is a reply to message #304225] Mon, 05 June 2006 00:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: erictse2.gmail.com

also does remote debug work on heterogenous platform? what platform?

can a win32 eclipse attached a remote solaris x86_64 process ?

do i need to do extra stuff to make this work?
Re: remote debug, connection refused [message #304284 is a reply to message #304250] Mon, 05 June 2006 09:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

I've been able to debug a program running on Linux from win32. So long
as you don't delve into any platform specific code, you should be ok.

Seems to me you have to investigate what you need to do in Solaris to
allow incoming connections to the port you specified in your debug's launch.

- Jeff
Re: remote debug, connection refused [message #304345 is a reply to message #304284] Mon, 05 June 2006 17:54 Go to previous message
Eclipse UserFriend
Originally posted by: erictse2.gmail.com

thanks a lot .
i finally set it up.. after restart the server, i am able to hook it up.

thanks

eric
Previous Topic:Scripting Eclipse Functionality
Next Topic:MessageConsole + Hyperlinks
Goto Forum:
  


Current Time: Thu May 08 12:04:47 EDT 2025

Powered by FUDForum. Page generated in 0.03435 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top