You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Thierry (JIRA)" <ji...@apache.org> on 2017/10/27 12:20:00 UTC
[jira] [Created] (KARAF-5449) When we deploy a kar, we have a
"java.lang.NoClassDefFoundError: javax/jms/Destination"
Thierry created KARAF-5449:
------------------------------
Summary: When we deploy a kar, we have a "java.lang.NoClassDefFoundError: javax/jms/Destination"
Key: KARAF-5449
URL: https://issues.apache.org/jira/browse/KARAF-5449
Project: Karaf
Issue Type: Bug
Affects Versions: 4.0.7
Reporter: Thierry
Hello,
We have generated a kar file with TOS ESB, The job pushes messages to a message broker. We have 3 independant Runtime in dev environment.
We have deployed our kar in this 3 Runtimes. On this Runtime, we have installed a datasource (we followed the karaf documentation).
During execution, on one of Runtime, sometimes we have an error "java.lang.NoClassDefFoundError: javax/jms/Destination" .
On the environment where the error throws, we notice 2 things
1/ the start level of core bundle is not good.
bundle:list -t 0 | grep '(Metatype Service|Features :: Core)'
5 | Active | 30 | 1.1.2 | Apache Felix Metatype Service
8 | Active | 15 | 4.0.7 | Apache Karaf :: Features :: Core
And in the default startup.properties,we have :
mvn\:org.apache.felix/org.apache.felix.metatype/1.1.2 = 5
mvn\:org.apache.karaf.features/org.apache.karaf.features.core/4.0.7 = 15
2/ When we de a tree-show on our bundle, we have :
....
...
+ org.apache.camel.camel-cxf-transport [78]
WARNING : multiple bundles are exporting package javax.transaction
- org.pache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1 [133]
- javax.transaction-api_1.2.0 [247]
WARNING : multiple bundles are exporting package javax.transaction.xa
- org.pache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1 [133]
- javax.transaction-api_1.2.0 [247]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)