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 2019/12/19 14:59:51 UTC

[Bug 64021] New: SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

https://bz.apache.org/bugzilla/show_bug.cgi?id=64021

            Bug ID: 64021
           Summary: SCI ordering prevents a web application SCI from using
                    a service bootstrapped by a container-provided SCI
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: awilkinson@pivotal.io
  Target Milestone: -----

This issue relates to a Spring Framework issue [1] that describes a problem
where Spring Framework's ServletContainerInitializer is unable to find Tomcat's
WebSocket support as the latter is initialised by Tomcat's WsSci which runs
after any application SCIs.

From a comment by Mark Thomas on the Spring Framework issue:

> I've been reading through 8.2.4 again and I think there is some room for
> manoeuvre here. The delegation order matters when both the web application
> and the container specify the same SCI. It must be the one from the web 
> application that is used. However, when we are looking at different SCIs I
> think there is scope to load the container provided SCIs first. I don't
> think  the spec language precludes that. The more I think about it, the
> more that makes sense. If the web app depends on the container services
> (like Spring does) then the container services need to be loaded first. If 
> the web app doesn't depend on them the order doesn't matter (so it is OK 
> for container services to be first).

> If you open a Tomcat bug on this I should be able to take a look -
> probably in January now.

[1] https://github.com/spring-projects/spring-framework/issues/22131

-- 
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 64021] SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

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

--- Comment #5 from zhanderong@huawei.com <zh...@huawei.com> ---
(In reply to mgrigorov from comment #4)
> There is a known problem with SCI in 7.0.100
> 7.0.103 is being voted at the moment. You could test it from
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.103/bin/

Thanks, 7.0.103 is ok now.

-- 
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 64021] SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

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

Remy Maucherat <re...@apache.org> changed:

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

--- Comment #6 from Remy Maucherat <re...@apache.org> ---
Please do not reopen this BZ.

-- 
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 64021] SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

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

zhanderong@huawei.com <zh...@huawei.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED
   Target Milestone|-----                       |---
            Version|9.0.x                       |7.0.100
            Product|Tomcat 9                    |Tomcat 7
                URL|                            |https://bz.apache.org/bugzi
                   |                            |lla/show_bug.cgi?id=64021
          Component|Catalina                    |Catalina

--- Comment #3 from zhanderong@huawei.com <zh...@huawei.com> ---
Webapp can not be loaded by tomcat-7.0.100, the reason can refer to the comment
of this commit
'https://github.com/apache/tomcat/commit/fe905a43bf935cb293db462915a17ad87c303438?diff=split'.
please check it, thanks.

-- 
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 64021] SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

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

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|Tomcat 7                    |Tomcat 9
   Target Milestone|---                         |-----
            Version|7.0.100                     |9.0.31
          Component|Catalina                    |Catalina

-- 
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 64021] SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

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

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

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

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in:
- master for 10.0.0.0-M1 onwards
- 9.0.x for 9.0.31 onwards
- 8.5.x for 8.5.51 onwards
- 7.0.x for 7.0.100 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


[Bug 64021] SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

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

--- Comment #4 from mgrigorov <mg...@apache.org> ---
There is a known problem with SCI in 7.0.100
7.0.103 is being voted at the moment. You could test it from
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.103/bin/

-- 
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 64021] SCI ordering prevents a web application SCI from using a service bootstrapped by a container-provided SCI

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

--- Comment #2 from Andy Wilkinson <aw...@pivotal.io> ---
Thanks very much, Mark.

-- 
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