👍 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.
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
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
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
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
---
> 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
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
--
__
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:/
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
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
> >> 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
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
+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
> >> 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
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
> 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
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
> >
> > 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
;
>>
>> 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
> > 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
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.
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
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
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
)
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
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.
>
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
# 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
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
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
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
> 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
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
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
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.
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
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
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
>
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
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
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
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
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
> 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
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
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
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
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
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
-
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
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
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.
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
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
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
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
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
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
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,
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'
60 matches
Mail list logo