Does your cas-server-integration-restlet/pom.xml include these entries? These are taken from our own CAS 3.3.1 build. <dependency> <groupId>org.restlet</groupId> <artifactId>org.restlet</artifactId> <version>1.1.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.restlet</groupId> <artifactId>org.restlet.ext.spring</artifactId> <version>1.1.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>com.noelios.restlet</groupId> <artifactId>com.noelios.restlet.ext.spring</artifactId> <version>1.1.1</version> <scope>runtime</scope> </dependency> Note that com.noelios.restlet is a runtime dependency, and so should be included in the war file WEB-INF/lib. Our build has: com.noelios.restlet-1.1.1.jar com.noelios.restlet.ext.servlet-1.1.1.jar com.noelios.restlet.ext.spring-1.1.1.jar org.restlet-1.1.1.jar org.restlet.ext.spring-1.1.1.jar
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Andreasen Sent: Thursday, 13 November 2008 5:32 a.m. To: Yale CAS mailing list Subject: Re: CAS 3.3.1 Restlet Error on Deploy Scott, Thanks for your reply! The org.restlet.ext.spring-1.1.1.jar and org.restlet-1.1.1.jar are included. Were these the restlet 1.1.1 jars you were referring to? Are the other two com.noelios jars not required in 3.3.1? Thanks, On Wed, Nov 12, 2008 at 9:17 AM, Scott Battaglia <[EMAIL PROTECTED]> wrote: You probably need the Restlet 1.1.1 jars. I'm not sure why they aren't included. The stuff should not have even compiled if it wasn't available. And if they were required at compile it generally includes them at Runtime. -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Wed, Nov 12, 2008 at 10:36 AM, Ryan Andreasen <[EMAIL PROTECTED]> wrote: > > I am in the process of upgrading to 3.3.1 and have gotten everything > compiling. However, when I deploy, I get the following exception: > > Unable to fully initialize the Restlet. No Restlet engine available. > 2008-11-12 08:17:10,580 ERROR > [com.noelios.restlet.ext.spring.RestletFrameworkServlet] - <Context > initialization failed> > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'root' defined in ServletContext resource > [/WEB-INF/restlet-servlet.xml]: Instantiation of bean failed; nested > exception is org.springframework.beans.BeanInstantiationException: Could not > instantiate bean class [org.restlet.ext.spring.SpringRouter]: Constructor > threw exception; nested exception is java.lang.RuntimeException: Unable to > fully initialize the Restlet. No Restlet engine available. > > My pom.xml has a dependency to the project version of > cas-server-integration-restlet. My web.xml to activate the RESTful API is > configured as it was for 3.3 (which worked). Do I need to change this for > 3.3.1? Also, I looked at the .jar files packaged with the war for 3.3 and > saw 3 jars related to the Restlet: > com.noelios.restlet.ext.servlet-1.1-M4.jar, > com.noelios.restlet.ext.spring-1.1-M4.jar, and > com.noelios.restlet-1.1-M4.jar; however, with 3.3.1 I only see one: > com.noelios.restlet.ext.spring-1.1.1.jar > > Any help is greatly appreciated! Thanks! > -- > View this message in context: http://www.nabble.com/CAS-3.3.1-Restlet-Error-on-Deploy-tp20462781p20462 781.html > Sent from the CAS Users mailing list archive at Nabble.com. > > _______________________________________________ > 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
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
