[
https://jira.jboss.org/jira/browse/JBAS-7097?page=com.atlassian.jira.plug...
]
Charles Crouch commented on JBAS-7097:
--------------------------------------
(8:23:33 AM) ips: stackoverflowerror in the new aop security code...
(8:32:50 AM) ccrouch: "new" as in from JBAS-7085 or new from JOPR-263 ?
(8:33:17 AM) ips: 7085 i think
(8:33:56 AM) ips: 263 was working great on my box - tested pretty thoroughly
(8:34:23 AM) ips: lukas saw this for the first time this morning after updating his EAP
build to the latest
Stack overflow error when establishing secured connection to Profile
Service
----------------------------------------------------------------------------
Key: JBAS-7097
URL:
https://jira.jboss.org/jira/browse/JBAS-7097
Project: JBoss Application Server
Issue Type: Bug
Components: ProfileService
Affects Versions: JBossAS-5.1.0.GA
Environment: Jopr rev902, AS5 EAP rev91190
Reporter: Lukas Krejci
Assignee: Scott M Stark
Priority: Blocker
Fix For: JBossAS-5.2.0.Beta1
The stack overflow occurs in Jopr AS5 plugin AbstractProfileServiceConnection.init()
after the connection has been established.
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at
org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnection.init(AbstractProfileServiceConnection.java:54)
at
org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnectionProvider.connect(AbstractProfileServiceConnectionProvider.java:43)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.connectToProfileService(ApplicationServerComponent.java:309)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.getAvailability(ApplicationServerComponent.java:148)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:526)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.rhq.plugins.jbossas5.connection.JaasAuthenticationInvocationHandler.invoke(JaasAuthenticationInvocationHandler.java:57)
at $Proxy45.loadProfile(Unknown Source)
at
org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnection.init(AbstractProfileServiceConnection.java:52)
... 12 more
Caused by: java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.aspects.security.SecurityActions.getSecurityContext(SecurityActions.java:447)
at org.jboss.aspects.security.SecurityActions$2.run(SecurityActions.java:129)
at org.jboss.aspects.security.SecurityActions$2.run(SecurityActions.java:127)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.aspects.security.SecurityActions.getPrincipal(SecurityActions.java:125)
at
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:49)
at
org.jboss.profileservice.remoting.PojiMethodInvocation.invokeNext(PojiMethodInvocation.java:153)
at
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
....
at
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
at
org.jboss.profileservice.remoting.PojiMethodInvocation.invokeNext(PojiMethodInvocation.java:153)
at
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:211)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at
org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aop.generatedproxies.AOPProxy$2.loadProfile(AOPProxy$2.java)
... 18 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira