On 22/04/2019 12:32, Akram Hussain wrote:
> Hi,
>
> So how can I access the file in shared\lib folder from tomcat\lib folder.
>
> I have a class in tomcat\lib which will access the class which is in
> tomcat\shared folder.
If you want the classes in shared\lib to be visible to both web
Hi,
So how can I access the file in shared\lib folder from tomcat\lib folder.
I have a class in tomcat\lib which will access the class which is in
tomcat\shared folder.
Regards,
Akram.
On Mon, Apr 22, 2019 at 4:32 PM Mark Thomas wrote:
> On 22/04/2019 06:41, Akram Hussain wrote:
> > Hi Mark,
On 22/04/2019 06:41, Akram Hussain wrote:
> Hi Mark,
>
> Actually, I am declaring a Loader in tomcat\conf\context.xml file as
Don't do that.
> for Tomcat 7.0.68, It was working fine.
>
Hi Mark,
Actually, I am declaring a Loader in tomcat\conf\context.xml file as
in its startInternal() method, we are creating SharedClassLoader as like
this.
Field field =
On 16/04/2019 20:32, Christopher Schultz wrote:
> Akram,
>
> On 4/16/19 12:41, Akram Hussain wrote:
>> I have gone through it, But it was not clear to me.
>
>> If an example is provided, how to pass resources to
>> SharedClassLoader, it could be helpful.
>
> If you configure something like this
Hi Luis,
But a Listener, which is defined in tomcat\lib, cannot access the
shared\lib folder files.
Regards,
Akram.
On Wed, Apr 17, 2019 at 12:43 PM Luis Rodríguez Fernández
wrote:
> Hello Akram,
>
> If you can not put the jars inside each webapp perhaps you could define a
> shared.loader in
Hello Akram,
If you can not put the jars inside each webapp perhaps you could define a
shared.loader in your catalina.properties [1]. It works for us.
Hope it helps,
Luis
[1]
https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html#Advanced_configuration
El mar., 16 abr. 2019 a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Akram,
On 4/16/19 16:21, Akram Hussain wrote:
> Hi Christopher,
>
> I have almost 27-30 apps in my tomcat.
>
> Do I need to declare in every applications's META-INF\context.xml.
Yes. If every application needs those libraries, then you'll need
Hi Christopher,
I have almost 27-30 apps in my tomcat.
Do I need to declare in every applications's META-INF\context.xml.
And also I have a listener class which is in tomcat\lib folder, which also
access these shared classes using CustomSharedLibrary.
How can I access those shared libraries in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Akram,
On 4/16/19 12:41, Akram Hussain wrote:
> I have gone through it, But it was not clear to me.
>
> If an example is provided, how to pass resources to
> SharedClassLoader, it could be helpful.
If you configure something like this in your
Hi Christofer,
I have gone through it, But it was not clear to me.
If an example is provided, how to pass resources to SharedClassLoader, it
could be helpful.
Regards,
Akram.
On Tue, Apr 16, 2019 at 7:57 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Akram,
On 4/16/19 06:29, Akram Hussain wrote:
> I have Custom SharedClassLoader in Tomcat 7 to load shared library
> jars, which is used by different applications in that tomcat. We
> migrated to Tomcat 9, now it is not working. How to achieve the
Hi,
I have Custom SharedClassLoader in Tomcat 7 to load shared library jars,
which is used by different applications in that tomcat. We migrated to
Tomcat 9, now it is not working. How to achieve the same functionality in
tomcat 9.
In Tomcat 9 it expects resources to be passed. I don't find any
13 matches
Mail list logo