- This topic has 25 replies, 3 voices, and was last updated 20 years ago by Riyad Kalla.
-
AuthorPosts
-
Keith FettermanMemberFor some reason JSP validation has stopped working. It use to work and I never turned it off. Any ideas on why it would stop?
I have checked in the preferences to make sure JSP validation is on. I tried “clearing validation markers” and then re-validating the file. I have entered invalid code in a scriptlet in a JSP file and then ran validation on it. The message back is validation complete and no compilation errors identified.
I checked the log to see if there were any Java errors. Nothing.
I am running eclipse 3.0.1 with myeclipse 3.8.2 with both hot fixes installed.
I am running eclipse on RHE 3 WS.Please help.
Riyad KallaMemberThis sounds like the JSP validator can’t find “javac” in your path, you can fix this by launching Eclipse with the -vm argument and pointing directly at a JDK install to us:
eclipse -vm /opt/j2sdk1.4.2_05/bin/javaThat way MyEclipse can find the javac executable and use it for validation.
Keith FettermanMemberI tried your suggestion and it didn’t work. I ran the following command:
./eclipse -vm /usr/java/j2sdk1.4.2_06/bin/java
– I then removed all MyEclipse validation markers from the project.
– Next, I editted a JSP file, creating an invalid Java statement in a scriptlet.
– I then saved the file.
– Next, I right clicked on the mouse to get the context menu and ran MyEclipse/Run Validation on the file.MyEclipse use to flag that file with a compilation error when I saved it. Now, it didn’t mark the file with the red x symbol. When I ran the validation, it said validation complete and no errors.
Riyad KallaMemberSomething odd is afoot here… double check your log file (workspace dir\.metadata\.log) and make sure there are no errors having to do with the text “javac” in it, if there are then we need to try other things.
Also close your JSP file, right click > Open With and make sure “MyEclipse JSP Editor” is the default. Lastly, what version of MyEclipse and Eclipse are you using? (Help > About should be fine).
Keith FettermanMemberThanks for working on Saturday.
I tried all of the things in your last post. The default editor for JSP files is “MyEclipse JSP Editor”. The version info is:
Eclipse:
Version: 3.0.1
Build id: 200409161125MyEclipse from the MyEclpse preferences:
Version: 3.8.2+QF20041020
Build id: 200410041200-3.8.2+QF20041020I checked the .log for javac errors. The last error msg that contained javac error was back on 12/31/04. These errors were related to one of my JSP files being compiled by MyEclipse, and it had detected a compilation error.
No errors after that. I even searched the log for other entries that contained “com.genuitec.”, and the only thing I have since 12/31/04 are some sqlexplorer errors.
Riyad KallaMemberKeith,
Asked a dev about this and here is something else we wanted you to try:1) Close all your projects (and editors)
2) Shut down MyEclipse
3) Edit your shortcut and add the -clean command line argument
4) Start MyEclipse again
** Note: Make sure autobuild is on, Project > Autobuild (make sure its checked), this could be why no validation errors are showing
5) Open the project in question, Project > Clean
** Note: Autobuild should now kick in and rebuild the entire projectDid you get any markers? If not, try and change a file and save it.
Make sure you have Automatic build on resource modifcation turned on under the workbench preferences, this is what hooks the validation process into the “save” feature, it might have gotten turned off.
Keith FettermanMemberNo luck. Tried all of your steps and it still does not identify a problem in a JSP file.
Scott AndersonParticipantDo you have other validation errors in the same project? There is a maximum (default of 25) for the number of errors that will be marked in a given project and if you go over that additional errors will not be flagged. Also, are you positive you’re using our JSP editor? Are there any log entries?
Keith FettermanMemberThere are no other validation or compilation errors.
Under Window > Preferences > Workbench > File Associations, it shows JSP files default editor as MyEclipse JSP Editor.
No log entries. My last log entry was MyEclipse sqlexplorer complaining about a mistake I made in some SQL and that was back on 1/15/05.
Riyad KallaMemberA bit extreme, but can you try a brand new install of Eclipse/MyEclipse parallel to your current install and see if that atleast works?
Keith FettermanMemberI installed a new eclipse 3.0.1 and then did a new manual install of MyEclipse 3.8.2. I then deployed both quickfixes 3.8.2_QuickFix-20041004 and 3.8.2_QuickFix-20041020.
I kept my original workspace and project.
No change. Problem is still not fixed.
I did see the following messages in the workspace/.metadata/.log file:
!SESSION Jan 19, 2005 09:11:01.683 ---------------------------------------------eclipse.buildId=M200409161125 java.version=1.4.2_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.684 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.deploytools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.706 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.707 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.hibernatetools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.707 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.webtools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.709 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.jsftools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.709 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.strutstools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.251 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.deploytools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.252 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.252 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.hibernatetools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.253 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.webtools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.253 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.jsftools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.254 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.strutstools
But, these might be from my starting up the new instance of eclipse without closing all of the perspectives first, which several were MyEclipse.
The only thing else I can think to try is to create a new workspace and check the project out of CVS again.
Riyad KallaMember1) You are using the Eclipse SDK (~85mb) right? (not the RCP, PLatform or JDT?)
2) Can you try using MyEclipse 3.8.3 instead of 3.8.2+QFs?
Keith FettermanMember1) You are using the Eclipse SDK (~85mb) right? (not the RCP, PLatform or JDT?)
Yes. Eclipse/MyEclipse was working before. Here is the name of the installer that I used to install eclipse: eclipse-SDK-3.0.1-linux-gtk.zip
2) Can you try using MyEclipse 3.8.3 instead of 3.8.2+QFs?
I can. I was planning on going to 3.8.3 after I finish my project. When I installed 3.8.2, I had so many problems with MyEclipse. With the addition of QF2, it was finally stable, and I didn’t want to disturb it until I had time to troubleshoot. 🙂
I will try installing 3.8.3. can I upgrade from 3.8.3 + QF2? Are there any QF’s for 3.8.3?
Riyad KallaMember3.8.3 was a good stable release and 3.8.4 is turning to be even more so (we are testing 3.8.4 right now, should be out by the end of this week or beginning of next). You may just consider upgrading to 3.8.4 when its out if you can wait until then?
Scott AndersonParticipant!SESSION Jan 19, 2005 09:11:01.683 ---------------------------------------------eclipse.buildId=M200409161125 java.version=1.4.2_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.684 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.deploytools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.706 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.707 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.hibernatetools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.707 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.webtools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.709 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.jsftools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:01.709 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.strutstools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.251 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.deploytools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.252 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.252 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.hibernatetools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.253 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.webtools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.253 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.jsftools !ENTRY org.eclipse.ui 4 4 Jan 19, 2005 09:11:15.254 !MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.strutstools
These messages show that MyEclipse cannot be found in the installation at all. Restarting with the -clean commandline option might clear the issue. However, in the current configuration with these messages, MyEclipse won’t be usable.
-
AuthorPosts