You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "kaydee (JIRA)" <ji...@apache.org> on 2015/01/21 20:18:34 UTC
[jira] [Created] (SM-2417) ServiceMix 4 does not load a bundle on
Redhat 6 but works on Redhat 5
kaydee created SM-2417:
--------------------------
Summary: ServiceMix 4 does not load a bundle on Redhat 6 but works on Redhat 5
Key: SM-2417
URL: https://issues.apache.org/jira/browse/SM-2417
Project: ServiceMix
Issue Type: Bug
Components: servicemix-components
Environment: Redhat 6.6 with Java 7
Reporter: kaydee
We use ServiceMix 4 on Redhat 5(5.11) and we are now upgrading to Redhat 6 (6.6). In this migration, we are noticing is major issue with bundle loading.
In the following bundle loading fragment,
<?xml version="1.0" encoding="UTF-8"?>
<features name="MSE-Framework-Repo">
<feature name="mse-framework-admin" version="8.0">
<config name="hibernate.properties"/>
<bundle>wrap:file:./mse-bundles/thirdparty/eccpressoall-10.8.jar</bundle>
<bundle>wrap:file:./mse-bundles/thirdparty/flexlm-10.8.jar</bundle>
<bundle>wrap:file:./mse-bundles/thirdparty/magellaninfo-10.8.jar</bundle>
<bundle>wrap:file:./mse-bundles/thirdparty/ojdbc6-11.1.0.7.0.jar</bundle>
<bundle>wrap:file:./mse-bundles/thirdparty/snmp4j-1.10.1.jar</bundle>
<bundle>wrap:file:./mse-bundles/thirdparty/commons-net-3.1.jar</bundle>
<bundle>mvn:commons-codec/commons-codec/1.4</bundle>
<bundle start-level='75'>file:./mse-bundles/thirdparty/com.springsource.org.hibernate-3.3.2.GA.jar</bundle>
<bundle>file:./mse-bundles/thirdparty/com.springsource.antlr-2.7.7.jar</bundle>
<bundle>file:./mse-bundles/thirdparty/com.springsource.javassist-3.15.0.GA.jar</bundle>
<bundle>file:./mse-bundles/thirdparty/com.springsource.net.sf.cglib-2.2.0.jar</bundle>
<bundle>file:./mse-bundles/thirdparty/com.springsource.org.apache.commons.collections-3.2.1.jar</bundle>
With this file, on the Redhat 5 system, it works perfectly. During startup, the jar file hibernate-3.3.2.GA.jar is loaded properly and the classes contained therein are also loaded fine. The system has been working fine for a long time.
On Redhat 6, the startup of servicemix throws a ClassNotFoundException for class HibernateException. On further scrutiny, I found that the hibernate-3.3.2.GA.jar file was never loaded and hence the issue with the class not being found. I even changed the start-level to 75 for this bundle and still the same error. No matter what I did, the system would not load the hibernate-3.3.2.jar file. Just to be sure, I tested this on more than one Redhat 6 server, and I see the same issue. The application code is identical on both Redhat 5 and Redhat 6 - they were deployed from the same tar file. The jre is identical on both RHEL 5 and RHEL 6 systems
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)