You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Douglas José <do...@gmail.com> on 2009/08/18 23:26:21 UTC
NoClassDefFound in /var/classes
Hi,
I'm forwarding a message on behalf of a friend, who can't post to this
forum. It was already sent to the CRX mailing list, but we think here is the
most appropriated place.
Best regards,
Douglas
--
Hi all,
I upgraded from CRX 1.4.1 to 1.4.2 SP1.
I have a class under /var/classes, and there was originally this error after
the upgrade:
****************
17.08.2009 19:49:21.167 *INFO* [Repository Pinger]
com.day.crx.sling.com.day.crx.sling.client pin
gAndCheck; loginAdministrative failed (javax.jcr.LoginException)
javax.jcr.LoginException
****************
Well, in the felix console, I changed any occurance of the admin password I
could find, and the authentication problem went away, but now a
NoClassDefFoundError occurs:
****************
17.08.2009 20:55:05.799 *ERROR* [127.0.0.1 [1250535305423] GET
/content/sdt/bla.html HTTP/1.1] or
g.apache.sling.engine.impl.SlingMainServlet service: Uncaught SlingException
java.lang.Exception:
Wrapping Throwable: java.lang.NoClassDefFoundError:
net/proxymit/rome/SlingUtil
at
org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEn
gineFactory.java:358)
...
****************
Interesting enough, JSPs are working completely fine, i.e. they can called,
re-compiled and so on without problems. The above class and the compiled
JSPs have the same rights. And one more observation: on a 2nd machine with
an unchanged admin password, the above SlingUtil class can be called without
problem.
Any idea?
Thanks,
Juerg
--
Douglas Jose
http://douglasjose.com
- "Use free software. Help us make a free world."
Re: NoClassDefFound in /var/classes
Posted by Felix Meschberger <fm...@gmail.com>.
Hi,
Douglas José schrieb:
> Hi,
>
> I'm forwarding a message on behalf of a friend, who can't post to this
> forum. It was already sent to the CRX mailing list, but we think here is the
> most appropriated place.
>
> Best regards,
>
> Douglas
>
> --
> Hi all,
>
> I upgraded from CRX 1.4.1 to 1.4.2 SP1.
>
> I have a class under /var/classes, and there was originally this error after
> the upgrade:
>
> ****************
> 17.08.2009 19:49:21.167 *INFO* [Repository Pinger]
> com.day.crx.sling.com.day.crx.sling.client pin
> gAndCheck; loginAdministrative failed (javax.jcr.LoginException)
> javax.jcr.LoginException
> ****************
>
> Well, in the felix console, I changed any occurance of the admin password I
> could find, and the authentication problem went away, but now a
Where did you find this ? I would expect it at a single location: the
configuration of the repository accessor.
> NoClassDefFoundError occurs:
> ****************
> 17.08.2009 20:55:05.799 *ERROR* [127.0.0.1 [1250535305423] GET
> /content/sdt/bla.html HTTP/1.1] or
> g.apache.sling.engine.impl.SlingMainServlet service: Uncaught SlingException
> java.lang.Exception:
> Wrapping Throwable: java.lang.NoClassDefFoundError:
> net/proxymit/rome/SlingUtil
> at
> org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEn
> gineFactory.java:358)
> ...
> ****************
> Interesting enough, JSPs are working completely fine, i.e. they can called,
> re-compiled and so on without problems. The above class and the compiled
> JSPs have the same rights. And one more observation: on a 2nd machine with
> an unchanged admin password, the above SlingUtil class can be called without
> problem.
>
> Any idea?
Cannot tell about the SlingUtil class, maybe its signature has changed
or there was a package update and the bundles are not refreshed, or ...
Have you tried the brute-force way of removing /var/classes altogether ?
Regards
Felix
>
> Thanks,
>
> Juerg
>
>