You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Rudy De Busscher (JIRA)" <ji...@apache.org> on 2012/08/06 21:48:03 UTC

[jira] [Created] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Rudy De Busscher created DELTASPIKE-261:
-------------------------------------------

             Summary: Integration tests of security impl module fails on Weblogic 12c
                 Key: DELTASPIKE-261
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Security-Module, Tests
    Affects Versions: 0.2-incubating
            Reporter: Rudy De Busscher
            Assignee: Rudy De Busscher
            Priority: Minor




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431341#comment-13431341 ] 

Mark Struberg commented on DELTASPIKE-261:
------------------------------------------

I honestly have no clue how WLS could ever pass the TCK ;)

serious, this is pretty obviously a bug in WLS 12c and whatever we do as workaround in DeltaSpike will cause problems later on. 
Do you have an OTN? Can you please report this to the WLS team? 

We are happy to work on the issue together with them. txs 4 your passion, Rudy :)
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Rudy De Busscher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429382#comment-13429382 ] 

Rudy De Busscher commented on DELTASPIKE-261:
---------------------------------------------

There are 2 problems with the tests on wls12c

1. ClassLoader issue:
within the method org.apache.deltaspike.security.impl.extension.SecurityExtension#getMetaDataStorage, the call ClassUtils.getClassLoader(null); doesn't results in the same classLoader depending on the 'part' of the test.  During deployment, you get another one the during testing.  This results in an empty SecurityMetaDataStorage.

2. BeanManager issue
The beanManager supplied as parameter to the call org.apache.deltaspike.security.impl.extension.SecurityExtension#processAnnotatedType doesn't have the registered beans. Since that beanManager is passed to the Authorizer, the managed bean could not be retrieved in the method org.apache.deltaspike.security.impl.extension.Authorizer#lazyInitTargetBean.  A solution is looking in the beanManager retrieved from the JNDI.


                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431347#comment-13431347 ] 

Mark Struberg commented on DELTASPIKE-261:
------------------------------------------

PS: it could be that you get 2 different proxy instances for those BeanManagers, but both must point to the same internal BM instance.
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Gerhard Petracek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431621#comment-13431621 ] 

Gerhard Petracek commented on DELTASPIKE-261:
---------------------------------------------

thx for testing it.
i'm not sure if it isn't just an issue with our test-setup.

e.g. the tests also fail for gf3 and if i try one of the failed constellations in a demo-app which gets deployed manually, it works.
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Rudy De Busscher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438446#comment-13438446 ] 

Rudy De Busscher commented on DELTASPIKE-261:
---------------------------------------------

#1 is fixed by commit DELTASPIKE-262 remove static info Map workaround (Sorry for the delay, was on holiday)
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431631#comment-13431631 ] 

Mark Struberg commented on DELTASPIKE-261:
------------------------------------------

In that case it might be an arquillian-wls-container integration issue?
Who wrote the arquillian adapter for WLS?
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438523#comment-13438523 ] 

Mark Struberg commented on DELTASPIKE-261:
------------------------------------------

np, thanks for the update Rudy!
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Rudy De Busscher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431328#comment-13431328 ] 

Rudy De Busscher commented on DELTASPIKE-261:
---------------------------------------------

tested the changes of Gerhard and found something very strange.

The beanManager obtained by
@Inject
    private BeanManager beanManager;

is not the same one as the one obtained from JNDI
BeanManagerProvider.getInstance().getBeanManager();

and thus the tests are still failing.
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DELTASPIKE-261) Integration tests of security impl module fails on Weblogic 12c

Posted by "Gerhard Petracek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430931#comment-13430931 ] 

Gerhard Petracek commented on DELTASPIKE-261:
---------------------------------------------

@ #2:
i moved the bean-manager injection -> the bean-manager which is (only) active during the bootstrapping (in wls) won't be used any longer.
                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira