You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by manu romero <ma...@hotmail.com> on 2018/10/26 03:11:20 UTC

error security module realm

hello, I'm trying to implement shiro with security module realm, on the isis simple app, following the incode plataform guide (http://platform.incode.org/modules/spi/security/spi-security.html), but at the time of running the application the following error is generated: (The table does not exist: ISISSECURITY.APPLICATIONTENANCY in Catalog Schema ISISSECURITY. The MetaData is not correct, or you need to put "datanucleus.schema.autoCreateTables" as "true"). to which I proceed to add the annotation in isis.properties, but the error continues


AW: error security module realm

Posted by "Rade, Joerg / Kuehne + Nagel / HAM GI-DP" <Jo...@Kuehne-Nagel.com>.
Hi Manu,

please try adding it to [1] and report if it solves the issue.

Best regards
Jörg
[1] https://github.com/Practica2-Ifes/MantenimientoPredictivo/blob/featureShiroconf/application/src/main/resources/domainapp/application/manifest/persistor_datanucleus.properties

-----Ursprüngliche Nachricht-----
Von: manu romero [mailto:manu_nqn92@hotmail.com]
Gesendet: Freitag, 26. Oktober 2018 05:11
An: users@isis.apache.org
Betreff: error security module realm

hello, I'm trying to implement shiro with security module realm, on the isis simple app, following the incode plataform guide (http://platform.incode.org/modules/spi/security/spi-security.html), but at the time of running the application the following error is generated: (The table does not exist: ISISSECURITY.APPLICATIONTENANCY in Catalog Schema ISISSECURITY. The MetaData is not correct, or you need to put "datanucleus.schema.autoCreateTables" as "true"). to which I proceed to add the annotation in isis.properties, but the error continues


