org.josso.gateway.session.exceptions.SSOSessionException: java.security.AccessControlException: access denied (org.osgi.framework.AdminPermission (id=73) context)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Terracotta by kaushalk, 1 year ago
java.security.AccessControlException: access denied (org.osgi.framework.AdminPermission (id=73) context)
org.josso.gateway.session.exceptions.SSOSessionException: java.security.AccessControlException: access denied (org.osgi.framework.AdminPermission (id=73) context)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at org.apache.aries.jndi.Utils.getBundleContext(Utils.java:108)
at org.apache.aries.jndi.Utils.doGetBundleContext(Utils.java:96)
at org.apache.aries.jndi.Utils.access$0(Utils.java:70)
at org.apache.aries.jndi.Utils$1.run(Utils.java:65)
at org.apache.aries.jndi.Utils$1.run(Utils.java:1)
at org.apache.aries.jndi.Utils.getBundleContext(Utils.java:63)
at org.apache.aries.jndi.OSGiInitialContextFactoryBuilder.getInitialContext(OSGiInitialContextFactoryBuilder.java:44)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:316)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.josso.gateway.session.service.store.db.DataSourceSessionStore.getDataSource(DataSourceSessionStore.java:96)
at org.josso.gateway.session.service.store.db.DataSourceSessionStore.getConnection(DataSourceSessionStore.java:55)
at org.josso.gateway.session.service.store.db.DbSessionStore.loadByValid(DbSessionStore.java:579)
at org.josso.gateway.session.service.SSOSessionManagerImpl.checkValidSessions(SSOSessionManagerImpl.java:323)
at org.josso.gateway.session.service.SSOSessionManagerImpl$SessionMonitor.run(SSOSessionManagerImpl.java:495)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

5 times, 2 weeks ago
Once, 4 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
79 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.