[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 17:39:57 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-4031?page=comments#action_12351758 ]
Scott M Stark commented on JBAS-4031:
-------------------------------------
The first problem is that the jacc config does not start correctly because of a jbossts config issue,
run.sh -c jacc:
14:34:42,362 INFO [ServiceConfigurator] Problem configuring service jboss:service=TransactionManager
org.jboss.deployment.DeploymentException: No Attribute found with name: ObjectStoreDir
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:318)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
14:34:42,682 INFO [WebService] Using RMI server codebase: http://succubus.starkinternational.com:8083/
14:34:42,698 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
because of this most services fail because of dependencies on jbossts.
> 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