Quantcast

[ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Kalle Korhonen-2
Federatedaccounts takes another leap forward by integrating with a new,
Scribe-based module, Pac4j by Jérôme Leleu <https://github.com/leleuj/pac4j>.
See, the problem with Scribe, and Oauth in general, is that there's no
standard way of getting any unique identifier with Oauth (unlike in
OpenID). So there are several different provider specific extension and it
quickly becomes a mess (read what the author of Scribe thinks about
this<https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised>).
Anyway, it's great somebody, and in this case, Jérôme, still bothers to
generalize the approach because otherwise I would have needed to do it. The
new Federated Accounts module, tynamo-federatedaccounts-pac4jbasedoauth,
simply provides UI components (Oauth sign in components, callback pages)
around Pac4j, handles the Oauth all automatically and bakes in
Tapestry-style configuration around it so all you need to do is to just add
your Oauth app credentials for your provider of choice. The primary use
case for the new module is authentication and user profile federation, for
other uses cases, you typically still want to use provider specific APIs
and libraries. Documentation is also updated although a bit thin still.
Read more at tynamo-federatedaccounts
guide<http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide>
.

Release notes:
Improvement

   - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] - Allow
   parametrized configuration in federated login components for setting
   rememberMe in the token
   - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] - Implement
   rolling tokens support for federated accounts
   - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] - Implement
   DefaultJpaFederatedAccountServiceImpl
   - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] - Support
   GitHub federated login

New Feature

   - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] - Support for
   Google OAuth 2.0

Bug

   - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
   returnPageName is required since there's no defaultReturnPage prop in
   AbstractOauthSignIn


Enjoy,

Tynamo Team
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Howard Lewis Ship
Terrific work as always!


On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
<[hidden email]>wrote:

> Federatedaccounts takes another leap forward by integrating with a new,
> Scribe-based module, Pac4j by Jérôme Leleu <
> https://github.com/leleuj/pac4j>.
> See, the problem with Scribe, and Oauth in general, is that there's no
> standard way of getting any unique identifier with Oauth (unlike in
> OpenID). So there are several different provider specific extension and it
> quickly becomes a mess (read what the author of Scribe thinks about
> this<
> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
> >).
> Anyway, it's great somebody, and in this case, Jérôme, still bothers to
> generalize the approach because otherwise I would have needed to do it. The
> new Federated Accounts module, tynamo-federatedaccounts-pac4jbasedoauth,
> simply provides UI components (Oauth sign in components, callback pages)
> around Pac4j, handles the Oauth all automatically and bakes in
> Tapestry-style configuration around it so all you need to do is to just add
> your Oauth app credentials for your provider of choice. The primary use
> case for the new module is authentication and user profile federation, for
> other uses cases, you typically still want to use provider specific APIs
> and libraries. Documentation is also updated although a bit thin still.
> Read more at tynamo-federatedaccounts
> guide<
> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide>
> .
>
> Release notes:
> Improvement
>
>    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] - Allow
>    parametrized configuration in federated login components for setting
>    rememberMe in the token
>    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] - Implement
>    rolling tokens support for federated accounts
>    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] - Implement
>    DefaultJpaFederatedAccountServiceImpl
>    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] - Support
>    GitHub federated login
>
> New Feature
>
>    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] - Support for
>    Google OAuth 2.0
>
> Bug
>
>    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
>    returnPageName is required since there's no defaultReturnPage prop in
>    AbstractOauthSignIn
>
>
> Enjoy,
>
> Tynamo Team
>



--
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Borut Bolčina
Hi Kalle,

I just tried the 0.4.3 version (before I had 0.2.0) and I get this
exception below. Is there something quick I can fix in my code?

2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
Failure loading Tapestry IoC module class
org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
Type
org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
not present
java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
Failure loading Tapestry IoC module class
org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
Type
org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
not present
    at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
    at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
    at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
    at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
    at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
    at
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:280)
    at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
    at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    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:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:409)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by:
java.lang.RuntimeException: Failure loading Tapestry IoC module class
org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
Type
org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
not present
    at
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
    at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
    at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
    at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
    at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
    at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
    at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
    at
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:280)
    at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
    at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    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:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:409)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of context
o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
Failure loading Tapestry IoC module class
org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
Type
org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
not present
    at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
    at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
    at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
    at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
    at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
    at
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:280)
    at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
    at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    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:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:409)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by:
java.lang.RuntimeException: Failure loading Tapestry IoC module class
org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
Type
org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
not present
    at
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
    at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
    at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
    at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
    at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
    at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
    at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
    at
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:280)
    at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
    at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
    at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    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:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:409)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
SelectChannelConnector@0.0.0.0:80
[INFO] Started Jetty Server


2013/8/23 Howard Lewis Ship <[hidden email]>

> Terrific work as always!
>
>
> On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
> <[hidden email]>wrote:
>
> > Federatedaccounts takes another leap forward by integrating with a new,
> > Scribe-based module, Pac4j by Jérôme Leleu <
> > https://github.com/leleuj/pac4j>.
> > See, the problem with Scribe, and Oauth in general, is that there's no
> > standard way of getting any unique identifier with Oauth (unlike in
> > OpenID). So there are several different provider specific extension and
> it
> > quickly becomes a mess (read what the author of Scribe thinks about
> > this<
> >
> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
> > >).
> > Anyway, it's great somebody, and in this case, Jérôme, still bothers to
> > generalize the approach because otherwise I would have needed to do it.
> The
> > new Federated Accounts module, tynamo-federatedaccounts-pac4jbasedoauth,
> > simply provides UI components (Oauth sign in components, callback pages)
> > around Pac4j, handles the Oauth all automatically and bakes in
> > Tapestry-style configuration around it so all you need to do is to just
> add
> > your Oauth app credentials for your provider of choice. The primary use
> > case for the new module is authentication and user profile federation,
> for
> > other uses cases, you typically still want to use provider specific APIs
> > and libraries. Documentation is also updated although a bit thin still.
> > Read more at tynamo-federatedaccounts
> > guide<
> > http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide>
> > .
> >
> > Release notes:
> > Improvement
> >
> >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] - Allow
> >    parametrized configuration in federated login components for setting
> >    rememberMe in the token
> >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
> Implement
> >    rolling tokens support for federated accounts
> >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
> Implement
> >    DefaultJpaFederatedAccountServiceImpl
> >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] - Support
> >    GitHub federated login
> >
> > New Feature
> >
> >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] - Support
> for
> >    Google OAuth 2.0
> >
> > Bug
> >
> >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
> >    returnPageName is required since there's no defaultReturnPage prop in
> >    AbstractOauthSignIn
> >
> >
> > Enjoy,
> >
> > Tynamo Team
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Kalle Korhonen-2
At a first glance, it'd  looks like federatedaccounts-core in your
classpath is a pre 0.4 version, based on:
"Type
org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
not present"

Is it possible you have multiple versions of the relevant libraries in your
classpath?

Kalle



On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <[hidden email]>wrote:

> Hi Kalle,
>
> I just tried the 0.4.3 version (before I had 0.2.0) and I get this
> exception below. Is there something quick I can fix in my code?
>
> 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
> java.lang.RuntimeException: Exception loading module(s) from manifest
>
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> Failure loading Tapestry IoC module class
>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> Type
>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> not present
> java.lang.RuntimeException: Exception loading module(s) from manifest
>
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> Failure loading Tapestry IoC module class
>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> Type
>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> not present
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>     at
>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>     at
> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>     at
>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>     at
>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>     at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>     at
>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>     at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>     at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>     at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     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:320)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     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:409)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by:
> java.lang.RuntimeException: Failure loading Tapestry IoC module class
>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> Type
>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> not present
>     at
> org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>     at
>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>     at
> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>     at
>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>     at
>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>     at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>     at
>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>     at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>     at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>     at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     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:320)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     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:409)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of context
>
> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
> java.lang.RuntimeException: Exception loading module(s) from manifest
>
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> Failure loading Tapestry IoC module class
>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> Type
>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> not present
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>     at
>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>     at
> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>     at
>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>     at
>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>     at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>     at
>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>     at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>     at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>     at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     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:320)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     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:409)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by:
> java.lang.RuntimeException: Failure loading Tapestry IoC module class
>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> Type
>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> not present
>     at
> org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>     at
>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>     at
>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>     at
> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>     at
>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>     at
>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>     at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>     at
>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>     at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>     at
>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>     at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>     at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>     at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     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:320)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     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:409)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
> SelectChannelConnector@0.0.0.0:80
> [INFO] Started Jetty Server
>
>
> 2013/8/23 Howard Lewis Ship <[hidden email]>
>
> > Terrific work as always!
> >
> >
> > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
> > <[hidden email]>wrote:
> >
> > > Federatedaccounts takes another leap forward by integrating with a new,
> > > Scribe-based module, Pac4j by Jérôme Leleu <
> > > https://github.com/leleuj/pac4j>.
> > > See, the problem with Scribe, and Oauth in general, is that there's no
> > > standard way of getting any unique identifier with Oauth (unlike in
> > > OpenID). So there are several different provider specific extension and
> > it
> > > quickly becomes a mess (read what the author of Scribe thinks about
> > > this<
> > >
> >
> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
> > > >).
> > > Anyway, it's great somebody, and in this case, Jérôme, still bothers to
> > > generalize the approach because otherwise I would have needed to do it.
> > The
> > > new Federated Accounts module,
> tynamo-federatedaccounts-pac4jbasedoauth,
> > > simply provides UI components (Oauth sign in components, callback
> pages)
> > > around Pac4j, handles the Oauth all automatically and bakes in
> > > Tapestry-style configuration around it so all you need to do is to just
> > add
> > > your Oauth app credentials for your provider of choice. The primary use
> > > case for the new module is authentication and user profile federation,
> > for
> > > other uses cases, you typically still want to use provider specific
> APIs
> > > and libraries. Documentation is also updated although a bit thin still.
> > > Read more at tynamo-federatedaccounts
> > > guide<
> > > http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
> >
> > > .
> > >
> > > Release notes:
> > > Improvement
> > >
> > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] - Allow
> > >    parametrized configuration in federated login components for setting
> > >    rememberMe in the token
> > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
> > Implement
> > >    rolling tokens support for federated accounts
> > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
> > Implement
> > >    DefaultJpaFederatedAccountServiceImpl
> > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] -
> Support
> > >    GitHub federated login
> > >
> > > New Feature
> > >
> > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] - Support
> > for
> > >    Google OAuth 2.0
> > >
> > > Bug
> > >
> > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
> > >    returnPageName is required since there's no defaultReturnPage prop
> in
> > >    AbstractOauthSignIn
> > >
> > >
> > > Enjoy,
> > >
> > > Tynamo Team
> > >
> >
> >
> >
> > --
> > Howard M. Lewis Ship
> >
> > Creator of Apache Tapestry
> >
> > The source for Tapestry training, mentoring and support. Contact me to
> > learn how I can get you up and productive in Tapestry fast!
> >
> > (971) 678-5210
> > http://howardlewisship.com
> >
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Borut Bolčina
Yes, indeed, another dependent project brought in the 0.2.0 version of
federatedaccounts-core.

Now I am having another issue:
configuration.add(FederatedAccountSymbols.SUCCESSURL, "/prijavaRedirect");

SUCCESSURL is not a field anymore.