Kühne + Nagel (AG & Co.) KG
Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE 812773878.
Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Dr. Hansjörg Rodi (Vors. ), Tom Ban, Martin Brinkmann, Holger Ketz, Jan-Hendrik Köstergarten, Nicholas Minde, Lars Wedel, Matthias Weiner.
Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform: Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt.
Geschäftsleitung Region Zentral- und Osteuropa: Dr. Hansjörg Rodi (Vors.), Tom Ban, Dominic Edmonds, Thierry Held, Uwe Hött, Richard Huhn, Holger Ketz, Jan-Hendrik Köstergarten, Jan Kunze.

Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen in Ziffer 23 hinsichtlich des Haftungshöchstbetrages für Güterschäden (§ 431 HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporten unter Einschluss einer Seebeförderung und bei unbekanntem Schadenort auf 2 SZR/kg und im Übrigen die Regelhaftung von 8,33 SZR/kg zusätzlich auf 1,25 Millionen Euro je Schadenfall sowie 2,5 Millionen Euro je Schadenereignis, mindestens aber 2 SZR/kg, beschränken. Die ADSp sind auf unserer Webseite als Download erhältlich. Auf Anfrage senden wir Ihnen diese auch gerne zu.

RE: error security module realm

Posted by manu romero <ma...@hotmail.com>.
Hi Jörg and Dan, sorry the branch was not updated, I already tried the suggested changes before but the error persists, the weird thing is that datanucleus creates the other domain classes in the database, but not the security one, when doing mvn clean install fails in the webapp module.



Enviado desde Correo<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10



________________________________
De: Dan Haywood <da...@haywood-associates.co.uk>
Enviado: Friday, October 26, 2018 8:43:20 AM
Para: users
Asunto: Re: error security module realm

Hi Manu,

This is a bit obscure, but you need to use
"isis.persistor.datanucleus.impl." as a prefix, ie:

isis.persistor.datanucleus.impl.datanucleus.schema.autoCreateTables=true

That's because anything with this prefix is passed through to DN verbatim.
For more info, see [1]

~~~
That said, to save you some time, you might want to try the incode
quickstart, [2].  This is basically the same simpleapp, but with security
and some other common modules pre-configured.

HTH
Dan


[1]
http://isis.apache.org/guides/ugodn/ugodn.html#_configuration_properties_passed_through_directly_to_datanucleus
[2] http://platform.incode.org/#quickstart


On Fri, 26 Oct 2018 at 04:16, manu romero <ma...@hotmail.com> wrote:

> agrego repositorio de git
>
>
> https://github.com/Practica2-Ifes/MantenimientoPredictivo/tree/featureShiroconf
>
>
>
> Enviado desde Correo<https://go.microsoft.com/fwlink/?LinkId=550986> para
> Windows 10
>
>
>
> ________________________________
> De: manu romero <ma...@hotmail.com>
> Enviado: Friday, October 26, 2018 12:11:20 AM
> Para: users@isis.apache.org
> Asunto: error security module realm
>
> hello, I'm trying to implement shiro with security module realm, on the
> isis simple app, following the incode plataform guide (
> http://platform.incode.org/modules/spi/security/spi-security.html), but
> at the time of running the application the following error is generated:
> (The table does not exist: ISISSECURITY.APPLICATIONTENANCY in Catalog
> Schema ISISSECURITY. The MetaData is not correct, or you need to put
> "datanucleus.schema.autoCreateTables" as "true"). to which I proceed to add
> the annotation in isis.properties, but the error continues
>
>

Re: error security module realm

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Manu,

This is a bit obscure, but you need to use
"isis.persistor.datanucleus.impl." as a prefix, ie:

isis.persistor.datanucleus.impl.datanucleus.schema.autoCreateTables=true

That's because anything with this prefix is passed through to DN verbatim.
For more info, see [1]

~~~
That said, to save you some time, you might want to try the incode
quickstart, [2].  This is basically the same simpleapp, but with security
and some other common modules pre-configured.

HTH
Dan


[1]
http://isis.apache.org/guides/ugodn/ugodn.html#_configuration_properties_passed_through_directly_to_datanucleus
[2] http://platform.incode.org/#quickstart


On Fri, 26 Oct 2018 at 04:16, manu romero <ma...@hotmail.com> wrote:

> agrego repositorio de git
>
>
> https://github.com/Practica2-Ifes/MantenimientoPredictivo/tree/featureShiroconf
>
>
>
> Enviado desde Correo<https://go.microsoft.com/fwlink/?LinkId=550986> para
> Windows 10
>
>
>
> ________________________________
> De: manu romero <ma...@hotmail.com>
> Enviado: Friday, October 26, 2018 12:11:20 AM
> Para: users@isis.apache.org
> Asunto: error security module realm
>
> hello, I'm trying to implement shiro with security module realm, on the
> isis simple app, following the incode plataform guide (
> http://platform.incode.org/modules/spi/security/spi-security.html), but
> at the time of running the application the following error is generated:
> (The table does not exist: ISISSECURITY.APPLICATIONTENANCY in Catalog
> Schema ISISSECURITY. The MetaData is not correct, or you need to put
> "datanucleus.schema.autoCreateTables" as "true"). to which I proceed to add
> the annotation in isis.properties, but the error continues
>
>

RE: error security module realm

Posted by manu romero <ma...@hotmail.com>.
agrego repositorio de git

https://github.com/Practica2-Ifes/MantenimientoPredictivo/tree/featureShiroconf



Enviado desde Correo<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10



________________________________
De: manu romero <ma...@hotmail.com>
Enviado: Friday, October 26, 2018 12:11:20 AM
Para: users@isis.apache.org
Asunto: error security module realm

hello, I'm trying to implement shiro with security module realm, on the isis simple app, following the incode plataform guide (http://platform.incode.org/modules/spi/security/spi-security.html), but at the time of running the application the following error is generated: (The table does not exist: ISISSECURITY.APPLICATIONTENANCY in Catalog Schema ISISSECURITY. The MetaData is not correct, or you need to put "datanucleus.schema.autoCreateTables" as "true"). to which I proceed to add the annotation in isis.properties, but the error continues