Cielle, Your first error looks like the ServerProtectionService is not configured. See the note about the Server Protection Service on the OAE config page.
https://confluence.sakaiproject.org/display/3AK/OAE+Configuration+and+Deployment There was a change in 1.3.0 to the user bundle, it was split into the user.api and user.impl. If you're on the 1.3.0 tag edit the file nakamura/contrib/ldapauth/pom.xml [1] and change the dependency from o.s.n.user to o.s.n.user.api. Here's the line: https://github.com/sakaiproject/nakamura/blob/org.sakaiproject.nakamura-1.3.0/contrib/ldapauth/pom.xml#L119 The master branch, where 1.4.0-SNAPSHOT currently lives, already has this change included. https://github.com/sakaiproject/nakamura/blob/master/contrib/ldapauth/pom.xml#L119 Erik On Mon, Jul 9, 2012 at 8:01 AM, Ciellie Jansen Van Vuuren <[email protected]> wrote: > > Hallo > > Sakai 1.4.0 and sakai 1.3.0 > > When I try to build the LDAP Authentication Module I get (ERROR(2) - see > below): I implemented the code as from OAE 1.2.0 and it built fine, but now: > > * I can't change my profile picture (I get a message that I'm trying to > upload a file thats not an image but the file is a jpg file) > > * can't create a course template > > > * See (ERROR(1)) > > If I disable the LDAP authentication and Pooling bundles and create users by > hand everything is fine > > > ______________________________________________ERROR (1) 10092757 is my > user id from > LDAP___________________________________________________________________________________ > > > 09.07.2012 15:50:12.058 *INFO* [143.160.93.105 [1341841812058] POST > /system/batch HTTP/1.1] logs/request.log 09/Jul/2012:15:50:12 +0200 [66] -> > POST /system/batch HTTP/1.1 > > 09.07.2012 15:50:12.078 *INFO* [143.160.93.105 [1341841812058] POST > /system/batch HTTP/1.1] logs/request.log 09/Jul/2012:15:50:12 +0200 [66] <- > 200 application/json 20ms > > 09.07.2012 15:50:12.078 *INFO* [143.160.93.105 [1341841812058] POST > /system/batch HTTP/1.1] logs/access.log 143.160.93.105 - 10092757 > 09/Jul/2012:15:50:12 +0200 "POST /system/batch HTTP/1.1" 200 892 > "http://sakai-oae-lnx1:8080/me" "Mozilla/5.0 (Macintosh; Intel Mac OS X > 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1" > > 09.07.2012 15:50:22.244 *INFO* [143.160.93.105 [1341841822244] POST > /~10092757/public/profile HTTP/1.1] logs/request.log 09/Jul/2012:15:50:22 > +0200 [67] -> POST /~10092757/public/profile?_charset_=utf-8 HTTP/1.1 > > 09.07.2012 15:50:22.263 *INFO* [143.160.93.105 [1341841822244] POST > /~10092757/public/profile HTTP/1.1] > org.sakaiproject.nakamura.resource.lite.servlet.post.SparseCreateServlet > Going to create Resource /~10092757/public/profile with Content > a:10092757/public/profile starting from Resource /~10092757 with child path > /public/profile > > 09.07.2012 15:50:22.264 *INFO* [143.160.93.105 [1341841822244] POST > /~10092757/public/profile HTTP/1.1] > org.sakaiproject.nakamura.resource.lite.servlet.post.SparsePostServlet > Performing operation > org.sakaiproject.nakamura.resource.lite.servlet.post.operations.ModifyOperation@2c8c0e89 > > 09.07.2012 15:50:22.265 *ERROR* [143.160.93.105 [1341841822244] POST > /~10092757/public/profile HTTP/1.1] > org.sakaiproject.nakamura.resource.lite.servlet.post.operations.ModifyOperation > Access Denied Denied 10092757 on CO:a:10092757/public/profile performing > Write > > 09.07.2012 15:50:22.266 *INFO* [143.160.93.105 [1341841822244] POST > /~10092757/public/profile HTTP/1.1] logs/request.log 09/Jul/2012:15:50:22 > +0200 [67] <- 403 text/html 22ms > > 09.07.2012 15:50:22.266 *INFO* [143.160.93.105 [1341841822244] POST > /~10092757/public/profile HTTP/1.1] logs/access.log 143.160.93.105 - > 10092757 09/Jul/2012:15:50:22 +0200 "POST > /~10092757/public/profile?_charset_=utf-8 HTTP/1.1" 403 1434 > "http://sakai-oae-lnx1:8080/me" "Mozilla/5.0 (Macintosh; Intel Mac OS X > 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1" > > > ------------------------------------------------------------------------------------------------------------------------------------------- > > ERROR(2) > > _________________________________________________________________________________________________________________________________________________________________________________________ > > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > > Missing: > > ---------- > > 1) > org.sakaiproject.nakamura:org.sakaiproject.nakamura.user:jar:1.4.0-SNAPSHOT > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=org.sakaiproject.nakamura > -DartifactId=org.sakaiproject.nakamura.user -Dversion=1.4.0-SNAPSHOT > -Dpackaging=jar -Dfile=/path/to/file > > > Alternatively, if you host your own repository you can deploy the file > there: > > mvn deploy:deploy-file -DgroupId=org.sakaiproject.nakamura > -DartifactId=org.sakaiproject.nakamura.user -Dversion=1.4.0-SNAPSHOT > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) > org.sakaiproject.nakamura:org.sakaiproject.nakamura.auth.ldap:bundle:1.4.0-SNAPSHOT > > 2) > org.sakaiproject.nakamura:org.sakaiproject.nakamura.user:jar:1.4.0-SNAPSHOT > > > ---------- > > 1 required artifact is missing. > > > for artifact: > > > org.sakaiproject.nakamura:org.sakaiproject.nakamura.auth.ldap:bundle:1.4.0-SNAPSHOT > > > from the specified remote repositories: > > sonatype (https://oss.sonatype.org/content/repositories/releases/), > > sakai-snapshots (http://source.sakaiproject.org/maven2-snapshots), > > central (http://repo1.maven.org/maven2), > > java.net (http://download.java.net/maven/2), > > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots), > > modularity-snapshots (http://m2.modularity.net.au/snapshots), > > apache-snapshots (http://repository.apache.org/snapshots/), > > maven repo (http://repo1.maven.org/maven2/), > > OPS4J (http://repository.ops4j.org/maven2), > > modularity-releases (http://m2.modularity.net.au/releases), > > sakai-releases (http://source.sakaiproject.org/maven2/) > > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 14 seconds > > [INFO] Finished at: Thu Jun 14 12:50:54 SAST 2012 > > [INFO] Final Memory: 35M/618M > > [INFO] -------------------------------- > > Vrywaringsklousule / Disclaimer: > http://www.nwu.ac.za/it/gov-man/disclaimer.html > > -------------- next part -------------- > > An HTML attachment was scrubbed... URL: > http://collab.sakaiproject.org/pipermail/oae-dev/attachments/20120614/517be5dd/attachment.html > > > Vrywaringsklousule / Disclaimer: > http://www.nwu.ac.za/it/gov-man/disclaimer.html > > > _______________________________________________ > oae-dev mailing list > [email protected] > http://collab.sakaiproject.org/mailman/listinfo/oae-dev > _______________________________________________ oae-dev mailing list [email protected] http://collab.sakaiproject.org/mailman/listinfo/oae-dev
