[
https://issues.apache.org/jira/browse/SMX4-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krzysztof Sobkowiak moved SM-2417 to SMX4-1923:
-----------------------------------------------
Component/s: (was: servicemix-components)
Assemblies
Key: SMX4-1923 (was: SM-2417)
Project: ServiceMix 4 (was: ServiceMix)
> ServiceMix 4 does not load a bundle on Redhat 6 but works on Redhat 5
> ---------------------------------------------------------------------
>
> Key: SMX4-1923
> URL: https://issues.apache.org/jira/browse/SMX4-1923
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Assemblies
> 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)