2013/11/21 Kalle Korhonen <[hidden email]>

> At a first glance, it'd  looks like federatedaccounts-core in your
> classpath is a pre 0.4 version, based on:
> "Type
>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> not present"
>
> Is it possible you have multiple versions of the relevant libraries in your
> classpath?
>
> Kalle
>
>
>
> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <[hidden email]
> >wrote:
>
> > Hi Kalle,
> >
> > I just tried the 0.4.3 version (before I had 0.2.0) and I get this
> > exception below. Is there something quick I can fix in my code?
> >
> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
> > java.lang.RuntimeException: Exception loading module(s) from manifest
> >
> >
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> > Failure loading Tapestry IoC module class
> >
> >
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> > Type
> >
> >
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> > not present
> > java.lang.RuntimeException: Exception loading module(s) from manifest
> >
> >
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> > Failure loading Tapestry IoC module class
> >
> >
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> > Type
> >
> >
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> > not present
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >     at
> >
> >
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >     at
> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >     at
> >
> >
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >     at
> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >     at
> >
> >
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >     at
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >     at
> >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >     at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >     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:320)
> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >     at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >     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:409)
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > Caused by:
> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
> >
> >
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> > Type
> >
> >
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> > not present
> >     at
> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >     at
> >
> >
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >     at
> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >     at
> >
> >
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >     at
> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >     at
> >
> >
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >     at
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >     at
> >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >     at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >     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:320)
> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >     at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >     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:409)
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of context
> >
> >
> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
> > java.lang.RuntimeException: Exception loading module(s) from manifest
> >
> >
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> > Failure loading Tapestry IoC module class
> >
> >
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> > Type
> >
> >
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> > not present
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >     at
> >
> >
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >     at
> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >     at
> >
> >
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >     at
> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >     at
> >
> >
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >     at
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >     at
> >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >     at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >     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:320)
> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >     at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >     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:409)
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > Caused by:
> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
> >
> >
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> > Type
> >
> >
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> > not present
> >     at
> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
> >     at
> >
> >
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >     at
> >
> >
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >     at
> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >     at
> >
> >
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >     at
> >
> >
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >     at
> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >     at
> >
> >
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >     at
> >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >     at
> >
> >
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >     at
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >     at
> >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >     at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >     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:320)
> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >     at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >     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:409)
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
> > SelectChannelConnector@0.0.0.0:80
> > [INFO] Started Jetty Server
> >
> >
> > 2013/8/23 Howard Lewis Ship <[hidden email]>
> >
> > > Terrific work as always!
> > >
> > >
> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
> > > <[hidden email]>wrote:
> > >
> > > > Federatedaccounts takes another leap forward by integrating with a
> new,
> > > > Scribe-based module, Pac4j by Jérôme Leleu <
> > > > https://github.com/leleuj/pac4j>.
> > > > See, the problem with Scribe, and Oauth in general, is that there's
> no
> > > > standard way of getting any unique identifier with Oauth (unlike in
> > > > OpenID). So there are several different provider specific extension
> and
> > > it
> > > > quickly becomes a mess (read what the author of Scribe thinks about
> > > > this<
> > > >
> > >
> >
> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
> > > > >).
> > > > Anyway, it's great somebody, and in this case, Jérôme, still bothers
> to
> > > > generalize the approach because otherwise I would have needed to do
> it.
> > > The
> > > > new Federated Accounts module,
> > tynamo-federatedaccounts-pac4jbasedoauth,
> > > > simply provides UI components (Oauth sign in components, callback
> > pages)
> > > > around Pac4j, handles the Oauth all automatically and bakes in
> > > > Tapestry-style configuration around it so all you need to do is to
> just
> > > add
> > > > your Oauth app credentials for your provider of choice. The primary
> use
> > > > case for the new module is authentication and user profile
> federation,
> > > for
> > > > other uses cases, you typically still want to use provider specific
> > APIs
> > > > and libraries. Documentation is also updated although a bit thin
> still.
> > > > Read more at tynamo-federatedaccounts
> > > > guide<
> > > >
> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
> > >
> > > > .
> > > >
> > > > Release notes:
> > > > Improvement
> > > >
> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] -
> Allow
> > > >    parametrized configuration in federated login components for
> setting
> > > >    rememberMe in the token
> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
> > > Implement
> > > >    rolling tokens support for federated accounts
> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
> > > Implement
> > > >    DefaultJpaFederatedAccountServiceImpl
> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] -
> > Support
> > > >    GitHub federated login
> > > >
> > > > New Feature
> > > >
> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] -
> Support
> > > for
> > > >    Google OAuth 2.0
> > > >
> > > > Bug
> > > >
> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
> > > >    returnPageName is required since there's no defaultReturnPage prop
> > in
> > > >    AbstractOauthSignIn
> > > >
> > > >
> > > > Enjoy,
> > > >
> > > > Tynamo Team
> > > >
> > >
> > >
> > >
> > > --
> > > Howard M. Lewis Ship
> > >
> > > Creator of Apache Tapestry
> > >
> > > The source for Tapestry training, mentoring and support. Contact me to
> > > learn how I can get you up and productive in Tapestry fast!
> > >
> > > (971) 678-5210
> > > http://howardlewisship.com
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Borut Bolčina
And indeed in 0.4.3 there is a class with commented field. How to replace
this functionality?

public class FederatedAccountSymbols {
    // public static final String SUCCESSURL =
"federatedaccounts.successurl";

    public static final String COMMITAFTER_OAUTH =
"federatedaccounts.commitafteroauth";

    public static final String HTTPCLIENT_ON_GAE = "httpclient.gae";

    public static final String DEFAULT_RETURNPAGE =
"federatedaccounts.default_returnpage";

    public static final String DEFAULT_REMEMBERME =
"federatedaccounts.default_rememberme";

    public static final String LOCALACCOUNT_REALMNAME =
"federatedaccounts.localaccount_realmname";
}


2013/11/21 Borut Bolčina <[hidden email]>

> Yes, indeed, another dependent project brought in the 0.2.0 version of
> federatedaccounts-core.
>
> Now I am having another issue:
> configuration.add(FederatedAccountSymbols.SUCCESSURL, "/prijavaRedirect");
>
> SUCCESSURL is not a field anymore.
>
>
> 2013/11/21 Kalle Korhonen <[hidden email]>
>
>> At a first glance, it'd  looks like federatedaccounts-core in your
>> classpath is a pre 0.4 version, based on:
>> "Type
>>
>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>> not present"
>>
>> Is it possible you have multiple versions of the relevant libraries in
>> your
>> classpath?
>>
>> Kalle
>>
>>
>>
>> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <[hidden email]
>> >wrote:
>>
>> > Hi Kalle,
>> >
>> > I just tried the 0.4.3 version (before I had 0.2.0) and I get this
>> > exception below. Is there something quick I can fix in my code?
>> >
>> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>> >
>> >
>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>> > Failure loading Tapestry IoC module class
>> >
>> >
>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>> > Type
>> >
>> >
>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>> > not present
>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>> >
>> >
>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>> > Failure loading Tapestry IoC module class
>> >
>> >
>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>> > Type
>> >
>> >
>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>> > not present
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>> >     at
>> >
>> >
>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>> >     at
>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>> >     at
>> >
>> >
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>> >     at
>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>> >     at
>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>> >     at
>> >
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> >     at
>> >
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> >     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:320)
>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >     at
>> >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >     at
>> >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>> >     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:409)
>> >     at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> > Caused by:
>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>> >
>> >
>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>> > Type
>> >
>> >
>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>> > not present
>> >     at
>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>> >     at
>> >
>> >
>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>> >     at
>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>> >     at
>> >
>> >
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>> >     at
>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>> >     at
>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>> >     at
>> >
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> >     at
>> >
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> >     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:320)
>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >     at
>> >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >     at
>> >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>> >     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:409)
>> >     at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of
>> context
>> >
>> >
>> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>> >
>> >
>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>> > Failure loading Tapestry IoC module class
>> >
>> >
>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>> > Type
>> >
>> >
>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>> > not present
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>> >     at
>> >
>> >
>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>> >     at
>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>> >     at
>> >
>> >
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>> >     at
>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>> >     at
>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>> >     at
>> >
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> >     at
>> >
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> >     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:320)
>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >     at
>> >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >     at
>> >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>> >     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:409)
>> >     at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> > Caused by:
>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>> >
>> >
>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>> > Type
>> >
>> >
>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>> > not present
>> >     at
>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>> >     at
>> >
>> >
>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>> >     at
>> >
>> >
>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>> >     at
>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>> >     at
>> >
>> >
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>> >     at
>> >
>> >
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>> >     at
>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>> >     at
>> >
>> >
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>> >     at
>> >
>> >
>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>> >     at
>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>> >     at
>> >
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> >     at
>> >
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> >     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:320)
>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >     at
>> >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >     at
>> >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>> >     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:409)
>> >     at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
>> > SelectChannelConnector@0.0.0.0:80
>> > [INFO] Started Jetty Server
>> >
>> >
>> > 2013/8/23 Howard Lewis Ship <[hidden email]>
>> >
>> > > Terrific work as always!
>> > >
>> > >
>> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
>> > > <[hidden email]>wrote:
>> > >
>> > > > Federatedaccounts takes another leap forward by integrating with a
>> new,
>> > > > Scribe-based module, Pac4j by Jérôme Leleu <
>> > > > https://github.com/leleuj/pac4j>.
>> > > > See, the problem with Scribe, and Oauth in general, is that there's
>> no
>> > > > standard way of getting any unique identifier with Oauth (unlike in
>> > > > OpenID). So there are several different provider specific extension
>> and
>> > > it
>> > > > quickly becomes a mess (read what the author of Scribe thinks about
>> > > > this<
>> > > >
>> > >
>> >
>> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
>> > > > >).
>> > > > Anyway, it's great somebody, and in this case, Jérôme, still
>> bothers to
>> > > > generalize the approach because otherwise I would have needed to do
>> it.
>> > > The
>> > > > new Federated Accounts module,
>> > tynamo-federatedaccounts-pac4jbasedoauth,
>> > > > simply provides UI components (Oauth sign in components, callback
>> > pages)
>> > > > around Pac4j, handles the Oauth all automatically and bakes in
>> > > > Tapestry-style configuration around it so all you need to do is to
>> just
>> > > add
>> > > > your Oauth app credentials for your provider of choice. The primary
>> use
>> > > > case for the new module is authentication and user profile
>> federation,
>> > > for
>> > > > other uses cases, you typically still want to use provider specific
>> > APIs
>> > > > and libraries. Documentation is also updated although a bit thin
>> still.
>> > > > Read more at tynamo-federatedaccounts
>> > > > guide<
>> > > >
>> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
>> > >
>> > > > .
>> > > >
>> > > > Release notes:
>> > > > Improvement
>> > > >
>> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] -
>> Allow
>> > > >    parametrized configuration in federated login components for
>> setting
>> > > >    rememberMe in the token
>> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
>> > > Implement
>> > > >    rolling tokens support for federated accounts
>> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
>> > > Implement
>> > > >    DefaultJpaFederatedAccountServiceImpl
>> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] -
>> > Support
>> > > >    GitHub federated login
>> > > >
>> > > > New Feature
>> > > >
>> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] -
>> Support
>> > > for
>> > > >    Google OAuth 2.0
>> > > >
>> > > > Bug
>> > > >
>> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
>> > > >    returnPageName is required since there's no defaultReturnPage
>> prop
>> > in
>> > > >    AbstractOauthSignIn
>> > > >
>> > > >
>> > > > Enjoy,
>> > > >
>> > > > Tynamo Team
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Howard M. Lewis Ship
>> > >
>> > > Creator of Apache Tapestry
>> > >
>> > > The source for Tapestry training, mentoring and support. Contact me to
>> > > learn how I can get you up and productive in Tapestry fast!
>> > >
>> > > (971) 678-5210
>> > > http://howardlewisship.com
>> > >
>> >
>>
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Alejandro Scandroli
Hi Borut


