How to debug remote tomee instance
The tomee instance is running on localhost. I am using a different http/debug port (which I configured in remote connection settings and under the startup/debug profile).
However the IDE still tries to connect to localhost:1099
This is the full error message:
Unable to connect to the localhost:1099, reason:
javax.naming.ServiceUnavailableException: Cannot lookup '/openejb/DeployerBusinessRemote'.
I am using Idea 13.1.5 (135.1289)
Please let me know what I might be doing wrong.
thanks
Please sign in to leave a comment.
Solved this by using the remote profile (not tomee/tomcat).
I still don't know how or whether the tomcat/tomee remote profiles work at all. Also, it appears that that there is a bug related to starting the debug session: at some point, idea silently says successfully connected (without being connected though). no error or any kind of message. After completely restarting the ide it attaches fine at first try.