- This topic has 6 replies, 3 voices, and was last updated 18 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
star2323MemberOk I have Java JDK 1.5.0_08 installed and configured. I have Eclipse 3.2.0 and MyEclipse 5.0 installed and configured. I have Resin 3.0.21 installed and configured. But when I got to start Resin through Eclipse I keep getting the following error:
Starting Resin on Thu, 07 Sep 2006 13:55:19 -0500 (CDT)
java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/JTAStats
at com.caucho.loader.EnvironmentClassLoader.initializeEnvironment(EnvironmentClassLoader.java:581)
at com.caucho.server.resin.Resin.init(Resin.java)
at com.caucho.server.resin.Resin.main(Resin.java:625)
java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/JVMStats
at com.caucho.server.resin.ResinServer.start(ResinServer.java:536)
at com.caucho.server.resin.Resin.init(Resin.java)
at com.caucho.server.resin.Resin.main(Resin.java:625)Any ideas? I can start Resin outside of Eclipse and it runs fine.
September 10, 2006 at 11:32 am #258328
Riyad KallaMemberThis is a bug, you need to modify your Resin connector settings and explicitly add the management JAR to your classpath, for some reaso our Resin connector isn’t picking it up, but it’s a quick and easy workaround. Sorry for the trouble.
September 11, 2006 at 8:56 am #258380
star2323MemberGot it working.
Thanks
September 16, 2006 at 12:07 pm #258627
novakosMember@star2323 wrote:
Got it working.
Thanks
Hello!
I have the same problem: java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/JTAStats
but I do not know how to solve the problem, can somebody help me?
I do not how to set “Resin connector settings and explicitly add the management JAR to your classpath”.Thanks
September 18, 2006 at 7:26 am #258652
star2323MemberGoto to where you setup Resin under Preferences – MyEclipse – Application Servers. Then go to Paths under Resin and add the j2ee-management-10.jar JAR under “Prepend to classpath”. The management JAR is located in the lib directory in the Resin directory.
September 18, 2006 at 8:30 am #258653
novakosMemberAppreciate the help, thank you, I got it working working 🙂
September 29, 2006 at 4:21 pm #259602
Riyad KallaMemberGlad to hear it’s working now.
-
AuthorPosts