Ah okay I had thought you had rebuilt the stuff using Maven2. -Scott
-Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Mon, Jul 28, 2008 at 10:32 AM, Matthew Jones < [EMAIL PROTECTED]> wrote: > Ugh! I've just found that I didn't manage to send this E-mail earlier! > > Scott Battaglia wrote: > >> It looks like for some reason you're pulling in multiple Spring jars: >> >> The Spring ContextLoaderListener we wrap threw on contextInitialized. >> But for our having caught this error, the web application context would >> not >> have initialized. >> java.lang.NoClassDefFoundError: >> org/springframework/core/NestedExceptionUtils >> >> Are you using Maven 2.0.9? >> > > I've seen Maven mentioned but I don't actually know what it is or how to > find out its version > > Someone just mentioned that it causes some >> Spring craziness. You can check in the cas/WEB-INF/lib directory if you >> see >> multiple copies of a Spring JAR but with different version numbers remove >> the older one. I'm going to upgrade to 2.0.0 locally and see if I can >> re-create the problem. >> > > There are a number of spring...jar files in there but no duplicates - other > than version number differences. Wouldn't that be a little odd as that's the > directory created by unpacking the war file isn't it? Or am I looking in the > wrong place? > > This is a "fresh" machine with Ubuntu 8.04 fully upgraded and Sun Java 5 & > ^ and Tomcat all taken from the Ubuntu repositories. Having got what appears > to be a fully working Tomcat5.5 installation I have just tried to deploy the > cas-server-webapp-3.2.1.war file using Tomcat. > > If Ubuntu 8.04 is a problem I could use something else. Is there any > preferred distro for CAS? When we really want to use CAS we would deploy it > on CentOS, I switched to Ubuntu to help me get this going. > > Cheers > > >> -Scott >> >> -Scott Battaglia >> PGP Public Key Id: 0x383733AA >> LinkedIn: http://www.linkedin.com/in/scottbattaglia >> >> >> On Mon, Jul 28, 2008 at 7:29 AM, Matthew Jones < >> [EMAIL PROTECTED]> wrote: >> >> O.K. So I've changed teh topic given that I'm now having problems getting >>> >>>> CAS to work at all. I have a working Ubuntu 8.04 with Tomcat5.5 and both >>>> Sun >>>> Java 5 and 6 JDKs. Now, Ubuntu seems to do something unusual with it's >>>> JDK & >>>> JRE uinstalls (but I'm no expert) in that the path to the JDK doesn't >>>> have >>>> jdk in it but that shouldn't matter. Using Java 5 JAVA_HOME is set to >>>> /usr/lib/jvm/java-1.5.0-sun (which is a link to >>>> /usr/lib/jvm/java-1.5.0-sun-1.5.0.15) which is all as set-up by the >>>> Ubuntu >>>> install. >>>> >>>> Anyway, the deployment of the CAS .war fails because (well, at least one >>>> of the reasons) it cannot read /WEB-INF/classes/logging-properties. This >>>> isn't surprising as it's not in the .war file but it is in >>>> $JAVA_HOME/jre/lib so this looks like it's a path thing. Is my JAVA_HOME >>>> set >>>> incorrectly or is there some other environment issue that I have as this >>>> sure looks like a path problem. I haven't tried just copying or linking >>>> to >>>> the file from the deployed CAS as that just doesn't seem like the right >>>> thing to do. >>>> >>>> In the great tradition of replying to ones own post: >>> >>> A large poke around the web appears that the logging.properties error >>> might >>> be a Tomcat fault that's fixed in 5.5.26 (and Ubuntu's got 5.5.25). >>> Anyway, >>> after a lot of poking and trial & error, the following seems to have made >>> that error go away: >>> >>> To the end of /etc/tomcat5.5/policy.d/04webapps.policy I added: >>> >>> grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" { >>> // To enable per context logging configuration, permit read access >>> to >>> the appropriate file. >>> // Be sure that the logging configuration is secure before enabling >>> such access >>> // eg for the examples web application: >>> permission java.io.FilePermission >>> >>> "${catalina.base}${file.separator}webapps${file.separator}cas-server-webapp-3.2.1${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", >>> "read"; >>> }; >>> >>> However, I am still unable to deploy CAS and the log gives the following >>> error(s) - (this is the whole of catalina.out, sorry for so much text but >>> hopefully someone will be able to let me know the cause if I include it >>> all). >>> >>> >>> <SNIP> > >> >>> Any help greatly appreciated. >>> >>> >>> Cheers >>> >>> -- >>> Matthew Jones >>> Interactive Data Managed Solutions Ltd >>> ----------------------------------------------------------------------- >>> Registered in England Company Number 3691868 >>> Registered Office: Suite 1101 Eagle Tower | Montpellier Drive | >>> Cheltenham >>> | Gloucestershire | GL50 1TA >>> Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109 >>> [EMAIL PROTECTED] >>> http://www.interactivedata-ms.com/694133 >>> >>> _______________________________________________ >>> Yale CAS mailing list >>> [email protected] >>> http://tp.its.yale.edu/mailman/listinfo/cas >>> >>> >>> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Yale CAS mailing list >> [email protected] >> http://tp.its.yale.edu/mailman/listinfo/cas >> > > > -- > Matthew Jones > Interactive Data Managed Solutions Ltd > ----------------------------------------------------------------------- > Registered in England Company Number 3691868 > Registered Office: Suite 1101 Eagle Tower | Montpellier Drive | Cheltenham > | Gloucestershire | GL50 1TA > Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109 > [EMAIL PROTECTED] > http://www.interactivedata-ms.com/694133 > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > >
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
