tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Getting exception: "java.lang.LinkageError:" ... attempted duplicate class definition for name...
Date Fri, 04 Oct 2013 04:51:29 GMT
You can put it in CATALINA_OPTS environment variable.

But if you handle to reproduce it in a sample please share it.

This issue should be fixed on trunk, if not we need to address it.
Le 4 oct. 2013 00:01, "wlad" <vvozar@yahoo.com> a écrit :

> Romain Manni-Bucau wrote
> > Did tou try 1.6.0-snapshot (trunk) version?
>
> Hi,
> I have downloaded and set up "apache-tomee-plus-1.6.0-SNAPSHOT" version
> (following  your blog
> <http://rmannibucau.wordpress.com/2012/05/23/getting-tomee-snapshot/>  ),
> but am still getting same error. Other example i have, that does not use
> database (just deploying session bean to Tomee, find it by JNDI name and
> calling a method) works fine.
>
> I have found that same "Classloader" issues was reported on  one of the
> topics on OpenJPA Users mailing list
> <
> http://openjpa.208410.n2.nabble.com/JDK-1-7-seems-to-be-causing-an-issue-with-latest-snapshot-td7581417.html
> >
> .
>
> And from that topic, it seems like there is no unique solution, but one
> post
> says:
> "Turns out adding jvm option -XX:+AlwaysLockClassLoader appears to resolve
> issue. "
>
> Now, how could i try that? How can i add -XX:+AlwaysLockClassLoader option
> to jvm?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Getting-exception-java-lang-LinkageError-attempted-duplicate-class-definition-for-name-tp4665401p4665408.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message