Username/password authentication
Jonathan Hayward http://JonathansCorner.com
christos.jonathan.hayward at gmail.com
Thu Dec 6 15:51:27 EST 2007
Thank you for the note. Where should I be looking to troubleshoot the
webapps' ability to load the appropriate classes?
On Dec 6, 2007 2:24 PM, Adam Rybicki <arybicki at unicon.net> wrote:
> Jonathan,
>
> I don't think you should be adding any of these jar files to CLASSPATH or
> JBOSS_CLASSPATH. I apologize if I misled you.
>
> The jar files, as deployed with CAS Web application itself, are already
> supposed to be "visible" to the app server because they are deployed in a
> manner that's consistent with the standard for JEE applications. Every Web
> application running on an app server usually has its own class loader, and
> the classes it loads are only "visible" within the scope of that
> application. Having these jar files accessible to a class loader other than
> the one specific to CAS server may cause additional problems. One potential
> problem that comes to mind would be with the app server's ability to
> automatically restart an application that's been redeployed.
>
> I hope that the above paragraph makes sense. This is the first time I
> have attempted to describe this in writing. ;-)
>
> Adam
>
> Jonathan Hayward http://JonathansCorner.com wrote:
>
> I found out the (immediate) problem.
>
> I was adding jars to the CLASSPATH to help JBoss find classes... but JBoss
> was looking in JBOSS_CLASSPATH and, apparently, ignoring my changes to the
> CLASSPATH.
>
> Oof.
>
> Thanks for your questions and other help,
>
> On Dec 6, 2007 10:51 AM, Jonathan Hayward http://JonathansCorner.com <christos.jonathan.hayward at gmail.com>
> wrote:
>
> > 11762 bytes--basically the same as yours.
> >
> > On Dec 5, 2007 5:59 PM, Dale Ogilvie <Dale.Ogilvie at trimble.co.nz>
> > wrote:
> >
> > > OK, but there is still the question as to why the jar has that funky
> > > extra space in the first place. It isn't a zero byte file by any chance?
> > >
> > > On my build it is a 12Kb binary.
> > > ------------------------------
> > > *From:* cas-bounces at tp.its.yale.edu [mailto:
> > > cas-bounces at tp.its.yale.edu] *On Behalf Of *Adam Rybicki
> > > *Sent:* Thursday, 6 December 2007 12:06 p.m.
> > > *To:* Yale CAS mailing list
> > > *Subject:* Re: Username/password authentication
> > >
> > > The file name should not matter, as every file with the .jar
> > > extension in that directory should be in CLASSPATH.
> > >
> > > Adam
> > >
> > > dale77 wrote:
> > >
> > > Are my eyes deceiving me, or is there an extra space in a critical file name?
> > > "cas- server-support-ldap-3.1.1.jar"?
> > >
> > >
> > > scott_battaglia wrote:
> > >
> > >
> > > Unless he's corrected his ClassNotFound problem, he is still having
> > > classpath issues.
> > >
> > > Unfortunately, I'm not familiar with deploying CAS on anything other than
> > > Tomcat ;-)
> > >
> > > -Scott
> > >
> > >
> > >
> > >
> > > Jonathan Hayward http://JonathansCorner.com wrote:
> > >
> > >
> > > WEB-INF/lib/cas- server-support-ldap-3.1.1.jar
> > >
> > >
> > > _______________________________________________
> > > Yale CAS mailing list
> > > cas at tp.its.yale.edu
> > > http://tp.its.yale.edu/mailman/listinfo/cas
> > >
> > >
> >
> >
> > --
> > ++ Jonathan Hayward, jonathan.hayward at pobox.com
> > ** To see an award-winning website with stories, essays, artwork,
> > ** games, and a four-dimensional maze, why not visit my home page?
> > ** All of this is waiting for you at http://JonathansCorner.com
> >
>
>
>
> --
> ++ Jonathan Hayward, jonathan.hayward at pobox.com
> ** To see an award-winning website with stories, essays, artwork,
> ** games, and a four-dimensional maze, why not visit my home page?
> ** All of this is waiting for you at http://JonathansCorner.com
>
> ------------------------------
>
> _______________________________________________
> Yale CAS mailing listcas at tp.its.yale.eduhttp://tp.its.yale.edu/mailman/listinfo/cas
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
--
++ Jonathan Hayward, jonathan.hayward at pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071206/e297979e/attachment.html
More information about the cas
mailing list