as said that's the case on trunk, if you don't see it that's because you
use lib classes which uses this jar from lib from the webapp.

maybe check your classloader chain.

server jar = <tomee>/lib/*.jar

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/10 tschuler <[email protected]>

> Hi Romain!
>
> To be honest I don’t really understand what you mean with server jar.
> We put one version of the jar into the lib folder of the ear.
> The other version of the jar (needed for the war) is placed into the lib
> folder of the war file.
> What we see is that the war still uses the jar placed in the ear-lib
> folder.
> Is there a way to enforce the war application to use its own version of
> the jar file?
>
> Best regards,
>                 Thomas
>
>
> Von: Romain Manni-Bucau [via OpenEJB] [mailto:
> [email protected]]
> Gesendet: Dienstag, 9. Juli 2013 10:02
> An: Thomas Schuler
> Betreff: Re: Use specific jar version in war
>
> Hi
>
> If not a server jar (these ones can be handled particularly) that's the
> case on trunk. You can force it with a system prop but you shouldnt need it
> Le 9 juil. 2013 09:36, "tschuler" <[hidden
> email]</user/SendEmail.jtp?type=node&node=4664153&i=0>> a écrit :
>
> > Hi!
> >
> > We deploy an ear file containing a specific version of a jar file in the
> > ear-lib directory (actually using a TomEE 1.6.0 snapshot).
> > A war included in the ear needs a different version of the same jar file.
> > Is there a way to separate the war classpath from the ear classpath or is
> > it
> > possibleto enforce the war using its specific version of the jar file?
> >
> > Best regards,
> > Thomas
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/Use-specific-jar-version-in-war-tp4664148.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://openejb.979440.n4.nabble.com/Use-specific-jar-version-in-war-tp4664148p4664153.html
> To unsubscribe from Use specific jar version in war, click here<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664148&code=dGhvbWFzLnNjaHVsZXJAb3BlbnRleHQuY29tfDQ2NjQxNDh8LTE4NTIyNTQ0OTI=
> >.
> NAML<
> http://openejb.979440.n4.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://openejb.979440.n4.nabble.com/Use-specific-jar-version-in-war-tp4664148p4664208.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to