- This topic has 11 replies, 2 voices, and was last updated 19 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
wperez23MemberI have a tomcat 5 app server set up. all of a sudden, when i click the “deploy to j2ee server” button on the toolbar, nothing happens.
i’m on 3.0.2
build is: 200503110845pls help.
Riyad KallaMemberWhat version of MyEclipse? (Window > Preferences > MyEclipse)
If you highlight the tomcat deployment, what is the message down in the status box say? Is there anything in your log file? (workspace dir)\.metadata\.log
wperez23MemberIt says Version: 3.0.1.. sorry, got it wrong above.
“highlight the tomcat deployment..” – I don’t know what you mean here.
the log file did have something interesting. here it is:
!ENTRY org.eclipse.core.runtime 4 2 Mar 30, 2005 11:49:53.593
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.loadFromPreferences(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.init(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.<init>(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.getDefault(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.�(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.access$0(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor$B.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.resourceChanged(Unknown Source)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1400)
at org.eclipse.core.internal.resources.Workspace.save(Workspace.java:1707)
at org.eclipse.ui.internal.ide.IDEWorkbenchAdvisor$5.run(IDEWorkbenchAdvisor.java:468)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
wperez23Member[ignore this msg]
wperez23Memberwhy has this been closed?? no one has answered my question.
??????????????
Riyad KallaMemberwhy has this been closed?? no one has answered my question.
That was my mistake, I misinterpreted your “ignore this msg” comment to read “ignore this post”.
What version of MyEclipse? (Window > Preferences > MyEclipse)
I still need to know the answer to this, navigate to the menu items I gave above and tell me the version listed.
It says Version: 3.0.1.. sorry, got it wrong above.
Ok version 3.0.1 is fine, but the Build ID of “200503110845”, is NOT the right date for Eclipse 3.0.1, so I still don’t know what version you are running or of it was a nightly or milestone build. FYI: It must be Eclipse SDK 3.0.1 GA or 3.0.2 GA.
!ENTRY org.eclipse.core.runtime 4 2 Mar 30, 2005 11:49:53.593
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.loadFromPreferences(Unknown Source)Looks like some prefs got borked… try this tip: http://myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343
wperez23Membersorry, under pref->myeclipse it says:
version: 3.8.4+QF2
build id: 200502031200-3.8.4+QF2i’ve been screwing around w/ updating and enabling/disabling features, which is prob why the discrepancy before.. but i’m done messing with it now. the above info is good to use.
i tried using the -clean command arg.. nice to know, but didn’t work. i also tried eclipse.exe -unbork, but that didn’t work either. :o)
wperez23Memberis there another forum where i should try posting this problem? the response here is not nearly prompt enough. i can’t wait another two days to get this resolved, so i guess i’m looking at completely re-installing myeclipse..????
can anyone, moderator or otherwise, point me in the right direction to get this problem resolved… or at least some pearls of wisdom for re-installing myeclipse?
thanks in advance.
Riyad KallaMember1 more thing to try:
1) Start up MyEclipse, File > Switch Workspace > C:\testworkspace, hit OK, let Eclipse restart.
2) Now try the deploy button.If it is still broken then you are correct, this is an install issue and you will need to reinstall Eclipse 3.0.2 SDK and MyEclipse 3.8.4. However, since everything is stored in your workspace, “Reinstalling” E and ME isn’t as time consuming as you might think, just reinstall and point it at your old workspace and it will pickup all the settings and you will be back in action.
NOTE: If you have your workspace in the default location (under Eclipse dir) be sure to move it or copy it before you erase the old Eclipse/MyEclipse install so you don’t take your workspace with it. Also be sure to start the new install with -clean when pointing at the old workspace so it can rebuild cache.
wperez23Memberokay, so switching to a different workspace location made the button work. but how does that help me? i need all the stuff from my old workspace.. what’s the next step here?
wperez23Memberwell, i’m rebuilding all my projects from cvs, re-doing all my settings.. and then i guess i’ll just copy the newly created workspace to the original location and it should be ok. what a pain.
unless you have any further suggestions, i suppose this can be closed. thanks.
Riyad KallaMemberBecause this was due to an issue with the workspace state, I was hoping that -clean would correct the issue, but as you mentioned you already ran it. I agree this is a pain and certainly not something that (has happened) or should ever happen. I would like to try and reproduce this locally, can you give me more information about the steps you took or changes you made (plugin install/uninstall) right before the button stopped working? Did Eclipse crash at any point? Did you zip/unzip your workspace? Do you share a workspace on a networked drive? Is the disk bad? Did you defragment it recently? These types of details.
-
AuthorPosts