Re: Issues while migrating form Struts2.3.16 to 2.5.14.1

2018-03-14 Thread Adam Brin
CompositionUnitMgrImpl$CUInitializer.run( > CompositionUnitMgrImpl.java:994) > at > com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run( > WsComponentImpl.java:502) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862 > > What should i check for the above error? > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts2 login action class seems to be reused

2018-03-05 Thread Adam Brin
pping", > null)`? then post back the exception if any (I don't expect any). You > should set to null or remove the attribute. Any other code is wrong. > > Regards. > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts 2.5.14 support for java 8/java 9/java 10

2018-03-05 Thread Adam Brin
You might look in the struts2 JIRA for open issues > On Mar 5, 2018, at 6:18 AM, David Greene wrote: > > Struts 2.5 has out of the gate support for Java8. I haven't tried 9 or 10 > yet. > > On Mon, Mar 5, 2018 at 4:16 AM, coolaki2...@gmail.com >

Re: Struts 2.5.14.1 version - Security fixes - Need clarifications

2017-12-06 Thread Adam Brin
If you go look at the security declaration and the links into the jackson changset it’ll list what’s been patched. Sorry, not a complete answer, but best I can easily give. -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread Adam Brin
Apologies if I missed something earlier, but can you do a dependency search in your project and see if you already have a version of net.sf.json.lib included elsewhere? perhaps an older (or newer) version is conflicting? -- _ Adam Brin

Re: Struts2.x ActionError And ActionMessage

2017-11-16 Thread Adam Brin
Hi Siva, Can you share an example of what you’re doing and what’s not working? thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Nov 16, 2017, at 8:15 AM, Dhulipudi, Sivannaray

Re: How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Adam Brin
it’s a mixture of things: * Struts.xml should be setup to know about spring: * register the appropriate application listeners * add the @Scope variables to controllers -- _ Adam Brin Director of Technology, Digital

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Borrowing from Lukasz’s improvement. public class MyControlelr extends ActionSupport … @Override public String execute() { String msg = getText(‘myMessageKey”); FileReader.determineFileReader(msg, userString); -- _ Adam Brin Director

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
= provider.getText("global.unknown"); ... } -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2017, at 7:36 AM, Klaus Tachtler <kl...@tachtler.net> wrote: > > Hi Adam, > >

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Ok, then from your Action/Controller pass in a TextProvider into the method which has the localization. All ActionSupport subclassess implement this, so you can pass this in. -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
what class are you doing this in? Are you subclassing off of ActionSupport? -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2017, at 7:20 AM, Klaus Tachtler <kl...@tachtler.net> wrote: >

Re: Form not submitting, after migration

2017-08-01 Thread Adam Brin
What encoding type are you using? it’s possible that part of the issue is that you’re submitting a multi-part form and it’s being caught up by an existing bug [WW-4818] - adam -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 17, 2017, at 6:16 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > > 2017-07-17 14:35 GMT+02:00 Adam Brin <ab...@digitalantiquity.org>: >> In the automated testin

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
In the automated testing we run on our application there was not one test that passed that used a browser backend be it Chrome or HtmlUnit without adjusting the regular expression. On Mon, Jul 17, 2017 at 5:29 AM, Adam Brin <ab...@digitalantiquity.org> wrote: > Hi Lukasz, > Yes

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
Hi Lukasz, Yes, - adam On Sun, Jul 16, 2017 at 11:03 PM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > I assume that this is the related ticket to this [1], right? > > [1] https://issues.apache.org/jira/browse/WW-4818 > > 2017-07-14 15:46 GMT+02:00 Adam Brin <ab

Multipart fixes in 2.5.12 and non-file payloads

2017-07-14 Thread Adam Brin
html though I'm less sure about other characters. I worry this default regex will likely trip up lots of uploads silently, -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
Unfortunately, using the factory alone didn't help because we needed to add the ResourceBuindles into the TextProviderInstance On Fri, Jul 14, 2017 at 6:16 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2017-07-14 14:36 GMT+02:00 Adam Brin <ab...@digitalantiquity.org>: >

Re: 2.5.12 & security fix protocol

2017-07-14 Thread Adam Brin
thanks for the clarification. On Fri, Jul 14, 2017 at 5:53 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2017-07-14 14:40 GMT+02:00 Adam Brin <ab...@digitalantiquity.org>: > > Hi Lukasz, > > Out of curiosity, I'm wondering, what the protocol or cho

2.5.12 & security fix protocol

