Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(openbanking): errors related to agama is thrown during jans-auth startup on openbanking setup #2857

Closed
iromli opened this issue Nov 3, 2022 · 0 comments · Fixed by #2863
Assignees
Labels
comp-docker-jans-auth-server comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@iromli
Copy link
Contributor

iromli commented Nov 3, 2022

Running jans-auth in OpenBanking setup throws the following errors:

2022-11-03 18:52:42,671 INFO  [main] [io.jans.agama.engine.service.ServicesFactory] (ServicesFactory.java:46) - Refreshing Agama configuration...     
2022-11-03 18:52:42,709 ERROR [main] [io.jans.agama.engine.service.ServicesFactory] (ServicesFactory.java:50) - No origin bean specified              
java.lang.IllegalArgumentException: No origin bean specified                                                                                          
        at org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:239) ~[commons-beanutils-1.9.4.jar:1.9.4]                     
        at org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:135) ~[commons-beanutils-1.9.4.jar:1.9.4]                             
        at io.jans.agama.engine.service.ServicesFactory.updateConfiguration(ServicesFactory.java:47) ~[agama-engine-1.0.4-SNAPSHOT.jar:?]             
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]                                                                
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]                                                                
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]                                                            
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]                                                                                     
        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final
]                                                                                                                                                     
        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final
]                                                                                                                                                     
        at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl
-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at jakarta.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:125) ~[jakarta.enterprise.cdi-api-3.0.0.jar:?]
        at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.EventImpl.fire(EventImpl.java:96) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at io.jans.as.server.model.config.ConfigurationFactory.createFromLdap(ConfigurationFactory.java:415) ~[classes/:?]
        at io.jans.as.server.model.config.ConfigurationFactory.create(ConfigurationFactory.java:205) ~[classes/:?]
        at io.jans.as.server.model.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.create(Unknown Source) ~[classes/:?]
        at io.jans.as.server.model.config.ConfigurationFactory$Proxy$_$$_WeldClientProxy.create(Unknown Source) ~[classes/:?]
        at io.jans.as.server.service.AppInitializer.applicationInitialized(AppInitializer.java:202) ~[classes/:?]
        at io.jans.as.server.service.AppInitializer$Proxy$_$$_WeldSubclass.applicationInitialized(Unknown Source) ~[classes/:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final
]
        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final
]
        at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl
-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at jakarta.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:125) ~[jakarta.enterprise.cdi-api-3.0.0.jar:?]
        at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) ~[weld-core-impl-4.0.3.Final.jar:4.0.3.Final]
        at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) ~[weld-web-4.0.3.Final.j
ar:4.0.3.Final]
        at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) ~[weld-web-4.0.3.Final.jar:4.0.3.F
inal]
        at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:99) ~[weld-web-4.0.3.Final.jar:4.0.3.Fina
l]
        at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) ~[weld-spi-4.0.SP1.jar:4
.0.0.SP1]
        at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) ~[weld-servlet-core-4.0.3.Final.jar:4.0.3.Final]   
        at org.eclipse.jetty.servlet.ServletContainerInitializerHolder.doStart(ServletContainerInitializerHolder.java:148) ~[?:?]                     
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]                                                 
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) ~[?:?]                                              
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) ~[?:?]                                            
        at org.eclipse.jetty.servlet.ServletContextHandler$ServletContainerInitializerStarter.doStart(ServletContextHandler.java:1660) ~[?:?]         
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]                                                 
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:369) ~[?:?]
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1305) ~[?:?]
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:896) ~[?:?]
        at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:306) ~[?:?]
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:533) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121) ~[?:?]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121) ~[?:?]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) ~[?:?]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89) ~[?:?]
        at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:253) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) ~[?:?]
        at org.eclipse.jetty.server.Server.start(Server.java:469) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) ~[?:?]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89) ~[?:?]
        at org.eclipse.jetty.server.Server.doStart(Server.java:414) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$4(XmlConfiguration.java:1872) ~[?:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1810) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:228) ~[?:?]
        at org.eclipse.jetty.start.Main.start(Main.java:517) ~[?:?]
        at org.eclipse.jetty.start.Main.main(Main.java:75) ~[?:?]
@mo-auto mo-auto added the kind-bug Issue or PR is a bug in existing functionality label Nov 3, 2022
@iromli iromli changed the title fix(openbanking): missing agamaConfiguration for OpenBanking setup fix(openbanking): errors related to agama is thrown during jans-auth startup on openbanking setup Nov 3, 2022
@jgomer2001 jgomer2001 self-assigned this Nov 3, 2022
@iromli iromli added comp-docker-jans-auth-server comp-jans-auth-server Component affected by issue or PR and removed comp-docker-jans-persistence-loader comp-jans-linux-setup Component affected by issue or PR labels Nov 3, 2022
yuriyz added a commit that referenced this issue Nov 8, 2022
* fix(config-api): client creation exception

* fix(config-api): client creations exception

* fix(config-api): issues fixed 2743, 2755 and 2689

* fix(config-api): change to use fido2 app config model

* fix(config-api): change to use fido2 app config model

* docs(config-api): swagger fix for script enum

* fix: avoid NPE when configuration is missing #2857 (#2863)

* Initial commit IDM, IAG, 2FA Portal (#2873)

initial commit

* fix(image): multiple dynamic scopes created when using 2 replicas (#2871)

* feat: for file based scripts check both script revision and file (#2878)

modification time #2877

Co-authored-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>

* feat(jans-auth-server): added token exchange support to client #2518 (#2855)

And added native sso http test.

* feat: ssa revoke endpoint (#2865)

* docs: update ubuntu.md (#2870)

* docs: Helm install on GKE, AKS, and EKS (#2777)

* docs: Helm install on GKE

* docs: fix to yaml

* docs: remove unnecessary sudo,  kubeconfig flag and create namespace

Creating namespace initially makes more sense. Since it can be used during the database installation.

Also removing sudo makes kubeconfig flag unnecessary too

* docs: fix file name

* docs: fix

* docs: fix indentation

fix indentation so that copying is simpler

* docs: rephrase

* docs: Helm install on EKS


docs: Helm install on EKS

* fix: typo

* docs: EKS fix

* docs: fix mistake in GKE too

* docs: Helm install on AKS

* docs: fix

* fix(jans-auth-server): fix language metadata format (#2883)

* fix(jans-auth-server): fix language metadata format

* fix(jans-auth-server): fix language metadata format

* Initial checkin: RBAC, central authz (#2884)

Starting point for these topics

* fix(config-api): swagger update for enum and error handling

Co-authored-by: Jose <bonustrack310@gmail.com>
Co-authored-by: Mike Schwartz <mike@gluu.org>
Co-authored-by: Isman Firmansyah <iromli@users.noreply.github.com>
Co-authored-by: Yuriy M <95305560+yuremm@users.noreply.github.com>
Co-authored-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
Co-authored-by: YuriyZ <yzabrovarniy@gmail.com>
Co-authored-by: Milton Ch <86965029+Milton-Ch@users.noreply.github.com>
Co-authored-by: mzico <mohib@gluu.org>
Co-authored-by: misba7 <amromisba7@gmail.com>
Co-authored-by: Javier Rojas <javier.rojas.blum@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-docker-jans-auth-server comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants