- This topic has 12 replies, 4 voices, and was last updated 19 years, 4 months ago by bjnst6.
-
AuthorPosts
-
ArnaudMemberHello,
I use Eclipse 3.0.2 and MyEclipse 3.8.4.
I tried to run Tomcat 5.5 or Tomcat 4.1 in debug mode using MyEclipse with JDK 5 upgrade 3.
But I get error below:
URLClassPath$JarLoader.getJarFile(URL) line: 577
URLClassPath$JarLoader.<init>(URL, URLStreamHandler, HashMap) line: 546
org.apache.catalina.startup.Bootstrap at localhost:1919
Thread [main] (Suspended (exception FileNotFoundException))
URLClassPath$JarLoader.getJarFile(URL) line: 577
URLClassPath$JarLoader.<init>(URL, URLStreamHandler, HashMap) line: 546
URLClassPath$3.run() line: 324
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not available [native method]
URLClassPath.getLoader(URL) line: 313
URLClassPath.getLoader(int) line: 290
URLClassPath.getResource(String, boolean) line: 160
URLClassLoader$1.run() line: 192
AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method]
StandardClassLoader(URLClassLoader).findClass(String) line: 188
StandardClassLoader.findClass(String) line: 574
StandardClassLoader.loadClass(String, boolean) line: 911
StandardClassLoader.loadClass(String) line: 810
StandardClassLoader.loadClass(String, boolean) line: 894
StandardClassLoader.loadClass(String) line: 810
Bootstrap.main(String[]) line: 129Could you help me please?
Thanks a lot!
Regards, Arnaud.
Riyad KallaMemberArnaud,
Where is that error being display? What happens when you use the app server launch button and click Start? What is the ENTIRE console contents when Tomcat tries to startup?
ArnaudMemberHi Support,
So error is displayed in Debug console output of Eclipse.
Click on app server button and start (MyEclipse plugin) is exactly what I did.Here is all I get in Debug console:
URLClassPath$JarLoader.getJarFile(URL) line: 577
URLClassPath$JarLoader.<init>(URL, URLStreamHandler, HashMap) line: 546
URLClassPath$3.run() line: 324
org.apache.catalina.startup.Bootstrap at localhost:2087
Thread [main] (Suspended (exception FileNotFoundException))
URLClassPath$JarLoader.getJarFile(URL) line: 577
URLClassPath$JarLoader.<init>(URL, URLStreamHandler, HashMap) line: 546
URLClassPath$3.run() line: 324
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not available [native method]
URLClassPath.getLoader(URL) line: 313
URLClassPath.getLoader(int) line: 290
URLClassPath.getResource(String, boolean) line: 160
URLClassLoader$1.run() line: 192
AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method]
Launcher$AppClassLoader(URLClassLoader).findClass(String) line: 188
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 306
Launcher$AppClassLoader.loadClass(String, boolean) line: 268
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 251
Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: 319
Bootstrap.<clinit>() line: 53
Riyad KallaMemberI would like you to download and install JDK 1.4.2_08 and then configure your Tomcat 4 and 5 connectors to use that JDK to launch Tomcat with and see if that works.
bjnst6MemberHas anyone come to a resolution to fix titeufhack’s original problem? I’m receiving the same error but do not have the option of switching tomcat versions or jdk versions.
Thanks!
bryan
Riyad KallaMemberBryan,
Does Tomcat run when you launch it externally using the Batch file?
bjnst6MemberSure does. It also runs fine if I check “Don’t run Tomcat in Debug Mode” under the Tomcat >> JVM Settings.
Riyad KallaMemberTry this:
1) Restart MyEclipse using the -clean command line argument as outlined here: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343
If that doesn’t help try:
2) File > Switch Workspace > C:\tempworkspace, hit OK to restart. Now re-setup Tomcat 5.5 and try and run it, did it work?
bjnst6MemberInteresting.
The first option did not work. However, the second did. This of course leaves me with the chore of migrating my workspace over to this new “tempworkspace” doesn’t it?
Thanks Riyad!
Riyad KallaMemberYes it does, but this can be fairly painless.
1) File > Export > Preferences.
(load new workspace, preferably with a better name if you decided)
2) File> Import > Prefernces
3) File > Import Existing Projectit should be fairly smooth.
bjnst6MemberI forgot about that feature. That shouldn’t be too hard.
Two more questions: 1) Is there a way to also export my projects as well, or should I just set them up again. It’s not a big deal, but I just didn’t want to do more work than I had to!
And 2) Okay, so we kind of circumvented the problem here…but what actually caused it? I’m guessing it had to be something specific to that particular workspace, but what was it and what will prevent it from happening again?
Thanks Riyad. You have been very helpful!
bryan
Scott AndersonParticipant1) Is there a way to also export my projects as well,
You don’t need to export them. Simply move them, using the windows package explorer, into the directory where you’ve set up the new workspace and then use File > Import to bring them all in at once.
2) Okay, so we kind of circumvented the problem here…but what actually caused it? I’m guessing it had to be something specific to that particular workspace, but what was it and what will prevent it from happening again?
That’s a harder question. It could be some meta-information that the debugger, java system, or something else keeps around or something else that has “gone bad”. Did you try forcing a full rebuild of your old workspace before migrating to the new one? Did that help?
bjnst6MemberYeah, I did try that…but no dice. Oh well, I guess the answer could pop up in the future…
Thank you for your time. I truly appreciate it!
bryan
-
AuthorPosts