Re: How to disable devMode in prod

2016-10-12 Thread Sreekanth S. Nair
👍 thanks Lukasz.. On Wed, Oct 12, 2016 at 4:47 PM, Lukasz Lenart wrote: > 2016-10-12 12:43 GMT+02:00 Sreekanth S. Nair org>: > > Cool 👍 thanks Lukasz, when can we expect this release ? > > Somehow around end of this year, maybe early. > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.

Re: How to disable devMode in prod

2016-10-12 Thread Lukasz Lenart
2016-10-12 12:43 GMT+02:00 Sreekanth S. Nair : > Cool 👍 thanks Lukasz, when can we expect this release ? Somehow around end of this year, maybe early. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscri

Re: How to disable devMode in prod

2016-10-12 Thread Sreekanth S. Nair
Cool 👍 thanks Lukasz, when can we expect this release ? On Wed, Oct 12, 2016 at 3:02 PM, Lukasz Lenart wrote: > and docs > https://cwiki.apache.org/confluence/display/WW/Constant+Configuration# > ConstantConfiguration-Valuesubstitution > > 2016-10-12 11:24 GMT+02:00 Lukasz Lenart : > > Implemen

Re: How to disable devMode in prod

2016-10-12 Thread Lukasz Lenart
and docs https://cwiki.apache.org/confluence/display/WW/Constant+Configuration#ConstantConfiguration-Valuesubstitution 2016-10-12 11:24 GMT+02:00 Lukasz Lenart : > Implemented > https://issues.apache.org/jira/browse/WW-4698 > > 2016-09-16 9:06 GMT+02:00 Christoph Nenning : >>> Maybe the first step

Re: How to disable devMode in prod

2016-10-12 Thread Lukasz Lenart
Implemented https://issues.apache.org/jira/browse/WW-4698 2016-09-16 9:06 GMT+02:00 Christoph Nenning : >> Maybe the first step should be just simple, use ENV in >> struts.xml/struts.properties >> >> >> >> wdyt? >> >> > > +1 > > > > This Email was scanned by Sophos Anti Virus ---

Re: How to disable devMode in prod

2016-09-16 Thread Christoph Nenning
> Maybe the first step should be just simple, use ENV in > struts.xml/struts.properties > > > > wdyt? > > +1 This Email was scanned by Sophos Anti Virus

Re: How to disable devMode in prod

2016-09-15 Thread Adam Brin
It used to be that you could use an include statements in the struts.xml, e.g. . We used this to allow for different settings in production and development by importing different files. This could be a nice “pair” if you can specify environment variables. - adam -- __

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
Would be great to start with :-) -- Thanks & Regards Sreekanth Nair Java Developer On Thu, Sep 15, 2016 at 8:30 PM, Lukasz Lenart wrote: > Maybe the first step should be just simple, use ENV in > struts.xml/struts.properties > > > > wdyt? > > > Regards > -- > Łukasz > + 48 606 323 122 http:/

Re: How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
Maybe the first step should be just simple, use ENV in struts.xml/struts.properties wdyt? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For addition

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
Adding one of my thought, it would be better if we can externalize the System ENV property key name (in Christoph code the key is "environment"), because the application may already having some key to set its environment to prod, staging or dev, etc. eg: if we are using spring its having *spring.pr

Re: How to disable devMode in prod

2016-09-15 Thread Christoph Nenning
> >> Hi, > >> > >> Do you have a solution to disable devMode in production environment? > >> Based on some ENV variable or something? > > > > Yes, we register a configProvider in web.xml which disables devMode based > > on a system pr

Re: How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
2016-09-15 13:35 GMT+02:00 Christoph Nenning : >> Hi, >> >> Do you have a solution to disable devMode in production environment? >> Based on some ENV variable or something? > > Yes, we register a configProvider in web.xml which disables devMode based > on a syste

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
+1 for this change, it would be wonderful if this can be done. -- Thanks & Regards Sreekanth Nair Java Developer On Thu, Sep 15, 2016 at 5:21 PM, Christoph Nenning < christoph.nenn...@lex-com.net> wrote: > > >> Hi, > > >> > > >> Do you ha

Re: How to disable devMode in prod

2016-09-15 Thread Christoph Nenning
> >> Hi, > >> > >> Do you have a solution to disable devMode in production environment? > >> Based on some ENV variable or something? > > > > Yes, we register a configProvider in web.xml which disables devMode based > > on a system pro

Re: How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
2016-09-15 13:35 GMT+02:00 Christoph Nenning : >> Hi, >> >> Do you have a solution to disable devMode in production environment? >> Based on some ENV variable or something? > > Yes, we register a configProvider in web.xml which disables devMode based > on a system

Re: How to disable devMode in prod

2016-09-15 Thread Christoph Nenning
> Hi, > > Do you have a solution to disable devMode in production environment? > Based on some ENV variable or something? > > Yes, we register a configProvider in web.xml which disables devMode based on a system property. regards, Christoph This Email was scanned by Sophos Anti Virus

How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
Hi, Do you have a solution to disable devMode in production environment? Based on some ENV variable or something? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr

Antwort: Re: Re: issue with devMode changes in 2.3.16

2014-01-02 Thread Christoph Nenning
> > > > I mean to add a note when devMode is enabled via a > > CustomConfigurationProvider that config and resource reloading is not > > enabled automatically. > > > > At least if you don't remove default values. > > Can you register an issue for tha

Re: Re: issue with devMode changes in 2.3.16

2013-12-31 Thread Lukasz Lenart
; >> >> https://cwiki.apache.org/confluence/display/WW/devMode#devMode- >> Pagerenderingisslow >> > > I mean to add a note when devMode is enabled via a > CustomConfigurationProvider that config and resource reloading is not > enabled automatically. > > At le

Antwort: Re: issue with devMode changes in 2.3.16

2013-12-30 Thread Christoph Nenning
> > Is that behavior intended? > > Yes, please check version notes > > https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.16 > > > Would you mind to add a note about that to the wiki? > > > https://cwiki.apache.org/confluence/display/WW/de

Re: issue with devMode changes in 2.3.16

2013-12-30 Thread Lukasz Lenart
2013/12/30 Christoph Nenning : > Dear List, > > > in some applications we use a custom ConfigurationProvider to use our own > stage specific config to enable devMode automatically for development > stages. > > In struts 2.3.16 devMode was changed to allow disabling of e.

issue with devMode changes in 2.3.16

2013-12-30 Thread Christoph Nenning
Dear List, in some applications we use a custom ConfigurationProvider to use our own stage specific config to enable devMode automatically for development stages. In struts 2.3.16 devMode was changed to allow disabling of e.g. config reloading or resources reloading even when devMode is

Re: [Struts 2] ?debug=console (devMode) not working

2010-01-21 Thread Lukasz Lenart
2010/1/21 Fernandes Celinio : > Yes, I did. > I do not know why it is not working. Someone told me he had to create an > interceptor to make it work. Sounds weird to me. > Unless you have another idea, I am going to give up on that one. One thing more, please add Dojo plugin, console is based on

Re: [Struts 2] ?debug=console (devMode) not working

2010-01-20 Thread Lukasz Lenart
2010/1/20 Fernandes Celinio : > Hi, > I am trying to run the debug console that is available in a popup when you > append the URL with ?debug=console > It is described here : > http://struts.apache.org/2.0.14/docs/debugging.html > > Here is the URL i used : > http://localhost:8085/myWebApp/doLogin

[Struts 2] ?debug=console (devMode) not working

2010-01-20 Thread Fernandes Celinio
) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Unknown Source) You are seeing this page because development mode is enabled. Development mode, or devMode, enables extra debugging behaviors and reports to assist developers. To disable this mode, set: struts.devMode

Re: S2.1.6 problem with devMode

2009-06-26 Thread Musachy Barroso
yeah, known bug, it is fixed in trunk and will be in 2.1.7 musachy On Fri, Jun 26, 2009 at 7:28 AM, Greg Lindholm wrote: > When I set devMode to true I get the exception below. > Struts 2.1.6, Tomcat 5.5, starting Tomcat from within Eclipse. > If devMode is false all works fine. >

S2.1.6 problem with devMode

2009-06-26 Thread Greg Lindholm
When I set devMode to true I get the exception below. Struts 2.1.6, Tomcat 5.5, starting Tomcat from within Eclipse. If devMode is false all works fine. Anyone have any ideas? 2009-06-26 10:21:06,250 INFO com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:31 - Parsing configuration

Re: Specify DevMode Dynamically at Runtime

2009-05-22 Thread laserjim
# 26487421 > AIM NorrisEShelton > YIM norrisshelton > > > > > > From: laserjim > To: user@struts.apache.org > Sent: Friday, May 22, 2009 8:42:42 AM > Subject: Re: Specify DevMode Dynamically at Runtime > > > SOLVED: When

Re: Specify DevMode Dynamically at Runtime

2009-05-22 Thread Norris Shelton
DevMode Dynamically at Runtime SOLVED: When you're in debug mode, add a dispatch initialization listener to the Struts Dispatch class; the dispatch listener can call setDevMode("true");. Tested, works, Struts 2.1.6 laserjim wrote: > > Hello, > > I have a struts

Re: Specify DevMode Dynamically at Runtime

2009-05-22 Thread laserjim
runtime, I decide I want to > enable dev mode. Modifying struts.properties requires redeploying the > webapp. Is there a way to enable devmode dynamically? > > Thanks! > -- View this message in context: http://www.nabble.com/Specify-DevMode-Dynamically-at-Runtime-tp23668635p2366970

Specify DevMode Dynamically at Runtime

2009-05-22 Thread laserjim
Hello, I have a struts application. Sometimes, at runtime, I decide I want to enable dev mode. Modifying struts.properties requires redeploying the webapp. Is there a way to enable devmode dynamically? Thanks! -- View this message in context: http://www.nabble.com/Specify-DevMode

Re: devMode dead

2008-10-12 Thread Mead Lai
> altered properties file was copied across to the WEB-INF/classes folder by > NB. > I don¹t know if that had any impact. Also, we¹re using 2.0.11.2. > Z. > > > > Lukasz Lenart on 11/10/08 12:21, wrote: > >> > 2008/10/11 Adam Hardy <[EMAIL PROTECTED]&g

Re: devMode dead

2008-10-12 Thread Zoran Avtarovski
2.0.11.2. Z. > > Lukasz Lenart on 11/10/08 12:21, wrote: >> > 2008/10/11 Adam Hardy <[EMAIL PROTECTED]>: >>> >> Is anybody else having trouble with devMode not working? >>> >> >>> >> Certainly seems like I'm the only one and I can

Re: devMode dead

2008-10-12 Thread Adam Hardy
Wendy Smoak on 11/10/08 22:24, wrote: On Sat, Oct 11, 2008 at 2:15 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: a really basic question..what does/is/will do devMode supposed to do? I couldnt find any doc on this? http://struts.apache.org/2.0.11.2/docs/devmode.html And the page befor

Re: devMode dead

2008-10-11 Thread Wendy Smoak
On Sat, Oct 11, 2008 at 2:15 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: > > a really basic question..what does/is/will do devMode supposed to do? > I couldnt find any doc on this? http://struts.apache.org/2.0.11.2/docs/devmode.

RE: devMode dead

2008-10-11 Thread Martin Gainty
a really basic question..what does/is/will do devMode supposed to do? I couldnt find any doc on this? Thanks, Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender

Re: devMode dead

2008-10-11 Thread Adam Hardy
Lukasz Lenart on 11/10/08 12:21, wrote: 2008/10/11 Adam Hardy <[EMAIL PROTECTED]>: Is anybody else having trouble with devMode not working? Certainly seems like I'm the only one and I can't find anything wrong with my setup. It's really slowing me down doing the i18n labe

Re: devMode dead

