Error on accessing backend product page on demo site

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Error on accessing backend product page on demo site

Nikita Shinde
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

Reply | Threaded
Open this post in threaded view
|

Re: Error on accessing backend product page on demo site

hans_bakker
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

Reply | Threaded
Open this post in threaded view
|

Re: Error on accessing backend product page on demo site

Adrian Crum-2
In reply to this post by Nikita Shinde
Fixed, rev 724373.

-Adrian


--- On Mon, 12/8/08, Nikita Shinde <[hidden email]> wrote:

> From: Nikita Shinde <[hidden email]>
> Subject: Error on accessing backend product page on demo site
> To: [hidden email]
> 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


     
Reply | Threaded
Open this post in threaded view
|

time out

Fabien JALABERT

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.

Reply | Threaded
Open this post in threaded view
|

storing cache

Fabien JALABERT
In reply to this post by Adrian Crum-2

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.

Reply | Threaded
Open this post in threaded view
|

Re: time out

BJ Freeman
In reply to this post by Fabien JALABERT
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.
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: storing cache

BJ Freeman
In reply to this post by Fabien JALABERT
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.
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: time out

Jacques Le Roux
Administrator
In reply to this post by Fabien JALABERT
There is a transaction-timeout parameter in service definition

Jacques

From: "Fabien JALABERT" <[hidden email]>

>
> 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.
>
Reply | Threaded
Open this post in threaded view
|

Re: storing cache

Jacques Le Roux
Administrator
In reply to this post by Fabien JALABERT
Look at lines 64 and 252 of UtilCache.java

Jacques

From: "Fabien JALABERT" <[hidden email]>

>
> 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.

Reply | Threaded
Open this post in threaded view
|

Re: storing cache

Fabien JALABERT
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
>

Reply | Threaded
Open this post in threaded view
|

Re: time out

Fabien JALABERT
In reply to this post by Jacques Le Roux
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" <[hidden email]>
>>
>> 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.
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: time out

Fabien JALABERT
In reply to this post by BJ Freeman
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.
>>
>>
>>
>>    
>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: time out

BJ Freeman
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.
>>>
>>>
>>>
>>>    
>>
>>
>>  
>
>

Reply | Threaded
Open this post in threaded view
|

Re: storing cache

Jacques Le Roux
Administrator
In reply to this post by Fabien JALABERT
If I'm not wrong it uses JDBM. But I'm not sure of what you are looking for

Jacques

From: "Fabien JALABERT" <[hidden email]>

> 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
>>
>