https://issues.apache.org/bugzilla/show_bug.cgi?id=48252

           Summary: StackOverflowError in NioEndpoint.setProperty when
                    setting jkHome
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: [email protected]
        ReportedBy: [email protected]


- Noticed only when running in debugger with breakpoint set for
StackOverflowError.
- The error is translated by Java's reflection mechanism to an
InvocationTargetException, which is caught and silently ignored by
IntrospectionUtils.

- Connector.initialize() sets jkHome property on Http11NioProtocol.
- Http11NioProtocol sets jkHome property on NioEndpoint.
- NioEndpoint recursively invokes its own setProperty method via
IntrospectionUtils.setProperty, causing the stack overflow.

- Using embedded Tomcat.
- Using Nio connector. Does not happen for standard connector.
- Happens in 6.0.18 and 6.0.20; haven't tested with earlier versions.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to