-
-
Save abstractj/d61102567f79d76c0ba4 to your computer and use it in GitHub Desktop.
Details about the exception raised on PicketBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17:01:42,932 ERROR [stderr] (Timer-2) Exception in thread "Timer-2" java.lang.IllegalStateException: JBAS016071: Singleton not set for ModuleClassLoader for Module "deployment.aerogear-controller-demo.war:main" from Service Module Loader. This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment. | |
17:01:42,933 ERROR [stderr] (Timer-2) at org.jboss.as.weld.services.ModuleGroupSingletonProvider$TCCLSingleton.get(ModuleGroupSingletonProvider.java:75) | |
17:01:42,933 ERROR [stderr] (Timer-2) at org.jboss.weld.Container.instance(Container.java:54) | |
17:01:42,933 ERROR [stderr] (Timer-2) at org.jboss.weld.resolution.ResolvableBuilder.checkQualifier(ResolvableBuilder.java:173) | |
17:01:42,933 ERROR [stderr] (Timer-2) at org.jboss.weld.resolution.ResolvableBuilder.addQualifier(ResolvableBuilder.java:145) | |
17:01:42,934 ERROR [stderr] (Timer-2) at org.jboss.weld.resolution.ResolvableBuilder.addQualifierIfAbsent(ResolvableBuilder.java:153) | |
17:01:42,934 ERROR [stderr] (Timer-2) at org.jboss.weld.manager.BeanManagerImpl.resolveObserverMethods(BeanManagerImpl.java:425) | |
17:01:42,934 ERROR [stderr] (Timer-2) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:559) | |
17:01:42,934 ERROR [stderr] (Timer-2) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:554) | |
17:01:42,935 ERROR [stderr] (Timer-2) at org.picketbox.cdi.event.CDIAuthenticationEventManager.raiseEvent(CDIAuthenticationEventManager.java:50) | |
17:01:42,935 ERROR [stderr] (Timer-2) at org.picketbox.core.session.PicketBoxSession.invalidate(PicketBoxSession.java:163) | |
17:01:42,935 ERROR [stderr] (Timer-2) at org.picketbox.core.session.PicketBoxSession.invalidate(PicketBoxSession.java:149) | |
17:01:42,935 ERROR [stderr] (Timer-2) at org.picketbox.core.session.PicketBoxSession.expire(PicketBoxSession.java:178) | |
17:01:42,936 ERROR [stderr] (Timer-2) at org.picketbox.core.session.SessionExpirationManager$1.run(SessionExpirationManager.java:61) | |
17:01:42,936 ERROR [stderr] (Timer-2) at java.util.TimerThread.mainLoop(Timer.java:512) | |
17:01:42,936 ERROR [stderr] (Timer-2) at java.util.TimerThread.run(Timer.java:462) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PicketBoxConfigurer { | |
private static final int TIMEOUT_IN_MINUTES = 30; | |
@Inject | |
private JPATemplate jpaTemplate; | |
@Inject | |
private OTPAuthenticationMechanism otpAuthenticationMechanism; | |
@Produces | |
public ConfigurationBuilder produceConfiguration() { | |
ConfigurationBuilder builder = new ConfigurationBuilder(); | |
builder.authentication(); | |
builder | |
.identityManager() | |
.jpaStore().template(this.jpaTemplate); | |
builder | |
.sessionManager() | |
.sessionTimeout(TIMEOUT_IN_MINUTES) | |
.inMemorySessionStore(); | |
return builder; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment