Discussion:
[jira] [Created] (SMX4-1665) tomcat7-embed
Ioan Eugen Stan (JIRA)
2014-01-06 19:12:52 UTC
Permalink
Ioan Eugen Stan created SMX4-1665:
-------------------------------------

Summary: tomcat7-embed
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Priority: Trivial


Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Ioan Eugen Stan (JIRA)
2014-01-06 19:18:53 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863283#comment-13863283 ]

Ioan Eugen Stan commented on SMX4-1665:
---------------------------------------

I can't see any upload button for the patch.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Priority: Trivial
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Ioan Eugen Stan (JIRA)
2014-01-07 09:13:50 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioan Eugen Stan updated SMX4-1665:
----------------------------------

Attachment: tomcat7.patch

Patch to add embedded tomcat as bundles
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Priority: Trivial
Attachments: tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Jean-Baptiste Onofré (JIRA)
2014-01-07 09:17:50 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864027#comment-13864027 ]

Jean-Baptiste Onofré commented on SMX4-1665:
--------------------------------------------

I'm a bit -0 about this patch, as we work on shipping Tomcat in Pax Web (in addition of Jetty).

However, generally speaking, tomcat7 bundles can be interesting for some people.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Priority: Trivial
Fix For: bundles-2014.01
Attachments: tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Jean-Baptiste Onofré (JIRA)
2014-01-07 09:17:52 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned SMX4-1665:
------------------------------------------

Assignee: Jean-Baptiste Onofré
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Jean-Baptiste Onofré (JIRA)
2014-01-07 09:17:53 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SMX4-1665:
---------------------------------------

Fix Version/s: bundles-2014.01
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Achim Nierbeck (JIRA)
2014-01-07 09:25:50 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864032#comment-13864032 ]

Achim Nierbeck commented on SMX4-1665:
--------------------------------------

I'm going to take a look at it, cause right now pax web uses a Geronimo enhanced tomcat. Right now there is only one version available of tomcat.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Ioan Eugen Stan (JIRA)
2014-01-07 09:27:50 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864033#comment-13864033 ]

Ioan Eugen Stan commented on SMX4-1665:
---------------------------------------

This is the ebedded version of Tomcat. I use this for Tomcat Webdav Servlet embedded in OSGi.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Ioan Eugen Stan (JIRA)
2014-01-07 09:29:53 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioan Eugen Stan updated SMX4-1665:
----------------------------------

Attachment: EmbeddedTomcatWebdav.java

Sample of how to use embedded tomcat with webdav servlet.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Ioan Eugen Stan (JIRA)
2014-01-07 11:45:50 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864134#comment-13864134 ]

Ioan Eugen Stan commented on SMX4-1665:
---------------------------------------

You need to make tomcat delegate the class loading to OSGi so the example code should look like this:

Context appContext = tomcat.addContext("", baseDir.getCanonicalPath());
// delegate to OSGi Class Loader
LOG.info("Delegate to OSGi class loader");
Loader loader = new WebappLoader(getClass().getClassLoader());
loader.setDelegate(true);

appContext.setLoader(loader);

If I have some time, I'll write an article and post the link to it.

Cheers,
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Achim Nierbeck (JIRA)
2014-01-07 11:53:50 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864140#comment-13864140 ]

Achim Nierbeck commented on SMX4-1665:
--------------------------------------

Looks a lot like it's just the same as Pax web already does.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Achim Nierbeck (JIRA)
2014-01-07 11:57:50 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864140#comment-13864140 ]

Achim Nierbeck edited comment on SMX4-1665 at 1/7/14 11:56 AM:
---------------------------------------------------------------

Looks a lot like it's just the same as Pax web already does.
Though Pax-Web does the interpretation of the Web-Application as done before with Jetty ....


was (Author: achim_nierbeck):
Looks a lot like it's just the same as Pax web already does.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Ioan Eugen Stan (JIRA)
2014-01-07 13:08:02 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864197#comment-13864197 ]

Ioan Eugen Stan commented on SMX4-1665:
---------------------------------------

The principles and the API's are the same so no surprise here. The only reason I made it like this is to have the WebDav servlet in OSGi.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.01
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Jean-Baptiste Onofré (JIRA)
2014-02-05 23:24:10 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SMX4-1665:
---------------------------------------

Fix Version/s: (was: bundles-2014.01)
bundles-2014.02
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.02
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
Jean-Baptiste Onofré (JIRA)
2014-03-10 10:06:49 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SMX4-1665:
---------------------------------------

Fix Version/s: (was: bundles-2014.02)
bundles-2014.03
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.03
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.2#6252)
Jean-Baptiste Onofré (JIRA)
2014-04-02 19:48:32 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SMX4-1665:
---------------------------------------

Fix Version/s: (was: bundles-2014.03)
bundles-2014.04
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.04
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.2#6252)
Jean-Baptiste Onofré (JIRA)
2014-06-03 14:09:03 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SMX4-1665:
---------------------------------------

Fix Version/s: (was: bundles-2014.05)
bundles-2014.07
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.07
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.2#6252)
Jean-Baptiste Onofré (JIRA)
2014-08-04 13:02:11 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SMX4-1665:
---------------------------------------

Fix Version/s: (was: bundles-2014.07)
bundles-2014.08
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.08
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.2#6252)
Jean-Baptiste Onofré (JIRA)
2014-08-04 13:02:12 UTC
Permalink
[ https://issues.apache.org/jira/browse/SMX4-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084617#comment-14084617 ]

Jean-Baptiste Onofré commented on SMX4-1665:
--------------------------------------------

The patches look good. However, in order to completely test the bundles, I'm postponing to the next release cycle.
Post by Ioan Eugen Stan (JIRA)
tomcat7-embed
-------------
Key: SMX4-1665
URL: https://issues.apache.org/jira/browse/SMX4-1665
Project: ServiceMix 4
Issue Type: Wish
Components: Bundles
Reporter: Ioan Eugen Stan
Assignee: Jean-Baptiste Onofré
Priority: Trivial
Fix For: bundles-2014.08
Attachments: EmbeddedTomcatWebdav.java, tomcat7.patch
Added bundle packaging for tomcat-embed-core and tomcat-embed-logging-juli components version 7.0.47
--
This message was sent by Atlassian JIRA
(v6.2#6252)

Loading...