- This topic has 9 replies, 4 voices, and was last updated 18 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
Rajendra V AuradkarMemberWhen I run Resin 2.0.5 I get the following errors. I fixed the path to include the “bin” of the Resin installation. I am running eclipse 2.0.5 and JDK 1.4.1.
Thanks in Advance
Raj AuradkarCould not load Logmanager “com.caucho.log.LogManagerImpl”
java.lang.ClassNotFoundException: com.caucho.log.LogManagerImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.util.logging.LogManager.<clinit>(LogManager.java:141)
at java.lang.System.initializeSystemClass(System.java:882)
Resin 2.0.5 (built Fri Jan 11 08:29:05 PST 2002)
Copyright(c) 1998-2001 Caucho Technology. All rights reserved.Starting Resin on Tue, 18 Nov 2003 09:46:05 -0600 (CST)
http listening to *:8080
srun listening to 127.0.0.1:6802
java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:552)
at com.caucho.server.http.ServletServer.init(ServletServer.java:427)
at com.caucho.server.http.ResinServer.init(ResinServer.java:407)
at com.caucho.server.http.ResinServer.main(ResinServer.java:963)
at com.caucho.server.http.HttpServer.main(HttpServer.java:102)
Rajendra V AuradkarMemberA correction Please, I am running
Resin 2.0.5
Eclipse 2.1.1
JDK 1.4.1Thanks,
Raj Auradkar
Scott AndersonParticipantRaj,
Can you please post all the information we request in the ‘Posting Guidelines’ thread on the support forum? Once we have all that information we’ll be able to help you better.
–Scott
MyEclipse Support
Rajendra V AuradkarMemberSoctt,
Here is the information you asked.What operating system and version are you running? Microsoft Windows XP Professional
What Eclipse version and build id are you using? (Help > About Eclipse Platform) Version: 2.1.0 Build id: 200303272130
– Was Eclipse freshly installed for MyEclipse? – No
– If not, was it upgraded to its current version using the update manager? – No
– Are any other external plugins installed? – No
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* – 7
What MyEclipse version are you using? (Help > About Eclipse Platform > Features) – 2.6.4
What JDK version are you using to run Eclipse? (java -version) – 1.3.1
What JDK version are you using to launch your application server? – 1.4.1
What steps did you take that resulted in the issue? – Configured Resin 2.0.5 as per instructions including setting the bin direcotry for Resin “paths/add to library path”
What application server are you using? – Resin 2.0.5
Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log) – NoThanks,
Raj Auradkar
Scott AndersonParticipantRaj,
The problem you’re seeing with the log manager exception is caused by running on JDK 1.4.1. I see the same thing with Resin 2.1.11 and JDK 1.4.1. But, Resing seems to work fine, except for this. Changing the JDK used to launch Resin 2 to JDK 1.3.1 gets rid of the exception completely. I have a feeling this interaction problem is caused because Resin 2 was developed for JDK 1.3.1, not for JDK 1.4 and doesn’t appear to be 100% 1.4 compatible.
So, to resolve the issue you can run with JDK 1.4.1, to get hotswap debugging, and ignore the exception, or use JDK 1.3.1 to remove the exception, or upgrade to Resin 3.0.
–Scott
MyEclipse Support
Rajendra V AuradkarMemberScott,
It fixed the first problem, but not the second. Here is the problem (what jar file do i need?)Resin 2.0.5 (built Fri Jan 11 08:29:05 PST 2002)
Copyright(c) 1998-2001 Caucho Technology. All rights reserved.Starting Resin on Wed, 19 Nov 2003 14:59:51 -0600 (CST)
http listening to *:8080
srun listening to 127.0.0.1:6802
java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:552)
at com.caucho.server.http.ServletServer.init(ServletServer.java:427)
at com.caucho.server.http.ResinServer.init(ResinServer.java:407)
at com.caucho.server.http.ResinServer.main(ResinServer.java:963)
at com.caucho.server.http.HttpServer.main(HttpServer.java:102)Thanks,
Raj Auradkar
Scott AndersonParticipantRaj,
It’s in jta_101.jar in the resin lib directory.
–Scott
MyEclipse Support
Rajendra V AuradkarMemberScott,
Thanks a lot! I did an explicit include of the JAR and it works. Saves me oodles of time. I am sold on MyEclipse!
Raj Auradkar
Erik MattheisMemberI know this is an ancient thread, but I recently setup a Resin instance to mirror the configuration of a hosting provider we’re looking at. They use Resin 2.1.14 with Java 5.0, and I hit this issue when I first tried to launch Resin. After some digging, I found that you can make it work just fine if you add -Xbootclasspath/p:$RESIN_JARS to the Optional Java VM Arguments. Replace $RESIN_JARS with a colon-separated (or semicolon on windows) list of the paths to all the JARs in the $RESIN_HOME/lib directory. In my case, the argument looks like this:
-Xbootclasspath/p:/Developer/Applications/resin-2.1.14/lib/dom.jar:/Developer/Applications/resin-2.1.14/lib/jaxp.jar:/Developer/Applications/resin-2.1.14/lib/jdbc-mysql.jar:/Developer/Applications/resin-2.1.14/lib/jdbc2_0-stdext.jar:/Developer/Applications/resin-2.1.14/lib/jmx.jar:/Developer/Applications/resin-2.1.14/lib/jndi.jar:/Developer/Applications/resin-2.1.14/lib/jsdk23.jar:/Developer/Applications/resin-2.1.14/lib/jta_101.jar:/Developer/Applications/resin-2.1.14/lib/resin.jar:/Developer/Applications/resin-2.1.14/lib/sax.jar:/Developer/Applications/resin-2.1.14/lib/webutil.jar
Hope that helps someone, would be nice if the launcher would handle that…
Riyad KallaMemberIronDuck great followup, thank you for taking the time to post it.
-
AuthorPosts