[jboss-jira] [JBoss JIRA] Commented: (JBAS-7097) Stack overflow error when establishing secured connection to Profile Service

Lukas Krejci (JIRA) jira-events at lists.jboss.org
Wed Jul 15 07:43:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476363#action_12476363 ] 

Lukas Krejci commented on JBAS-7097:
------------------------------------

I've updated the ejb-client to try and replicate it (Jopr rev910) but everything seems to work correctly with JBPAPP_5_0 revision 91282. The JON server seems to connect OK now as well.

> 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

        



More information about the jboss-jira mailing list