You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Gu...@tietoenator.com on 2008/10/02 12:10:45 UTC

Ognl versions

Hi,
We use struts2-core 2.0.11.2 which according to maven use
opensymphony.ognl version 2.6.11.

I wonder what the relationships is to ognl.ognl and specifically if the
opensymphony version also has the bug
http://jira.opensymphony.com/browse/OGNL-141

When we are doing load tests we get very long response times.
I tried to replace opensymphony.ognl version 2.6.11 with ognl.ognl
version 2.7.3 but got functional errors.

Regards
Gunnar


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: SV: SV: SV: Ognl versions

Posted by Laurie Harper <la...@holoweb.net>.
The JavaBean Specification defines explicit naming rules for properties 
and their getter/setter methods as well as conventions for their method 
signatures. If you deviate from those rules and conventions in any way, 
your bean is no longer compliant with the spec.

What you had was 'a proper bean' but since the getter method was 
mis-spelt, that property wasn't recognized. It's well worth reading the 
few short sections of the spec that deal with these naming conventions 
to avoid getting into trouble in the future.

L.

Gunnar.Bostrom@tietoenator.com wrote:
> Hi,
> You were right. It was the capitalization that was wrong.
> Actually I didn't understood the comment about javabean as in my eyes it was a proper bean.
> Your apology about null is taken!
> I've seen problems in other places in our code that I need to investigate if it is the same problem!
> Thanks for all help!
> /Gunnar
> 
> 
>> -----Ursprungligt meddelande-----
>> Från: Dale Newfield [mailto:dale@newfield.org] 
>> Skickat: den 7 oktober 2008 17:39
>> Till: Struts Users Mailing List
>> Ämne: Re: SV: SV: Ognl versions
>>
>> Gunnar.Bostrom@tietoenator.com wrote:
>>> We have a measureList that looks the same and it works!
>> It's not quite the same, since it's capitalization is correct.
>>
>>>    public SortedMap<Integer, String> getMeasureList() {
>> Chris Pratt wrote:
>>>> Just as an experiment, you might try renaming the method as a true 
>>>> JavaBean method.  Maybe OGNL got more strict on it's 
>> interpretation 
>>>> of the spec.
>> The renaming he's mentioning is from getjobTypeList to 
>> getJobTypeList :
>>
>>>>>    public SortedMap<Integer, String> getjobTypeList() {
>> And my apologies for misunderstanding your comment about it 
>> being null.
>>
>> -Dale
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


SV: SV: SV: Ognl versions

Posted by Gu...@tietoenator.com.
Hi,
You were right. It was the capitalization that was wrong.
Actually I didn't understood the comment about javabean as in my eyes it was a proper bean.
Your apology about null is taken!
I've seen problems in other places in our code that I need to investigate if it is the same problem!
Thanks for all help!
/Gunnar


> -----Ursprungligt meddelande-----
> Från: Dale Newfield [mailto:dale@newfield.org] 
> Skickat: den 7 oktober 2008 17:39
> Till: Struts Users Mailing List
> Ämne: Re: SV: SV: Ognl versions
> 
> Gunnar.Bostrom@tietoenator.com wrote:
> > We have a measureList that looks the same and it works!
> 
> It's not quite the same, since it's capitalization is correct.
> 
> >    public SortedMap<Integer, String> getMeasureList() {
> 
> Chris Pratt wrote:
> >> Just as an experiment, you might try renaming the method as a true 
> >> JavaBean method.  Maybe OGNL got more strict on it's 
> interpretation 
> >> of the spec.
> 
> The renaming he's mentioning is from getjobTypeList to 
> getJobTypeList :
> 
> >>>    public SortedMap<Integer, String> getjobTypeList() {
> 
> And my apologies for misunderstanding your comment about it 
> being null.
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: SV: SV: Ognl versions

Posted by Dale Newfield <da...@newfield.org>.
Gunnar.Bostrom@tietoenator.com wrote:
> We have a measureList that looks the same and it works!

It's not quite the same, since it's capitalization is correct.

>    public SortedMap<Integer, String> getMeasureList() {

Chris Pratt wrote:
>> Just as an experiment, you might try renaming the method as a 
>> true JavaBean method.  Maybe OGNL got more strict on it's 
>> interpretation of the spec.

The renaming he's mentioning is from getjobTypeList to getJobTypeList :

>>>    public SortedMap<Integer, String> getjobTypeList() {

And my apologies for misunderstanding your comment about it being null.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


SV: SV: Ognl versions

Posted by Gu...@tietoenator.com.
Hi,
We have a measureList that looks the same and it works!
   public SortedMap<Integer, String> getMeasureList() {

        // man = Ärenden som skall konfigureras manuellt
        // uttagen = Ärenden som skall klarrapporteras efter manuell konfigurering
        measureList.put(1, "Ärenden som skall konfigureras manuellt");
        measureList.put(2, "Ärenden som skall klarrapporteras efter manuell konfigurering");

        return measureList;
    }

		<tr><td><s:select
			name="searchJobVO.measure"
			label="Åtgärd"
			required="false"
			headerKey="-1"
			headerValue="Alla"
			list="measureList"
		/></td></tr>

/Gunnar
 

> -----Ursprungligt meddelande-----
> Från: Chris Pratt [mailto:thechrispratt@gmail.com] 
> Skickat: den 7 oktober 2008 09:15
> Till: Struts Users Mailing List
> Ämne: Re: SV: Ognl versions
> 
> Just as an experiment, you might try renaming the method as a 
> true JavaBean method.  Maybe OGNL got more strict on it's 
> interpretation of the spec.
>   (*Chris*)
> 
> On Mon, Oct 6, 2008 at 11:21 PM, 
> <Gu...@tietoenator.com> wrote:
> 
> > Hi,
> > I mean that the value is null now that I use ognl 2.7.2. When using 
> > 2.6.11 the value is a correct map.
> >
> > This is in the model för the jsp page:
> >    SortedMap<Integer, String> jobTypeList = new TreeMap<Integer, 
> > String>();
> >
> >    public SortedMap<Integer, String> getjobTypeList() {
> >        jobTypeList.put(1, "Förfrågan");
> >        jobTypeList.put(8, "VP-flytt");
> >        // return this.getWc().getTypeAsText();
> >        return jobTypeList;
> >    }
> >
> > /Gunnar
> >
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Dale Newfield [mailto:dale@newfield.org]
> > > Skickat: den 6 oktober 2008 20:34
> > > Till: Bostrom Gunnar
> > > Kopia: user@struts.apache.org
> > > Ämne: Re: SV: Ognl versions
> > >
> > > Gunnar.Bostrom@tietoenator.com wrote:
> > > > The jobTypelist is empty, but it worked with 2.6.11 
> version of ognl.
> > > > The applications is our own.
> > >
> > > So you're saying that the updated version doesn't 
> silently fail, and 
> > > that's enough to condemn it?  I would argue that that's an 
> > > improvement.
> > >
> > > In fact, if you look in the source code for the exception 
> stack you 
> > > provide, this is by design:
> > >
> > > core/src/main/java/org/apache/struts2/components/ListUIBean.java:
> > > >         if (value == null) {
> > > >             if (throwExceptionOnNullValueAttribute) {
> > > >                 // will throw an exception if not found
> > > >                 value = findValue((list == null) ? (String)
> > > list : list.toString(), "list",
> > > >                     "The requested list key '" + list + "'
> > > could not be resolved as a
> > > collection/array/map/enumeration/iterator type. " +
> > > >                     "Example: people or people.{name}");
> > > >             }
> > > >             else {
> > > >                 // ww-1010, allows value with null value to
> > > be compatible with ww
> > > >                 // 2.1.7 behaviour
> > > >                 value = findValue((list == null)?(String)
> > > list:list.toString());
> > > >             }
> > >  >         }
> > >
> > > So, in fact, what you're finding through your testing is a place 
> > > where ognl 2.6.11 is doing the wrong thing.
> > >
> > > If you want silent failure, there's a flag to throw so 
> that your app 
> > > gets it.  If you want to evaluate the correctness of a component, 
> > > please ensure you're testing what you think you're testing.
> > >
> > > -Dale
> > >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: SV: Ognl versions

Posted by Chris Pratt <th...@gmail.com>.
Just as an experiment, you might try renaming the method as a true JavaBean
method.  Maybe OGNL got more strict on it's interpretation of the spec.
  (*Chris*)

On Mon, Oct 6, 2008 at 11:21 PM, <Gu...@tietoenator.com> wrote:

> Hi,
> I mean that the value is null now that I use ognl 2.7.2. When using 2.6.11
> the value is a correct map.
>
> This is in the model för the jsp page:
>    SortedMap<Integer, String> jobTypeList = new TreeMap<Integer, String>();
>
>    public SortedMap<Integer, String> getjobTypeList() {
>        jobTypeList.put(1, "Förfrågan");
>        jobTypeList.put(8, "VP-flytt");
>        // return this.getWc().getTypeAsText();
>        return jobTypeList;
>    }
>
> /Gunnar
>
>
> > -----Ursprungligt meddelande-----
> > Från: Dale Newfield [mailto:dale@newfield.org]
> > Skickat: den 6 oktober 2008 20:34
> > Till: Bostrom Gunnar
> > Kopia: user@struts.apache.org
> > Ämne: Re: SV: Ognl versions
> >
> > Gunnar.Bostrom@tietoenator.com wrote:
> > > The jobTypelist is empty, but it worked with 2.6.11 version of ognl.
> > > The applications is our own.
> >
> > So you're saying that the updated version doesn't silently
> > fail, and that's enough to condemn it?  I would argue that
> > that's an improvement.
> >
> > In fact, if you look in the source code for the exception
> > stack you provide, this is by design:
> >
> > core/src/main/java/org/apache/struts2/components/ListUIBean.java:
> > >         if (value == null) {
> > >             if (throwExceptionOnNullValueAttribute) {
> > >                 // will throw an exception if not found
> > >                 value = findValue((list == null) ? (String)
> > list : list.toString(), "list",
> > >                     "The requested list key '" + list + "'
> > could not be resolved as a
> > collection/array/map/enumeration/iterator type. " +
> > >                     "Example: people or people.{name}");
> > >             }
> > >             else {
> > >                 // ww-1010, allows value with null value to
> > be compatible with ww
> > >                 // 2.1.7 behaviour
> > >                 value = findValue((list == null)?(String)
> > list:list.toString());
> > >             }
> >  >         }
> >
> > So, in fact, what you're finding through your testing is a
> > place where ognl 2.6.11 is doing the wrong thing.
> >
> > If you want silent failure, there's a flag to throw so that
> > your app gets it.  If you want to evaluate the correctness of
> > a component, please ensure you're testing what you think
> > you're testing.
> >
> > -Dale
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

SV: SV: Ognl versions

Posted by Gu...@tietoenator.com.
Hi,
I mean that the value is null now that I use ognl 2.7.2. When using 2.6.11 the value is a correct map.

This is in the model för the jsp page:
    SortedMap<Integer, String> jobTypeList = new TreeMap<Integer, String>();

    public SortedMap<Integer, String> getjobTypeList() {
        jobTypeList.put(1, "Förfrågan");
        jobTypeList.put(8, "VP-flytt");
        // return this.getWc().getTypeAsText();
        return jobTypeList;
    }

/Gunnar
 

> -----Ursprungligt meddelande-----
> Från: Dale Newfield [mailto:dale@newfield.org] 
> Skickat: den 6 oktober 2008 20:34
> Till: Bostrom Gunnar
> Kopia: user@struts.apache.org
> Ämne: Re: SV: Ognl versions
> 
> Gunnar.Bostrom@tietoenator.com wrote:
> > The jobTypelist is empty, but it worked with 2.6.11 version of ognl.
> > The applications is our own.
> 
> So you're saying that the updated version doesn't silently 
> fail, and that's enough to condemn it?  I would argue that 
> that's an improvement.
> 
> In fact, if you look in the source code for the exception 
> stack you provide, this is by design:
> 
> core/src/main/java/org/apache/struts2/components/ListUIBean.java:
> >         if (value == null) {
> >             if (throwExceptionOnNullValueAttribute) {
> >                 // will throw an exception if not found
> >                 value = findValue((list == null) ? (String) 
> list : list.toString(), "list",
> >                     "The requested list key '" + list + "' 
> could not be resolved as a 
> collection/array/map/enumeration/iterator type. " +
> >                     "Example: people or people.{name}");
> >             }
> >             else {
> >                 // ww-1010, allows value with null value to 
> be compatible with ww
> >                 // 2.1.7 behaviour
> >                 value = findValue((list == null)?(String) 
> list:list.toString());
> >             }
>  >         }
> 
> So, in fact, what you're finding through your testing is a 
> place where ognl 2.6.11 is doing the wrong thing.
> 
> If you want silent failure, there's a flag to throw so that 
> your app gets it.  If you want to evaluate the correctness of 
> a component, please ensure you're testing what you think 
> you're testing.
> 
> -Dale
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: SV: Ognl versions

Posted by Dale Newfield <da...@newfield.org>.
Gunnar.Bostrom@tietoenator.com wrote:
> The jobTypelist is empty, but it worked with 2.6.11 version of ognl.
> The applications is our own.

So you're saying that the updated version doesn't silently fail, and 
that's enough to condemn it?  I would argue that that's an improvement.

In fact, if you look in the source code for the exception stack you 
provide, this is by design:

core/src/main/java/org/apache/struts2/components/ListUIBean.java:
>         if (value == null) {
>             if (throwExceptionOnNullValueAttribute) {
>                 // will throw an exception if not found
>                 value = findValue((list == null) ? (String) list : list.toString(), "list",
>                     "The requested list key '" + list + "' could not be resolved as a collection/array/map/enumeration/iterator type. " +
>                     "Example: people or people.{name}");
>             }
>             else {
>                 // ww-1010, allows value with null value to be compatible with ww
>                 // 2.1.7 behaviour
>                 value = findValue((list == null)?(String) list:list.toString());
>             }
 >         }

So, in fact, what you're finding through your testing is a place where 
ognl 2.6.11 is doing the wrong thing.

If you want silent failure, there's a flag to throw so that your app 
gets it.  If you want to evaluate the correctness of a component, please 
ensure you're testing what you think you're testing.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: SV: Ognl versions

Posted by Martin Gainty <mg...@hotmail.com>.
he's trying to determine where the failure occurs

so you'll need to
get your jobTypeList array populated
and is set to the ValueStack 
http://struts.apache.org/2.1.2/docs/set.html

you can then use property to check
  <s:property value="jobTypeList" default="a default value" />
if you see "a default value" you'll know you started with null valuehth
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 


> Subject: SV: Ognl versions
> Date: Mon, 6 Oct 2008 16:08:52 +0200
> From: Gunnar.Bostrom@tietoenator.com
> To: user@struts.apache.org; Dale@Newfield.org
> 
> Hi,
> The jobTypelist is empty, but it worked with 2.6.11 version of ognl.
> The applications is our own.
> Thanks for trying to help!
> :-)
>  
> 
> > -----Ursprungligt meddelande-----
> > Från: Dale Newfield [mailto:dale@newfield.org] 
> > Skickat: den 4 oktober 2008 00:31
> > Till: Struts Users Mailing List
> > Ämne: Re: Ognl versions
> > 
> > So this is saying that it can't find 
> > %{jobTypeList[0].searchJobVO.type}?
> >  Can you confirm where that data lives, should live, and that 
> > there's not some specific reason that might not work?
> > Is this in your own app, or some published test/demo?
> > 
> > -Dale
> > 
> > for example:
> > |<s:property value="%{jobTypeList}"/>|
> > |<s:property value="%{jobTypeList[0]}"/>| <s:property 
> > |value="%{jobTypeList[0].searchJobVO}"/>|
> > |<s:property value="%{jobTypeList[0].searchJobVO.type}"/>|
> > 
> > On Fri, Oct 3, 2008 at 10:01 AM, 
> > <Gu...@tietoenator.com> wrote:
> > 
> > > Hi,
> > > I get the same error from 2.7.2 as 2.7.3.
> > >
> > > Here is the jsp fragment that fails
> > > <s:select
> > >        name="searchJobVO.type"
> > >        label="Typ av ärende:"
> > >        required="false"
> > >        headerKey="-1"
> > >        headerValue="Alla"
> > >        list="jobTypeList"
> > > />
> > >
> > > And the error is:
> > >
> > > 2008-10-03 15:55:32,280 ERROR-
> > > [localhost].[/serf-web].[default]:253,http-8080-Processor25 -
> > > Servlet.service() for servlet default threw exception tag 'select', 
> > > field 'list', name 'searchJobVO.type': The requested list key 
> > > 'jobTypeList' could not be resolved as a 
> > > collection/array/map/enumeration/iterator type. Example: people or 
> > > people.{name} - [unknown location]
> > >        at
> > > 
> > org.apache.struts2.components.Component.fieldError(Component.java:231)
> > >        at
> > > 
> > org.apache.struts2.components.Component.findValue(Component.java:293)
> > >        at
> > > 
> > org.apache.struts2.components.ListUIBean.evaluateExtraParams(L
> > istUIBean.java:79)
> > >        at
> > > 
> > org.apache.struts2.components.Select.evaluateExtraParams(Selec
> > t.java:99)
> > >        at
> > > org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:780)
> > >        at org.apache.struts2.components.UIBean.end(UIBean.java:481)
> > >        at
> > > 
> > org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(Comp
> > onentTagSupport.java:43)
> > >        at
> > > 
> > org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.on
> > goingOrderSearch_jsp._jspx_meth_s_005fselect_005f4(ongoingOrde
> > rSearch_jsp.java:1024)
> > >        at
> > > 
> > org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.on
> > goingOrderSearch_jsp._jspx_meth_s_005fform_005f0(ongoingOrderS
> > earch_jsp.java:456)
> > >        at
> > > 
> > org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrd
> > > erSearch_jsp._jspService(ongoingOrderSearch_jsp.java:166)
> > >
> > > In the same jsp page I have a few other drop down lists that still 
> > > works with the new version of ognl!
> > >
> > > Any ideas?
> > >
> > > /Gunnar
> > >
> > >
> > > > -----Ursprungligt meddelande-----
> > > > Från: Gunnar.Bostrom@tietoenator.com 
> > > > [mailto:Gunnar.Bostrom@tietoenator.com]
> > > > Skickat: den 3 oktober 2008 08:24
> > > > Till: user@struts.apache.org
> > > > Ämne: SV: Ognl versions
> > > >
> > > > Ok, then I take version 2.7.2 for a spin.
> > > > /Gunnar
> > > >
> > > >
> > > > > -----Ursprungligt meddelande-----
> > > > > Från: Chris Pratt [mailto:thechrispratt@gmail.com]
> > > > > Skickat: den 2 oktober 2008 17:42
> > > > > Till: Struts Users Mailing List
> > > > > Ämne: Re: Ognl versions
> > > > >
> > > > > I have been using OGNL 2.7.2 with Struts 2.0.11.2 and 
> > 2.1.2 for a 
> > > > > while without any problems.  Maybe it's something in OGNL
> > > > 2.7.3 that
> > > > > is incompatible.
> > > > >   (*Chris*)
> > > > >
> > > > > On Thu, Oct 2, 2008 at 6:45 AM, Owen Berry 
> > <ow...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > In light of this issue, it would be nice if a newer
> > > > version of ognl
> > > > > > could be used within struts. I'm using the 2.1.2 beta and it 
> > > > > > also depends on ognl-2.6.11. Not sure how simple it 
> > would be to
> > > > > update to a
> > > > > > newer ognl though as struts-2.1.2 also depends on
> > > > > xwork-2.1.1, which
> > > > > > depends on ognl-2.6.11, so it would need to be updated too.
> > > > > >
> > > > > > On Thu, Oct 2, 2008 at 7:41 AM,
> > > > > <Gu...@tietoenator.com> wrote:
> > > > > > > Hi,
> > > > > > > I can see that many of my threads stays blocked for a
> > > > long time in
> > > > > > gnl.OgnlRuntime.invokeMethod line 511.
> > > > > > > If this is to any help.
> > > > > > > :-)
> > > > > > >
> > > > > > >
> > > > > > >> -----Ursprungligt meddelande-----
> > > > > > >> Från: Gunnar.Bostrom@tietoenator.com 
> > > > > > >> [mailto:Gunnar.Bostrom@tietoenator.com]
> > > > > > >> Skickat: den 2 oktober 2008 12:11
> > > > > > >> Till: user@struts.apache.org
> > > > > > >> Ämne: Ognl versions
> > > > > > >>
> > > > > > >> Hi,
> > > > > > >> We use struts2-core 2.0.11.2 which according to maven use 
> > > > > > >> opensymphony.ognl version 2.6.11.
> > > > > > >>
> > > > > > >> I wonder what the relationships is to ognl.ognl and
> > > > > specifically if
> > > > > > >> the opensymphony version also has the bug
> > > > > > >> http://jira.opensymphony.com/browse/OGNL-141
> > > > > > >>
> > > > > > >> When we are doing load tests we get very long 
> > response times.
> > > > > > >> I tried to replace opensymphony.ognl version 2.6.11 with
> > > > > ognl.ognl
> > > > > > >> version 2.7.3 but got functional errors.
> > > > > > >>
> > > > > > >> Regards
> > > > > > >> Gunnar
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > 
> > ------------------------------------------------------------------
> > > > > -
> > > > > > >> -- To unsubscribe, e-mail: 
> > user-unsubscribe@struts.apache.org
> > > > > > >> For additional commands, e-mail: 
> > user-help@struts.apache.org
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > 
> > ------------------------------------------------------------------
> > > > > --
> > > > > > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > 
> > --------------------------------------------------------------------
> > > > -
> > > > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > > > 
> > --------------------------------------------------------------------
> > > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > >
> > > >
> > >
> > > 
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/

SV: Ognl versions

Posted by Gu...@tietoenator.com.
Hi,
The jobTypelist is empty, but it worked with 2.6.11 version of ognl.
The applications is our own.
Thanks for trying to help!
:-)
 

> -----Ursprungligt meddelande-----
> Från: Dale Newfield [mailto:dale@newfield.org] 
> Skickat: den 4 oktober 2008 00:31
> Till: Struts Users Mailing List
> Ämne: Re: Ognl versions
> 
> So this is saying that it can't find 
> %{jobTypeList[0].searchJobVO.type}?
>  Can you confirm where that data lives, should live, and that 
> there's not some specific reason that might not work?
> Is this in your own app, or some published test/demo?
> 
> -Dale
> 
> for example:
> |<s:property value="%{jobTypeList}"/>|
> |<s:property value="%{jobTypeList[0]}"/>| <s:property 
> |value="%{jobTypeList[0].searchJobVO}"/>|
> |<s:property value="%{jobTypeList[0].searchJobVO.type}"/>|
> 
> On Fri, Oct 3, 2008 at 10:01 AM, 
> <Gu...@tietoenator.com> wrote:
> 
> > Hi,
> > I get the same error from 2.7.2 as 2.7.3.
> >
> > Here is the jsp fragment that fails
> > <s:select
> >        name="searchJobVO.type"
> >        label="Typ av ärende:"
> >        required="false"
> >        headerKey="-1"
> >        headerValue="Alla"
> >        list="jobTypeList"
> > />
> >
> > And the error is:
> >
> > 2008-10-03 15:55:32,280 ERROR-
> > [localhost].[/serf-web].[default]:253,http-8080-Processor25 -
> > Servlet.service() for servlet default threw exception tag 'select', 
> > field 'list', name 'searchJobVO.type': The requested list key 
> > 'jobTypeList' could not be resolved as a 
> > collection/array/map/enumeration/iterator type. Example: people or 
> > people.{name} - [unknown location]
> >        at
> > 
> org.apache.struts2.components.Component.fieldError(Component.java:231)
> >        at
> > 
> org.apache.struts2.components.Component.findValue(Component.java:293)
> >        at
> > 
> org.apache.struts2.components.ListUIBean.evaluateExtraParams(L
> istUIBean.java:79)
> >        at
> > 
> org.apache.struts2.components.Select.evaluateExtraParams(Selec
> t.java:99)
> >        at
> > org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:780)
> >        at org.apache.struts2.components.UIBean.end(UIBean.java:481)
> >        at
> > 
> org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(Comp
> onentTagSupport.java:43)
> >        at
> > 
> org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.on
> goingOrderSearch_jsp._jspx_meth_s_005fselect_005f4(ongoingOrde
> rSearch_jsp.java:1024)
> >        at
> > 
> org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.on
> goingOrderSearch_jsp._jspx_meth_s_005fform_005f0(ongoingOrderS
> earch_jsp.java:456)
> >        at
> > 
> org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrd
> > erSearch_jsp._jspService(ongoingOrderSearch_jsp.java:166)
> >
> > In the same jsp page I have a few other drop down lists that still 
> > works with the new version of ognl!
> >
> > Any ideas?
> >
> > /Gunnar
> >
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Gunnar.Bostrom@tietoenator.com 
> > > [mailto:Gunnar.Bostrom@tietoenator.com]
> > > Skickat: den 3 oktober 2008 08:24
> > > Till: user@struts.apache.org
> > > Ämne: SV: Ognl versions
> > >
> > > Ok, then I take version 2.7.2 for a spin.
> > > /Gunnar
> > >
> > >
> > > > -----Ursprungligt meddelande-----
> > > > Från: Chris Pratt [mailto:thechrispratt@gmail.com]
> > > > Skickat: den 2 oktober 2008 17:42
> > > > Till: Struts Users Mailing List
> > > > Ämne: Re: Ognl versions
> > > >
> > > > I have been using OGNL 2.7.2 with Struts 2.0.11.2 and 
> 2.1.2 for a 
> > > > while without any problems.  Maybe it's something in OGNL
> > > 2.7.3 that
> > > > is incompatible.
> > > >   (*Chris*)
> > > >
> > > > On Thu, Oct 2, 2008 at 6:45 AM, Owen Berry 
> <ow...@gmail.com>
> > > > wrote:
> > > >
> > > > > In light of this issue, it would be nice if a newer
> > > version of ognl
> > > > > could be used within struts. I'm using the 2.1.2 beta and it 
> > > > > also depends on ognl-2.6.11. Not sure how simple it 
> would be to
> > > > update to a
> > > > > newer ognl though as struts-2.1.2 also depends on
> > > > xwork-2.1.1, which
> > > > > depends on ognl-2.6.11, so it would need to be updated too.
> > > > >
> > > > > On Thu, Oct 2, 2008 at 7:41 AM,
> > > > <Gu...@tietoenator.com> wrote:
> > > > > > Hi,
> > > > > > I can see that many of my threads stays blocked for a
> > > long time in
> > > > > gnl.OgnlRuntime.invokeMethod line 511.
> > > > > > If this is to any help.
> > > > > > :-)
> > > > > >
> > > > > >
> > > > > >> -----Ursprungligt meddelande-----
> > > > > >> Från: Gunnar.Bostrom@tietoenator.com 
> > > > > >> [mailto:Gunnar.Bostrom@tietoenator.com]
> > > > > >> Skickat: den 2 oktober 2008 12:11
> > > > > >> Till: user@struts.apache.org
> > > > > >> Ämne: Ognl versions
> > > > > >>
> > > > > >> Hi,
> > > > > >> We use struts2-core 2.0.11.2 which according to maven use 
> > > > > >> opensymphony.ognl version 2.6.11.
> > > > > >>
> > > > > >> I wonder what the relationships is to ognl.ognl and
> > > > specifically if
> > > > > >> the opensymphony version also has the bug
> > > > > >> http://jira.opensymphony.com/browse/OGNL-141
> > > > > >>
> > > > > >> When we are doing load tests we get very long 
> response times.
> > > > > >> I tried to replace opensymphony.ognl version 2.6.11 with
> > > > ognl.ognl
> > > > > >> version 2.7.3 but got functional errors.
> > > > > >>
> > > > > >> Regards
> > > > > >> Gunnar
> > > > > >>
> > > > > >>
> > > > > >>
> > > > 
> ------------------------------------------------------------------
> > > > -
> > > > > >> -- To unsubscribe, e-mail: 
> user-unsubscribe@struts.apache.org
> > > > > >> For additional commands, e-mail: 
> user-help@struts.apache.org
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > 
> ------------------------------------------------------------------
> > > > --
> > > > > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > 
> --------------------------------------------------------------------
> > > -
> > > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > >
> > > > >
> > > >
> > >
> > > 
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Ognl versions

Posted by Dale Newfield <da...@newfield.org>.
So this is saying that it can't find %{jobTypeList[0].searchJobVO.type}?
 Can you confirm where that data lives, should live, and that there's not
some specific reason that might not work?
Is this in your own app, or some published test/demo?

-Dale

for example:
|<s:property value="%{jobTypeList}"/>|
|<s:property value="%{jobTypeList[0]}"/>|
|<s:property value="%{jobTypeList[0].searchJobVO}"/>|
|<s:property value="%{jobTypeList[0].searchJobVO.type}"/>|

On Fri, Oct 3, 2008 at 10:01 AM, <Gu...@tietoenator.com> wrote:

> Hi,
> I get the same error from 2.7.2 as 2.7.3.
>
> Here is the jsp fragment that fails
> <s:select
>        name="searchJobVO.type"
>        label="Typ av ärende:"
>        required="false"
>        headerKey="-1"
>        headerValue="Alla"
>        list="jobTypeList"
> />
>
> And the error is:
>
> 2008-10-03 15:55:32,280 ERROR-
> [localhost].[/serf-web].[default]:253,http-8080-Processor25 -
> Servlet.service() for servlet default threw exception
> tag 'select', field 'list', name 'searchJobVO.type': The requested list key
> 'jobTypeList' could not be resolved as a
> collection/array/map/enumeration/iterator type. Example: people or
> people.{name} - [unknown location]
>        at
> org.apache.struts2.components.Component.fieldError(Component.java:231)
>        at
> org.apache.struts2.components.Component.findValue(Component.java:293)
>        at
> org.apache.struts2.components.ListUIBean.evaluateExtraParams(ListUIBean.java:79)
>        at
> org.apache.struts2.components.Select.evaluateExtraParams(Select.java:99)
>        at
> org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:780)
>        at org.apache.struts2.components.UIBean.end(UIBean.java:481)
>        at
> org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:43)
>        at
> org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrderSearch_jsp._jspx_meth_s_005fselect_005f4(ongoingOrderSearch_jsp.java:1024)
>        at
> org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrderSearch_jsp._jspx_meth_s_005fform_005f0(ongoingOrderSearch_jsp.java:456)
>        at
> org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrderSearch_jsp._jspService(ongoingOrderSearch_jsp.java:166)
>
> In the same jsp page I have a few other drop down lists that still works
> with the new version of ognl!
>
> Any ideas?
>
> /Gunnar
>
>
> > -----Ursprungligt meddelande-----
> > Från: Gunnar.Bostrom@tietoenator.com
> > [mailto:Gunnar.Bostrom@tietoenator.com]
> > Skickat: den 3 oktober 2008 08:24
> > Till: user@struts.apache.org
> > Ämne: SV: Ognl versions
> >
> > Ok, then I take version 2.7.2 for a spin.
> > /Gunnar
> >
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Chris Pratt [mailto:thechrispratt@gmail.com]
> > > Skickat: den 2 oktober 2008 17:42
> > > Till: Struts Users Mailing List
> > > Ämne: Re: Ognl versions
> > >
> > > I have been using OGNL 2.7.2 with Struts 2.0.11.2 and 2.1.2 for a
> > > while without any problems.  Maybe it's something in OGNL
> > 2.7.3 that
> > > is incompatible.
> > >   (*Chris*)
> > >
> > > On Thu, Oct 2, 2008 at 6:45 AM, Owen Berry <ow...@gmail.com>
> > > wrote:
> > >
> > > > In light of this issue, it would be nice if a newer
> > version of ognl
> > > > could be used within struts. I'm using the 2.1.2 beta and it also
> > > > depends on ognl-2.6.11. Not sure how simple it would be to
> > > update to a
> > > > newer ognl though as struts-2.1.2 also depends on
> > > xwork-2.1.1, which
> > > > depends on ognl-2.6.11, so it would need to be updated too.
> > > >
> > > > On Thu, Oct 2, 2008 at 7:41 AM,
> > > <Gu...@tietoenator.com> wrote:
> > > > > Hi,
> > > > > I can see that many of my threads stays blocked for a
> > long time in
> > > > gnl.OgnlRuntime.invokeMethod line 511.
> > > > > If this is to any help.
> > > > > :-)
> > > > >
> > > > >
> > > > >> -----Ursprungligt meddelande-----
> > > > >> Från: Gunnar.Bostrom@tietoenator.com
> > > > >> [mailto:Gunnar.Bostrom@tietoenator.com]
> > > > >> Skickat: den 2 oktober 2008 12:11
> > > > >> Till: user@struts.apache.org
> > > > >> Ämne: Ognl versions
> > > > >>
> > > > >> Hi,
> > > > >> We use struts2-core 2.0.11.2 which according to maven use
> > > > >> opensymphony.ognl version 2.6.11.
> > > > >>
> > > > >> I wonder what the relationships is to ognl.ognl and
> > > specifically if
> > > > >> the opensymphony version also has the bug
> > > > >> http://jira.opensymphony.com/browse/OGNL-141
> > > > >>
> > > > >> When we are doing load tests we get very long response times.
> > > > >> I tried to replace opensymphony.ognl version 2.6.11 with
> > > ognl.ognl
> > > > >> version 2.7.3 but got functional errors.
> > > > >>
> > > > >> Regards
> > > > >> Gunnar
> > > > >>
> > > > >>
> > > > >>
> > > -------------------------------------------------------------------
> > > > >> -- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > >> For additional commands, e-mail: user-help@struts.apache.org
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > --------------------------------------------------------------------
> > > > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