The FacebookOauthSignIn has a new parameter "returnPageName".
If the parameter is not specified the component will use the value of
the FederatedAccountSymbols.DEFAULT_RETURNPAGE symbol.

Alejandro.

On Thu, Nov 21, 2013 at 12:17 PM, Borut Bolčina <[hidden email]> wrote:

> And indeed in 0.4.3 there is a class with commented field. How to replace
> this functionality?
>
> public class FederatedAccountSymbols {
>     // public static final String SUCCESSURL =
> "federatedaccounts.successurl";
>
>     public static final String COMMITAFTER_OAUTH =
> "federatedaccounts.commitafteroauth";
>
>     public static final String HTTPCLIENT_ON_GAE = "httpclient.gae";
>
>     public static final String DEFAULT_RETURNPAGE =
> "federatedaccounts.default_returnpage";
>
>     public static final String DEFAULT_REMEMBERME =
> "federatedaccounts.default_rememberme";
>
>     public static final String LOCALACCOUNT_REALMNAME =
> "federatedaccounts.localaccount_realmname";
> }
>
>
> 2013/11/21 Borut Bolčina <[hidden email]>
>
>> Yes, indeed, another dependent project brought in the 0.2.0 version of
>> federatedaccounts-core.
>>
>> Now I am having another issue:
>> configuration.add(FederatedAccountSymbols.SUCCESSURL, "/prijavaRedirect");
>>
>> SUCCESSURL is not a field anymore.
>>
>>
>> 2013/11/21 Kalle Korhonen <[hidden email]>
>>
>>> At a first glance, it'd  looks like federatedaccounts-core in your
>>> classpath is a pre 0.4 version, based on:
>>> "Type
>>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> not present"
>>>
>>> Is it possible you have multiple versions of the relevant libraries in
>>> your
>>> classpath?
>>>
>>> Kalle
>>>
>>>
>>>
>>> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <[hidden email]
>>> >wrote:
>>>
>>> > Hi Kalle,
>>> >
>>> > I just tried the 0.4.3 version (before I had 0.2.0) and I get this
>>> > exception below. Is there something quick I can fix in my code?
>>> >
>>> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of
>>> context
>>> >
>>> >
>>> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
>>> > SelectChannelConnector@0.0.0.0:80
>>> > [INFO] Started Jetty Server
>>> >
>>> >
>>> > 2013/8/23 Howard Lewis Ship <[hidden email]>
>>> >
>>> > > Terrific work as always!
>>> > >
>>> > >
>>> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
>>> > > <[hidden email]>wrote:
>>> > >
>>> > > > Federatedaccounts takes another leap forward by integrating with a
>>> new,
>>> > > > Scribe-based module, Pac4j by Jérôme Leleu <
>>> > > > https://github.com/leleuj/pac4j>.
>>> > > > See, the problem with Scribe, and Oauth in general, is that there's
>>> no
>>> > > > standard way of getting any unique identifier with Oauth (unlike in
>>> > > > OpenID). So there are several different provider specific extension
>>> and
>>> > > it
>>> > > > quickly becomes a mess (read what the author of Scribe thinks about
>>> > > > this<
>>> > > >
>>> > >
>>> >
>>> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
>>> > > > >).
>>> > > > Anyway, it's great somebody, and in this case, Jérôme, still
>>> bothers to
>>> > > > generalize the approach because otherwise I would have needed to do
>>> it.
>>> > > The
>>> > > > new Federated Accounts module,
>>> > tynamo-federatedaccounts-pac4jbasedoauth,
>>> > > > simply provides UI components (Oauth sign in components, callback
>>> > pages)
>>> > > > around Pac4j, handles the Oauth all automatically and bakes in
>>> > > > Tapestry-style configuration around it so all you need to do is to
>>> just
>>> > > add
>>> > > > your Oauth app credentials for your provider of choice. The primary
>>> use
>>> > > > case for the new module is authentication and user profile
>>> federation,
>>> > > for
>>> > > > other uses cases, you typically still want to use provider specific
>>> > APIs
>>> > > > and libraries. Documentation is also updated although a bit thin
>>> still.
>>> > > > Read more at tynamo-federatedaccounts
>>> > > > guide<
>>> > > >
>>> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
>>> > >
>>> > > > .
>>> > > >
>>> > > > Release notes:
>>> > > > Improvement
>>> > > >
>>> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] -
>>> Allow
>>> > > >    parametrized configuration in federated login components for
>>> setting
>>> > > >    rememberMe in the token
>>> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
>>> > > Implement
>>> > > >    rolling tokens support for federated accounts
>>> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
>>> > > Implement
>>> > > >    DefaultJpaFederatedAccountServiceImpl
>>> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] -
>>> > Support
>>> > > >    GitHub federated login
>>> > > >
>>> > > > New Feature
>>> > > >
>>> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] -
>>> Support
>>> > > for
>>> > > >    Google OAuth 2.0
>>> > > >
>>> > > > Bug
>>> > > >
>>> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
>>> > > >    returnPageName is required since there's no defaultReturnPage
>>> prop
>>> > in
>>> > > >    AbstractOauthSignIn
>>> > > >
>>> > > >
>>> > > > Enjoy,
>>> > > >
>>> > > > Tynamo Team
>>> > > >
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > Howard M. Lewis Ship
>>> > >
>>> > > Creator of Apache Tapestry
>>> > >
>>> > > The source for Tapestry training, mentoring and support. Contact me to
>>> > > learn how I can get you up and productive in Tapestry fast!
>>> > >
>>> > > (971) 678-5210
>>> > > http://howardlewisship.com
>>> > >
>>> >
>>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Borut Bolčina
Thanks for additional info.

Now, I have successfully managed to create a facebook login flow with 0.2.0 version by using:

In AppModule:
configuration.add(FederatedAccountSymbols.SUCCESSURL, "/PrijavaRedirect"); //0.2.0

At Login.tml
<t:facebook.facebookOauthSignIn windowMode="blank" id="fbfb" />


And a redirect page:

public class PrijavaRedirect {
    @Inject
    private Logger logger;

    @Inject
    private LoginContextService loginContextService;

    public Object onActivate(EventContext ec) {
        String requestUri = loginContextService.getSuccessPage();
        logger.debug("Saved request url {}", loginContextService.getSuccessPage());
        if (!requestUri.startsWith("/")) {
            requestUri = "/" + requestUri;
        }
        try {
            loginContextService.redirectToSavedRequest(requestUri);
            return null;
        } catch (Exception e) {
            e.printStackTrace();
        }
        return loginContextService.getSuccessPage();

    }
}

The drawback of this flow is quite nasty, as this white almost blank page gets displayed for users.

I tried now with version 0.4.3

In AppModule:
configuration.add(FederatedAccountSymbols.DEFAULT_RETURNPAGE, "PrijavaRedirect"); // 0.4.3

At Login.tml
<t:federated.facebookOauthSignIn windowMode="blank" id="fbfb" />

But when run, I get
[09:50:38] ERROR [org.tynamo.security.federatedaccounts.facebook.pages.FacebookOauth]: Facebook access_token request returned status code 400

and the facebook dialog AFTER a FB login looks like:


My hosts file is the same for both cases:
127.0.0.1       najdi.si

I will now try to use the new parameter returnPageName without this LoginRedirect page and see if it works.



2013/11/21 Alejandro Scandroli <[hidden email]>
Hi Borut


The FacebookOauthSignIn has a new parameter "returnPageName".
If the parameter is not specified the component will use the value of
the FederatedAccountSymbols.DEFAULT_RETURNPAGE symbol.

Alejandro.

On Thu, Nov 21, 2013 at 12:17 PM, Borut Bolčina <[hidden email]> wrote:
> And indeed in 0.4.3 there is a class with commented field. How to replace
> this functionality?
>
> public class FederatedAccountSymbols {
>     // public static final String SUCCESSURL =
> "federatedaccounts.successurl";
>
>     public static final String COMMITAFTER_OAUTH =
> "federatedaccounts.commitafteroauth";
>
>     public static final String HTTPCLIENT_ON_GAE = "httpclient.gae";
>
>     public static final String DEFAULT_RETURNPAGE =
> "federatedaccounts.default_returnpage";
>
>     public static final String DEFAULT_REMEMBERME =
> "federatedaccounts.default_rememberme";
>
>     public static final String LOCALACCOUNT_REALMNAME =
> "federatedaccounts.localaccount_realmname";
> }
>
>
> 2013/11/21 Borut Bolčina <[hidden email]>
>
>> Yes, indeed, another dependent project brought in the 0.2.0 version of
>> federatedaccounts-core.
>>
>> Now I am having another issue:
>> configuration.add(FederatedAccountSymbols.SUCCESSURL, "/prijavaRedirect");
>>
>> SUCCESSURL is not a field anymore.
>>
>>
>> 2013/11/21 Kalle Korhonen <[hidden email]>
>>
>>> At a first glance, it'd  looks like federatedaccounts-core in your
>>> classpath is a pre 0.4 version, based on:
>>> "Type
>>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> not present"
>>>
>>> Is it possible you have multiple versions of the relevant libraries in
>>> your
>>> classpath?
>>>
>>> Kalle
>>>
>>>
>>>
>>> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <[hidden email]
>>> >wrote:
>>>
>>> > Hi Kalle,
>>> >
>>> > I just tried the 0.4.3 version (before I had 0.2.0) and I get this
>>> > exception below. Is there something quick I can fix in my code?
>>> >
>>> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of
>>> context
>>> >
>>> >
>>> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
>>> > SelectChannelConnector@0.0.0.0:80
>>> > [INFO] Started Jetty Server
>>> >
>>> >
>>> > 2013/8/23 Howard Lewis Ship <[hidden email]>
>>> >
>>> > > Terrific work as always!
>>> > >
>>> > >
>>> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
>>> > > <[hidden email]>wrote:
>>> > >
>>> > > > Federatedaccounts takes another leap forward by integrating with a
>>> new,
>>> > > > Scribe-based module, Pac4j by Jérôme Leleu <
>>> > > > https://github.com/leleuj/pac4j>.
>>> > > > See, the problem with Scribe, and Oauth in general, is that there's
>>> no
>>> > > > standard way of getting any unique identifier with Oauth (unlike in
>>> > > > OpenID). So there are several different provider specific extension
>>> and
>>> > > it
>>> > > > quickly becomes a mess (read what the author of Scribe thinks about
>>> > > > this<
>>> > > >
>>> > >
>>> >
>>> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
>>> > > > >).
>>> > > > Anyway, it's great somebody, and in this case, Jérôme, still
>>> bothers to
>>> > > > generalize the approach because otherwise I would have needed to do
>>> it.
>>> > > The
>>> > > > new Federated Accounts module,
>>> > tynamo-federatedaccounts-pac4jbasedoauth,
>>> > > > simply provides UI components (Oauth sign in components, callback
>>> > pages)
>>> > > > around Pac4j, handles the Oauth all automatically and bakes in
>>> > > > Tapestry-style configuration around it so all you need to do is to
>>> just
>>> > > add
>>> > > > your Oauth app credentials for your provider of choice. The primary
>>> use
>>> > > > case for the new module is authentication and user profile
>>> federation,
>>> > > for
>>> > > > other uses cases, you typically still want to use provider specific
>>> > APIs
>>> > > > and libraries. Documentation is also updated although a bit thin
>>> still.
>>> > > > Read more at tynamo-federatedaccounts
>>> > > > guide<
>>> > > >
>>> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
>>> > >
>>> > > > .
>>> > > >
>>> > > > Release notes:
>>> > > > Improvement
>>> > > >
>>> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] -
>>> Allow
>>> > > >    parametrized configuration in federated login components for
>>> setting
>>> > > >    rememberMe in the token
>>> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
>>> > > Implement
>>> > > >    rolling tokens support for federated accounts
>>> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
>>> > > Implement
>>> > > >    DefaultJpaFederatedAccountServiceImpl
>>> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] -
>>> > Support
>>> > > >    GitHub federated login
>>> > > >
>>> > > > New Feature
>>> > > >
>>> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] -
>>> Support
>>> > > for
>>> > > >    Google OAuth 2.0
>>> > > >
>>> > > > Bug
>>> > > >
>>> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
>>> > > >    returnPageName is required since there's no defaultReturnPage
>>> prop
>>> > in
>>> > > >    AbstractOauthSignIn
>>> > > >
>>> > > >
>>> > > > Enjoy,
>>> > > >
>>> > > > Tynamo Team
>>> > > >
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > Howard M. Lewis Ship
>>> > >
>>> > > Creator of Apache Tapestry
>>> > >
>>> > > The source for Tapestry training, mentoring and support. Contact me to
>>> > > learn how I can get you up and productive in Tapestry fast!
>>> > >
>>> > > <a href="tel:%28971%29%20678-5210" value="+19716785210">(971) 678-5210
>>> > > http://howardlewisship.com
>>> > >
>>> >
>>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Borut Bolčina
Additional info: after clicking "Dismiss all" I get:

