Hello Jeroen, I am using IntelliJ IDEA version 14, I am not running from the IDE buy from the command line via mvn -P self-host antrun:run command. Yes I am using release 1.9.0 everywhere, isis core, isis add ons.
I will take a look at the typo, I also reported an issue when using location lookup service, so it might be related to that (I hope). I hope you manage working out the IntelliJ issue, have fun! Thank you. -----Original Message----- From: Jeroen van der Wal [mailto:jer...@stromboli.it] Sent: Wednesday, October 28, 2015 10:23 AM To: users Subject: Re: Security add on Hi Cesar, Could you share more info regarding your setup? Are you running from the IDE? What IDE are you using? Are you using released versions (1.9.0) everywhere? Does this also appear when running from the command line [1]? I you might guess from my reply I don't have an instant answer. This morning I spent a good deal of time deleting my IntelliJ projects and recreating them again using a different approach because my classpath was messed up. Cheers, Jeroen PS There's a typo in your isis.properties: org.isisaddons.wicket.gmap3.cp should be org.isisaddons.wicket.gmap3.cpt but that should not matter I guess. [1] mvn -P self-host antrun:run On 28 October 2015 at 15:48, Cesar Lugo <cesar.l...@sisorg.com.mx> wrote: > Hello, > > > > I used to have the security add on module running just fine. Now I am > having this error in the console when the Apache Isis server tries to > start. > > > > 08:45:58,987 [Schema Thread-4 DEBUG] CREATE INDEX > "ApplicationUserRoles_N49" ON "isissecurity"."ApplicationUserRoles" > ("roleId") > > 08:45:58,988 [Schema Thread-4 DEBUG] Execution Time = 1 > ms > > 08:45:58,988 [Schema Thread-4 DEBUG] Schema Transaction > committing with connection > > "org.datanucleus.store.rdbms.datasource.dbcp.PoolingDataSource$PoolGua > rdConn > ectionWrapper@4bb35619" > > 08:45:58,988 [Schema Thread-4 DEBUG] Schema Transaction > closing with connection > > "org.datanucleus.store.rdbms.datasource.dbcp.PoolingDataSource$PoolGua > rdConn > ectionWrapper@4bb35619" > > seed-users-and-roles-fixture-script : EXEC > org.isisaddons.module.security.seed.SeedUsersAndRolesFixtureScript > > seed-users-and-roles-fixture-script/global-tenancy : EXEC > org.isisaddons.module.security.seed.scripts.GlobalTenancy > > 08:45:59,489 [IsisTransaction Thread-4 INFO ] abort transaction > IsisTransaction@af921b[state=MUST_ABORT,commands=0] > > 08:45:59,495 [IsisWicketApplication Thread-4 ERROR] Failed to > initialize > > com.google.inject.ProvisionException: Guice provision errors: > > > > 1) Error in custom provider, > > org.apache.isis.core.runtime.system.transaction.IsisTransactionManager > Except > ion: java.lang.NullPointerException > > at > > org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem > (IsisI > njectModule.java:139) > > at > > org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem > (IsisI > njectModule.java:139) > > while locating org.apache.isis.core.runtime.system.IsisSystem > > for field at > > org.apache.isis.viewer.wicket.viewer.IsisWicketApplication.system(Isis > Wicket > Application.java:151) > > while locating domainapp.webapp.DomainApplication > > > > I have checked the project's dom POM file, > > > > <dependency> > <groupId>org.isisaddons.module.security</groupId> > <artifactId>isis-module-security-dom</artifactId> > <version>1.9.0</version> > </dependency> > <dependency> > <groupId>org.mindrot</groupId> > <artifactId>jbcrypt</artifactId> > <version>0.3m</version> > </dependency> > > > > > > An also checked the shiro.ini add on configuration > > > > ldapRealm = org.apache.isis.security.shiro.IsisLdapRealm > ldapRealm.contextFactory = $contextFactory > > # Section to enable Security Add-on > > isisModuleSecurityRealm=org.isisaddons.module.security.shiro.IsisModul > eSecur > ityRealm > > authenticationStrategy=org.isisaddons.module.security.shiro.Authentica > tionSt > rategyForIsisModuleSecurityRealm > securityManager.authenticator.authenticationStrategy = > $authenticationStrategy securityManager.realms = > $isisModuleSecurityRealm > > > > and isis.properties configuration for the security add on > > > > isis.services-installer=configuration-and-annotation > isis.services.ServicesInstallerFromAnnotation.packagePrefix= \ > domainapp, \ > org.apache.isis, \ > org.isisaddons, \ > org.isisaddons.module.security,\ > org.isisaddons.wicket.gmap3.cp > > #Configuration for Isis add on security module # Section to enable > Security add-on module isis.services = \ > > > org.isisaddons.module.security.dom.password.PasswordEncryptionServiceU > singJB > crypt,\ > > > org.isisaddons.module.security.dom.permission.PermissionsEvaluationSer > viceAl > lowBeatsVeto > # Enable tenancy checking > > isis.reflector.facets.include=org.isisaddons.module.security.facets.Te > nanted > AuthorizationFacetFactory > > > > Any suggestion where should I be looking into? > > > > Cesar. > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus