Ok thanks, i need to know for
Tomcat 7
And
Tomcat 8.5
Thanks

Il mar 24 lug 2018, 18:20 Christopher Schultz <ch...@christopherschultz.net>
ha scritto:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Francesco,
>
> On 7/24/18 2:26 AM, Francesco Viscomi wrote:
> > 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 :)
>
> Yes, this is possible, but the answer depends upon your Tomcat version.
>
> Please tell us your tomcat version.
>
> - -chris
>
> > 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-f
> eatures-external-config.html
> <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/#bo
> ot-features-external-config-application-property-files
> <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-appli
> cation-properties-in-tomcat-webserver-for-spring
> <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
> >>>
> >>
> >
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAltXUcMACgkQHPApP6U8
> pFh7SQ//ermX00upIzMhYb/aeGGKBR2d115iKrr5PQj6xek6A3Z+CGWzBeuLhCCd
> Y3JgyDAQZ4Pdh0Ntxgs1qXDkYna+fMGHBu5cuZyXuJzBHrjk65HCYmMJ/LzRdGU+
> OVNZ4E42Jlecugbwbf5GBQ+JHnWRCZgdB0qvCOo07EXQFXerc0OaN2RtaCpbgcsB
> w7faSKxJwW5AiEWNGjTH460mR+AEqZDygCScV2dF2R8OVFtxmjtjM6vnbDrTAUL4
> 6SOz/X7yNva4zxxvIor9wLgSgoH3K/ZjEj4f4AmOw9fT6vHOvQoS/dxNS//FemF2
> qAK9S69ih1ZgNtYzri+aFTqr0C7yycvRmR82PgQ5NlYRSEXicSW6l9e9JnOjufYQ
> wcXz06aVeIaaJGLhn1TYhFukjkFqSohCRr5FTBhcjqgk8uuvKelp8oFdTLyWRwi1
> DsL5r7e8GhhJmN2pKuPqMSVJHpe9TrsL5JAa+kFSnqJkHKG45oVJrVtyiXMPfdnk
> ACAHO2a169GzHVIwlH3F+GEarnABZ8ptJiszFUSqEjz4I0sHSk1iHzPsyc55/Bad
> jKuUt6LJNFZEDBMZy7upo/Zp8DMX4qkXOh9Sr4KxgfndrRFn4oM63hz1NwOfqXgv
> p+b7vL7MNTF24fJHsm/oLRuCG8t8Ul4IKIHNfnOe7a4TiLPXt08=
> =VRnC
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to