Gaurav Patil created KARAF-5925:
-----------------------------------
Summary: Error while installing custom feature
Key: KARAF-5925
URL: https://issues.apache.org/jira/browse/KARAF-5925
Project: Karaf
Issue Type: Question
Components: karaf
Affects Versions: 4.2.1
Environment: OS: CentOS 7 (64-bit)
Java: 1.8
Karaf-4.2.1
Reporter: Gaurav Patil
Attachments: exception_log.txt, module_context.xml, pom.xml
I've created a OSGi bundle for handling the database utilities. I tried to
install this bundle in karaf-3.0.0 running on java 1.7 where it is installed
correctly and the bundle was in ACTIVE state.
But, when I tried to install the same feature in karaf-4.2.1 with Java 1.8
then the bundle is throwing an exception. The details about the exception is
added to the attached file (exception_log.txt) [^exception_log.txt].
I've also attached the pom.xml file [^pom.xml] and the spring bean xml file
(module_context.xml).[^module_context.xml]
========================================================================
The spring feature installed is:
spring │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x support
spring-jdbc │ 5.0.8.RELEASE_1 │ │ Started │ spring-4.2.1 │ Spring 5.0.x JDBC
support
spring-jms │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x JMS
support
spring-test │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x Test
support
spring-oxm │ 5.0.8.RELEASE_1 │ │ Started │ spring-4.2.1 │ Spring 5.0.x OXM
support
spring-tx │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x
Transaction (TX) support
spring-web │ 5.0.8.RELEASE_1 │ x │ Started │ spring-4.2.1 │ Spring 5.0.x Web
support
=======================================================================
Can you please help me out to understand and resolve this issue?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)