Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.2
-
None
-
Patch Available
Description
While invoking a Thrift-based servlet from an OSGi application, we ran into InvocationTargetExceptions saying that the org.apache.http.HttpEntity class could not be found from the libthrift-0.9.2.jar OSGi bundle.
The problem was that the Import-Package directive included in the build.xml file of the Java library did not include the Apache HttpClient packages, and therefore these classes were not accessible to the classloader provided by OSGi to Thrift.
Attachments
Attachments
Issue Links
- contains
-
THRIFT-184 Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime
- Closed
- is related to
-
THRIFT-184 Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime
- Closed
- relates to
-
THRIFT-184 Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime
- Closed