[jboss-jira] [JBoss JIRA] Commented: (JBAS-4031) failing org.jboss.test.jacc.test.* tests
Scott M Stark (JIRA)
jira-events at jboss.com
Fri Jan 26 18:40:57 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-4031?page=comments#action_12351764 ]
Scott M Stark commented on JBAS-4031:
-------------------------------------
The ejb container configuration is broken:
15:12:42,002 WARN [EjbModule] Could not load the org.jboss.ejb.plugins.JassAuthenticationInterceptor interceptor
java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.JassAuthenticationInterceptor
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.ejb.EjbModule.addInterceptors(EjbModule.java:929)
at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:816)
at org.jboss.ejb.EjbModule.createStatelessSessionContainer(EjbModule.java:620)
It should be JaasAuthenticationInterceptor, not JassAuthenticationInterceptor. With this change this is down to 4 issues:
[junit] Running org.jboss.test.jacc.test.EJBSpecUnitTestCase
[junit] Tests run: 23, Failures: 3, Errors: 0, Time elapsed: 7.314 sec
[junit] Test org.jboss.test.jacc.test.EJBSpecUnitTestCase FAILED
[junit] Running org.jboss.test.jacc.test.WebIntegrationUnitTestCase
[junit] Tests run: 37, Failures: 0, Errors: 1, Time elapsed: 6.469 sec
[junit] Test org.jboss.test.jacc.test.WebIntegrationUnitTestCase FAILED
> 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