You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Nikita Shinde <ni...@amicontech.com> on 2008/12/08 13:46:55 UTC
Error on accessing backend product page on demo site
Hi All,
I tried accessing a product on demo site :
https://demo.hotwaxmedia.com/catalog/control/EditProduct?productId=GZ-BASKET
Got the following error :
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
javax.el.ELException: Error parsing '${}': syntax error at position 2,
encountered '}', expected
||||'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(' (Error parsing '${}':
syntax error at position 2, encountered '}', expected
||||'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(')
Thanks,
Nikita Shinde
Amicon Technologies Pvt. Ltd., Mumbai, India.
India's No.1 OFBiz service provider
Re: Error on accessing backend product page on demo site
Posted by Hans Bakker <ma...@antwebsystems.com>.
probably caused by svn commit: r724146
On Mon, 2008-12-08 at 18:16 +0530, Nikita Shinde wrote:
> Hi All,
>
>
>
> I tried accessing a product on demo site :
> https://demo.hotwaxmedia.com/catalog/control/EditProduct?productId=GZ-BASKET
>
>
>
> Got the following error :
>
>
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> javax.el.ELException: Error parsing '${}': syntax error at position 2,
> encountered '}', expected
> ||||'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(' (Error parsing '${}':
> syntax error at position 2, encountered '}', expected
> ||||'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(')
>
>
>
>
>
> Thanks,
>
> Nikita Shinde
>
> Amicon Technologies Pvt. Ltd., Mumbai, India.
>
> India's No.1 OFBiz service provider
>
--
Antwebsystems.com: Quality OFBiz services for competitive prices
Re: time out
Posted by Fabien JALABERT <fa...@laposte.net>.
The connection breaks 60 sec after starting. If I browse some catalog
pages or search pages, then the result is the same. It does-not seem to
be related to one service, but related to the session and the JDBC
connection. Where do you think that the problem is ? It's not in one
service. And when I use several services that need less than a minute,
if the some of duration is over 60 seconds, the connections fails. I've
searched in the catalina parameters but I didn't find anything ?
Can you detail your idea ?
Thanks.
Jacques Le Roux a écrit :
>
> There is a transaction-timeout parameter in service definition
>
> Jacques
>
> From: "Fabien JALABERT" <fa...@laposte.net>
>>
>> Hello,
>>
>> when I use an URL with long calculation in Ofbiz, after 1 minit, the
>> SQL connection breaks and many logs are writen. Do you know how to
>> change the delay of this parameter ?
>>
>> Thanks a lot.
>>
>> Fabien.
>>
>
>
Re: time out
Posted by Jacques Le Roux <ja...@les7arts.com>.
There is a transaction-timeout parameter in service definition
Jacques
From: "Fabien JALABERT" <fa...@laposte.net>
>
> Hello,
>
> when I use an URL with long calculation in Ofbiz, after 1 minit, the SQL
> connection breaks and many logs are writen. Do you know how to change
> the delay of this parameter ?
>
> Thanks a lot.
>
> Fabien.
>
Re: time out
Posted by BJ Freeman <bj...@free-man.net>.
after ver 4.0 we went to different pool to solve a similar problem
Fabien JALABERT sent the following on 12/8/2008 12:41 PM:
> I don't know exact version of ofbiz it is (Release 3 I suppose).
> This appears to all URL requests done in the web browser that need
> result longer to 60 sec to be calculated. This is in the search view and
> in the category view. But I think this may occur with any page that
> needs more than a minute.
>
> Thanks.
>
> BJ Freeman a écrit :
>> please clarify the operation or code in ofbiz that does this.
>> also what version of the Trunk are you using.
>>
>> Fabien JALABERT sent the following on 12/8/2008 10:31 AM:
>>
>>> Hello,
>>>
>>> when I use an URL with long calculation in Ofbiz, after 1 minit, the SQL
>>> connection breaks and many logs are writen. Do you know how to change
>>> the delay of this parameter ?
>>>
>>> Thanks a lot.
>>>
>>> Fabien.
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
Re: time out
Posted by Fabien JALABERT <fa...@laposte.net>.
I don't know exact version of ofbiz it is (Release 3 I suppose).
This appears to all URL requests done in the web browser that need
result longer to 60 sec to be calculated. This is in the search view and
in the category view. But I think this may occur with any page that
needs more than a minute.
Thanks.
BJ Freeman a écrit :
> please clarify the operation or code in ofbiz that does this.
> also what version of the Trunk are you using.
>
> Fabien JALABERT sent the following on 12/8/2008 10:31 AM:
>
>> Hello,
>>
>> when I use an URL with long calculation in Ofbiz, after 1 minit, the SQL
>> connection breaks and many logs are writen. Do you know how to change
>> the delay of this parameter ?
>>
>> Thanks a lot.
>>
>> Fabien.
>>
>>
>>
>>
>
>
>
Re: time out
Posted by BJ Freeman <bj...@free-man.net>.
please clarify the operation or code in ofbiz that does this.
also what version of the Trunk are you using.
Fabien JALABERT sent the following on 12/8/2008 10:31 AM:
>
> Hello,
>
> when I use an URL with long calculation in Ofbiz, after 1 minit, the SQL
> connection breaks and many logs are writen. Do you know how to change
> the delay of this parameter ?
>
> Thanks a lot.
>
> Fabien.
>
>
>
time out
Posted by Fabien JALABERT <fa...@laposte.net>.
Hello,
when I use an URL with long calculation in Ofbiz, after 1 minit, the SQL
connection breaks and many logs are writen. Do you know how to change
the delay of this parameter ?
Thanks a lot.
Fabien.
Re: storing cache
Posted by Jacques Le Roux <ja...@les7arts.com>.
If I'm not wrong it uses JDBM. But I'm not sure of what you are looking for
Jacques
From: "Fabien JALABERT" <fa...@laposte.net>
> If y use this parameter; will I only persist on HDD my cache data or will I also use it to access cache data instead of RAM ?
> (second case should highly reduce speed of my application...).
>
> Thanks a lot.
>
> Jacques Le Roux a écrit :
>>
>> Look at lines 64 and 252 of UtilCache.java
>>
>> Jacques
>>
>
Re: storing cache
Posted by Fabien JALABERT <fa...@laposte.net>.
If y use this parameter; will I only persist on HDD my cache data or
will I also use it to access cache data instead of RAM ? (second case
should highly reduce speed of my application...).
Thanks a lot.
Jacques Le Roux a écrit :
>
> Look at lines 64 and 252 of UtilCache.java
>
> Jacques
>
Re: storing cache
Posted by Jacques Le Roux <ja...@les7arts.com>.
Look at lines 64 and 252 of UtilCache.java
Jacques
From: "Fabien JALABERT" <fa...@laposte.net>
>
> Hello (again)
>
> I load data in the cach that need lots of calculation. I would like to
> be able to store this cache in a file, then is the server stops or
> crash, I would like to load the store cache file, and then to update
> value at time with low load on server.
>
> I've found a parameter in cache.properties:
>
> cache.file.store=data/utilcache
>
>
> Is this the correct parameter ? What is this parameter ? Should I use
> another one ?
>
> Thanks a lot.
Re: storing cache
Posted by BJ Freeman <bj...@free-man.net>.
this sounds like you modifying ofbiz beyond its design.
could you clarify please.
Fabien JALABERT sent the following on 12/8/2008 10:33 AM:
>
> Hello (again)
>
> I load data in the cach that need lots of calculation. I would like to
> be able to store this cache in a file, then is the server stops or
> crash, I would like to load the store cache file, and then to update
> value at time with low load on server.
>
> I've found a parameter in cache.properties:
>
> cache.file.store=data/utilcache
>
>
> Is this the correct parameter ? What is this parameter ? Should I use
> another one ?
>
> Thanks a lot.
>
>
>
storing cache
Posted by Fabien JALABERT <fa...@laposte.net>.
Hello (again)
I load data in the cach that need lots of calculation. I would like to
be able to store this cache in a file, then is the server stops or
crash, I would like to load the store cache file, and then to update
value at time with low load on server.
I've found a parameter in cache.properties:
cache.file.store=data/utilcache
Is this the correct parameter ? What is this parameter ? Should I use
another one ?
Thanks a lot.
Re: Error on accessing backend product page on demo site
Posted by Adrian Crum <ad...@yahoo.com>.
Fixed, rev 724373.
-Adrian
--- On Mon, 12/8/08, Nikita Shinde <ni...@amicontech.com> wrote:
> From: Nikita Shinde <ni...@amicontech.com>
> Subject: Error on accessing backend product page on demo site
> To: user@ofbiz.apache.org
> Date: Monday, December 8, 2008, 4:46 AM
> Hi All,
>
>
>
> I tried accessing a product on demo site :
> https://demo.hotwaxmedia.com/catalog/control/EditProduct?productId=GZ-BASKET
>
>
>
> Got the following error :
>
>
>
> org.ofbiz.widget.screen.ScreenRenderException: Error
> rendering screen
> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> javax.el.ELException: Error parsing '${}': syntax
> error at position 2,
> encountered '}', expected
> ||||'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'('
> (Error parsing '${}':
> syntax error at position 2, encountered '}',
> expected
> ||||'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(')
>
>
>
>
>
> Thanks,
>
> Nikita Shinde
>
> Amicon Technologies Pvt. Ltd., Mumbai, India.
>
> India's No.1 OFBiz service provider