-
1. Re: Seam 3.1.0.Beta3 released
tikus Oct 6, 2011 7:25 AM (in response to shane.bryzak)Hi
anything changed in seam-security jpaIdentityStoreConfiguration configuration? I cant get it
to work after upgrading to 3.1.0.Beta3? It was working with 3.0.0.Final ..(MSC service thread 1-1) Preventing installation of default bean: org.jboss.seam.security.management.picketlink.JpaIdentityStoreConfiguration
How can i debug whats preventing this bean from being installed?
Thanks
Tom -
2. Re: Seam 3.1.0.Beta3 released
shane.bryzak Oct 6, 2011 8:26 AM (in response to shane.bryzak)That is very weird.. I can't think of what might be preventing it from being installed. Are you able to replicate this with a minimal test case?
-
3. Re: Seam 3.1.0.Beta3 released
tikus Oct 6, 2011 9:48 AM (in response to shane.bryzak)I just wonder if it cant have anything to do with old references to seam-solder. I filled bug
SEAMFACES-211[org.jboss.solder.core.CoreExtension] (MSC service thread 1-3) Preventing class org.jboss.seam.faces.exception.CatchExceptionHandler from being installed as required class org.jboss.seam.exception.control.extension.CatchExtension could not be found
15:08:38,710 INFO [org.jboss.solder.core.CoreExtension] (MSC service thread 1-3) Preventing class org.jboss.seam.faces.security.SecurityPhaseListener from being installed as required class org.jboss.seam.security.extension.SecurityExtension could not be foundafter fixing these references in seam-faces they are gone but jpaidentitystoreconfiguration is still blocked.
I thought i could try to deploy idm-console example from 3.1.0.Beta3, but its not configured for jpaidentitystore yet as the one from 3.0.0.Final
-
4. Re: Seam 3.1.0.Beta3 released
shane.bryzak Oct 6, 2011 7:33 PM (in response to shane.bryzak)Those issues have already been fixed, but thanks for filing it. I don't think they have anything to do with JpaIdentityStoreConfiguration. What do you mean about the idm-console example not being configured? The latest release deploys for me fine.
-
5. Re: Seam 3.1.0.Beta3 released
tikus Oct 7, 2011 4:02 AM (in response to shane.bryzak)You are right it deploys fine. But its not configured in seam-beans.xml anymore. Its configured using annotations on security model entities right?
Preventing installation of jpaidentitystoreconfiguration is maybe caused by solder configuring it from seam-beans.xml where s:replaces prevents default bean to be installed.
Is that correct?So there is definitely error somewhere on my side.
After updating to model entities from idm-console examples, deleting configuration from seam-beans.xml
Preventing installation of jpaidentitystoreconfiguration
is gone but this error occurs after authentication:org.picketlink.idm.common.exception.IdentityException: Error creating IdentitySession - no PicketLink IdentityStore repositories have been configured.
-
6. Re: Seam 3.1.0.Beta3 released
tikus Oct 7, 2011 6:55 AM (in response to shane.bryzak)I found the cause. My entities was packaged in separate jar file included in war. After moving all entities to war, its working again ....
-
7. Re: Seam 3.1.0.Beta3 released
lightguard Oct 9, 2011 1:22 AM (in response to shane.bryzak)This sounds like a bug we should fix, would you please create a JIRA issue under Seam Security?
-
8. Re: Seam 3.1.0.Beta3 released
shane.bryzak Oct 9, 2011 4:09 AM (in response to shane.bryzak)I'm not convinced it's a bug. Did the jar file that contained the entity beans have a beans.xml file?
-
9. Re: Seam 3.1.0.Beta3 released
tikus Oct 9, 2011 12:37 PM (in response to shane.bryzak)Bingo! It starts to make sense. Since the jpaidentitystore is configured using annotations cdi must actually process it right? Therefore beans.xml must be present in persistence archive jar.
I didnt have it, because configuration was in xml and it didnt work after moving to 3.1.0.Beta3.
Should xml configuration still work or annotations will be the only one option? (that i prefer)
Thanks for hint
-
10. Re: Seam 3.1.0.Beta3 released
shane.bryzak Oct 9, 2011 6:08 PM (in response to shane.bryzak)
Tomáš Tikovský wrote on Oct 09, 2011 12:37:
Bingo! It starts to make sense. Since the jpaidentitystore is configured using annotations cdi must actually process it right? Therefore beans.xml must be present in persistence archive jar.Correct, the beans.xml is required because the entity beans need to be scanned by the security extension for the identity management annotations.
I didnt have it, because configuration was in xml and it didnt work after moving to 3.1.0.Beta3.
Should xml configuration still work or annotations will be the only one option? (that i prefer)
Thanks for hintThe XML configuration will still work, although annotation-based config will be the preferred option.
-
11. Re: Seam 3.1.0.Beta3 released
stupserich.rudi.strasser.gmail.com Oct 20, 2011 4:17 PM (in response to shane.bryzak)Is the following WARNING something to worry about?
22:12:45,426 WARNING [ServiceLoader] Could not load service class org.jboss.seam.transaction.TransactionExtension 22:12:45,426 WARNING [ServiceLoader] Could not load service class org.jboss.seam.transaction.scope.TransactionScopeExtension
The warning comes when I deploy an application derived from the weld J2ee archetype.
-
12. Re: Seam 3.1.0.Beta3 released
lightguard Oct 20, 2011 5:00 PM (in response to shane.bryzak)What server are you deploying on?
-
13. Re: Seam 3.1.0.Beta3 released
stupserich.rudi.strasser.gmail.com Oct 21, 2011 4:15 PM (in response to shane.bryzak)JBOSS 6.1.0
-
14. Re: Seam 3.1.0.Beta3 released
lightguard Oct 21, 2011 4:26 PM (in response to shane.bryzak)Try AS7 and see if you have the same problem. If you don't it could be a regression.