Some follow-up questions:

I've been trying to configure deployerConfigContext.xml using the
LdapServiceRegistryDao implementation, and I just can't seem to get it to
agree with me.

Currently, my serviceRegistryDao bean looks like:

<bean id="serviceRegistryDao"
      class="org.jasig.cas.adaptors.ldap.services.LdapServiceRegistryDao"
      p:connectionFactory-ref="bindPooledLdapConnectionFactory"
      p:searchRequest-ref="searchRequest"
      p:ldapServiceMapper-ref="ldapMapper" />

 <bean id="searchRequest"
       class="org.ldaptive.SearchRequest"/>

<bean id="ldapMapper"

class="org.jasig.cas.adaptors.ldap.services.DefaultLdapServiceMapper"/>

And when I attempt to deploy the webapp in Tomcat I get the following
error. Any help would be appreciated - this is a bit outside my expertise
and I can't seem to find any solutions on the web. Thanks

ERROR [org.springframework.web.context.ContextLoader] - <Context
initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'servicesManager' defined in ServletContext resource
[/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve
reference to bean 'serviceRegistryDao' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'serviceRegistryDao' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Initialization of bean failed; nested
exception is org.springframework.beans.factory.BeanInitializationException:
Bean state is invalid: searchFilter - may not be null; loadFilter - may not
be null



On Fri, Jun 27, 2014 at 1:28 AM, Owens, Patricia <[email protected]> wrote:

> Hello,
>
>    Is that why I keep having to sign in so many times? Would it be better
> to use tomcat? I did use tomcat last night and it worked out much better
> for me.
>
>
>
> ________________________________________
> From: William Schwiemann [[email protected]]
> Sent: Thursday, June 26, 2014 2:28 PM
> To: [email protected]
> Subject: Re: [cas-user] Deploying Services Management Webapp Issues
>
> I did not. My plan of attack was to get the app running in a
> non-integrated state and then configure it from there. Could that error be
> caused by lack of server-side integration?
>
>
> On Thu, Jun 26, 2014 at 1:03 PM, Misagh Moayyed <[email protected]
> <mailto:[email protected]>> wrote:
> Did you also configure access to the management webapp?
>
> http://jasig.github.io/cas/4.0.0/installation/Service-Management.html#authentication-method
>
> From: William Schwiemann [mailto:[email protected]<mailto:[email protected]>]
> Sent: Thursday, June 26, 2014 12:53 PM
> To: [email protected]<mailto:[email protected]>
> Subject: [cas-user] Deploying Services Management Webapp Issues
>
> Hello all,
>
> I've been working on getting the Services Management webapp up and
> running, but I've been running into some issues. It builds successfully in
> maven and Tomcat has no issue with starting up the service. However, when I
> attempt to go to the URL to access the webapp, I'm met with this error
> message in the Tomcat logs:
> WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
> [AbstractAccessDecisionManager.accessDenied] cannot be found in the
> language bundle for the locale [en_US]>
>
> I've been building it according to the guide over on github, and the only
> adjustment I made was to change the location of cas-management.properties
> (which has been appropriately accounted for in propertyFileConfigurer.xml)
> and attempt to make sure that the required JARs were present.
>
> I've been poking around the internet for a few days now and still haven't
> found anything helpful, advice appreciated. Contents of pom.xml below.
>
> Thanks,
> William Schwiemann
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd ">
>         <groupId>edu.case.cas</groupId>
>              <modelVersion>4.0.0</modelVersion>
>         <artifactId>cas-management</artifactId>
>         <packaging>war</packaging>
>         <version>0.1-DEVELOPMENT</version>
>
>         <build>
>             <plugins>
>                 <plugin>
>                     <artifactId>maven-war-plugin</artifactId>
>                     <version>2.2</version>
>                     <configuration>
>                         <warName>cas-management</warName>
>                           <overlays>
>                               <overlay>
>                                  <groupId>org.jasig.cas</groupId>
>
>  <artifactId>cas-management-webapp</artifactId>
>                                  <excludes>
>
>  <exclude>WEB-INF/cas-management.properties</exclude>
>                                  </excludes>
>                               </overlay>
>                           </overlays>
>                     </configuration>
>                 </plugin>
>             </plugins>
>         </build>
>
>         <dependencies>
>             <dependency>
>                 <groupId>org.jasig.cas</groupId>
>                 <artifactId>cas-management-webapp</artifactId>
>                 <version>${cas.version}</version>
>                 <type>war</type>
>                 <scope>runtime</scope>
>             </dependency>
>
>                                   <dependency>
>
> <groupId>org.eclipse.jetty.orbit</groupId>
>
> <artifactId>javax.servlet</artifactId>
>
> <version>3.0.0.v201112011016</version>
>                                               <scope>provided</scope>
>                                   </dependency>
>
>             <dependency>
>                 <groupId>commons-dbcp</groupId>
>                 <artifactId>commons-dbcp</artifactId>
>                 <version>${commons.dbcp.version}</version>
>                 <scope>runtime</scope>
>             </dependency>
>
>             <dependency>
>                 <groupId>org.hibernate</groupId>
>                 <artifactId>hibernate-core</artifactId>
>                 <version>${hibernate.version}</version>
>                 <scope>compile</scope>
>             </dependency>
>
>             <dependency>
>                 <groupId>org.hibernate</groupId>
>                 <artifactId>hibernate-entitymanager</artifactId>
>                 <version>${hibernate.entitymgmr.version}</version>
>             </dependency>
>
>             <dependency>
>                 <groupId>net.sf.ehcache</groupId>
>                 <artifactId>management-ehcache-impl</artifactId>
>                 <version>${mgmt.eh.impl.version}</version>
>             </dependency>
>
>             <dependency>
>                       <groupId>org.springframework.security</groupId>
>                       <artifactId>spring-security-core</artifactId>
>                       <version>${spring.security.core.version}</version>
>                       <scope>compile</scope>
>             </dependency>
>
>         <properties>
>             <cas.version>4.0.0</cas.version>
>             <commons.dbcp.version>20030825.184428</commons.dbcp.version>
>             <hibernate.version>4.3.5.Final</hibernate.version>
>
> <hibernate.entitymgmr.version>4.3.5.Final</hibernate.entitymgmr.version>
>             <mgmt.eh.impl.version>2.8.3</mgmt.eh.impl.version>
>
> <spring.security.core.version>3.2.4.RELEASE</spring.security.core.version>
>         </properties>
>
>
> </project>
>
>
>
> --
>
> You are currently subscribed to [email protected]<mailto:
> [email protected]> as: [email protected]<mailto:
> [email protected]>
>
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to [email protected]<mailto:
> [email protected]> as: [email protected]<mailto:[email protected]>
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to