[10:30:27] ERROR [org.apache.tapestry5.ioc.Registry]: Explicit windowMode is required but was not specified as a context argument
[10:30:27] ERROR [org.apache.tapestry5.ioc.Registry]: Operations trace:
[10:30:27] ERROR [org.apache.tapestry5.ioc.Registry]: [ 1] Triggering event 'activate' on federated/FacebookOauth
[10:30:27] ERROR [org.apache.tapestry5.services.TapestryModule.RequestExceptionHandler]: Processing of request failed with uncaught exception: Explicit windowMode is required but was not specified as a context argument
org.apache.tapestry5.ioc.internal.OperationException: Explicit windowMode is required but was not specified as a context argument
    at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121) ~[tapestry-ioc-5.3.7.jar:na]
    at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88) ~[tapestry-ioc-5.3.7.jar:na]
    at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) ~[tapestry-ioc-5.3.7.jar:na]
    at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) ~[tapestry-ioc-5.3.7.jar:na]
    at org.apache.tapestry5.internal.structure.ComponentPageElementResourcesImpl.invoke(ComponentPageElementResourcesImpl.java:146) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1058) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.triggerContextEvent(InternalComponentResourcesImpl.java:302) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.services.PageActivatorImpl.activatePage(PageActivatorImpl.java:34) ~[tapestry-core-5.3.7.jar:na]
    at $PageActivator_6511ef2b8b9.activatePage(Unknown Source) ~[na:na]
    at org.apache.tapestry5.internal.services.AjaxComponentEventRequestHandler.handle(AjaxComponentEventRequestHandler.java:89) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.services.ajax.AjaxFormUpdateFilter.handle(AjaxFormUpdateFilter.java:56) ~[tapestry-core-5.3.7.jar:na]
    at $ComponentEventRequestHandler_6511ef2b9df.handle(Unknown Source) ~[na:na]
    at $ComponentEventRequestHandler_6511ef2b9d8.handle(Unknown Source) ~[na:na]
    at org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42) ~[tapestry-core-5.3.7.jar:na]
    at $ComponentEventRequestHandler_6511ef2b9da.handle(Unknown Source) ~[na:na]
    at org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:75) ~[tapestry-upload-5.3.7.jar:na]
    at $ComponentEventRequestHandler_6511ef2b9da.handle(Unknown Source) ~[na:na]
    at org.apache.tapestry5.services.TapestryModule$41.handle(TapestryModule.java:2476) ~[tapestry-core-5.3.7.jar:na]
    at $ComponentEventRequestHandler_6511ef2b9da.handle(Unknown Source) ~[na:na]
    at $ComponentEventRequestHandler_6511ef2b8b3.handle(Unknown Source) ~[na:na]
    at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39) ~[tapestry-core-5.3.7.jar:na]
    at $ComponentRequestHandler_6511ef2b8b5.handleComponentEvent(Unknown Source) ~[na:na]
    at org.tynamo.security.SecurityComponentRequestFilter.handleComponentEvent(SecurityComponentRequestFilter.java:41) ~[tapestry-security-0.5.1.jar:0.5.1]
    at $ComponentRequestFilter_6511ef2b8b2.handleComponentEvent(Unknown Source) ~[na:na]
    at $ComponentRequestHandler_6511ef2b8b5.handleComponentEvent(Unknown Source) ~[na:na]
    at $ComponentRequestHandler_6511ef2b87d.handleComponentEvent(Unknown Source) ~[na:na]
    at org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46) ~[tapestry-core-5.3.7.jar:na]
    at $Dispatcher_6511ef2b87f.dispatch(Unknown Source) ~[na:na]
    at $Dispatcher_6511ef2b879.dispatch(Unknown Source) ~[na:na]
    at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26) ~[tapestry-core-5.3.7.jar:na]
    at $RequestHandler_6511ef2b87a.service(Unknown Source) [na:na]
    at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902) [tapestry-core-5.3.7.jar:na]
    at $RequestHandler_6511ef2b87a.service(Unknown Source) [na:na]
    at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892) [tapestry-core-5.3.7.jar:na]
    at $RequestHandler_6511ef2b87a.service(Unknown Source) [na:na]
    at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90) [tapestry-core-5.3.7.jar:na]
    at $RequestHandler_6511ef2b87a.service(Unknown Source) [na:na]
    at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:105) [tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:95) [tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85) [tapestry-ioc-5.3.7.jar:na]
    at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:119) [tapestry-core-5.3.7.jar:na]
    at $RequestHandler_6511ef2b87a.service(Unknown Source) [na:na]
    at $RequestHandler_6511ef2b856.service(Unknown Source) [na:na]
    at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253) [tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44) [tapestry-upload-5.3.7.jar:na]
    at $HttpServletRequestHandler_6511ef2b858.service(Unknown Source) [na:na]
    at org.tynamo.resteasy.ResteasyRequestFilter.service(ResteasyRequestFilter.java:100) [tapestry-resteasy-0.3.1.jar:0.3.1]
    at $HttpServletRequestFilter_6511ef2b855.service(Unknown Source) [na:na]
    at $HttpServletRequestHandler_6511ef2b858.service(Unknown Source) [na:na]
    at org.tynamo.security.services.impl.SecurityConfiguration$1.call(SecurityConfiguration.java:56) [tapestry-security-0.5.1.jar:0.5.1]
    at org.tynamo.security.services.impl.SecurityConfiguration$1.call(SecurityConfiguration.java:54) [tapestry-security-0.5.1.jar:0.5.1]
    at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.0.jar:1.2.0]
    at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.0.jar:1.2.0]
    at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380) [shiro-core-1.2.0.jar:1.2.0]
    at org.tynamo.security.services.impl.SecurityConfiguration.service(SecurityConfiguration.java:54) [tapestry-security-0.5.1.jar:0.5.1]
    at $HttpServletRequestFilter_6511ef2b851.service(Unknown Source) [na:na]
    at $HttpServletRequestHandler_6511ef2b858.service(Unknown Source) [na:na]
    at org.got5.tapestry5.jquery.services.AjaxUploadServletRequestFilter.service(AjaxUploadServletRequestFilter.java:26) [tapestry5-jquery-3.3.3.jar:na]
    at $HttpServletRequestHandler_6511ef2b858.service(Unknown Source) [na:na]
    at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) [tapestry-core-5.3.7.jar:na]
    at $HttpServletRequestFilter_6511ef2b852.service(Unknown Source) [na:na]
    at $HttpServletRequestHandler_6511ef2b858.service(Unknown Source) [na:na]
    at org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852) [tapestry-core-5.3.7.jar:na]
    at $HttpServletRequestHandler_6511ef2b858.service(Unknown Source) [na:na]
    at $HttpServletRequestHandler_6511ef2b84f.service(Unknown Source) [na:na]
    at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171) [tapestry-core-5.3.7.jar:na]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) [javamelody-core-1.43.0.jar:1.43.0]
    at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) [javamelody-core-1.43.0.jar:1.43.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    at com.hazelcast.web.WebFilter.doFilter(WebFilter.java:598) [hazelcast-wm-2.5.jar:2.5]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.Server.handle(Server.java:368) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:932) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:994) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) [jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) [jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
    at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]
Caused by: org.apache.tapestry5.runtime.ComponentEventException: Explicit windowMode is required but was not specified as a context argument
    at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1141) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3100(ComponentPageElementImpl.java:61) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1062) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1059) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) ~[tapestry-ioc-5.3.7.jar:na]
    ... 96 common frames omitted
Caused by: java.lang.IllegalArgumentException: Explicit windowMode is required but was not specified as a context argument
    at org.tynamo.security.federatedaccounts.base.AbstractOauthPage.onActivate(AbstractOauthPage.java:28) ~[tynamo-federatedaccounts-core-0.4.3.jar:0.4.3]
    at org.tynamo.security.federatedaccounts.base.AbstractOauthPage.dispatchComponentEvent(AbstractOauthPage.java) ~[tynamo-federatedaccounts-core-0.4.3.jar:0.4.3]
    at org.tynamo.security.federatedaccounts.facebook.pages.FacebookOauth.dispatchComponentEvent(FacebookOauth.java) ~[tynamo-federatedaccounts-facebook-0.4.3.jar:0.4.3]
    at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:932) ~[tapestry-core-5.3.7.jar:na]
    at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1117) ~[tapestry-core-5.3.7.jar:na]
    ... 100 common frames omitted


2013/11/22 Borut Bolčina <[hidden email]>
Thanks for additional info.

Now, I have successfully managed to create a facebook login flow with 0.2.0 version by using:

In AppModule:
configuration.add(FederatedAccountSymbols.SUCCESSURL, "/PrijavaRedirect"); //0.2.0

At Login.tml
<t:facebook.facebookOauthSignIn windowMode="blank" id="fbfb" />


And a redirect page:

public class PrijavaRedirect {
    @Inject
    private Logger logger;

    @Inject
    private LoginContextService loginContextService;

