I keep getting an error of org.eclipse.jdi.TimeoutException while waiting for packet -- occurred creating step request.
When that happens I need to restart Eclipse and start all over which is very unproductive.
I tried changing the Timeout settings in options but that didn't seem to help.
Any ideas?
Related
I have configured eclipse runconfigurations as follows;
at Run configurations-->Arguments
-Djavax.net.debug=ssl,handshake
eclipse runtime.
But still at console im not getting any debug logs.(SSL handshake logs)
Why is that?
I get only my system.print statements in console.
Make sure, to configure it as VM argument, not as Program argument.
I've been having trouble getting a weblogic server to run in eclipse, which have resulted in me not being able to open eclipse ni my current workspace at all. It is not my first attempt to work with weblogic servers in eclipse, and I do not know why it suddenly decided to stop working. I have had multiple errors, which all seem to be related to an abnormal high memory consumption.
One of my last errors, before eclipse quit on me for good, was an out of memory exception, on PermGenSpace. I set variables to 1024m, but it still complained it wasn't enough. After a lot of restarts, Eclipse suddenly wouldn't open my current workspace. I have tried others, and they work fine, but with my current one, the splash/loading screen disappears after about 10% of the loading bar is complete, and nothing happens at all. Except the fact that eclipse.exe shows up in the running processes tab on Windows task list. It does not show in the running programs list.
My attempts to start weblogic servers had the exact same symptoms. They showed in the process list, but did not respond when I tried to open the console in my browser.
Both eclipse and the weblogic tasks (shown as java.exe) has had over 400.000KB of memory consumption each, which I find very high.
I do not expect anyone to be able to find a complete solution here, but I am absolutely stuck. I cannot access any of my previous error messages. I have no experience debugging an error like this. Does anyone have any idea on how to find the error in a case like this?
My Weblogic version is 10.3.2, which is a company standard for now.
My Eclipse version is:
Eclipse Java EE IDE for Web Developers.
Version: Kepler Service Release 2
Build id: 20140224-0627
Adding the comment as an answer since it provided some help.
Try starting up to a new empty workspace; If you dont get to select workspace at startup use the argument "-data " If you still get issues, look at the log in /.metadata/.log
I'm experiencing serious issue with the Eclipse 'Install new software' and 'Update' Dialogs.
In fact they seem to do nothing.
With a brand new Eclipse Java EE Juno 4.2 I can't install new software. I try to retrieve the contents of 'Juno - http://download.eclipse.org/releases/juno' but it's stuck all the time. Often is stops doing anything around 31% but sometimes it reaches 38% after 20 minutes but there must be something wrong.
I unticked all the options and also deactivated firewall and antivir and tried to alter the network configurations in eclipse with no effect.
I'm not behind a proxy.
Somebody got a solution on this?
Regards
The Error Log has plenty entries mainly like this:
Unable to read repository at http://download.eclipse.org/releases/juno/201206270900/artifacts.jar.
Unknown Host: http://download.eclipse.org/webtools/patches/drops/R3.4.1/P-3.4.1-20121112163420/repository/content.xml
Connection to http://download.eclipse.org/technology/epp/packages/juno/p2.index failed on Connection reset. Retry attempt 0 started
Connection to http://download.eclipse.org/webtools/patches/drops/R3.4.1/P-3.4.1-20121112163420/repository/p2.index failed on Connection reset. Retry attempt 0 started
Unable to read repository at http://download.eclipse.org/releases/juno/201206270900/content.jar.
Connection to http://download.eclipse.org/releases/juno/201209280900/p2.index failed on Connection reset. Retry attempt 0 started
You could also try with the following option in your STS.ini file, it worked for me:
-Djava.net.preferIPv4Stack=true
Make sure you don't have antivirus (particularly Kaspersky) running. May have to pause your AV program as it could block the process.
"Hot Code Replace Failed - add method not implemented".
I get this error message every time I change something in my test class (and save it).
Can't figure out what it means. Can somebody help?
Possibly, you have a test which is still running (in debug mode). Try finishing all tests (you can see them in the debug view: window->show view->debug) and try again...
See this thread:
This means you changed a class while it was debugging an application and it could not update the class for the application while it was running.
The error suggests you may be running an older JVM, i.e. pre-1.4.2 but this error can occur with any JVM if the change is incompatible with the previous version of the class.
Check carefully what JRE you are using in your debug session.
Also check you are deploying classes compiled with the debug attribute set. (see this thread)
Finally, as indicated here:
did you switch "Project->Build Automatically" off?
Hot code replacement works (only?) if automatic build is switched on...
I was running into this issues too. I found a build hiding in the backgound that was giving me fits. Check to make sure you have all tests/builds closed or completed. Nonetheless, you can still run the new code.
Whenever this error message appears it also gives options to terminate or restart. Select Terminate and it will terminate any running debug case which you are unable to locate.
if you have multiple projects involved, and multiple jre's installed, make sure all dependent projects are using the same javac/jre
Make sure your application server JRE and Eclipse JRE version should be same or else it will throw unsupported class version and hot code debug will not work.
I went to the same Problem,But my Debugging session ended hours ago.But still ECLIPSE error kept coming.
So I just simply restart the ECLIPSE IDE, then the problem just solved.
When I start a Weblogic Server 11gR1 (10.3.1) in the server tab in Eclipse (3.4.2) I immediately get an error popup: Starting ... has encounterd a problem. Server ... failed to start.
However the starting continues and the server ends up in RUNNING mode after some 8 seconds.
No ears deployed, fresh domain and/or server instance.
It used to work fine and I didn't change any configuration as far as I am aware.
Any ideas?
A new server runtime makes no difference. But when I start the server in debug mode, there is no error popup.
When I start the server normally the error pops up and the server starts in debugging state. Remarkable, because while creating the server runtime I did not check the box "always start Weblogic Server in debug mode".
A new workspace and new server runtime solved the problem.
Maybe your Server Runtime is corrupted. Try to drop it and recreate it.
Also, try adding a -clean option to your eclipse startup.