Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Force webapp to use different javax.mail from that one included in lib/jndi

Thanks you very much Joakim, so it seems that disabling jndi module is not an option.... I didn't actually like it as option

So, I'll try with acting on context as Jan suggested, really thanks guys

Raffaele Gambelli

-----jetty-users-bounces@xxxxxxxxxxx ha scritto: -----
Per: JETTY user mailing list <jetty-users@xxxxxxxxxxx>
Da: Joakim Erdfelt
Inviato da: jetty-users-bounces@xxxxxxxxxxx
Data: 11/05/2017 02.15PM
Oggetto: Re: [jetty-users] Force webapp to use different javax.mail from that one included in lib/jndi

Inline ...

On Thu, May 11, 2017 at 3:55 AM, Raffaele Gambelli < R.Gambelli@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Thanks Jan, I'll try but I'm really don't understanding why the meaning of this output:

[t] Module: jndi
     Depend: server
        LIB: lib/jetty-jndi-${jetty.version}.jar
        LIB: lib/jndi/*.jar
    Enabled: <via> <transitive from> ${jetty.base}/start.ini

The part where it says "<transitive from>" means that its not enabled directly, but rather it is enabled due to some other module that depends on jndi.

It says enabled but in start.ini the string "jndi" does not appear but the doc says that to disable a module I should comment it into start.ini, mumble mumble, am I wrong or it is a bit confusing?

Lets see what depends on "jndi" ...

[jetty-home-9.4.5.v20170502]$ grep -RHn jndi modules/*

Looks like "plus" directly depends on jndi ...

But what depends on "plus"?

[jetty-home-9.4.5.v20170502]$ grep -RHn plus modules/*

Also note, that "plus" is a dependency for cdi, annotations, and quickstart too.

Joakim Erdfelt /  joakim@xxxxxxxxxxx

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top