You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/07/19 02:06:34 UTC

[Bug 56746] New: Webssocket secure client thread cannot access webapp resources

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

            Bug ID: 56746
           Summary: Webssocket secure client thread cannot access webapp
                    resources
           Product: Tomcat 7
           Version: 7.0.54
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: davidw53@msn.com

The new SecureIOThreadFactory method in
org.apache.tomcat.websocket.AsyncChannelWrapperSecure
 sets the context class loader of the secure websocket client threads to it's
own standard class loader - thus preventing the them from accessing webapp
resources.

Removing this line restores access, as the new threads then have the
classloader of the calling (webapp) thread

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56746] Webssocket secure client thread cannot access webapp resources

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56746

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Sorry. That was me being overly cautious about memory leaks. The threads will
be stopped when the connection is closed so there should not be the possibility
of a memory leak.

This has been fixed in 7.0.x for 7.0.56 onwards and in 8.0.x for 8.0.11
onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org