    public Object onActivate(EventContext ec) {
        String requestUri = loginContextService.getSuccessPage();
        logger.debug("Saved request url {}", loginContextService.getSuccessPage());
        if (!requestUri.startsWith("/")) {
            requestUri = "/" + requestUri;
        }
        try {
            loginContextService.redirectToSavedRequest(requestUri);
            return null;
        } catch (Exception e) {
            e.printStackTrace();
        }
        return loginContextService.getSuccessPage();

    }
}

The drawback of this flow is quite nasty, as this white almost blank page gets displayed for users.

I tried now with version 0.4.3

In AppModule:
configuration.add(FederatedAccountSymbols.DEFAULT_RETURNPAGE, "PrijavaRedirect"); // 0.4.3

At Login.tml
<t:federated.facebookOauthSignIn windowMode="blank" id="fbfb" />

But when run, I get
[09:50:38] ERROR [org.tynamo.security.federatedaccounts.facebook.pages.FacebookOauth]: Facebook access_token request returned status code 400

and the facebook dialog AFTER a FB login looks like:


My hosts file is the same for both cases:
127.0.0.1       najdi.si

I will now try to use the new parameter returnPageName without this LoginRedirect page and see if it works.



2013/11/21 Alejandro Scandroli <[hidden email]>
Hi Borut


The FacebookOauthSignIn has a new parameter "returnPageName".
If the parameter is not specified the component will use the value of
the FederatedAccountSymbols.DEFAULT_RETURNPAGE symbol.

Alejandro.

On Thu, Nov 21, 2013 at 12:17 PM, Borut Bolčina <[hidden email]> wrote:
> And indeed in 0.4.3 there is a class with commented field. How to replace
> this functionality?
>
> public class FederatedAccountSymbols {
>     // public static final String SUCCESSURL =
> "federatedaccounts.successurl";
>
>     public static final String COMMITAFTER_OAUTH =
> "federatedaccounts.commitafteroauth";
>
>     public static final String HTTPCLIENT_ON_GAE = "httpclient.gae";
>
>     public static final String DEFAULT_RETURNPAGE =
> "federatedaccounts.default_returnpage";
>
>     public static final String DEFAULT_REMEMBERME =
> "federatedaccounts.default_rememberme";
>
>     public static final String LOCALACCOUNT_REALMNAME =
> "federatedaccounts.localaccount_realmname";
> }
>
>
> 2013/11/21 Borut Bolčina <[hidden email]>
>
>> Yes, indeed, another dependent project brought in the 0.2.0 version of
>> federatedaccounts-core.
>>
>> Now I am having another issue:
>> configuration.add(FederatedAccountSymbols.SUCCESSURL, "/prijavaRedirect");
>>
>> SUCCESSURL is not a field anymore.
>>
>>
>> 2013/11/21 Kalle Korhonen <[hidden email]>
>>
>>> At a first glance, it'd  looks like federatedaccounts-core in your
>>> classpath is a pre 0.4 version, based on:
>>> "Type
>>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> not present"
>>>
>>> Is it possible you have multiple versions of the relevant libraries in
>>> your
>>> classpath?
>>>
>>> Kalle
>>>
>>>
>>>
>>> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <[hidden email]
>>> >wrote:
>>>
>>> > Hi Kalle,
>>> >
>>> > I just tried the 0.4.3 version (before I had 0.2.0) and I get this
>>> > exception below. Is there something quick I can fix in my code?
>>> >
>>> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of
>>> context
>>> >
>>> >
>>> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
>>> > SelectChannelConnector@0.0.0.0:80
>>> > [INFO] Started Jetty Server
>>> >
>>> >
>>> > 2013/8/23 Howard Lewis Ship <[hidden email]>
>>> >
>>> > > Terrific work as always!
>>> > >
>>> > >
>>> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
>>> > > <[hidden email]>wrote:
>>> > >
>>> > > > Federatedaccounts takes another leap forward by integrating with a
>>> new,
>>> > > > Scribe-based module, Pac4j by Jérôme Leleu <
>>> > > > https://github.com/leleuj/pac4j>.
>>> > > > See, the problem with Scribe, and Oauth in general, is that there's
>>> no
>>> > > > standard way of getting any unique identifier with Oauth (unlike in
>>> > > > OpenID). So there are several different provider specific extension
>>> and
>>> > > it
>>> > > > quickly becomes a mess (read what the author of Scribe thinks about
>>> > > > this<
>>> > > >
>>> > >
>>> >
>>> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
>>> > > > >).
>>> > > > Anyway, it's great somebody, and in this case, Jérôme, still
>>> bothers to
>>> > > > generalize the approach because otherwise I would have needed to do
>>> it.
>>> > > The
>>> > > > new Federated Accounts module,
>>> > tynamo-federatedaccounts-pac4jbasedoauth,
>>> > > > simply provides UI components (Oauth sign in components, callback
>>> > pages)
>>> > > > around Pac4j, handles the Oauth all automatically and bakes in
>>> > > > Tapestry-style configuration around it so all you need to do is to
>>> just
>>> > > add
>>> > > > your Oauth app credentials for your provider of choice. The primary
>>> use
>>> > > > case for the new module is authentication and user profile
>>> federation,
>>> > > for
>>> > > > other uses cases, you typically still want to use provider specific
>>> > APIs
>>> > > > and libraries. Documentation is also updated although a bit thin
>>> still.
>>> > > > Read more at tynamo-federatedaccounts
>>> > > > guide<
>>> > > >
>>> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
>>> > >
>>> > > > .
>>> > > >
>>> > > > Release notes:
>>> > > > Improvement
>>> > > >
>>> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] -
>>> Allow
>>> > > >    parametrized configuration in federated login components for
>>> setting
>>> > > >    rememberMe in the token
>>> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
>>> > > Implement
>>> > > >    rolling tokens support for federated accounts
>>> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
>>> > > Implement
>>> > > >    DefaultJpaFederatedAccountServiceImpl
>>> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] -
>>> > Support
>>> > > >    GitHub federated login
>>> > > >
>>> > > > New Feature
>>> > > >
>>> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] -
>>> Support
>>> > > for
>>> > > >    Google OAuth 2.0
>>> > > >
>>> > > > Bug
>>> > > >
>>> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
>>> > > >    returnPageName is required since there's no defaultReturnPage
>>> prop
>>> > in
>>> > > >    AbstractOauthSignIn
>>> > > >
>>> > > >
>>> > > > Enjoy,
>>> > > >
>>> > > > Tynamo Team
>>> > > >
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > Howard M. Lewis Ship
>>> > >
>>> > > Creator of Apache Tapestry
>>> > >
>>> > > The source for Tapestry training, mentoring and support. Contact me to
>>> > > learn how I can get you up and productive in Tapestry fast!
>>> > >
>>> > > <a href="tel:%28971%29%20678-5210" value="+19716785210" target="_blank">(971) 678-5210
>>> > > http://howardlewisship.com
>>> > >
>>> >
>>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Borut Bolčina
In reply to this post by Borut Bolčina
Hi again,

when using returnPageName I initially encountered a problem because our custom url encoder was interfering with generated return uris.

When custom url encoder is not used, the authentication process comes a bit further now. I get the user info back from fb, but the dialog does not close as there is a run time exception:
WARN:oejs.AbstractHttpConnection:header full: java.lang.RuntimeException: Header>6144

Resolved this by configuring jetty maven plugin with header sizes

<connectors>
    <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
        <port>80</port>
        <maxIdleTime>60000</maxIdleTime>
        <requestHeaderSize>16000</requestHeaderSize>
        <responseHeaderSize>10000</responseHeaderSize>
    </connector>
</connectors>

but I was wondering what is causing headers larger then 6k bytes?





2013/11/22 Borut Bolčina <[hidden email]>
Thanks for additional info.

Now, I have successfully managed to create a facebook login flow with 0.2.0 version by using:

In AppModule:
configuration.add(FederatedAccountSymbols.SUCCESSURL, "/PrijavaRedirect"); //0.2.0

At Login.tml
<t:facebook.facebookOauthSignIn windowMode="blank" id="fbfb" />


And a redirect page:

public class PrijavaRedirect {
    @Inject
    private Logger logger;

    @Inject
    private LoginContextService loginContextService;

    public Object onActivate(EventContext ec) {
        String requestUri = loginContextService.getSuccessPage();
        logger.debug("Saved request url {}", loginContextService.getSuccessPage());
        if (!requestUri.startsWith("/")) {
            requestUri = "/" + requestUri;
        }
        try {
            loginContextService.redirectToSavedRequest(requestUri);
            return null;
        } catch (Exception e) {
            e.printStackTrace();
        }
        return loginContextService.getSuccessPage();

    }
}

The drawback of this flow is quite nasty, as this white almost blank page gets displayed for users.

I tried now with version 0.4.3

In AppModule:
configuration.add(FederatedAccountSymbols.DEFAULT_RETURNPAGE, "PrijavaRedirect"); // 0.4.3

At Login.tml
<t:federated.facebookOauthSignIn windowMode="blank" id="fbfb" />

But when run, I get
[09:50:38] ERROR [org.tynamo.security.federatedaccounts.facebook.pages.FacebookOauth]: Facebook access_token request returned status code 400

and the facebook dialog AFTER a FB login looks like:


My hosts file is the same for both cases:
127.0.0.1       najdi.si

I will now try to use the new parameter returnPageName without this LoginRedirect page and see if it works.



2013/11/21 Alejandro Scandroli <[hidden email]>
Hi Borut


The FacebookOauthSignIn has a new parameter "returnPageName".
If the parameter is not specified the component will use the value of
the FederatedAccountSymbols.DEFAULT_RETURNPAGE symbol.

Alejandro.

