Skip to main content Skip to navigation

Web Sign On

Web Sign On Could not find config as path is null (SSOConfigLoader)

You need to be logged in to post in this topic.
  1. Any idea what causes this error? I’m trying to deploy someone else’s project for the first time. More detail below. It looks like it can’t find the SSO config file, which I’ve put in ~tomcat/conf/studentmarks-sso-config.xml. The reference in web.xml is: > ssoclient.config /studentmarks-sso-config.xml > > Here’s a bit of the trace: 16:17:32,338 INFO [org.springframework.web.filter.DelegatingFilterProxy] Filter ‘authorisedUsersFilter’ configured successfully 16:17:32,347 WARN [uk.ac.warwick.sso.client.SSOClientFilter] Could not find sso config in servlet context attribute SSO-CONFIG; attempting to load sso config 16:17:32,356 WARN [uk.ac.warwick.sso.client.SSOConfigLoader] Could not find config as path is null 16:17:32,358 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/studentmarks]] Exception starting filter SSOClientFilter java.lang.RuntimeException: Could not setup configuration at uk.ac.warwick.sso.client.SSOConfigLoader.loadSSOConfig(SSOConfigLoader.java:62) at uk.ac.warwick.sso.client.SSOConfigLoader.loadSSOConfig(SSOConfigLoader.java:98) at uk.ac.warwick.sso.client.SSOClientFilter.init(SSOClientFilter.java:88) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig. java:221 <>)
     
  2. Re: Could not find config as path is null (SSOConfigLoader)
    Hi Zoe, The error messages for SSOConfigLoader have since changed, but in this case the message means that it found the param-value but couldn’t find a file called /studentmarks-sso-config.xml on the classpath. In Tomcat, the conf directory isn’t always on the classpath by default so you will either need to configure Tomcat (see catalina.properties), or alternatively put the XML file in the lib directory. Thanks Nick
     

Are you sure?

Are you sure?

Forum followers

Follower data is not currently available.

Search results