On 5/10/12 13:46 , [email protected] wrote:
Hi
hibernate refering jta 1.1 and orm refering 1.0.1, 2.0.0. is this is the
problem
Probably, but you're only telling us snippets of information, so it is
hard to completely diagnose what is going on. When you say "refering",
do you mean wired to?
If you are using a recent framework release, you should be able to do
the following command in the Gogo shell:
inspect req osgi.wiring.package <bundle-id>
Where <bundle-id> is the bundle ID from the list bundles command ("lb").
Do this for each of the two bundles to see which provider they are wired
to for the package.
Once you know this, then you need to figure out how to get them to use
the same provider. How to do that depends on your situation.
-> richard
On Thu, May 10, 2012 at 9:56 PM, Richard S. Hall [via Apache Felix]<
[email protected]> wrote:
Try to determine how each of the two bundles (spring framework orm and
hibernate engine) are getting access to the javax.transaction package.
They look like they are getting it from two different sources. You need
to figure out why and eliminate it.
-> richard
On 5/10/12 12:06 , [hidden
email]<http://user/SendEmail.jtp?type=node&node=4966074&i=0>wrote:
Hi
i am getting this error
java.lang.LinkageError: loader constraint violation: when resolving
interface method
"org.hibernate.engine.SessionFactoryImplementor.getTransactionManager()Ljavax/transaction/TransactionManager;"
the class loader (instance of
org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of
the
current class, org/springframework/orm/hibernate3/SessionFactoryUtils,
and
the class loader (instance of
org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for
resolved class, org/hibernate/engine/SessionFactoryImplementor, have
different Class objects for the type
javax/transaction/TransactionManager
used in the signature
--
View this message in context:
http://apache-felix.18485.n6.nabble.com/java-lang-LinkageError-tp4966033.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=4966074&i=1>
For additional commands, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=4966074&i=2>
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://apache-felix.18485.n6.nabble.com/java-lang-LinkageError-tp4966033p4966074.html
To unsubscribe from java.lang.LinkageError:, click
here<http://apache-felix.18485.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4966033&code=c2hhc2hpa2FsYWd0QGdtYWlsLmNvbXw0OTY2MDMzfDIxMjM1NjgzNjM=>
.
NAML<http://apache-felix.18485.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context:
http://apache-felix.18485.n6.nabble.com/java-lang-LinkageError-tp4966033p4966239.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]