- This topic has 5 replies, 2 voices, and was last updated 17 years, 8 months ago by JonathanOddy.
-
AuthorPosts
-
JonathanOddyMemberThe last couple of days, in particular today, I’ve had to restart Eclipse/MyEclips a lot (probably once every 90 minutes) because when I hit the “start app server” button I get the following:
!ENTRY org.eclipse.core.jobs 4 2 2007-03-14 16:47:23.982 !MESSAGE An internal error occurred during: "Server Restart". !STACK 0 org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.widgets.Widget.error(Widget.java:435) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:271) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:357) at org.eclipse.jface.window.Window.createShell(Window.java:482) at org.eclipse.jface.window.Window.create(Window.java:425) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1124) at org.eclipse.jface.window.Window.open(Window.java:785) at com.genuitec.eclipse.easie.core.ui.action.ServerStartAction.basicRun(Unknown Source) at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source) at com.genuitec.eclipse.easie.core.ui.action.ServerRestartAction$1.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
I am running the 5.5.0 Milestone 1 release of MyEclipse from your “install everything” bundle. I am using Tomcat 5.5.17 as my container, and have been doing for months without issue. Not much to go on, but any help appreciated.
Riyad KallaMemberThis issue is common on Linux when using an expired Trial… I’m assuming you are on windows because the All-In-One installer is Windows only right now.
Let’s first try and restart using the -clean command line argument as outlined here:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.htmlif that doesn’t work, then try a new workspace as outlined here:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-14682.htmlAnd if that doesn’t work, let me know if the problem is still as reproducable and we can try some other things. NOTE when trying a new workspace, setup the app server first before importing anything, and just try and start and stop it and see if it works fine, THEN do the import of the projects and preferences and try again.
JonathanOddyMemberThanks for the info, yes I am Windows-based. I’ll try your suggestions shortly and see what happens.
JonathanOddyMemberToday I’ve not had a reoccurance of the problem!?
Thinking about it, I’d guess that the -clean would have probably sorted to problem (don’t know because it’s not happened again) because yesterday I upgraded my YourKit profiler, which put the new version in a different subdirectory. This initially caused the above symptom, but the logs said “Can’t find yourkit” (or similar) which was fair because the directory had changed. So I removed their agent parameters from my Tomcat configuration and started again. And since then lots of problems… so may be Eclipse’s cache got screwed up (although not all attempts to start my server failed).
Anyhow today I am stable, and monitoring the situation. All I can say is by this time yesterday I’d needed umpteen restarts of Eclipse.
Riyad KallaMemberI’m glad things have settled down now and are behaving more consistently.
JonathanOddyMemberI spoke too soon:( Today I have *definitely* done nothing special/out of the ordinary, and just after posting my last response… yes it happend again. Now the interesting thing here, and I can’t say whether this is/was true of yesterday or not because I didn’t try it. But today (just now) when I get this problem pressing the “run server” icon, however _without_ restarting Eclipse if I select the drop down menu next to the icon, then Tomcat 5, then Start… it starts!!
I don’t have time to restart (-clean) just yet now that I have something that still works, but will try later today.
-
AuthorPosts