Thomas, welcome to the group. Here are some thoughts to consider while you await a reply from Intergral.
I realize your message, adding “Resource temporarily unavailable” does perhaps point to something unique about your problem, but separate from that, there are some fundamentals troubleshooting steps we ought to consider, if you have not already done so.
First, is the Tomcat server on a separate machine from FD? If so, could it be a firewall issue? Can you do a telnet from the FD machine to the intended machine and get a reply, such as:
telnet machinename 8000
If that gives an error, then either the port is blocked by a firewall or is not being listened upon at all. On the box running Tomcat itself, what if you do telnet localhost 8000?
Of course, there could be something else entirely. There are specific details for FD/Railo configuration you’ll want to look at if you have not:
http://www.fusion-debug.com/fd/howto/railoserverconfig.cfm
http://www.fusion-reactor.com/support/kb/FDS-103.cfm
http://www.fusion-reactor.com/community/developers/autodev_detailed.cfm?article=FDS-118 (video)
And of course the user guide may help, and there’s a troubleshooting page (http://docs.intergral.com/display/FD35/Troubleshooting) but not much more than what we’ve discussed already.
Hope that helps.
/charlie
--
You received this message because you are subscribed to the Google Groups "FusionDebug" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fusiondebug/-/HzkYxoOWx7QJ.
To post to this group, send email to fusio...@googlegroups.com.
To unsubscribe from this group, send email to fusiondebug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fusiondebug?hl=en.
First, is the Tomcat server on a separate machine from FD?
If so, could it be a firewall issue? Can you do a telnet from the FD machine to the intended machine and get a reply, such as:
telnet machinename 8000
From: fusio...@googlegroups.com [mailto:fusiondebug@googlegroups.com] On Behalf Of Thomas Campbell-Adams
Sent: Wednesday, July 25, 2012 12:42 PM
To: fusio...@googlegroups.com
Subject: [fusiondebug] Issues attaching debugger under Kubuntu 12.04, getting error
Under Kubuntu 12.04, I'm getting the following error on the server when trying to attach FusionDebug to Railo/Tomcat on port 8000:
Debugger failed to attach: recv failed during handshake: Resource temporarily unavailable
And the debugger in Eclipse just says it failed to connect.
I've been looking all over for a way to fix this and have come up with nothing. Has anyone found a way to resolve this error?
--
You received this message because you are subscribed to the Google Groups "FusionDebug" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fusiondebug/-/HzkYxoOWx7QJ.
To post to this group, send email to fusio...@googlegroups.com.
To unsubscribe from this group, send email to fusiondebug+unsubscribe@googlegroups.com.
OK, on that. And any response about those 3 resources? Just trying to help, while you await an answer from Intergral. Can’t tell if maybe your reply got cut off or sent before you finished, perhaps.
/charlie
To unsubscribe from this group, send email to fusiondebug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fusiondebug?hl=en.
--
You received this message because you are subscribed to the Google Groups "FusionDebug" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fusiondebug/-/sFS0VMFFHbUJ.
To post to this group, send email to fusio...@googlegroups.com.
To unsubscribe from this group, send email to fusiondebug...@googlegroups.com.
To unsubscribe from this group, send email to fusiondebug+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fusiondebug?hl=en.
--
You received this message because you are subscribed to the Google Groups "FusionDebug" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fusiondebug/-/sFS0VMFFHbUJ.
To post to this group, send email to fusio...@googlegroups.com.
To unsubscribe from this group, send email to fusiondebug+unsubscribe@googlegroups.com.
Sounds like the port could be in use from something else. Could you try changing the port to 8003.
Also can you post the java args that you start the JVM with. They should be something like:
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
You need to make sure that you take any GC options out like -XX:+UseParallelGC
It would also be worth trying to connect with the basic Java debugger with the jdb command: e.g.
jdb -attach 8000
Cheers,
Darren
"Debugger failed to attach: recv failed during handshake: Resource temporarily unavailable"
is displayed in the stdout console by ColdFusion, so if I understand correctly the client is able to reach tbe debugger service on the specified port, only something goes wrong during the TCP handshake.
Any ideas?
Thank you for the quick reply! Unfortunately, the answers to your questions are yes, yes and yes. I already tried changing the port number; getting the same error.
Best regards,
Martijn
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
the threads command gave me a list of active threads.
Looks like the JVM configuration is allright, which leaves the Debug configuration in Eclipse. The strange thing is that I am able to connect FusionDebug to another instance of CF10, running on a remote machine within the local network. The debug configuration for my local machine is identical, except for the host IP and the location of the CFML Server Folder, which I have double-checked about a dozen times.
Here is my environment information:
Windows 7
Eclipse Jave EE IDE Juno Service Release 1
Railo 3.3.1
Tomcat 7
CFEclipse 1.4.3
FusionDebug 3.5.0
Tomcat shows the following error message when I try to connect the debugger:
Debugger failed to attach: recv failed during handshake: Resource temporarily unavailable
Fusion debug shows the following error when I try to connect the debugger:
Couldn't launch a debug session: Could not connect to server local.buckeye.railo on port 8000. Ensure the server has correctly been configured for debugging and try again.
Could not connect to server localhost on port 8000. Ensure the server has correctly been configured for debugging and try again.
com.intergral.fusiondebug.client.model.FDModelConnectionException: java.io.IOException: Target failed to handshake.
I have tried different port settings, i.e. 8001, 9999, etc. I get the same error with the different ports. I used "telnet localhost 8000" to make sure I don't have a firewall problem.
Since my version of Railo does not have a start.bat, I modified catalina.bat to start the tomcat debugger. I found this information on a blog.
I added the following line near the top of catalina.bat:
SET CATALINA_OPTS=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
It would be great if somone could help me configure the debugger.