Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-09-17 Thread Maurizio Cucchiara
Well done! Maurizio Cucchiara Il giorno 17/set/2011 00.36, "JOSE L MARTINEZ-AVIAL" ha scritto: > Well, I opened a ticket with Oracle, and send them a testcase. They > determined that it is a bug with the parsing of EL expression on WebLogic > 10.3.0 for Windows. Later versions are not affected.

Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-09-16 Thread JOSE L MARTINEZ-AVIAL
Well, I opened a ticket with Oracle, and send them a testcase. They determined that it is a bug with the parsing of EL expression on WebLogic 10.3.0 for Windows. Later versions are not affected. Thank you for your help! 2011/8/31 Maurizio Cucchiara > IIRC some application server provide their "

Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-08-31 Thread Maurizio Cucchiara
IIRC some application server provide their "custom" implementation of the taglib library. Looks like a WebLogic issue, after all there is no reason it works on Linux (and also as you noticed, there is only one function declaration inside JsonPlugin.tld). Maurizio Cucchiara On 31 August 2011 06:

Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-08-30 Thread JOSE L MARTINEZ-AVIAL
BTW, I just upgraded to Strus-2.2.3, and it fails too, but this time the errors says Function 'json:serialize' specifies 6 params, but 1 were declared. 2011/8/30 JOSE L MARTINEZ-AVIAL > It's strange. I remove the c:put, deploy the war, and it failed again. When > I took a look at the java code g

Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-08-30 Thread JOSE L MARTINEZ-AVIAL
It's strange. I remove the c:put, deploy the war, and it failed again. When I took a look at the java code generated by the JSP, and it has the following declaration static private weblogic.jsp.internal.jsp.JspFunctionMapper _jspx_fnmap = weblogic.jsp.internal.jsp.JspFunctionMapper.getInstance();

Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-08-30 Thread Maurizio Cucchiara
Also, you should verify against the latest version (2.2.3). Again, IIRC there should be some similar trouble with the version you are using. Maurizio Cucchiara On 30 August 2011 21:51, JOSE L MARTINEZ-AVIAL wrote: > Hi, > >  I'm using Struts 2.1.8, with plugin struts2-json-plugin-2.1.8.1.jar i

Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-08-30 Thread Maurizio Cucchiara
Did you try without c:out? IIRC out call shoul be useless. Maurizio Cucchiara Il giorno 30/ago/2011 21.52, "JOSE L MARTINEZ-AVIAL" ha scritto: Hi, I'm using Struts 2.1.8, with plugin struts2-json-plugin-2.1.8.1.jar in an application deployed on WebLogic 10.3 ovver RedHat. We've been using the

Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-08-30 Thread JOSE L MARTINEZ-AVIAL
Hi, I'm using Struts 2.1.8, with plugin struts2-json-plugin-2.1.8.1.jar in an application deployed on WebLogic 10.3 ovver RedHat. We've been using the tag json:serialize without issue for months. But today we installed the same version of WebLogic over Windowx 7, and every time that tag is used,