felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-838) Potential bug: org.osgi.compendium-1.2.0.jar + Spring-DM == NoClassDefFoundError
Date Tue, 07 Jul 2009 15:26:14 GMT

     [ https://issues.apache.org/jira/browse/FELIX-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard S. Hall resolved FELIX-838.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Richard S. Hall

The issue here is that our OSGi compendium bundle dynamically imports dependencies to avoid
excessive dependencies, which results in errors when the packages are used with their dependencies
being satisfied. We have decided to no longer provide bundle-ized OSGi JAR files and just
include the packages we need from compendium into the subprojects needing them.

> Potential bug: org.osgi.compendium-1.2.0.jar + Spring-DM == NoClassDefFoundError
> --------------------------------------------------------------------------------
>
>                 Key: FELIX-838
>                 URL: https://issues.apache.org/jira/browse/FELIX-838
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.4.0
>         Environment: Win XP, Felix version 1.4.0, compendium bundle 1.2.0, Spring-DM
1.1.2, Pax-Web 0.5.1
>            Reporter: Peter GardfjÀll
>            Assignee: Richard S. Hall
>            Priority: Minor
>         Attachments: workspace-problem.zip
>
>
> When Sping tries to import the HttpService into a bundle NoClassDefFoundError for javax.servlet.Servlet
is thrown.
> This only happens when the org.osgi.compendium-1.2.0.jar bundle is used.
> A slightly modified bundle with the DynamicImport-Package statement narrowed down to
javax.servlet and javax.servlet.http and additionally two "regular" optional imports for the
mentioned packages are required to make it work.
> It remains to investigate whether this is a problem with the compendium bundle or with
Spring-DM, which are the two main suspects here.
> Refer to the following e-mail thread for more information:  http://www.mail-archive.com/users@felix.apache.org/msg02623.html
> An Eclipse workspace is attached to this issue. To reproduce the problem, unzip the workspace,
start eclipse with that workspace and run the Felix-server run configuration. See the Felix-server/README.txt
for more detailed information.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message