Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314771 - www-server/resin-4.0.5 fails to start with java.lang.NoClassDefFoundError: javax/el/ELContext
Summary: www-server/resin-4.0.5 fails to start with java.lang.NoClassDefFoundError: ja...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 05:46 UTC by Sok Ann Yap
Modified: 2010-04-19 23:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Diff to create a symlink to resin-servlet-api.jar (resin-missing-jar.diff,428 bytes, patch)
2010-04-19 05:36 UTC, Sok Ann Yap
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sok Ann Yap 2010-04-12 05:46:41 UTC
I couldn't get www-server/resin-4.0.5 to start:

# /etc/init.d/resin start
 * Starting Resin ...
Exception in thread "main" java.lang.NoClassDefFoundError: javax/el/ELContext
        at com.caucho.boot.ResinBoot.<init>(Unknown Source)
        at com.caucho.boot.ResinBoot.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.el.ELContext
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 2 more                                                                                                                                                         [ !! ]
 * ERROR: resin failed to start

However, after making a symlink to resin-servlet-api.jar in /usr/share/resin/lib, then /etc/init.d/resin start works.

Reproducible: Always
Comment 1 Sok Ann Yap 2010-04-19 05:36:20 UTC
Created attachment 228351 [details, diff]
Diff to create a symlink to resin-servlet-api.jar
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-19 23:04:43 UTC
This is fixed in Resin 4.0.6.