tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: TomEE doesnt recognise when there is a change in jvm arguments passed to it
Date Thu, 09 Jun 2016 19:01:24 GMT
Hi

You can set it as jvm property or in conf/system.properties - in
system.properties of server config files for wtp.
Le 9 juin 2016 20:54, "manoja" <manojahere@gmail.com> a écrit :

>  need to change my properties based on environment passed as argument to
> tomEE 6 server.
>
> I have the following code:
>
> /String envProperties = System.getProperty("envProperties");
> System.out.println("environment properties: "+envProperties);/
>
> This gets the property value that is set the first time. When I change the
> property to something different than the previous one, it doesnt detect the
> change. how do i get it to pick up any change being passed.
>
> The way I am passing properties right now is by going into server run time
> configuration in eclipse and passing it
>
> /-DenvProperties="dev"/
>
> I went through  OpenEJB System Properties File
> <http://tomee.apache.org/system-properties-files.html>   but I could not
> understand how to set it.
> I am using eclipse to set my TomEE runtime arguments.
> does tomee need these parameters added in another file.
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-doesnt-recognise-when-there-is-a-change-in-jvm-arguments-passed-to-it-tp4678825.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message