2017-07-14 Thread Adam Brin
ion seemed to have quite a few more changes. thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
I think I tried that originally without help. Anyway, it seems like my fix worked. On Thu, Jul 13, 2017 at 10:41 PM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2017-07-13 20:08 GMT+02:00 Adam Brin <ab...@digitalantiquity.org>: > > // FIXME: needs to be a

Re: Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
der instance = container.getInstance(LocalizedTextProvider.class); instance.addDefaultResourceBundle(“…"); … -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 13, 2017, at 11:08 AM, Adam Brin <ab...@digi

Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
getContainer()); } ValueStack stack = factory.createValueStack(); context.setValueStack(stack); ActionContext.setContext(context); -- _____ Adam Brin Director of Technology, Digital Antiquity

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Adam Brin
-- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 21, 2017, at 11:34 AM, Ken McWilliams <ken.mcwilli...@gmail.com> wrote: > > Sure, it would be most ideal if there could be variables scoped to struts > action packag

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Adam Brin
th cases the > serialization is executed by json-plugin automatically. > > According to the documentation, the results supported are > https://cwiki.apache.org/confluence/display/WW/Result+Types Have you > implemented a custom result? > > Thanks > > > 2017-05-08 21:38 G

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
use both "CGLIB proxy" and "JDK dynamic > proxy". > *2. For results of json **type **:* without AOP everything works fine, with > AOP both using "JDK dynamic proxy" and "CGLIB proxy" the action is > executed, the advice also but in both case

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
. - adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On May 8, 2017, at 12:27 PM, developer researcher > <java.developer.researc...@gmail.com> wrote: > > Hello Martin, > > First of

Re: Disable file uploads

2017-04-13 Thread Adam Brin
One step is to modify the struts.xml to create a custom stack that doesn’t include the file-upload interceptor. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Apr 13, 2017, at 8:42 AM, Greg Lindholm <greg

Re: Load Message from database using ResourceBundle

2017-03-23 Thread Adam Brin
That’ll help in a few places, but technically you want a custom implementation of the TextProvider. A quick google search suggests: http://struts.1045723.n5.nabble.com/Stuts-2-and-Custom-TextProvider-td3494753.html -- _ Adam Brin Director

Re: Request exceeded allowed size limit! Max size allowed is: 2,097,152

2017-03-13 Thread Adam Brin
. > > tomcat7 server.xml: > redirectPort="8443" >maxpostsize="9000"> > > Thanks a lot! > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apach

Re: Struts2.5.2 upgradingn does't work

2016-09-24 Thread Adam Brin
--- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts 2 and ASM jar version

2016-09-22 Thread Adam Brin
-plugin.html . - adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2016, at 1:18 PM, Dhamelia, Krunal > <krunal.dhame...@tdsecurities.com> wrote: > > So this means I can upgrade to struts

Re: Struts 2 and ASM jar version

2016-09-22 Thread Adam Brin
had some success using ASM 5.1 with our codebase while using the java-8 plugin. It’s planned that in an upcoming version of Struts2 (as Lukasz mentions as I write this), to resolve some other compatibility issues. - adam _ Adam Brin

Re: How to disable devMode in prod

2016-09-15 Thread Adam Brin
-- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 15, 2016, at 8:00 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > > Maybe the first step should be just simple, use ENV in > struts.xml/struts.properti

Re: Struts2 documentation and Stack Overflow

2016-08-31 Thread Adam Brin
een light) > > Anyone can write a blurb, and it's looking a bit barren over there right > now. > > > -- > Sent from my C64 using a 300 baud modem > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts2 initial page loading time

2016-07-21 Thread Adam Brin
udeFilters = { @Filter(type = FilterType.ASSIGNABLE_TYPE, value = { SimpleAppConfiguration.class }) }) -- _ Adam Brin Director of Technology, Digital

Re: Struts2 initial page loading time

2016-07-20 Thread Adam Brin
Hi, Have you tried this on a blank artifact? Seems like it might be a local configuration issue as opposed to a struts issue. If the former, addressing it might depend on your own initialization sequence and perhaps setting up your own Servlet init method > On Jul 20, 2016, at 1:46 PM,

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 18, 2016, at 8:37 AM, Emi <em...@encs.concordia.ca> wrote: > >> try the bridge to log4j1 >> https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html >&g

Re: Struts 2: running processes/threads in background

