[Building Sakai] CASifing Sakai

Sanghyun Jeon euksa99 at gmail.com
Wed Apr 23 16:08:50 PDT 2014


The only thing  I changed is to svn export SkinnableLogin.java from trunk
and now I got the compilation error as follows:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/opt/sakai-deploy/Sakai_C2_9_3/login/login-tool/tool/src/java/org/sakaiproject/login/tool/SkinnableLogin.java:[329,30]
error: cannot find symbol
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.186s
[INFO] Finished at: Wed Apr 23 16:07:22 PDT 2014
[INFO] Final Memory: 16M/491M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project sakai-login-tool: Compilation failure
[ERROR]
/opt/sakai-deploy/Sakai_C2_9_3/login/login-tool/tool/src/java/org/sakaiproject/login/tool/SkinnableLogin.java:[329,30]
error: cannot find symbol
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project sakai-login-tool: Compilation failure
/opt/sakai-deploy/Sakai_C2_9_3/login/login-tool/tool/src/java/org/sakaiproject/login/tool/SkinnableLogin.java:[329,30]
error: cannot find symbol

        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
/opt/sakai-deploy/Sakai_C2_9_3/login/login-tool/tool/src/java/org/sakaiproject/login/tool/SkinnableLogin.java:[329,30]
error: cannot find symbol

        at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729)
        at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

and codes before and after Line329 are
    325                                 if
(message.equals(EXCEPTION_INVALID_CREDENTIALS)) {
    326                                         rcontext.put(ATTR_MSG,
rb.getString("log.invalid.credentials"));
    327                                         showAdvice = true;
    328
logFailedAttempt(credentials);
    329                                 } else if
(message.equals(EXCEPTION_DISABLED)) {
    330                                         rcontext.put(ATTR_MSG,
rb.getString("log.disabled.user"));
    331
logFailedAttempt(credentials);
    332                                         String disabledUrl =
serverConfigurationService.getString("disabledSiteUrl");
    333                                         if(disabledUrl != null &&
!"".equals(disabledUrl)){
    334
res.sendRedirect(disabledUrl);


Any advice?




On Tue, Apr 22, 2014 at 11:12 PM, Matthew Buckett <
matthew.buckett at it.ox.ac.uk> wrote:

> Unstable means there are failing tests.
>
> There has been a test that appears to be intermittently failing which
> is what's causing the the build to become unstable.
>
>
> http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/org.sakaiproject.entitybroker$entitybroker-impl/203/testReport/org.sakaiproject.entitybroker.impl/EntityProviderMethodStoreImplTest/testFindURLRedirectMethods/
>
> On 22 April 2014 18:31, Sanghyun Jeon <euksa99 at gmail.com> wrote:
> > Great and this morning, Hudson commented "Result=Unstable".
> > What does this result mean?
> >
> >
> >
> >
> > On Tue, Apr 22, 2014 at 4:38 AM, Matthew Buckett
> > <matthew.buckett at it.ox.ac.uk> wrote:
> >>
> >> Support for different logout behaviours has just landed in trunk, but
> >> this isn't in the Sakai 10 branch.
> >>
> >> https://jira.sakaiproject.org/browse/SAK-25877
> >>
> >> On 22 April 2014 02:37, Sanghyun Jeon <euksa99 at gmail.com> wrote:
> >> > Thank you.
> >> >
> >> > I have one more question and can I have two different logout
> behaviors?
> >> > One for CAS logout and another for sakai logout for guest users?
> >> >
> >> > S
> >> >
> >> >
> >> > On Fri, Apr 18, 2014 at 6:47 AM, Sam Ottenhoff <
> ottenhoff at longsight.com>
> >> > wrote:
> >> >>>
> >> >>>
> >> >>> I am interested how other sakai schools are handling CASifing Sakai
> >> >>> login
> >> >>> procedure. I visited Indiana, Marist College, U of Michigan, and
> >> >>> Standford.
> >> >>> Looks like all four of them are using SSO with one login  button.
> If I
> >> >>> am
> >> >>> wrong, please correct me.
> >> >>
> >> >>
> >> >>
> >> >> A lot of casified Sakai instances will include login buttons for both
> >> >> institutional users and for guest users.
> >> >>
> >> >>>
> >> >>> Clicking a login button redirects me to the CAS login page. If I am
> >> >>> right, I am wondering how these schools are handling guest account
> >> >>> users.
> >> >>
> >> >>
> >> >>
> >> >> If 99.9% of your users will have institutional accounts, it may make
> >> >> sense
> >> >> to just have a hidden URL (sent via email) for the guest users.
> >> >>
> >> >>
> >> >>>
> >> >>> Are Guest users still going though CAS login page?
> >> >>
> >> >>
> >> >>
> >> >> Maybe.  If the institution has a process for adding guest users to
> the
> >> >> institutional central LDAP/AD/database, they would then login through
> >> >> CAS.
> >> >>
> >> >>
> >> >>>
> >> >>> Will they be redirected to the Sakai local login page after CAS
> >> >>> authentication failure?
> >> >>
> >> >>
> >> >> No.  If you are getting sent to CAS, you need to complete a CAS
> login.
> >> >>
> >> >>>
> >> >>>
> >> >>> I have two login buttons: one for CAS login and another for guest
> >> >>> login.
> >> >>> However, our test users give me some feedback they would like to
> have
> >> >>> a
> >> >>> better login page.
> >> >>>
> >> >>>
> >> >>> Any idea?
> >> >>
> >> >>
> >> >>
> >> >> What do they mean by a better login page?  A better CAS login page?
>  If
> >> >> yes, you should search for information about themeing the CAS login
> >> >> page.
> >> >> If on Sakai, maybe look to emphasize the institutional login and
> >> >> de-emphasize the guest login link as the vast majority of your users
> >> >> will be
> >> >> institutional users.
> >> >>
> >> >> --Sam
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > sakai-dev mailing list
> >> > sakai-dev at collab.sakaiproject.org
> >> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >> >
> >> > TO UNSUBSCRIBE: send email to
> >> > sakai-dev-unsubscribe at collab.sakaiproject.org
> >> > with a subject of "unsubscribe"
> >>
> >>
> >>
> >> --
> >>   Matthew Buckett, VLE Developer, IT Services, University of Oxford
> >
> >
>
>
>
> --
>   Matthew Buckett, VLE Developer, IT Services, University of Oxford
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140423/d89bea10/attachment.html 


More information about the sakai-dev mailing list