2008-10-11 Thread Lukasz Lenart
2008/10/11 Adam Hardy <[EMAIL PROTECTED]>: > > Is anybody else having trouble with devMode not working? > > Certainly seems like I'm the only one and I can't find anything wrong with > my setup. It's really slowing me down doing the i18n labels on my JSPs >

devMode dead

2008-10-11 Thread Adam Hardy
Is anybody else having trouble with devMode not working? Certainly seems like I'm the only one and I can't find anything wrong with my setup. It's really slowing me down doing the i18n labels on my JSPs without struts doing a refresh on the package.properties file. Looks li

Re: devMode

2008-10-09 Thread Adam Hardy
Anyone, what are the requirements for configuring my i18n resource bundle if I want devMode to reload it every request? I currently have all my i18n strings in package.properties in my main package - and I configured it in struts.xml too like so: Adam Hardy on 08/10/08 18:50, wrote

Re: devMode

2008-10-08 Thread Adam Hardy
OK: with devMode=false, the logging misses out this one line (otherwise the same): INFO 17:58:36 DefaultConfiguration.setProperty(): Overriding property struts.configuration.xml.reload - old value: false new value: true (com.opensymphony.xwork2.config.impl) I don't have struts.prope

Re: devMode

2008-10-08 Thread Alberto Flores
A few questions: - Try to set devMode=false and see if you get the same logs. - Do you have a struts.properties with devMode=false/true. If so, this file will override struts.xml. Adam Hardy wrote: I fully expect that there's a simple answer to this one but I can't find it in t

devMode

2008-10-08 Thread Adam Hardy
I fully expect that there's a simple answer to this one but I can't find it in the wiki or the mailing list archives. devMode is set to true in my struts.xml, which loads as per the logging, but my webapp is not reloading the i18n bundle. Actually it's not giving me enhanced ex

Re: [S2] devMode + Maven2 + recompile classes

2008-07-22 Thread Lukasz Lenart
> Yes, that it's how it's supposed to be I guess. What exactly is the > problem? Is it that the webapp won't reload when you edit classes or > resources when you edit them in your IDE? Is your IDE set up with > correct output build paths? Does it help to touch the web.xml file? That's the point, I

Re: [S2] devMode + Maven2 + recompile classes

2008-07-22 Thread Nils-Helge Garli Hegvik
Yes, that it's how it's supposed to be I guess. What exactly is the problem? Is it that the webapp won't reload when you edit classes or resources when you edit them in your IDE? Is your IDE set up with correct output build paths? Does it help to touch the web.xml file? Nils-H On Tue, Jul 22, 200

Re: [S2] devMode + Maven2 + recompile classes

2008-07-22 Thread Lukasz Lenart
Hi, 2008/7/22 Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>: > Are you asking how to set up reloading of the webapp with the maven > jetty plugin? Did you check out the maven-jetty-plugin docs [1] and > the "scanIntervalSeconds" configuration element [2]? > > Nils-H > > [1] - http://docs.codehaus.or

Re: [S2] devMode + Maven2 + recompile classes

2008-07-22 Thread Markus Stauffer
Can i do this with tomcat as well. I think it's called hot-deploy or something. Someone got it working with netbeans 6.1+ and maven2 project? regards -- Markus Stauffer On Tuesday 22 July 2008 22.36:51 Nils-Helge Garli Hegvik wrote: > Are you asking how to set up reloading of the webapp with th

Re: [S2] devMode + Maven2 + recompile classes

2008-07-22 Thread Nils-Helge Garli Hegvik
Are you asking how to set up reloading of the webapp with the maven jetty plugin? Did you check out the maven-jetty-plugin docs [1] and the "scanIntervalSeconds" configuration element [2]? Nils-H [1] - http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin [2] - http://jetty.mortbay.org/jetty

[S2] devMode + Maven2 + recompile classes

2008-07-22 Thread Lukasz Lenart
Hi, I'm using Maven2 to develop my Struts2 application, as I discovered, it's possible to configure Maven2 to recompile modified classes and also update resource files, but I don't know how to setup that. I'm also using Jetty plugin with Maven2 and IntelliJ IDEA 7. Can someone help me? Regards -