2016-07-17 Thread Adam Brin
Interceptor isn't the right choice.. > > Best regards > Thomas > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-30 Thread Adam Brin
Hi, Emi, do you have a maven pom that shows dependencies? It might be that you’ve got multiple copies of XWork, Struts2 (somehow) or another conflict. Probably need more information to help debug. best, adam -- _ Adam Brin Director

Re: tiles, sitemesh, velocity and other template engines

2016-06-30 Thread Adam Brin
Hi Christoph & Łukasz, Thanks. This is useful. We’ll stay with Sitemesh2 and Freemarker for now. thanks, adam -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 29, 2016, at 1:19 AM, Christoph

tiles, sitemesh, velocity and other template engines

2016-06-28 Thread Adam Brin
thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: interfaces with default methods on actions

2016-06-12 Thread Adam Brin
- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: interfaces with default methods on actions

2016-06-11 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 9, 2016, at 11:42 PM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > > 2016-06-10 1:04 GMT+02:00 Adam Brin <ab...@digitalantiquity.org>: >> I've been ex

interfaces with default methods on actions

2016-06-09 Thread Adam Brin
? thanks in advance, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Validation using annotations with two execute methods are applied always

2015-12-17 Thread Adam Brin
ent() throws Exception { > > > The issue is that both sets of validations are always executed, no matter > which action has been called. And I see in the response that when > idLanguage or idCompany are missing, the error appears twice, since it is > requited in both actions. > > What am I doing wrong? > > Regards > > JL > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Allow max. file upload size of more than 2gb in struts 2

2015-12-09 Thread Adam Brin
You may also want to check the docs: https://struts.apache.org/docs/file-upload.html which has a section on size limits. > On Dec 9, 2015, at 1:38 AM, punter wrote: > > > Hello, > I am using Struts 2.1 in my project. For the file upload process, is it > possible

Re: Struts 2.5.Beta1 and samples

2015-08-25 Thread Adam Brin
You might also need the bridge between log4j v1 and v2, and also the web jar. Log4j2 is quite modularized when compared to v1. On Tue, Aug 25, 2015 at 10:12 AM, Chris christal...@yahoo.fr wrote: Hi, Thank you for the update.I did it to , yesterday, but I got a new error about log4j. ( even

mapping actions to names with periods

2015-04-29 Thread Adam Brin
=, / But, it seems like struts will not map an action to @Action(sitemap.xml) thanks, adam _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: struts, freemarker and servlet 3.1

2014-10-04 Thread adam brin
: 2014-09-30 17:15 GMT+02:00 Adam Brin adam.b...@asu.edu: Quick question, is anyone running struts 2.3 with servlet 3.1 (Jetty 9)? Our freemarker rendered pages appear to be blank (i.e. no content returned), though the rest of the app appears to function properly (stream results return properly

struts, freemarker and servlet 3.1

2014-09-30 Thread Adam Brin
is in the Sitemesh or Freemarker config, but I can't seem to quickly tell. Has anyone else had any issues or needed to make any changes when upgrading? thanks, adam _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

i18N @s.radio enum

2014-03-01 Thread adam brin
Does anyone have a working example of a @s.radio list tag that uses localization of the labels? I've been searching the doc and stack overflow but not finding things that are working? e.g. if we have an enum: enum EnumTest { A, B, C; } and a getter on the controller: public ListEnumTest

Re: struts 2.3.16 custom (sub-classed) theme issue

2014-01-23 Thread adam brin
theme will pick them up as well (when there be no theme attribute defined, in other case, templates from pointed out theme will be used instead). Hope that helps :-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014/1/22 adam brin ab...@digitalantiquity.org

Re: struts 2.3.16 custom (sub-classed) theme issue

2014-01-23 Thread adam brin
the errors for struts2 looking for template/~~~tdar/css.ftl go away. Is it possible that there's a relative directory reference or some other assumption in how/where it looks for different themes? - adam On Thu, Jan 23, 2014 at 8:15 AM, adam brin adam.b...@asu.edu wrote: Hi Lukasz, Our case

struts 2.3.16 custom (sub-classed) theme issue

2014-01-22 Thread adam brin
: http://struts.apache.org/release/2.3.x/docs/extending-themes.html our theme.properties contains: parent=simple is anyone else seeing this? Or, are we missing something with our configuration? thanks, adam _ Adam Brin Director

example of Struts2 TypeConverter for a bean

2010-12-04 Thread Adam Brin
-conversion.html @s.iterator value=beanList id=bean @s.textfield name=beanList(%{bean.id}).name / /@s.iterator Thanks in advance, adam _ Adam Brin Director of Technology, Digital Antiquity