Thanks Scott. I had similar success w/ 1.7.0_06 on OS X w/ the bundled Tomcat, Derby, SSL, RI and Messaging as well as doing a source build with Java 7.
Scott, I assume the following report is yours, too? > "Odd behavior: when I try to add a datastream via the RESTful API to an > object, I get an error (see below). The exact same operation works fine when > FeSL is turned off (see my earlier tests). > > 2012-08-29 15:34:23,123 INFO [http-bio-9091-exec-11] DefaultManagement: > Completed ingest(objectXML, format: info:fedora/fedora-system:FOXML-1.1, > encoding: UTF-8, pid : 1711.dl:TXZSUGMRO24LG85, logMessage: null) > 2012-08-29 15:34:23,135 ERROR [http-bio-9091-exec-13] AddDatastream: Illegal > character in scheme name at index 0: 1711.dl:TXZSUGMRO24LG85 > java.net.URISyntaxException: Illegal character in scheme name at index 0: > 1711.dl:TXZSUGMRO24LG85 > at java.net.URI$Parser.fail(URI.java:2829) ~[na:1.7.0_04] > at java.net.URI$Parser.checkChars(URI.java:3002) ~[na:1.7.0_04] > at java.net.URI$Parser.checkChar(URI.java:3012) ~[na:1.7.0_04] > at java.net.URI$Parser.parse(URI.java:3028) ~[na:1.7.0_04] > at java.net.URI.<init>(URI.java:595) ~[na:1.7.0_04] > at > org.fcrepo.server.security.xacml.pep.rest.objectshandlers.AddDatastream.handleRequest(AddDatastream.java:108) > ~[fcrepo-security-pep-3.6.1-SNAPSHOT.jar:na] > at > org.fcrepo.server.security.xacml.pep.rest.PEP.doFilter(PEP.java:160) > [fcrepo-security-pep-3.6.1-SNAPSHOT.jar:na] > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381) > [spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE] > at > org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:329) > [fcrepo-security-jaas-3.6.1-SNAPSHOT.jar:na] I can't reproduce this w/ FeSL AuthZ enabled. I'm using the fedora-client integration tests which do a number of addDatastream requests via the REST API. Can you create a test case that provokes the error you reported? The fedora-client tests do fail on one of the purgeDatastream tests with FeSL AuthZ, but that's because the test is expecting a 400 error (rather than a 500) when trying a purge with a malformed datetime. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