SV: Ognl versions

Posted by Gu...@tietoenator.com.
Hi,
I get the same error from 2.7.2 as 2.7.3.

Here is the jsp fragment that fails
<s:select
	name="searchJobVO.type"
	label="Typ av ärende:"
	required="false"
	headerKey="-1"
	headerValue="Alla"
	list="jobTypeList"
/>

And the error is: 

2008-10-03 15:55:32,280 ERROR- [localhost].[/serf-web].[default]:253,http-8080-Processor25 - Servlet.service() for servlet default threw exception
tag 'select', field 'list', name 'searchJobVO.type': The requested list key 'jobTypeList' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]
	at org.apache.struts2.components.Component.fieldError(Component.java:231)
	at org.apache.struts2.components.Component.findValue(Component.java:293)
	at org.apache.struts2.components.ListUIBean.evaluateExtraParams(ListUIBean.java:79)
	at org.apache.struts2.components.Select.evaluateExtraParams(Select.java:99)
	at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:780)
	at org.apache.struts2.components.UIBean.end(UIBean.java:481)
	at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:43)
	at org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrderSearch_jsp._jspx_meth_s_005fselect_005f4(ongoingOrderSearch_jsp.java:1024)
	at org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrderSearch_jsp._jspx_meth_s_005fform_005f0(ongoingOrderSearch_jsp.java:456)
	at org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrderSearch_jsp._jspService(ongoingOrderSearch_jsp.java:166)

