[
https://issues.apache.org/jira/browse/SM-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014337#comment-14014337
]
Krzysztof Sobkowiak commented on SM-2318:
-----------------------------------------
I have replaced the entry for javassist in {{hibernate/3.3.2.GA}} feature by
the entry from {{hibernate/4.2.7.Final}} feature an could successfully install
the feature. I don't have the EBR hibernate bundles in my local repository, so
I assume SierviceMix could find and download the rest of bundles. But one day
the other EBR bundles will not be available any more. KARAF-3009 should
provide new definition of the feature (and probably new bundles for Hibernate
3.x)
Please try to define (as workaround) the feature for Hibernate 3.x in your own
features and check if it helps
{code}
<feature name="hibernate-fix" description="Hibernate 3.x JPA persistence engine
support" version="3.3.2.GA" resolver="(obr)">
<details>Enable Hibernate 3.x as persistence engine.</details>
<bundle
dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.java-persistence-api-1.1.1/2.4.0</bundle>
<bundle
dependency="true">mvn:commons-collections/commons-collections/3.2.1</bundle>
<bundle dependency="true">mvn:commons-pool/commons-pool/1.6</bundle>
<bundle dependency="true">mvn:commons-dbcp/commons-dbcp/1.4</bundle>
<bundle
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_5</bundle>
<bundle
dependency="true">mvn:org.objectweb.asm/com.springsource.org.objectweb.asm/1.5.3</bundle>
<bundle
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_5</bundle>
<bundle
dependency="true">mvn:net.sourceforge.cglib/com.springsource.net.sf.cglib/2.2.0</bundle>
<bundle dependency="true">mvn:org.javassist/javassist/3.18.1-GA</bundle>
<bundle
start-level="100">mvn:org.hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.ga</bundle>
<bundle
start-level="100">mvn:org.hibernate/com.springsource.org.hibernate.annotations/3.4.0.GA</bundle>
<bundle
start-level="100">mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA</bundle>
<bundle
start-level="100">mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA</bundle>
<feature>jpa</feature>
</feature>
{code}
> Can't install Hibernate 3
> -------------------------
>
> Key: SM-2318
> URL: https://issues.apache.org/jira/browse/SM-2318
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 5.0.1
> Environment: Linux 2.6.18-274.7.1.el5 #1 SMP Mon Oct 17 11:57:14 EDT
> 2011 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Eduardo León García
> Labels: hibernate, servicemix
> Fix For: 5.0.2, 5.1.0, 5.1.1, 6.0.0, Later
>
>
> I've tried to install hibernate 3.3.2.GA (from repo: karaf-enterprise-2.3.5),
> but installation fails due to a problem with bundle resolving. When I try to
> install I get the following:
> karaf@root> features:install -v hibernate/3.3.2.GA
> Installing feature hibernate 3.3.2.GA
> Installing feature jpa 1.0.1
> Error executing command: URL
> [mvn:org.jboss.javassist/com.springsource.javassist/3.18.1-GA] could not be
> resolved.
> Our team can't migrate to SMX5 as long as this problem exists because our old
> apps need Hibernate 3 to operate. Any suggestions?
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)