On Thu, Nov 21, 2013 at 12:17 PM, Borut Bolčina <[hidden email]> wrote:
> And indeed in 0.4.3 there is a class with commented field. How to replace
> this functionality?
>
> public class FederatedAccountSymbols {
>     // public static final String SUCCESSURL =
> "federatedaccounts.successurl";
>
>     public static final String COMMITAFTER_OAUTH =
> "federatedaccounts.commitafteroauth";
>
>     public static final String HTTPCLIENT_ON_GAE = "httpclient.gae";
>
>     public static final String DEFAULT_RETURNPAGE =
> "federatedaccounts.default_returnpage";
>
>     public static final String DEFAULT_REMEMBERME =
> "federatedaccounts.default_rememberme";
>
>     public static final String LOCALACCOUNT_REALMNAME =
> "federatedaccounts.localaccount_realmname";
> }
>
>
> 2013/11/21 Borut Bolčina <[hidden email]>
>
>> Yes, indeed, another dependent project brought in the 0.2.0 version of
>> federatedaccounts-core.
>>
>> Now I am having another issue:
>> configuration.add(FederatedAccountSymbols.SUCCESSURL, "/prijavaRedirect");
>>
>> SUCCESSURL is not a field anymore.
>>
>>
>> 2013/11/21 Kalle Korhonen <[hidden email]>
>>
>>> At a first glance, it'd  looks like federatedaccounts-core in your
>>> classpath is a pre 0.4 version, based on:
>>> "Type
>>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> not present"
>>>
>>> Is it possible you have multiple versions of the relevant libraries in
>>> your
>>> classpath?
>>>
>>> Kalle
>>>
>>>
>>>
>>> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <[hidden email]
>>> >wrote:
>>>
>>> > Hi Kalle,
>>> >
>>> > I just tried the 0.4.3 version (before I had 0.2.0) and I get this
>>> > exception below. Is there something quick I can fix in my code?
>>> >
>>> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of
>>> context
>>> >
>>> >
>>> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
>>> > java.lang.RuntimeException: Exception loading module(s) from manifest
>>> >
>>> >
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> > Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by:
>>> > java.lang.RuntimeException: Failure loading Tapestry IoC module class
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> > Type
>>> >
>>> >
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> > not present
>>> >     at
>>> > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >     at
>>> >
>>> >
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >     at
>>> > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >     at
>>> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >     at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >     at
>>> >
>>> >
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >     at
>>> >
>>> >
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >     at
>>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >     at
>>> >
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >     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:320)
>>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >     at
>>> >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >     at
>>> >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >     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:409)
>>> >     at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
>>> > SelectChannelConnector@0.0.0.0:80
>>> > [INFO] Started Jetty Server
>>> >
>>> >
>>> > 2013/8/23 Howard Lewis Ship <[hidden email]>
>>> >
>>> > > Terrific work as always!
>>> > >
>>> > >
>>> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
>>> > > <[hidden email]>wrote:
>>> > >
>>> > > > Federatedaccounts takes another leap forward by integrating with a
>>> new,
>>> > > > Scribe-based module, Pac4j by Jérôme Leleu <
>>> > > > https://github.com/leleuj/pac4j>.
>>> > > > See, the problem with Scribe, and Oauth in general, is that there's
>>> no
>>> > > > standard way of getting any unique identifier with Oauth (unlike in
>>> > > > OpenID). So there are several different provider specific extension
>>> and
>>> > > it
>>> > > > quickly becomes a mess (read what the author of Scribe thinks about
>>> > > > this<
>>> > > >
>>> > >
>>> >
>>> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
>>> > > > >).
>>> > > > Anyway, it's great somebody, and in this case, Jérôme, still
>>> bothers to
>>> > > > generalize the approach because otherwise I would have needed to do
>>> it.
>>> > > The
>>> > > > new Federated Accounts module,
>>> > tynamo-federatedaccounts-pac4jbasedoauth,
>>> > > > simply provides UI components (Oauth sign in components, callback
>>> > pages)
>>> > > > around Pac4j, handles the Oauth all automatically and bakes in
>>> > > > Tapestry-style configuration around it so all you need to do is to
>>> just
>>> > > add
>>> > > > your Oauth app credentials for your provider of choice. The primary
>>> use
>>> > > > case for the new module is authentication and user profile
>>> federation,
>>> > > for
>>> > > > other uses cases, you typically still want to use provider specific
>>> > APIs
>>> > > > and libraries. Documentation is also updated although a bit thin
>>> still.
>>> > > > Read more at tynamo-federatedaccounts
>>> > > > guide<
>>> > > >
>>> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
>>> > >
>>> > > > .
>>> > > >
>>> > > > Release notes:
>>> > > > Improvement
>>> > > >
>>> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>] -
>>> Allow
>>> > > >    parametrized configuration in federated login components for
>>> setting
>>> > > >    rememberMe in the token
>>> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>] -
>>> > > Implement
>>> > > >    rolling tokens support for federated accounts
>>> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>] -
>>> > > Implement
>>> > > >    DefaultJpaFederatedAccountServiceImpl
>>> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>] -
>>> > Support
>>> > > >    GitHub federated login
>>> > > >
>>> > > > New Feature
>>> > > >
>>> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] -
>>> Support
>>> > > for
>>> > > >    Google OAuth 2.0
>>> > > >
>>> > > > Bug
>>> > > >
>>> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>] -
>>> > > >    returnPageName is required since there's no defaultReturnPage
>>> prop
>>> > in
>>> > > >    AbstractOauthSignIn
>>> > > >
>>> > > >
>>> > > > Enjoy,
>>> > > >
>>> > > > Tynamo Team
>>> > > >
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > Howard M. Lewis Ship
>>> > >
>>> > > Creator of Apache Tapestry
>>> > >
>>> > > The source for Tapestry training, mentoring and support. Contact me to
>>> > > learn how I can get you up and productive in Tapestry fast!
>>> > >
>>> > > <a href="tel:%28971%29%20678-5210" value="+19716785210" target="_blank">(971) 678-5210
>>> > > http://howardlewisship.com
>>> > >
>>> >
>>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Dmitry Gusev
Hi,

I suspect you have some error and what you're receiving in your header is a
stacktrace or some error message/page.

After you increased your header size, can you grab the traffic with some
sniffer to see what's in there?




On Mon, Nov 25, 2013 at 1:25 PM, Borut Bolčina <[hidden email]>wrote:

> Hi again,
>
> when using returnPageName I initially encountered a problem because our
> custom url encoder was interfering with generated return uris.
>
> When custom url encoder is not used, the authentication process comes a
> bit further now. I get the user info back from fb, but the dialog does not
> close as there is a run time exception:
> WARN:oejs.AbstractHttpConnection:header full: java.lang.RuntimeException:
> Header>6144
>
> Resolved this by configuring jetty maven plugin with header sizes
>
> <connectors>
>     <connector
> implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
>         <port>80</port>
>         <maxIdleTime>60000</maxIdleTime>
>         <requestHeaderSize>16000</requestHeaderSize>
>         <responseHeaderSize>10000</responseHeaderSize>
>     </connector>
> </connectors>
>
> but I was wondering what is causing headers larger then 6k bytes?
>
>
>
>
>
> 2013/11/22 Borut Bolčina <[hidden email]>
>
>> Thanks for additional info.
>>
>> Now, I have successfully managed to create a facebook login flow with
>> 0.2.0 version by using:
>>
>> In AppModule:
>> configuration.add(FederatedAccountSymbols.SUCCESSURL,
>> "/PrijavaRedirect"); //0.2.0
>>
>> At Login.tml
>> <t:facebook.facebookOauthSignIn windowMode="blank" id="fbfb" />
>>
>>
>> And a redirect page:
>>
>> public class PrijavaRedirect {
>>     @Inject
>>     private Logger logger;
>>
>>     @Inject
>>     private LoginContextService loginContextService;
>>
>>     public Object onActivate(EventContext ec) {
>>         String requestUri = loginContextService.getSuccessPage();
>>         logger.debug("Saved request url {}",
>> loginContextService.getSuccessPage());
>>         if (!requestUri.startsWith("/")) {
>>             requestUri = "/" + requestUri;
>>         }
>>         try {
>>             loginContextService.redirectToSavedRequest(requestUri);
>>             return null;
>>         } catch (Exception e) {
>>             e.printStackTrace();
>>         }
>>         return loginContextService.getSuccessPage();
>>
>>     }
>> }
>>
>> The drawback of this flow is quite nasty, as this white almost blank page
>> gets displayed for users.
>>
>> I tried now with version 0.4.3
>>
>> In AppModule:
>> configuration.add(FederatedAccountSymbols.DEFAULT_RETURNPAGE,
>> "PrijavaRedirect"); // 0.4.3
>>
>> At Login.tml
>> <t:federated.facebookOauthSignIn windowMode="blank" id="fbfb" />
>>
>> But when run, I get
>> [09:50:38] ERROR
>> [org.tynamo.security.federatedaccounts.facebook.pages.FacebookOauth]:
>> Facebook access_token request returned status code 400
>>
>> and the facebook dialog AFTER a FB login looks like:
>> [image: Slika v vrstici 1]
>>
>> My hosts file is the same for both cases:
>> 127.0.0.1       najdi.si
>>
>> I will now try to use the new parameter returnPageName without this
>> LoginRedirect page and see if it works.
>>
>>
>>
>> 2013/11/21 Alejandro Scandroli <[hidden email]>
>>
>>> Hi Borut
>>>
>>>
>>> The FacebookOauthSignIn has a new parameter "returnPageName".
>>> If the parameter is not specified the component will use the value of
>>> the FederatedAccountSymbols.DEFAULT_RETURNPAGE symbol.
>>>
>>> Alejandro.
>>>
>>> On Thu, Nov 21, 2013 at 12:17 PM, Borut Bolčina <[hidden email]>
>>> wrote:
>>> > And indeed in 0.4.3 there is a class with commented field. How to
>>> replace
>>> > this functionality?
>>> >
>>> > public class FederatedAccountSymbols {
>>> >     // public static final String SUCCESSURL =
>>> > "federatedaccounts.successurl";
>>> >
>>> >     public static final String COMMITAFTER_OAUTH =
>>> > "federatedaccounts.commitafteroauth";
>>> >
>>> >     public static final String HTTPCLIENT_ON_GAE = "httpclient.gae";
>>> >
>>> >     public static final String DEFAULT_RETURNPAGE =
>>> > "federatedaccounts.default_returnpage";
>>> >
>>> >     public static final String DEFAULT_REMEMBERME =
>>> > "federatedaccounts.default_rememberme";
>>> >
>>> >     public static final String LOCALACCOUNT_REALMNAME =
>>> > "federatedaccounts.localaccount_realmname";
>>> > }
>>> >
>>> >
>>> > 2013/11/21 Borut Bolčina <[hidden email]>
>>> >
>>> >> Yes, indeed, another dependent project brought in the 0.2.0 version of
>>> >> federatedaccounts-core.
>>> >>
>>> >> Now I am having another issue:
>>> >> configuration.add(FederatedAccountSymbols.SUCCESSURL,
>>> "/prijavaRedirect");
>>> >>
>>> >> SUCCESSURL is not a field anymore.
>>> >>
>>> >>
>>> >> 2013/11/21 Kalle Korhonen <[hidden email]>
>>> >>
>>> >>> At a first glance, it'd  looks like federatedaccounts-core in your
>>> >>> classpath is a pre 0.4 version, based on:
>>> >>> "Type
>>> >>>
>>> >>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> >>> not present"
>>> >>>
>>> >>> Is it possible you have multiple versions of the relevant libraries
>>> in
>>> >>> your
>>> >>> classpath?
>>> >>>
>>> >>> Kalle
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <
>>> [hidden email]
>>> >>> >wrote:
>>> >>>
>>> >>> > Hi Kalle,
>>> >>> >
>>> >>> > I just tried the 0.4.3 version (before I had 0.2.0) and I get this
>>> >>> > exception below. Is there something quick I can fix in my code?
>>> >>> >
>>> >>> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
>>> >>> > java.lang.RuntimeException: Exception loading module(s) from
>>> manifest
>>> >>> >
>>> >>> >
>>> >>>
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> >>> > Failure loading Tapestry IoC module class
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> >>> > Type
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> >>> > not present
>>> >>> > java.lang.RuntimeException: Exception loading module(s) from
>>> manifest
>>> >>> >
>>> >>> >
>>> >>>
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> >>> > Failure loading Tapestry IoC module class
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> >>> > Type
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> >>> > not present
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >>> >     at
>>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >>> >     at
>>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >>> >     at
>>> >>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >>> >     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:320)
>>> >>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >>> >     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:409)
>>> >>> >     at
>>> >>> >
>>> >>>
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> >>> > Caused by:
>>> >>> > java.lang.RuntimeException: Failure loading Tapestry IoC module
>>> class
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> >>> > Type
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> >>> > not present
>>> >>> >     at
>>> >>> >
>>> org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >>> >     at
>>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >>> >     at
>>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >>> >     at
>>> >>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >>> >     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:320)
>>> >>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >>> >     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:409)
>>> >>> >     at
>>> >>> >
>>> >>>
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> >>> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of
>>> >>> context
>>> >>> >
>>> >>> >
>>> >>>
>>> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
>>> >>> > java.lang.RuntimeException: Exception loading module(s) from
>>> manifest
>>> >>> >
>>> >>> >
>>> >>>
>>> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
>>> >>> > Failure loading Tapestry IoC module class
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> >>> > Type
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> >>> > not present
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >>> >     at
>>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >>> >     at
>>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >>> >     at
>>> >>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >>> >     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:320)
>>> >>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >>> >     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:409)
>>> >>> >     at
>>> >>> >
>>> >>>
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> >>> > Caused by:
>>> >>> > java.lang.RuntimeException: Failure loading Tapestry IoC module
>>> class
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
>>> >>> > Type
>>> >>> >
>>> >>> >
>>> >>>
>>> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
>>> >>> > not present
>>> >>> >     at
>>> >>> >
>>> org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>>> >>> >     at
>>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
>>> >>> >     at
>>> >>> >
>>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
>>> >>> >     at
>>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
>>> >>> >     at
>>> >>> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> >>> >     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:320)
>>> >>> >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >>> >     at
>>> >>> >
>>> >>> >
>>> >>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
>>> >>> >     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:409)
>>> >>> >     at
>>> >>> >
>>> >>>
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> >>> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
>>> >>> > SelectChannelConnector@0.0.0.0:80
>>> >>> > [INFO] Started Jetty Server
>>> >>> >
>>> >>> >
>>> >>> > 2013/8/23 Howard Lewis Ship <[hidden email]>
>>> >>> >
>>> >>> > > Terrific work as always!
>>> >>> > >
>>> >>> > >
>>> >>> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
>>> >>> > > <[hidden email]>wrote:
>>> >>> > >
>>> >>> > > > Federatedaccounts takes another leap forward by integrating
>>> with a
>>> >>> new,
>>> >>> > > > Scribe-based module, Pac4j by Jérôme Leleu <
>>> >>> > > > https://github.com/leleuj/pac4j>.
>>> >>> > > > See, the problem with Scribe, and Oauth in general, is that
>>> there's
>>> >>> no
>>> >>> > > > standard way of getting any unique identifier with Oauth
>>> (unlike in
>>> >>> > > > OpenID). So there are several different provider specific
>>> extension
>>> >>> and
>>> >>> > > it
>>> >>> > > > quickly becomes a mess (read what the author of Scribe thinks
>>> about
>>> >>> > > > this<
>>> >>> > > >
>>> >>> > >
>>> >>> >
>>> >>>
>>> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
>>> >>> > > > >).
>>> >>> > > > Anyway, it's great somebody, and in this case, Jérôme, still
>>> >>> bothers to
>>> >>> > > > generalize the approach because otherwise I would have needed
>>> to do
>>> >>> it.
>>> >>> > > The
>>> >>> > > > new Federated Accounts module,
>>> >>> > tynamo-federatedaccounts-pac4jbasedoauth,
>>> >>> > > > simply provides UI components (Oauth sign in components,
>>> callback
>>> >>> > pages)
>>> >>> > > > around Pac4j, handles the Oauth all automatically and bakes in
>>> >>> > > > Tapestry-style configuration around it so all you need to do
>>> is to
>>> >>> just
>>> >>> > > add
>>> >>> > > > your Oauth app credentials for your provider of choice. The
>>> primary
>>> >>> use
>>> >>> > > > case for the new module is authentication and user profile
>>> >>> federation,
>>> >>> > > for
>>> >>> > > > other uses cases, you typically still want to use provider
>>> specific
>>> >>> > APIs
>>> >>> > > > and libraries. Documentation is also updated although a bit
>>> thin
>>> >>> still.
>>> >>> > > > Read more at tynamo-federatedaccounts
>>> >>> > > > guide<
>>> >>> > > >
>>> >>>
>>> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
>>> >>> > >
>>> >>> > > > .
>>> >>> > > >
>>> >>> > > > Release notes:
>>> >>> > > > Improvement
>>> >>> > > >
>>> >>> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211>]
>>> -
>>> >>> Allow
>>> >>> > > >    parametrized configuration in federated login components for
>>> >>> setting
>>> >>> > > >    rememberMe in the token
>>> >>> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220>]
>>> -
>>> >>> > > Implement
>>> >>> > > >    rolling tokens support for federated accounts
>>> >>> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181>]
>>> -
>>> >>> > > Implement
>>> >>> > > >    DefaultJpaFederatedAccountServiceImpl
>>> >>> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182>]
>>> -
>>> >>> > Support
>>> >>> > > >    GitHub federated login
>>> >>> > > >
>>> >>> > > > New Feature
>>> >>> > > >
>>> >>> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>] -
>>> >>> Support
>>> >>> > > for
>>> >>> > > >    Google OAuth 2.0
>>> >>> > > >
>>> >>> > > > Bug
>>> >>> > > >
>>> >>> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217>]
>>> -
>>> >>> > > >    returnPageName is required since there's no
>>> defaultReturnPage
>>> >>> prop
>>> >>> > in
>>> >>> > > >    AbstractOauthSignIn
>>> >>> > > >
>>> >>> > > >
>>> >>> > > > Enjoy,
>>> >>> > > >
>>> >>> > > > Tynamo Team
>>> >>> > > >
>>> >>> > >
>>> >>> > >
>>> >>> > >
>>> >>> > > --
>>> >>> > > Howard M. Lewis Ship
>>> >>> > >
>>> >>> > > Creator of Apache Tapestry
>>> >>> > >
>>> >>> > > The source for Tapestry training, mentoring and support. Contact
>>> me to
>>> >>> > > learn how I can get you up and productive in Tapestry fast!
>>> >>> > >
>>> >>> > > (971) 678-5210
>>> >>> > > http://howardlewisship.com
>>> >>> > >
>>> >>> >
>>> >>>
>>> >>
>>> >>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>