In the same jsp page I have a few other drop down lists that still works with the new version of ognl!

Any ideas?

/Gunnar


> -----Ursprungligt meddelande-----
> Från: Gunnar.Bostrom@tietoenator.com 
> [mailto:Gunnar.Bostrom@tietoenator.com] 
> Skickat: den 3 oktober 2008 08:24
> Till: user@struts.apache.org
> Ämne: SV: Ognl versions
> 
> Ok, then I take version 2.7.2 for a spin.
> /Gunnar
>  
> 
> > -----Ursprungligt meddelande-----
> > Från: Chris Pratt [mailto:thechrispratt@gmail.com]
> > Skickat: den 2 oktober 2008 17:42
> > Till: Struts Users Mailing List
> > Ämne: Re: Ognl versions
> > 
> > I have been using OGNL 2.7.2 with Struts 2.0.11.2 and 2.1.2 for a 
> > while without any problems.  Maybe it's something in OGNL 
> 2.7.3 that 
> > is incompatible.
> >   (*Chris*)
> > 
> > On Thu, Oct 2, 2008 at 6:45 AM, Owen Berry <ow...@gmail.com> 
> > wrote:
> > 
> > > In light of this issue, it would be nice if a newer 
> version of ognl 
> > > could be used within struts. I'm using the 2.1.2 beta and it also 
> > > depends on ognl-2.6.11. Not sure how simple it would be to
> > update to a
> > > newer ognl though as struts-2.1.2 also depends on
> > xwork-2.1.1, which
> > > depends on ognl-2.6.11, so it would need to be updated too.
> > >
> > > On Thu, Oct 2, 2008 at 7:41 AM,
> > <Gu...@tietoenator.com> wrote:
> > > > Hi,
> > > > I can see that many of my threads stays blocked for a 
> long time in
> > > gnl.OgnlRuntime.invokeMethod line 511.
> > > > If this is to any help.
> > > > :-)
> > > >
> > > >
> > > >> -----Ursprungligt meddelande-----
> > > >> Från: Gunnar.Bostrom@tietoenator.com 
> > > >> [mailto:Gunnar.Bostrom@tietoenator.com]
> > > >> Skickat: den 2 oktober 2008 12:11
> > > >> Till: user@struts.apache.org
> > > >> Ämne: Ognl versions
> > > >>
> > > >> Hi,
> > > >> We use struts2-core 2.0.11.2 which according to maven use 
> > > >> opensymphony.ognl version 2.6.11.
> > > >>
> > > >> I wonder what the relationships is to ognl.ognl and
> > specifically if
> > > >> the opensymphony version also has the bug
> > > >> http://jira.opensymphony.com/browse/OGNL-141
> > > >>
> > > >> When we are doing load tests we get very long response times.
> > > >> I tried to replace opensymphony.ognl version 2.6.11 with
> > ognl.ognl
> > > >> version 2.7.3 but got functional errors.
> > > >>
> > > >> Regards
> > > >> Gunnar
> > > >>
> > > >>
> > > >> 
> > -------------------------------------------------------------------
> > > >> -- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > >> For additional commands, e-mail: user-help@struts.apache.org
> > > >>
> > > >>
> > > >
> > > > 
> > --------------------------------------------------------------------
> > > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > >
> > > >
> > >
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


SV: Ognl versions

Posted by Gu...@tietoenator.com.
Ok, then I take version 2.7.2 for a spin.
/Gunnar
 

> -----Ursprungligt meddelande-----
> Från: Chris Pratt [mailto:thechrispratt@gmail.com] 
> Skickat: den 2 oktober 2008 17:42
> Till: Struts Users Mailing List
> Ämne: Re: Ognl versions
> 
> I have been using OGNL 2.7.2 with Struts 2.0.11.2 and 2.1.2 
> for a while without any problems.  Maybe it's something in 
> OGNL 2.7.3 that is incompatible.
>   (*Chris*)
> 
> On Thu, Oct 2, 2008 at 6:45 AM, Owen Berry 
> <ow...@gmail.com> wrote:
> 
> > In light of this issue, it would be nice if a newer version of ognl 
> > could be used within struts. I'm using the 2.1.2 beta and it also 
> > depends on ognl-2.6.11. Not sure how simple it would be to 
> update to a 
> > newer ognl though as struts-2.1.2 also depends on 
> xwork-2.1.1, which 
> > depends on ognl-2.6.11, so it would need to be updated too.
> >
> > On Thu, Oct 2, 2008 at 7:41 AM,  
> <Gu...@tietoenator.com> wrote:
> > > Hi,
> > > I can see that many of my threads stays blocked for a long time in
> > gnl.OgnlRuntime.invokeMethod line 511.
> > > If this is to any help.
> > > :-)
> > >
> > >
> > >> -----Ursprungligt meddelande-----
> > >> Från: Gunnar.Bostrom@tietoenator.com 
> > >> [mailto:Gunnar.Bostrom@tietoenator.com]
> > >> Skickat: den 2 oktober 2008 12:11
> > >> Till: user@struts.apache.org
> > >> Ämne: Ognl versions
> > >>
> > >> Hi,
> > >> We use struts2-core 2.0.11.2 which according to maven use 
> > >> opensymphony.ognl version 2.6.11.
> > >>
> > >> I wonder what the relationships is to ognl.ognl and 
> specifically if 
> > >> the opensymphony version also has the bug
> > >> http://jira.opensymphony.com/browse/OGNL-141
> > >>
> > >> When we are doing load tests we get very long response times.
> > >> I tried to replace opensymphony.ognl version 2.6.11 with 
> ognl.ognl 
> > >> version 2.7.3 but got functional errors.
> > >>
> > >> Regards
> > >> Gunnar
> > >>
> > >>
> > >> 
> -------------------------------------------------------------------
> > >> -- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > >> For additional commands, e-mail: user-help@struts.apache.org
> > >>
> > >>
> > >
> > > 
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Ognl versions

Posted by Chris Pratt <th...@gmail.com>.
I have been using OGNL 2.7.2 with Struts 2.0.11.2 and 2.1.2 for a while
without any problems.  Maybe it's something in OGNL 2.7.3 that is
incompatible.
  (*Chris*)

On Thu, Oct 2, 2008 at 6:45 AM, Owen Berry <ow...@gmail.com> wrote:

> In light of this issue, it would be nice if a newer version of ognl
> could be used within struts. I'm using the 2.1.2 beta and it also
> depends on ognl-2.6.11. Not sure how simple it would be to update to a
> newer ognl though as struts-2.1.2 also depends on xwork-2.1.1, which
> depends on ognl-2.6.11, so it would need to be updated too.
>
> On Thu, Oct 2, 2008 at 7:41 AM,  <Gu...@tietoenator.com> wrote:
> > Hi,
> > I can see that many of my threads stays blocked for a long time in
> gnl.OgnlRuntime.invokeMethod line 511.
> > If this is to any help.
> > :-)
> >
> >
> >> -----Ursprungligt meddelande-----
> >> Från: Gunnar.Bostrom@tietoenator.com
> >> [mailto:Gunnar.Bostrom@tietoenator.com]
> >> Skickat: den 2 oktober 2008 12:11
> >> Till: user@struts.apache.org
> >> Ämne: Ognl versions
> >>
> >> Hi,
> >> We use struts2-core 2.0.11.2 which according to maven use
> >> opensymphony.ognl version 2.6.11.
> >>
> >> I wonder what the relationships is to ognl.ognl and
> >> specifically if the opensymphony version also has the bug
> >> http://jira.opensymphony.com/browse/OGNL-141
> >>
> >> When we are doing load tests we get very long response times.
> >> I tried to replace opensymphony.ognl version 2.6.11 with
> >> ognl.ognl version 2.7.3 but got functional errors.
> >>
> >> Regards
> >> Gunnar
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Ognl versions

Posted by Carlos Luis Zúñiga Sibaja <ca...@gmail.com>.
You guys can follow the progress of getting the new version of OGNL into
Struts in this Jira bug:

https://issues.apache.org/struts/browse/WW-2128

  Carlos Luis Zúñiga Sibaja
__________________________
  carlosluiszuniga@gmail.com

  divide et impera...


On Thu, Oct 2, 2008 at 7:45 AM, Owen Berry <ow...@gmail.com> wrote:

> In light of this issue, it would be nice if a newer version of ognl
> could be used within struts. I'm using the 2.1.2 beta and it also
> depends on ognl-2.6.11. Not sure how simple it would be to update to a
> newer ognl though as struts-2.1.2 also depends on xwork-2.1.1, which
> depends on ognl-2.6.11, so it would need to be updated too.
>
> On Thu, Oct 2, 2008 at 7:41 AM,  <Gu...@tietoenator.com> wrote:
> > Hi,
> > I can see that many of my threads stays blocked for a long time in
> gnl.OgnlRuntime.invokeMethod line 511.
> > If this is to any help.
> > :-)
> >
> >
> >> -----Ursprungligt meddelande-----
> >> Från: Gunnar.Bostrom@tietoenator.com
> >> [mailto:Gunnar.Bostrom@tietoenator.com]
> >> Skickat: den 2 oktober 2008 12:11
> >> Till: user@struts.apache.org
> >> Ämne: Ognl versions
> >>
> >> Hi,
> >> We use struts2-core 2.0.11.2 which according to maven use
> >> opensymphony.ognl version 2.6.11.
> >>
> >> I wonder what the relationships is to ognl.ognl and
> >> specifically if the opensymphony version also has the bug
> >> http://jira.opensymphony.com/browse/OGNL-141
> >>
> >> When we are doing load tests we get very long response times.
> >> I tried to replace opensymphony.ognl version 2.6.11 with
> >> ognl.ognl version 2.7.3 but got functional errors.
> >>
> >> Regards
> >> Gunnar
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Ognl versions

Posted by Owen Berry <ow...@gmail.com>.
In light of this issue, it would be nice if a newer version of ognl
could be used within struts. I'm using the 2.1.2 beta and it also
depends on ognl-2.6.11. Not sure how simple it would be to update to a
newer ognl though as struts-2.1.2 also depends on xwork-2.1.1, which
depends on ognl-2.6.11, so it would need to be updated too.

On Thu, Oct 2, 2008 at 7:41 AM,  <Gu...@tietoenator.com> wrote:
> Hi,
> I can see that many of my threads stays blocked for a long time in gnl.OgnlRuntime.invokeMethod line 511.
> If this is to any help.
> :-)
>
>
>> -----Ursprungligt meddelande-----
>> Från: Gunnar.Bostrom@tietoenator.com
>> [mailto:Gunnar.Bostrom@tietoenator.com]
>> Skickat: den 2 oktober 2008 12:11
>> Till: user@struts.apache.org
>> Ämne: Ognl versions
>>
>> Hi,
>> We use struts2-core 2.0.11.2 which according to maven use
>> opensymphony.ognl version 2.6.11.
>>
>> I wonder what the relationships is to ognl.ognl and
>> specifically if the opensymphony version also has the bug
>> http://jira.opensymphony.com/browse/OGNL-141
>>
>> When we are doing load tests we get very long response times.
>> I tried to replace opensymphony.ognl version 2.6.11 with
>> ognl.ognl version 2.7.3 but got functional errors.
>>
>> Regards
>> Gunnar
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


SV: Ognl versions

Posted by Gu...@tietoenator.com.
Hi,
I can see that many of my threads stays blocked for a long time in gnl.OgnlRuntime.invokeMethod line 511.
If this is to any help.
:-)
 

> -----Ursprungligt meddelande-----
> Från: Gunnar.Bostrom@tietoenator.com 
> [mailto:Gunnar.Bostrom@tietoenator.com] 
> Skickat: den 2 oktober 2008 12:11
> Till: user@struts.apache.org
> Ämne: Ognl versions
> 
> Hi,
> We use struts2-core 2.0.11.2 which according to maven use 
> opensymphony.ognl version 2.6.11.
> 
> I wonder what the relationships is to ognl.ognl and 
> specifically if the opensymphony version also has the bug
> http://jira.opensymphony.com/browse/OGNL-141
> 
> When we are doing load tests we get very long response times.
> I tried to replace opensymphony.ognl version 2.6.11 with 
> ognl.ognl version 2.7.3 but got functional errors.
> 
> Regards
> Gunnar
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org