log.fatal("AA init failed: " + ne);
throw new ServletException("Init failed: " + ne);
} catch (ArpException ae) {
- log.fatal("AA init failed: " + ae);
- throw new ServletException("Init failed: " + ae);
+ log.fatal(
+ "Attribute Authority could not be initialized due to a problem with the ARP Engine configuration: "
+ + ae);
+ throw new UnavailableException("Attribute Authority failed to initialize.");
} catch (AAException ae) {
log.fatal("AA init failed: " + ae);
throw new ServletException("Init failed: " + ae);
Properties defaultProps = new Properties();
defaultProps.setProperty(
"edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository.Path",
- getServletContext().getRealPath("/WEB-INF/conf/arps"));
+ getServletContext().getRealPath("/WEB-INF/conf/arps/"));
defaultProps.setProperty(
"edu.internet2.middleware.shibboleth.aa.arp.ArpRepository.implementation",
"edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository");
"edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository.Path"));
if (!givenPath.isDirectory()) {
log.error(
- "Cannot initialize FileSystemArpRepository: specified path is not a directory.");
+ "Cannot initialize FileSystemArpRepository: specified path is not a directory: ("
+ + givenPath.getPath()
+ + ").");
throw new ArpRepositoryException("Cannot initialize FileSystemArpRepository");
}
log.info(
- "Initializing File System Arp Repository with a root of ("
- + givenPath.getAbsolutePath()
- + ").");
+ "Initializing File System Arp Repository with a root of (" + givenPath.getAbsolutePath() + ").");
dataStorePath =
props.getProperty(
"edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository.Path");
-edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository.Path = /WEB-INF/conf/arps
-
+#Full Path to ARP repository
+#edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository.Path = \
+ /opt/local/tomcat/webapps/shibboleth/WEB-INF/conf/arps/
edu.internet2.middleware.shibboleth.aa.arp.ArpRepository.implementation = \
edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository