- This topic has 7 replies, 2 voices, and was last updated 18 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
rkgeorgeMemberHi,
I have been using MyEclipse for awhile but had to do a reinstall recently.
Since then I have had trouble with jsp compilation.
If I run my webapp using a Windows service to start Tomcat, the jsp files
compile as expected. However, when using the MyEclipse Tomcat service start, the
jsp files are not compiled and the Eclipse is switched to Debug mode with the
following line:
Source not found for Scanner.getNextToken() line: 883
The line: 883 is the same regardless of the jsp file.The jsp file is written to the Tomcat work path
..\Apache Software Foundation\Tomcat 5.5\work\Catalina\localhost\Test\org\apache\jsp\security\login_jsp.java
but the compilation errors out?I also tried the Eclipse -clean startup with no change.
I have double checked that the Tomcat JDK points to the JDK root:
E:\Program Files\Java\jdk1.5.0_04I hope there is some minor setting I have forgotten since I depend heavily on
MyEclipse. It’s the best IDE I have used!thanks
randyWhat operating system and version are you running?
Windows 2003 serverWhat Eclipse version and build id are you using? (Help > About Eclipse Platform)
Eclipse Platform Version: 3.0.1Build id: 200409161125– Was Eclipse freshly installed for MyEclipse?
Yes– If not, was it upgraded to its current version using the update manager?
n/a– Are any other external plugins installed?
Yes– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
Version: 3.8.4 Build id: 200501171200-3.8.4What JDK version are you using to run Eclipse? (java -version)
jdk1.5.0_04What JDK version are you using to launch your application server?
jdk1.5.0_04What steps did you take that resulted in the issue? see above
What application server are you using?
Apache Tomcat/5.5.9Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
no
Riyad KallaMemberWhen you run Tomcat from MyEclipse, and it switches to the debug perspective, can you click the “Breakpoints” view, and thenr ight click “Remove all” and then hit the Play button to continue.
I don’t quite understand what the problem is when you run through MYEclipse, does the Tomcat server get stuck at a phantom breakpoint OR something else?
rkgeorgeMemberI’m not sure I follow your suggestion. There do not appear to be breakpoints just a red text:
Source not found for Scanner.getNextToken() line: 883The Debug tab shows a list of threads. At thread 22 it shows:
Thread[http-80-Processor22](Suspended(exception ArrayIndexOutOfBoundsException))
Scanner.getNextToken() line: 883
Parser.parse()line:5430
.
.Interestingly if I right select the Thread 22 and click resume, compilation of the jsp completes without further complaint?
randy
Riyad KallaMemberThis is the ghost breakpoint issue we have seen before, normally using -clean fixes it, but as you mentioned it didn’t help. The solution is to create a new workspace and reimport your projects into it. We have been unable to track down why breakpoints are getting set or where they come from, and it happens very infrequently. I’ve had it happen once to me, and I know 2 other users that had it happen. In all cases a new workspace fixed it and it never came back.
rkgeorgeMemberHi,
Yes, that worked. Too bad it’s so much work to import all my existing projects into a new workspace.
thanks
randy
Riyad KallaMemberToo bad it’s so much work to import all my existing projects into a new workspace.
File > Import Existing Project?
rkgeorgeMemberHi,
File > Import Existing Project? times 64!
Is this problem in the Eclipse 3.1 version as well?
thanks
Riyad KallaMemberIs this problem in the Eclipse 3.1 version as well?
I can’t say with any level of certainty if it is or isn’t, but I’ve not seen this issue reported with Eclipse 3.1 on the forums nor have I run into it personally on 3 separtae active workspaces in my own work. So I would hope it’s not.
-
AuthorPosts