[prev in list] [next in list] [prev in thread] [next in thread] 

List:       shibboleth-dev
Subject:    Re: NoClassDefFoundError: org/opensaml/xml/ConfigurationException
From:       Brad Cox <bradjcox () gmail ! com>
Date:       2011-10-07 15:57:09
Message-ID: CAH2etF4hNnWc=M9e51we4H3Ex8ZgA_tsb5+Wc6_vVth2J1jqMQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Is there reason to doubt that glassfish/domains/domain1/lib/endorsed
wouldn't work? That would make the endorsed libs local to domain1 instead of
glassfish-wide.

The good news is, managed to get past this (and into the next problem). The
bad news is I've no idea what fixed it; just fiddling version numbers AFAIK.

On Fri, Oct 7, 2011 at 7:54 AM, Rob Brownsell <R.J.Brownsell@sussex.ac.uk>wrote:

> With Glassfish, I believe you can put jars inside the main lib installation
> directory, outside of the domain. We're using Glassfish and have put some
> general jars (like log4j) in there and they've been picked up ok.
>
>
> -----Original Message-----
> From: dev-bounces@shibboleth.net [mailto:dev-bounces@shibboleth.net] On
> Behalf Of Chad La Joie
> Sent: 07 October 2011 12:51
> To: Shib Dev
> Subject: Re: NoClassDefFoundError: org/opensaml/xml/ConfigurationException
>
> I can only assume the error means what it says.  You'll need to go to
> the Glassfish docs/list and find out how it constructs its classpath.
> Because something there is messed up.
>
> On Thu, Oct 6, 2011 at 21:08, Brad Cox <bradjcox@gmail.com> wrote:
> > Could someone explain what this means and how to fix it? Thanks
> > Context: glassfish/domains/domain1/lib/endorsed contains files specified
> on
> > the wiki:
> >
> > resolver-2.9.1.jar
> > serializer-2.9.1.jar
> > xalan-2.7.1.jar
> > xercesImpl-2.9.1.jar
> > xml-apis-2.9.1.jar
> >
> > Pom specifies the same versions for the above marked provided.
> > Pom specifies opensaml, xmltooling and openws latest versions
> > from http://shibboleth.internet2.edu/downloads/maven2
> > But nomatter what I get java.lang.NoClassDefFoundError:
> > org/opensaml/xml/ConfigurationException on the first request. Is this
> > saying org/opensaml/xml/ConfigurationException isn't in the war
> > (xmltooling.jar is definitely there). Or is it reporting a config
> problem?
> > This all happens
> > before the DefaultBootstrap.bootstrap() call. So I'm stumped.
>
> --
> Chad La Joie
> www.itumi.biz
> trusted identities, delivered
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe@shibboleth.net
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe@shibboleth.net
>



-- 
Cell: 703-594-1883
Blog: http://bradjcox.blogspot.com
Web: http://virtualschool.edu
Manassas VA 20111

[Attachment #5 (text/html)]

Is there reason to doubt that glassfish/domains/domain1/lib/endorsed wouldn&#39;t \
work? That would make the endorsed libs local to domain1 instead of \
glassfish-wide.<div><br></div><div>The good news is, managed to get past this (and \
into the next problem). The bad news is I&#39;ve no idea what fixed it; just fiddling \
version numbers AFAIK.</div>

<div><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 7:54 AM, Rob Brownsell <span \
dir="ltr">&lt;<a href="mailto:R.J.Brownsell@sussex.ac.uk" \
target="_blank">R.J.Brownsell@sussex.ac.uk</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">


With Glassfish, I believe you can put jars inside the main lib installation \
directory, outside of the domain. We&#39;re using Glassfish and have put some general \
jars (like log4j) in there and they&#39;ve been picked up ok.<br>



<div><div></div><div><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:dev-bounces@shibboleth.net" \
target="_blank">dev-bounces@shibboleth.net</a> [mailto:<a \
href="mailto:dev-bounces@shibboleth.net" \
target="_blank">dev-bounces@shibboleth.net</a>] On Behalf Of Chad La Joie<br>


Sent: 07 October 2011 12:51<br>
To: Shib Dev<br>
Subject: Re: NoClassDefFoundError: org/opensaml/xml/ConfigurationException<br>
<br>
I can only assume the error means what it says.   You&#39;ll need to go to<br>
the Glassfish docs/list and find out how it constructs its classpath.<br>
Because something there is messed up.<br>
<br>
On Thu, Oct 6, 2011 at 21:08, Brad Cox &lt;<a href="mailto:bradjcox@gmail.com" \
target="_blank">bradjcox@gmail.com</a>&gt; wrote:<br> &gt; Could someone explain what \
this means and how to fix it? Thanks<br> &gt; Context: \
glassfish/domains/domain1/lib/endorsed contains files specified on<br> &gt; the \
wiki:<br> &gt;<br>
&gt; resolver-2.9.1.jar<br>
&gt; serializer-2.9.1.jar<br>
&gt; xalan-2.7.1.jar<br>
&gt; xercesImpl-2.9.1.jar<br>
&gt; xml-apis-2.9.1.jar<br>
&gt;<br>
&gt; Pom specifies the same versions for the above marked provided.<br>
&gt; Pom specifies opensaml, xmltooling and openws latest versions<br>
&gt; from  <a href="http://shibboleth.internet2.edu/downloads/maven2" \
target="_blank">http://shibboleth.internet2.edu/downloads/maven2</a><br> &gt; But \
nomatter what I get  java.lang.NoClassDefFoundError:<br> &gt; \
org/opensaml/xml/ConfigurationException on the  first request. Is this<br> &gt; \
saying  org/opensaml/xml/ConfigurationException isn&#39;t in the war<br> &gt; \
(xmltooling.jar is definitely there). Or is it reporting a config problem?<br> &gt; \
This all happens<br> &gt; before the  DefaultBootstrap.bootstrap() call. So I&#39;m \
stumped.<br> <br>
--<br>
Chad La Joie<br>
<a href="http://www.itumi.biz" target="_blank">www.itumi.biz</a><br>
trusted identities, delivered<br>
--<br>
To unsubscribe from this list send an email to <a \
href="mailto:dev-unsubscribe@shibboleth.net" \
                target="_blank">dev-unsubscribe@shibboleth.net</a><br>
--<br>
To unsubscribe from this list send an email to <a \
href="mailto:dev-unsubscribe@shibboleth.net" \
target="_blank">dev-unsubscribe@shibboleth.net</a><br> \
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cell: <a \
href="tel:703-594-1883" value="+17035941883" \
target="_blank">703-594-1883</a><br>Blog: <a href="http://bradjcox.blogspot.com" \
target="_blank">http://bradjcox.blogspot.com</a><br>

Web: <a href="http://virtualschool.edu" \
target="_blank">http://virtualschool.edu</a><br> Manassas VA 20111<br><br>
</div>



--
To unsubscribe from this list send an email to dev-unsubscribe@shibboleth.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic