Ok thanks, anyway is there a way to add a resource to the tomcat classpath,
i know that it is possibile because in my previous job i 've used that :)

Il mar 24 lug 2018, 00:00 M. Manna <manme...@gmail.com> ha scritto:

> This is not relevant to tomcat. you have to read how to configure spring
> application environment variables and classpath.
> Below are some examples, which you can read and configure yourself.
>
>
> https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html
>
> https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config-application-property-files
>
> https://stackoverflow.com/questions/41461786/how-to-externalize-application-properties-in-tomcat-webserver-for-spring
>
> Thanks,
>
> On Mon, 23 Jul 2018, 21:58 Francesco Viscomi, <fvisc...@gmail.com> wrote:
>
> > Because I need to add a folder (properties) under the tomcat installation
> > in order to read the properties in a file with the following annotation
> > (using spring)
> > @PropertySource("classpath:properties/application.properties");
> >
> >
> >
> >
> >
> > 2018-07-23 22:21 GMT+02:00 M. Manna <manme...@gmail.com>:
> >
> > > You should never modify them, unless you know precisely what you're
> doing
> > > it, and why.
> > >
> > > What ia your reason to modify them? What would you like to do?
> > >
> > > On Mon, 23 Jul 2018, 20:30 Francesco Viscomi, <fvisc...@gmail.com>
> > wrote:
> > >
> > > > Sir Manna you're right, but at the moment I cannot go through debug;
> > > > So if there is an explanation and why i should modify them, it will
> be
> > > very
> > > > important to me.
> > > >
> > > > thanks
> > > >
> > > > 2018-07-23 18:06 GMT+02:00 M. Manna <manme...@gmail.com>:
> > > >
> > > > > http://tomcat.apache.org/tomcat-8.5-doc/class-loader-
> > > > > howto.html#Class_Loader_Definitions
> > > > >
> > > > > Also, you should try and pay attention to Bootstrap.java file and
> > debug
> > > > > through the execution to understand how it's working.
> > > > >
> > > > >
> > > > > On 23 July 2018 at 17:03, Francesco Viscomi <fvisc...@gmail.com>
> > > wrote:
> > > > >
> > > > > > hi all
> > > > > > In catalina.properties i find :
> > > > > > common.loaders
> > > > > > serverr.loaders
> > > > > > shared.loaders
> > > > > >
> > > > > > And i wasn t able to find out the meaning of that variables, some
> > one
> > > > can
> > > > > > tell to me and if possibile also a link to the documentation in
> > wich
> > > > > these
> > > > > > variable are treated
> > > > > >
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Ing. Viscomi Francesco
> > > >
> > >
> >
> >
> >
> > --
> > Ing. Viscomi Francesco
> >
>

Reply via email to