IDE hangs when connecting to WL9 remote JVM

I'm running WebLogic 9.0 with the embedded 1.5.0_03 JVM. I can attach remotely to this VM. I created a small test app, ran it with the VM, and attached remotely to verify.

But with both builds 4081 and 4089 I'm unable to attach to WebLogic itself. In both cases, I try to attach and the IDE basically just locks up. Once I've clicked the Debug button in the Debug dialog, the interface just locks up, no screen refresh, nothing. It doesn't suck up CPU or anything. It just sits there.

There is some kind of attachment happening. Once I nuke the IDE with the Task Manager (this is on Windows XP SP1, BTW), there's a message in the WL console:

ERROR: transport error 202: recv error: Connection reset by peer ["transport.c",L41]
Listening for transport dt_socket at address: 8453

There are no messages after trying to attach and before terminating IJ. There is no log file generated that I can find. I am able to connect to WL9 under this VM using IJ 5.0.2 (build #3542) with no problems.

I'm aware that the direct WL9 support will come later in 5.1 or IJ 6.0, but this is just for a remote connection, so it shouldn't be doing this. Any suggestions as to why this might be happening?

2 comments

Hi,
Please, run IDEA with command prompt, press control + break several
times when the deadlock happens, attach them to JIRA request and we will
fix the issue ASAP.

Rick Herrick wrote:

I'm running WebLogic 9.0 with the embedded 1.5.0_03 JVM. I can attach remotely to this VM. I created a small test app, ran it with the VM, and attached remotely to verify.

But with both builds 4081 and 4089 I'm unable to attach to WebLogic itself. In both cases, I try to attach and the IDE basically just locks up. Once I've clicked the Debug button in the Debug dialog, the interface just locks up, no screen refresh, nothing. It doesn't suck up CPU or anything. It just sits there.

There is some kind of attachment happening. Once I nuke the IDE with the Task Manager (this is on Windows XP SP1, BTW), there's a message in the WL console:

ERROR: transport error 202: recv error: Connection reset by peer ["transport.c",L41]
Listening for transport dt_socket at address: 8453

There are no messages after trying to attach and before terminating IJ. There is no log file generated that I can find. I am able to connect to WL9 under this VM using IJ 5.0.2 (build #3542) with no problems.

I'm aware that the direct WL9 support will come later in 5.1 or IJ 6.0, but this is just for a remote connection, so it shouldn't be doing this. Any suggestions as to why this might be happening?



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

OK, I actually got something a bit different this time, that is, different from the hanging, but I've seen this behavior before with these latest builds. Now, instead of hanging, I get a dialog that says:


From IJ, I get the error messages displayed in the attached text file. Then, when I try to shut down IJ from within the IDE, I get that first exception message (the NoSuchMethodError) again in the IDE Fatal Errors dialog.

Finally, once I do actually shut down using the Shutdown button in the IDE Fatal Errors dialog, I get no messages on the IJ console (i.e. the command prompt from which I started the IDE), but I do get this message in the WebLogic console:


The only difference that I can think of between when the IDE just hung on trying to debug and when I got the Error dialog on trying to debug is that, when I got the dialog, I had already tried to connect and hung the IDE. I don't know if that leaves relics or something that causes it to fail differently... Oh, also, when it hung, I had started IJ from the EXE, whereas with the dialog I had started from the BAT file on the command line...



Attachment(s):
IJ-4089-VM-attach-error.txt
0

Please sign in to leave a comment.