[jboss-jira] [JBoss JIRA] Resolved: (JBAS-4031) failing org.jboss.test.jacc.test.* tests

Scott M Stark (JIRA) jira-events at jboss.com
Fri Jan 26 21:17:00 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4031?page=all ]

Scott M Stark resolved JBAS-4031.
---------------------------------

    Resolution: Done

All tests are passing for me now.

     [echo] Starting patternset=jacc.includes config=JACC
    [junit] Running org.jboss.test.cmp2.audit.test.AuditUnitTestCase
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.833 sec
    [junit] Running org.jboss.test.cmp2.cmrstress.CMRStressTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.143 sec
    [junit] Running org.jboss.test.cmp2.cmrtransaction.test.CMRTransactionUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.79 sec
    [junit] Running org.jboss.test.cmp2.commerce.CompleteUnitTestCase
    [junit] Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 4.559 sec
    [junit] Running org.jboss.test.cmp2.perf.test.PerfUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.084 sec
    [junit] Running org.jboss.test.cmp2.relationship.RelationshipUnitTestCase
    [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 2.52 sec
    [junit] Running org.jboss.test.cmp2.simple.SimpleUnitTestCase
    [junit] Tests run: 44, Failures: 0, Errors: 0, Time elapsed: 1.684 sec
    [junit] Running org.jboss.test.jacc.test.CallerInRoleUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.72 sec
    [junit] Running org.jboss.test.jacc.test.EJBSpecUnitTestCase
    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 6.719 sec
    [junit] Running org.jboss.test.jacc.test.FormAuthUnitTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.505 sec
    [junit] Running org.jboss.test.jacc.test.JMXConsoleUnitTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.392 sec
    [junit] Running org.jboss.test.jacc.test.MissingMethodUnitTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.724 sec
    [junit] Running org.jboss.test.jacc.test.WebConstraintsUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.931 sec
    [junit] Running org.jboss.test.jacc.test.WebIntegrationUnitTestCase
    [junit] Tests run: 36, Failures: 0, Errors: 0, Time elapsed: 6.538 sec
    [junit] Running org.jboss.test.web.test.UserInRoleUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.934 sec
    [junit] Running org.jboss.test.webservice.jbws309.JBWS309TestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3.282 sec
[server:stop] Shutting down server: jacc


> failing org.jboss.test.jacc.test.* tests
> ----------------------------------------
>
>                 Key: JBAS-4031
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4031
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>         Environment: Java Version 1.5.0_10 
> Java Vendor Sun Microsystems Inc. 
> Java VM Name Java HotSpot(TM) Client VM 
> Java VM Version 1.5.0_10-b03 
> Java VM Info mixed mode 
> OS Name Linux 
> OS Version 2.6.9-42.0.2.EL 
> OS Arch i386 
>            Reporter: Dimitris Andreadis
>         Assigned To: Scott M Stark
>            Priority: Critical
>             Fix For: JBossAS-4.2.0.CR1
>
>
> A lot of JACC tests (currenty 62) fail with the message:
> SecurityException; nested exception is: java.lang.SecurityException: Denied: (javax.security.jacc.EJBMethodPermission StatefulSession create,Home,java.lang.String)[Home:create(java.lang.String)], caller=null
> java.rmi.AccessException: SecurityException; nested exception is: 
> 	java.lang.SecurityException: Denied: (javax.security.jacc.EJBMethodPermission StatefulSession create,Home,java.lang.String)[Home:create(java.lang.String)], caller=null
> 	at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388)
> 	at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
> 	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
> 	at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
> 	at org.jboss.ejb.Container.invoke(Container.java:975)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
> 	at $Proxy15.invoke(Unknown Source)
> 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:999)
> 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:848)
> 	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:454)
> 	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:527)
> 	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)
> Caused by: java.lang.SecurityException: Denied: (javax.security.jacc.EJBMethodPermission StatefulSession create,Home,java.lang.String)[Home:create(java.lang.String)], caller=null
> 	at org.jboss.ejb.plugins.JaccAuthorizationInterceptor.checkSecurityAssociation(JaccAuthorizationInterceptor.java:115)
> 	at org.jboss.ejb.plugins.JaccAuthorizationInterceptor.invokeHome(JaccAuthorizationInterceptor.java:76)
> 	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
> 	at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invokeHome(StatefulSessionInstanceInterceptor.java:143)
> 	at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
> 	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
> 	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
> 	at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
> 	at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
> 	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
> 	at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
> 	at org.jboss.ejb.Container.invoke(Container.java:975)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
> 	at $Proxy15.invoke(Unknown Source)
> 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:999)
> 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:848)
> 	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:454)
> 	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:527)
> 	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)
> 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
> 	at org.jboss.remoting.Client.invoke(Client.java:612)
> 	at org.jboss.remoting.Client.invoke(Client.java:604)
> 	at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:175)
> 	at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
> 	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
> 	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
> 	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
> 	at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
> 	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
> 	at $Proxy2.create(Unknown Source)
> 	at org.jboss.test.security.test.EJBSpecUnitTestCase.testStatefulCreateCaller(EJBSpecUnitTestCase.java:163)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list