Wired servletbridge extension bundle?!? [message #83014] |
Tue, 06 February 2007 14:12  |
Eclipse User |
|
|
|
Hey guys... I just found magic in Equinox! ;-)
Everytime I am running Equinox launched from Tomcat (Equinox in Server)
with my spring and equinox servletbridge bundles I'm encoutering a wired
thing... there is a bundle resolved that I dont know about anything. I
didnt created it, nor eclipse... if it was eclipse I didnt say it should
deployed or created....
Here is my ss output:
id State Bundle
0 ACTIVE system.bundle_3.2.2.R32x_v20061101
Fragments=40
1 ACTIVE org.eclipse.equinox.common_3.2.0.v20060603
2 ACTIVE org.eclipse.update.configurator_3.2.1.v20092006
3 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.200702061926
4 ACTIVE org.eclipse.equinox.http.registry_1.0.0.200702061926
5 ACTIVE http_console_1.0.0
6 ACTIVE javax.servlet_2.4.0.200702061926
7 ACTIVE javax.servlet.jsp_2.0.0.200702061926
8 ACTIVE javax.servlet.jsp.jstl_1.1.2
9 ACTIVE jakarta.commons.attributes_1.1.0
10 ACTIVE org.aopalliance_1.0.0
11 ACTIVE org.apache.commons_logging_1.0.4.v200608011657
12 ACTIVE org.apache.jakarta_log4j_1.2.8.v200607172048
13 ACTIVE org.apache.struts_1.2.9
14 ACTIVE org.springframework.webmvc_2.0.0
15 ACTIVE org.springframework.web_2.0.0
16 ACTIVE org.springframework.support_2.0.0
17 ACTIVE org.springframework.dao_2.0.0
18 ACTIVE org.springframework.core_2.1.0
19 ACTIVE org.springframework.context_2.0.0
20 ACTIVE org.springframework.beans_2.0.0
21 ACTIVE org.springframework.aop_2.0.0
22 ACTIVE org.springframework.osgi.io_1.0.0
23 ACTIVE org.springframework.osgi.extender_1.0.0
24 ACTIVE org.springframework.osgi_1.0.0
25 RESOLVED de.esry.SpringApp_1.0.0
37 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.200702061926
39 ACTIVE org.eclipse.equinox.registry_3.2.1.R32x_v20060814
40 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
Master=0
41 ACTIVE org.eclipse.osgi.services_3.1.100.v20060601
No. 40 is the wired bundle.
It is not deployed in webapps/bridge/WEB-INF/eclipse/plugins. I checked
that.
But if I am stopping Tomcat and delete
work/Catalina/localhost/bridge/eclipse/plugins, where all the plugins
are deployed automatically as well, and I start Tomcat again... the
org.eclipse.equinox.http.servletbridge_1.0.0.200702061926.ja r is
deployed/created in work/Catalina/localhost/bridge/eclipse/plugins again.
I just unpacked the jar to get more information.. and I got only a
MANIFEST.MF in a META-INF dir.
Has anyone an idea what the heck is this bundle, where it comes, and why
it matters?
Thank you guys.
|
|
|
|
Re: Wired servletbridge extension bundle?!? [message #83072 is a reply to message #83029] |
Tue, 06 February 2007 17:23  |
Eclipse User |
|
|
|
Hi Richard,
thank you for the good explanation! It will help me to ignore this package.
Martin.
Richard Backhouse schrieb:
> Martin,
>
> The code in the servletbridge.jar (FrameworkLauncher) is doing this to
> enable the loading of the javax.servlet/javax.servlet.http packages from
> the WebContainer. This is triggered by including
>
> <!--
> org.eclipse.equinox.servletbridge and the Servlet API are
> exported automatically to the underlying OSGi framework.
> The extendedFrameworkExports parameter allows the
> specification of additional java package exports.
> The format is a comma separated list of exports as specified
> by the "Export-Package" bundle manifest header.
> For example: com.mycompany.exports; version=1.0.0,
> com.mycompany.otherexports; version=1.0.0
> -->
> <init-param>
> <param-name>extendedFrameworkExports</param-name>
> <param-value></param-value>
> </init-param>
>
> as a parameter for the org.eclipse.equinox.servletbridge.BridgeServlet.
>
> The org.eclipse.equinox.servletbridge.extensionbundle bundle fragement
> used to be something that you had to make sure you included in your war
> but is now created automatically.
>
> Richard
>
>
> Martin Dames wrote:
>> Hey guys... I just found magic in Equinox! ;-)
>>
>> Everytime I am running Equinox launched from Tomcat (Equinox in
>> Server) with my spring and equinox servletbridge bundles I'm
>> encoutering a wired thing... there is a bundle resolved that I dont
>> know about anything. I didnt created it, nor eclipse... if it was
>> eclipse I didnt say it should deployed or created....
>>
>> Here is my ss output:
>>
>> id State Bundle
>> 0 ACTIVE system.bundle_3.2.2.R32x_v20061101
>> Fragments=40
>> 1 ACTIVE org.eclipse.equinox.common_3.2.0.v20060603
>> 2 ACTIVE org.eclipse.update.configurator_3.2.1.v20092006
>> 3 ACTIVE org.eclipse.equinox.http.servletbridge_1.0.0.200702061926
>> 4 ACTIVE org.eclipse.equinox.http.registry_1.0.0.200702061926
>> 5 ACTIVE http_console_1.0.0
>> 6 ACTIVE javax.servlet_2.4.0.200702061926
>> 7 ACTIVE javax.servlet.jsp_2.0.0.200702061926
>> 8 ACTIVE javax.servlet.jsp.jstl_1.1.2
>> 9 ACTIVE jakarta.commons.attributes_1.1.0
>> 10 ACTIVE org.aopalliance_1.0.0
>> 11 ACTIVE org.apache.commons_logging_1.0.4.v200608011657
>> 12 ACTIVE org.apache.jakarta_log4j_1.2.8.v200607172048
>> 13 ACTIVE org.apache.struts_1.2.9
>> 14 ACTIVE org.springframework.webmvc_2.0.0
>> 15 ACTIVE org.springframework.web_2.0.0
>> 16 ACTIVE org.springframework.support_2.0.0
>> 17 ACTIVE org.springframework.dao_2.0.0
>> 18 ACTIVE org.springframework.core_2.1.0
>> 19 ACTIVE org.springframework.context_2.0.0
>> 20 ACTIVE org.springframework.beans_2.0.0
>> 21 ACTIVE org.springframework.aop_2.0.0
>> 22 ACTIVE org.springframework.osgi.io_1.0.0
>> 23 ACTIVE org.springframework.osgi.extender_1.0.0
>> 24 ACTIVE org.springframework.osgi_1.0.0
>> 25 RESOLVED de.esry.SpringApp_1.0.0
>> 37 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.200702061926
>> 39 ACTIVE org.eclipse.equinox.registry_3.2.1.R32x_v20060814
>> 40 RESOLVED
>> org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
>> Master=0
>> 41 ACTIVE org.eclipse.osgi.services_3.1.100.v20060601
>>
>> No. 40 is the wired bundle.
>>
>> It is not deployed in webapps/bridge/WEB-INF/eclipse/plugins. I
>> checked that.
>>
>> But if I am stopping Tomcat and delete
>> work/Catalina/localhost/bridge/eclipse/plugins, where all the plugins
>> are deployed automatically as well, and I start Tomcat again... the
>> org.eclipse.equinox.http.servletbridge_1.0.0.200702061926.ja r is
>> deployed/created in work/Catalina/localhost/bridge/eclipse/plugins again.
>>
>> I just unpacked the jar to get more information.. and I got only a
>> MANIFEST.MF in a META-INF dir.
>>
>> Has anyone an idea what the heck is this bundle, where it comes, and
>> why it matters?
>>
>> Thank you guys.
|
|
|
Powered by
FUDForum. Page generated in 0.03627 seconds