Re: devMode + Windows + Eclipse + Tomcat = not reloading struts.xml

2008-04-28 Thread Al Sutton
I'm pretty sure it's an Windows/Eclipse thing as I see the same thing with or without devMode set to true on Windows with JDK 1.5.0_14. Struts has very little control over how it is deployed into the webapp container (tomcat in your case), so you might want to check in with the ec

Re: devMode + Windows + Eclipse + Tomcat = not reloading struts.xml

2008-04-28 Thread Chase
Adam Hardy wrote: Chase on 28/04/08 22:14, wrote: Anyone had issues with devMode not working fully on Windows? I've got set and in my Tomcat console log I'm seeing: INFO: Overriding property struts.configuration.xml.reload - old value: false new value: true Windows XP Sun

Re: devMode + Windows + Eclipse + Tomcat = not reloading struts.xml

2008-04-28 Thread Adam Hardy
Chase on 28/04/08 22:14, wrote: Anyone had issues with devMode not working fully on Windows? I've got set and in my Tomcat console log I'm seeing: INFO: Overriding property struts.configuration.xml.reload - old value: false new value: true Windows XP Sun JDK 1.6u6 Eclipse 3.

devMode + Windows + Eclipse + Tomcat = not reloading struts.xml

2008-04-28 Thread Chase
Anyone had issues with devMode not working fully on Windows? I've got set and in my Tomcat console log I'm seeing: INFO: Overriding property struts.configuration.xml.reload - old value: false new value: true Windows XP Sun JDK 1.6u6 Eclipse 3.3.2 Tomcat 6.0.16 Tomcat is being

Re: [S2 Tip] Always set devMode to false in production

2007-03-16 Thread Eric Rank
Thanks for the clarification, Laurie. That's what I suspected, but wasn't sure. Now I know! Thanks, Eric The 'templates' directory should be a sibling of WEB-INF. L. Eric Rank wrote: All of these tips are great. I'm glad this page exists. I'd love a bit of clarification about the locatio

Re: [S2 Tip] Always set devMode to false in production

2007-03-16 Thread Laurie Harper
he "WEB-INF/classes" directory, or somewhere else? Thanks for the help. Eric Rank On Mar 16, 2007, at 7:04 AM, Ted Husted wrote: In the Struts 2.0.6 release, we made the mistake of setting devMode to true in some of the example applications. As a result, some developers copie

Re: [S2 Tip] Always set devMode to false in production

2007-03-16 Thread Eric Rank
Eric Rank On Mar 16, 2007, at 7:04 AM, Ted Husted wrote: In the Struts 2.0.6 release, we made the mistake of setting devMode to true in some of the example applications. As a result, some developers copied the setting, and then wondered why their Struts 2 application seemed sluggish! As of

[S2 Tip] Always set devMode to false in production

2007-03-16 Thread Ted Husted
In the Struts 2.0.6 release, we made the mistake of setting devMode to true in some of the example applications. As a result, some developers copied the setting, and then wondered why their Struts 2 application seemed sluggish! As of Struts 2.0.7 (coming soon), we've added a Performance T

Re: [S2] Access to devMode value

2007-01-12 Thread Dirk Bergstrom
Don Brown was heard to exclaim, On 01/12/07 18:01: > If using the latest code, What's "latest code"? Subversion trunk, or 2.0.1? Probably doesn't matter, since I'm waiting on Constant Configuration, which will be in the next version. That will allow me to define d

Re: [S2] Access to devMode value

2007-01-12 Thread Don Brown
2/07, Dirk Bergstrom <[EMAIL PROTECTED]> wrote: I need to find the value of the devMode flag from within my code. Ideally I'd have access to it from the ApplicationListener, so that I could set logging levels and choose the correct database. At the least, I need it in my ActionSupport classes,

[S2] Access to devMode value

2007-01-12 Thread Dirk Bergstrom
I need to find the value of the devMode flag from within my code. Ideally I'd have access to it from the ApplicationListener, so that I could set logging levels and choose the correct database. At the least, I need it in my ActionSupport classes, so I can turn on Dojo debugging. I'