--
Dmitry Gusev

AnjLab Team
http://anjlab.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

Borut Bolčina
Turning on debug wire level
<logger name="org.apache.http.wire" level="debug" />
reveals some data, but only small responses from fb are logged.

No error messages receiving, logged in to facebook and local app, just a
dialog which should close is still open presenting 500 error.

After inspecting the communication with wireshark on port 443, I do get
some larger chunks of encrypted data. Maybe
tynamo-federatedaccounts-facebook has some logging - will investigate.



2013/11/25 Dmitry Gusev <[hidden email]>

> Hi,
>
> I suspect you have some error and what you're receiving in your header is a
> stacktrace or some error message/page.
>
> After you increased your header size, can you grab the traffic with some
> sniffer to see what's in there?
>
>
>
>
> On Mon, Nov 25, 2013 at 1:25 PM, Borut Bolčina <[hidden email]
> >wrote:
>
> > Hi again,
> >
> > when using returnPageName I initially encountered a problem because our
> > custom url encoder was interfering with generated return uris.
> >
> > When custom url encoder is not used, the authentication process comes a
> > bit further now. I get the user info back from fb, but the dialog does
> not
> > close as there is a run time exception:
> > WARN:oejs.AbstractHttpConnection:header full: java.lang.RuntimeException:
> > Header>6144
> >
> > Resolved this by configuring jetty maven plugin with header sizes
> >
> > <connectors>
> >     <connector
> > implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
> >         <port>80</port>
> >         <maxIdleTime>60000</maxIdleTime>
> >         <requestHeaderSize>16000</requestHeaderSize>
> >         <responseHeaderSize>10000</responseHeaderSize>
> >     </connector>
> > </connectors>
> >
> > but I was wondering what is causing headers larger then 6k bytes?
> >
> >
> >
> >
> >
> > 2013/11/22 Borut Bolčina <[hidden email]>
> >
> >> Thanks for additional info.
> >>
> >> Now, I have successfully managed to create a facebook login flow with
> >> 0.2.0 version by using:
> >>
> >> In AppModule:
> >> configuration.add(FederatedAccountSymbols.SUCCESSURL,
> >> "/PrijavaRedirect"); //0.2.0
> >>
> >> At Login.tml
> >> <t:facebook.facebookOauthSignIn windowMode="blank" id="fbfb" />
> >>
> >>
> >> And a redirect page:
> >>
> >> public class PrijavaRedirect {
> >>     @Inject
> >>     private Logger logger;
> >>
> >>     @Inject
> >>     private LoginContextService loginContextService;
> >>
> >>     public Object onActivate(EventContext ec) {
> >>         String requestUri = loginContextService.getSuccessPage();
> >>         logger.debug("Saved request url {}",
> >> loginContextService.getSuccessPage());
> >>         if (!requestUri.startsWith("/")) {
> >>             requestUri = "/" + requestUri;
> >>         }
> >>         try {
> >>             loginContextService.redirectToSavedRequest(requestUri);
> >>             return null;
> >>         } catch (Exception e) {
> >>             e.printStackTrace();
> >>         }
> >>         return loginContextService.getSuccessPage();
> >>
> >>     }
> >> }
> >>
> >> The drawback of this flow is quite nasty, as this white almost blank
> page
> >> gets displayed for users.
> >>
> >> I tried now with version 0.4.3
> >>
> >> In AppModule:
> >> configuration.add(FederatedAccountSymbols.DEFAULT_RETURNPAGE,
> >> "PrijavaRedirect"); // 0.4.3
> >>
> >> At Login.tml
> >> <t:federated.facebookOauthSignIn windowMode="blank" id="fbfb" />
> >>
> >> But when run, I get
> >> [09:50:38] ERROR
> >> [org.tynamo.security.federatedaccounts.facebook.pages.FacebookOauth]:
> >> Facebook access_token request returned status code 400
> >>
> >> and the facebook dialog AFTER a FB login looks like:
> >> [image: Slika v vrstici 1]
> >>
> >> My hosts file is the same for both cases:
> >> 127.0.0.1       najdi.si
> >>
> >> I will now try to use the new parameter returnPageName without this
> >> LoginRedirect page and see if it works.
> >>
> >>
> >>
> >> 2013/11/21 Alejandro Scandroli <[hidden email]>
> >>
> >>> Hi Borut
> >>>
> >>>
> >>> The FacebookOauthSignIn has a new parameter "returnPageName".
> >>> If the parameter is not specified the component will use the value of
> >>> the FederatedAccountSymbols.DEFAULT_RETURNPAGE symbol.
> >>>
> >>> Alejandro.
> >>>
> >>> On Thu, Nov 21, 2013 at 12:17 PM, Borut Bolčina <
> [hidden email]>
> >>> wrote:
> >>> > And indeed in 0.4.3 there is a class with commented field. How to
> >>> replace
> >>> > this functionality?
> >>> >
> >>> > public class FederatedAccountSymbols {
> >>> >     // public static final String SUCCESSURL =
> >>> > "federatedaccounts.successurl";
> >>> >
> >>> >     public static final String COMMITAFTER_OAUTH =
> >>> > "federatedaccounts.commitafteroauth";
> >>> >
> >>> >     public static final String HTTPCLIENT_ON_GAE = "httpclient.gae";
> >>> >
> >>> >     public static final String DEFAULT_RETURNPAGE =
> >>> > "federatedaccounts.default_returnpage";
> >>> >
> >>> >     public static final String DEFAULT_REMEMBERME =
> >>> > "federatedaccounts.default_rememberme";
> >>> >
> >>> >     public static final String LOCALACCOUNT_REALMNAME =
> >>> > "federatedaccounts.localaccount_realmname";
> >>> > }
> >>> >
> >>> >
> >>> > 2013/11/21 Borut Bolčina <[hidden email]>
> >>> >
> >>> >> Yes, indeed, another dependent project brought in the 0.2.0 version
> of
> >>> >> federatedaccounts-core.
> >>> >>
> >>> >> Now I am having another issue:
> >>> >> configuration.add(FederatedAccountSymbols.SUCCESSURL,
> >>> "/prijavaRedirect");
> >>> >>
> >>> >> SUCCESSURL is not a field anymore.
> >>> >>
> >>> >>
> >>> >> 2013/11/21 Kalle Korhonen <[hidden email]>
> >>> >>
> >>> >>> At a first glance, it'd  looks like federatedaccounts-core in your
> >>> >>> classpath is a pre 0.4 version, based on:
> >>> >>> "Type
> >>> >>>
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> >>> >>> not present"
> >>> >>>
> >>> >>> Is it possible you have multiple versions of the relevant libraries
> >>> in
> >>> >>> your
> >>> >>> classpath?
> >>> >>>
> >>> >>> Kalle
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> On Wed, Nov 20, 2013 at 11:41 PM, Borut Bolčina <
> >>> [hidden email]
> >>> >>> >wrote:
> >>> >>>
> >>> >>> > Hi Kalle,
> >>> >>> >
> >>> >>> > I just tried the 0.4.3 version (before I had 0.2.0) and I get
> this
> >>> >>> > exception below. Is there something quick I can fix in my code?
> >>> >>> >
> >>> >>> > 2013-11-20 17:00:57.566:WARN:oejuc.AbstractLifeCycle:FAILED app:
> >>> >>> > java.lang.RuntimeException: Exception loading module(s) from
> >>> manifest
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> >>> >>> > Failure loading Tapestry IoC module class
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> >>> >>> > Type
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> >>> >>> > not present
> >>> >>> > java.lang.RuntimeException: Exception loading module(s) from
> >>> manifest
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> >>> >>> > Failure loading Tapestry IoC module class
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> >>> >>> > Type
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> >>> >>> > not present
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >>> >>> >     at
> >>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >>> >>> >     at
> >>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >>> >>> >     at
> >>> >>>
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >>> >>> >     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:320)
> >>> >>> >     at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >>> >>> >     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:409)
> >>> >>> >     at
> >>> >>> >
> >>> >>>
> >>>
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >>> >>> > Caused by:
> >>> >>> > java.lang.RuntimeException: Failure loading Tapestry IoC module
> >>> class
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> >>> >>> > Type
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> >>> >>> > not present
> >>> >>> >     at
> >>> >>> >
> >>> org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >>> >>> >     at
> >>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >>> >>> >     at
> >>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >>> >>> >     at
> >>> >>>
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >>> >>> >     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:320)
> >>> >>> >     at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >>> >>> >     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:409)
> >>> >>> >     at
> >>> >>> >
> >>> >>>
> >>>
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >>> >>> > 2013-11-20 17:00:57.568:WARN:oejw.WebAppContext:Failed startup of
> >>> >>> context
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> o.m.j.p.JettyWebAppContext{/,file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/},file:/C:/Users/bolcinab/workspace/najdi-web-TRUNK/src/main/webapp/
> >>> >>> > java.lang.RuntimeException: Exception loading module(s) from
> >>> manifest
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> jar:file:/C:/Users/bolcinab/.m2/repository/org/tynamo/security/tynamo-federatedaccounts-facebook/0.4.3/tynamo-federatedaccounts-facebook-0.4.3.jar!/META-INF/MANIFEST.MF:
> >>> >>> > Failure loading Tapestry IoC module class
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> >>> >>> > Type
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> >>> >>> > not present
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >>> >>> >     at
> >>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >>> >>> >     at
> >>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >>> >>> >     at
> >>> >>>
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >>> >>> >     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:320)
> >>> >>> >     at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >>> >>> >     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:409)
> >>> >>> >     at
> >>> >>> >
> >>> >>>
> >>>
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >>> >>> > Caused by:
> >>> >>> > java.lang.RuntimeException: Failure loading Tapestry IoC module
> >>> class
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.facebook.services.FacebookFederatedAccountsModule:
> >>> >>> > Type
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.tynamo.security.federatedaccounts.services.FederatedSignInComponentBlockSource
> >>> >>> > not present
> >>> >>> >     at
> >>> >>> >
> >>> org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:162)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
> >>> >>> >     at
> >>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:719)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
> >>> >>> >     at
> >>> >>> >
> >>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> >>> >>> >     at org.eclipse.jetty.server.Server.doStart(Server.java:280)
> >>> >>> >     at
> >>> org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
> >>> >>> >     at
> >>> >>>
> org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >>> >>> >     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:320)
> >>> >>> >     at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >>> >>> >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >>> >>> >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >>> >>> >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >>> >>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>> >>> >     at
> >>> >>> >
> >>> >>> >
> >>> >>>
> >>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>> >>> >     at java.lang.reflect.Method.invoke(Method.java:597)
> >>> >>> >     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:409)
> >>> >>> >     at
> >>> >>> >
> >>> >>>
> >>>
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >>> >>> > 2013-11-20 17:00:57.576:INFO:oejs.AbstractConnector:Started
> >>> >>> > SelectChannelConnector@0.0.0.0:80
> >>> >>> > [INFO] Started Jetty Server
> >>> >>> >
> >>> >>> >
> >>> >>> > 2013/8/23 Howard Lewis Ship <[hidden email]>
> >>> >>> >
> >>> >>> > > Terrific work as always!
> >>> >>> > >
> >>> >>> > >
> >>> >>> > > On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen
> >>> >>> > > <[hidden email]>wrote:
> >>> >>> > >
> >>> >>> > > > Federatedaccounts takes another leap forward by integrating
> >>> with a
> >>> >>> new,
> >>> >>> > > > Scribe-based module, Pac4j by Jérôme Leleu <
> >>> >>> > > > https://github.com/leleuj/pac4j>.
> >>> >>> > > > See, the problem with Scribe, and Oauth in general, is that
> >>> there's
> >>> >>> no
> >>> >>> > > > standard way of getting any unique identifier with Oauth
> >>> (unlike in
> >>> >>> > > > OpenID). So there are several different provider specific
> >>> extension
> >>> >>> and
> >>> >>> > > it
> >>> >>> > > > quickly becomes a mess (read what the author of Scribe thinks
> >>> about
> >>> >>> > > > this<
> >>> >>> > > >
> >>> >>> > >
> >>> >>> >
> >>> >>>
> >>>
> https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised
> >>> >>> > > > >).
> >>> >>> > > > Anyway, it's great somebody, and in this case, Jérôme, still
> >>> >>> bothers to
> >>> >>> > > > generalize the approach because otherwise I would have needed
> >>> to do
> >>> >>> it.
> >>> >>> > > The
> >>> >>> > > > new Federated Accounts module,
> >>> >>> > tynamo-federatedaccounts-pac4jbasedoauth,
> >>> >>> > > > simply provides UI components (Oauth sign in components,
> >>> callback
> >>> >>> > pages)
> >>> >>> > > > around Pac4j, handles the Oauth all automatically and bakes
> in
> >>> >>> > > > Tapestry-style configuration around it so all you need to do
> >>> is to
> >>> >>> just
> >>> >>> > > add
> >>> >>> > > > your Oauth app credentials for your provider of choice. The
> >>> primary
> >>> >>> use
> >>> >>> > > > case for the new module is authentication and user profile
> >>> >>> federation,
> >>> >>> > > for
> >>> >>> > > > other uses cases, you typically still want to use provider
> >>> specific
> >>> >>> > APIs
> >>> >>> > > > and libraries. Documentation is also updated although a bit
> >>> thin
> >>> >>> still.
> >>> >>> > > > Read more at tynamo-federatedaccounts
> >>> >>> > > > guide<
> >>> >>> > > >
> >>> >>>
> >>> http://docs.codehaus.org/display/TYNAMO/tynamo-federatedaccounts+guide
> >>> >>> > >
> >>> >>> > > > .
> >>> >>> > > >
> >>> >>> > > > Release notes:
> >>> >>> > > > Improvement
> >>> >>> > > >
> >>> >>> > > >    - [TYNAMO-211 <http://jira.codehaus.org/browse/TYNAMO-211
> >]
> >>> -
> >>> >>> Allow
> >>> >>> > > >    parametrized configuration in federated login components
> for
> >>> >>> setting
> >>> >>> > > >    rememberMe in the token
> >>> >>> > > >    - [TYNAMO-220 <http://jira.codehaus.org/browse/TYNAMO-220
> >]
> >>> -
> >>> >>> > > Implement
> >>> >>> > > >    rolling tokens support for federated accounts
> >>> >>> > > >    - [TYNAMO-181 <http://jira.codehaus.org/browse/TYNAMO-181
> >]
> >>> -
> >>> >>> > > Implement
> >>> >>> > > >    DefaultJpaFederatedAccountServiceImpl
> >>> >>> > > >    - [TYNAMO-182 <http://jira.codehaus.org/browse/TYNAMO-182
> >]
> >>> -
> >>> >>> > Support
> >>> >>> > > >    GitHub federated login
> >>> >>> > > >
> >>> >>> > > > New Feature
> >>> >>> > > >
> >>> >>> > > >    - [TYNAMO-93 <http://jira.codehaus.org/browse/TYNAMO-93>]
> -
> >>> >>> Support
> >>> >>> > > for
> >>> >>> > > >    Google OAuth 2.0
> >>> >>> > > >
> >>> >>> > > > Bug
> >>> >>> > > >
> >>> >>> > > >    - [TYNAMO-217 <http://jira.codehaus.org/browse/TYNAMO-217
> >]
> >>> -
> >>> >>> > > >    returnPageName is required since there's no
> >>> defaultReturnPage
> >>> >>> prop
> >>> >>> > in
> >>> >>> > > >    AbstractOauthSignIn
> >>> >>> > > >
> >>> >>> > > >
> >>> >>> > > > Enjoy,
> >>> >>> > > >
> >>> >>> > > > Tynamo Team
> >>> >>> > > >
> >>> >>> > >
> >>> >>> > >
> >>> >>> > >
> >>> >>> > > --
> >>> >>> > > Howard M. Lewis Ship
> >>> >>> > >
> >>> >>> > > Creator of Apache Tapestry
> >>> >>> > >
> >>> >>> > > The source for Tapestry training, mentoring and support.
> Contact
> >>> me to
> >>> >>> > > learn how I can get you up and productive in Tapestry fast!
> >>> >>> > >
> >>> >>> > > (971) 678-5210
> >>> >>> > > http://howardlewisship.com
> >>> >>> > >
> >>> >>> >
> >>> >>>
> >>> >>
> >>> >>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [hidden email]
> >>> For additional commands, e-mail: [hidden email]
> >>>
> >>>
> >>
> >
>
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com
>
Loading...