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/09/11 03:38:55 UTC

[Bug 56952] New: Move JasperInitializer into separate jar

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

            Bug ID: 56952
           Summary: Move JasperInitializer into separate jar
           Product: Tomcat 8
           Version: 8.0.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: janb@mortbay.com

The SCI JasperInitializer is inside the jasper.jar. Other containers that want
to use tomcat jasper may need to provide their own SCI in order to correctly
initializer jasper in their environment.

This is the case eg for Jetty. Currently we have to repackage the jasper.jar
artifact to strip out the SCI, so our own subclass of JasperInitializer can be
called instead.

It would be great if the JasperInitializer could be moved into its own jar so
that we could consume the jasper.jar directly.

regards
Jan

-- 
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 56952] Move JasperInitializer into separate jar

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

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

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

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
I'm not aware of any other use cases so, for now, I am going to resolve this as
WONTFIX. We can revisit this if other use cases emerge.

-- 
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 56952] Move JasperInitializer into separate jar

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

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
I'm not overly keen on adding an additional JAR to the distrbution to address
this.

Does Jetty not have a configuration option to skip the processing of selected
container provided SCIs? Alternatively could Jetty not just hard code an
explicit exclude for this SCI?

-- 
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 56952] Move JasperInitializer into separate jar

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

--- Comment #2 from Jan Bartel <ja...@mortbay.com> ---
Hi Mark,

I can totally understand that - I'm against jar proliferation in jetty too :).
In fact, we created a feature for Jetty to define a pattern for SCIs to ignore
for just this purpose. Just thought it might be good to separate the SCI from
the jasper impl jar in case there's other use cases where there's no
opportunity to implement an ignore pattern ...

Jan

-- 
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 56952] Move JasperInitializer into separate jar

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

--- Comment #4 from romain.manni-bucau <rm...@gmail.com> ---
Hi

just for memories in TomEE we deactivate the default one to provide our own
one:
http://svn.apache.org/repos/asf/tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/jasper/TomEEJasperInitializer.java

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