You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Payara Forum
Hi everyone.
Is it possible to add shared libs to a payara micro uberjar ?
I have more than one war file that I bundle in a uberjar pajara mirco distribution. I do not want to repeat the shared jars that is in the wars, so I am wondering to define extra jars to be included in the ubjerjar ?
Thanks
Ondrej Mihályi
unread,
May 5, 2017, 4:04:42 AM5/5/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Payara Forum
Hi Phillip,
Unfortunately, it's not possible to do it in a straightforward way so far, since version 171 introduced a hierarchical classloader to load internal classes and doesn't provide straightforward way to extend the classpath. We plan to support this in the future. Until then, you might be successful with a workaround I described here, with some more details about how classloading works in Payara Micro: https://groups.google.com/forum/#!msg/payara-forum/A7YghjS12u8/1shiELDpBAAJ
Ondrej
Dňa utorok, 2. mája 2017 10:59:15 UTC+2 Phillip Krüger napísal(-a):