Re: Error in simple-method operation

2007-05-01 Thread Michael Imhof

We're using an ofbiz version of mid february. We made some changes, but
nothing
concerning mini-lang or entity-engine. 

But i made changes on the entityengine.xml (had to, of course:-)).
I loaded the old version of entity-engine.xml and the error was gone!! So
what happens??

Playing and testing around I figured out that the attribute check-on-start
is kidding me!

 OutOfMemory Error

 Alll is working fine...

Michael




David E. Jones-2 wrote:
> 
> 
> Which version/revision of OFBiz are you using? Have you made any  
> changes?
> 
> -David
> 
> 
> On May 1, 2007, at 5:20 AM, Michael Imhof wrote:
> 
>>
>> Yes, thats something I was thinking about. But the table has only  
>> 70 entries.
>> I tried the query with the > use-iterator=true/false & use-cache=true/false.
>>
>> > map-name="countryLookup" list-name="countryList" />
>>
>> But still the same error.. Next I will delete the table and try
>> again...Strange?!
>> Michael
>>
>>
>> David E. Jones-2 wrote:
>>>
>>>
>>> Or perhaps you're trying to do a query to get results from a very
>>> large table without using the entity list iterator?
>>>
>>> -David
>>>
>>>
>>> On May 1, 2007, at 5:00 AM, Michael Imhof wrote:
>>>
>>>>
>>>> Hi Mridul,
>>>>
>>>> increasing the heap space is not solving the problem. It just takes
>>>> longer
>>>> for the exception
>>>> to appear. Seems to be a loop somewhere...
>>>>
>>>> Michael
>>>>
>>>>
>>>> Mridul Pathak wrote:
>>>>>
>>>>> Hi Micheal,
>>>>>For the OutOfMemoryError here is the solution I think that
>>>>> might work
>>>>> in
>>>>> your case:
>>>>>   For running ofbiz from command line..instead of java -jar
>>>>> ofbiz.jar you
>>>>> can use
>>>>>   java -Xms512m -Xmx1024m -jar ofbiz.jar
>>>>>   This will solve ur OutOfMemory problem in any of the ofbiz
>>>>> operations.
>>>>> Regards,
>>>>> Mridul
>>>>>
>>>>>
>>>>>
>>>>> On 5/1/07, Michael Imhof <[EMAIL PROTECTED]> wrote:
>>>>>>
>>>>>>
>>>>>> I got an OutOfMemoryError using simple-method >>>>> with
>>>>>> >>>>>
>>>>>> Error in simple-method operation []:
>>>>>> java.lang.OutOfMemoryError: Java heap space
>>>>>>
>>>>>> The Error occurs only once (the first call of the service).
>>>>>> Then it works fine...
>>>>>>
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>
>>>>>> Does somebody has an idea where this is coming from??? And why
>>>>>> does it
>>>>>> only
>>>>>> occurs the first time (probably something with initialization,
>>>>>> cache,
>>>>>> ..??)?
>>>>>>
>>>>>> Michael
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/Error-in-simple-method-operation-
>>>>>> tf3674071.html#a10266407
>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> View this message in context: http://www.nabble.com/Error-in-simple-
>>>> method-operation-tf3674071.html#a10267473
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Error-in-simple- 
>> method-operation-tf3674071.html#a10267646
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Error-in-simple-method-operation-tf3674071.html#a10268403
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Error in simple-method operation

2007-05-01 Thread David E. Jones


Which version/revision of OFBiz are you using? Have you made any  
changes?


-David


On May 1, 2007, at 5:20 AM, Michael Imhof wrote:



Yes, thats something I was thinking about. But the table has only  
70 entries.

I tried the query with the 

But still the same error.. Next I will delete the table and try
again...Strange?!
Michael


David E. Jones-2 wrote:



Or perhaps you're trying to do a query to get results from a very
large table without using the entity list iterator?

-David


On May 1, 2007, at 5:00 AM, Michael Imhof wrote:



Hi Mridul,

increasing the heap space is not solving the problem. It just takes
longer
for the exception
to appear. Seems to be a loop somewhere...

Michael


Mridul Pathak wrote:


Hi Micheal,
   For the OutOfMemoryError here is the solution I think that
might work
in
your case:
  For running ofbiz from command line..instead of java -jar
ofbiz.jar you
can use
  java -Xms512m -Xmx1024m -jar ofbiz.jar
  This will solve ur OutOfMemory problem in any of the ofbiz
operations.
Regards,
Mridul



On 5/1/07, Michael Imhof <[EMAIL PROTECTED]> wrote:



I got an OutOfMemoryError using simple-method with

]:
java.lang.OutOfMemoryError: Java heap space

The Error occurs only once (the first call of the service).
Then it works fine...





Does somebody has an idea where this is coming from??? And why
does it
only
occurs the first time (probably something with initialization,
cache,
..??)?

Michael
--
View this message in context:
http://www.nabble.com/Error-in-simple-method-operation-
tf3674071.html#a10266407
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context: http://www.nabble.com/Error-in-simple-
method-operation-tf3674071.html#a10267473
Sent from the OFBiz - User mailing list archive at Nabble.com.








--
View this message in context: http://www.nabble.com/Error-in-simple- 
method-operation-tf3674071.html#a10267646

Sent from the OFBiz - User mailing list archive at Nabble.com.





smime.p7s
Description: S/MIME cryptographic signature


Re: Error in simple-method operation

2007-05-01 Thread Michael Imhof

Yes, thats something I was thinking about. But the table has only 70 entries.
I tried the query with the 

But still the same error.. Next I will delete the table and try
again...Strange?!
Michael


David E. Jones-2 wrote:
> 
> 
> Or perhaps you're trying to do a query to get results from a very  
> large table without using the entity list iterator?
> 
> -David
> 
> 
> On May 1, 2007, at 5:00 AM, Michael Imhof wrote:
> 
>>
>> Hi Mridul,
>>
>> increasing the heap space is not solving the problem. It just takes  
>> longer
>> for the exception
>> to appear. Seems to be a loop somewhere...
>>
>> Michael
>>
>>
>> Mridul Pathak wrote:
>>>
>>> Hi Micheal,
>>>For the OutOfMemoryError here is the solution I think that  
>>> might work
>>> in
>>> your case:
>>>   For running ofbiz from command line..instead of java -jar  
>>> ofbiz.jar you
>>> can use
>>>   java -Xms512m -Xmx1024m -jar ofbiz.jar
>>>   This will solve ur OutOfMemory problem in any of the ofbiz  
>>> operations.
>>> Regards,
>>> Mridul
>>>
>>>
>>>
>>> On 5/1/07, Michael Imhof <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>> I got an OutOfMemoryError using simple-method >>> >>>
>>>> Error in simple-method operation []:
>>>> java.lang.OutOfMemoryError: Java heap space
>>>>
>>>> The Error occurs only once (the first call of the service).
>>>> Then it works fine...
>>>>
>>>> 
>>>> 
>>>> 
>>>>
>>>> Does somebody has an idea where this is coming from??? And why  
>>>> does it
>>>> only
>>>> occurs the first time (probably something with initialization,  
>>>> cache,
>>>> ..??)?
>>>>
>>>> Michael
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Error-in-simple-method-operation- 
>>>> tf3674071.html#a10266407
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Error-in-simple- 
>> method-operation-tf3674071.html#a10267473
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Error-in-simple-method-operation-tf3674071.html#a10267646
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Error in simple-method operation

2007-05-01 Thread David E. Jones


Or perhaps you're trying to do a query to get results from a very  
large table without using the entity list iterator?


-David


On May 1, 2007, at 5:00 AM, Michael Imhof wrote:



Hi Mridul,

increasing the heap space is not solving the problem. It just takes  
longer

for the exception
to appear. Seems to be a loop somewhere...

Michael


Mridul Pathak wrote:


Hi Micheal,
   For the OutOfMemoryError here is the solution I think that  
might work

in
your case:
  For running ofbiz from command line..instead of java -jar  
ofbiz.jar you

can use
  java -Xms512m -Xmx1024m -jar ofbiz.jar
  This will solve ur OutOfMemory problem in any of the ofbiz  
operations.

Regards,
Mridul



On 5/1/07, Michael Imhof <[EMAIL PROTECTED]> wrote:



I got an OutOfMemoryError using simple-method ]:
java.lang.OutOfMemoryError: Java heap space

The Error occurs only once (the first call of the service).
Then it works fine...





Does somebody has an idea where this is coming from??? And why  
does it

only
occurs the first time (probably something with initialization,  
cache,

..??)?

Michael
--
View this message in context:
http://www.nabble.com/Error-in-simple-method-operation- 
tf3674071.html#a10266407

Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context: http://www.nabble.com/Error-in-simple- 
method-operation-tf3674071.html#a10267473

Sent from the OFBiz - User mailing list archive at Nabble.com.





smime.p7s
Description: S/MIME cryptographic signature


Re: Error in simple-method operation

2007-05-01 Thread Michael Imhof

Hi Mridul,

increasing the heap space is not solving the problem. It just takes longer
for the exception 
to appear. Seems to be a loop somewhere...

Michael


Mridul Pathak wrote:
> 
> Hi Micheal,
>For the OutOfMemoryError here is the solution I think that might work
> in
> your case:
>   For running ofbiz from command line..instead of java -jar ofbiz.jar you
> can use
>   java -Xms512m -Xmx1024m -jar ofbiz.jar
>   This will solve ur OutOfMemory problem in any of the ofbiz operations.
> Regards,
> Mridul
> 
> 
> 
> On 5/1/07, Michael Imhof <[EMAIL PROTECTED]> wrote:
>>
>>
>> I got an OutOfMemoryError using simple-method > >
>> Error in simple-method operation []:
>> java.lang.OutOfMemoryError: Java heap space
>>
>> The Error occurs only once (the first call of the service).
>> Then it works fine...
>>
>> 
>> 
>> 
>>
>> Does somebody has an idea where this is coming from??? And why does it
>> only
>> occurs the first time (probably something with initialization, cache,
>> ..??)?
>>
>> Michael
>> --
>> View this message in context:
>> http://www.nabble.com/Error-in-simple-method-operation-tf3674071.html#a10266407
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-in-simple-method-operation-tf3674071.html#a10267473
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Error in simple-method operation

2007-05-01 Thread Mridul Pathak

Hi Micheal,
  For the OutOfMemoryError here is the solution I think that might work in
your case:
 For running ofbiz from command line..instead of java -jar ofbiz.jar you
can use
 java -Xms512m -Xmx1024m -jar ofbiz.jar
 This will solve ur OutOfMemory problem in any of the ofbiz operations.
Regards,
Mridul



On 5/1/07, Michael Imhof <[EMAIL PROTECTED]> wrote:



I got an OutOfMemoryError using simple-method ]:
java.lang.OutOfMemoryError: Java heap space

The Error occurs only once (the first call of the service).
Then it works fine...





Does somebody has an idea where this is coming from??? And why does it
only
occurs the first time (probably something with initialization, cache,
..??)?

Michael
--
View this message in context:
http://www.nabble.com/Error-in-simple-method-operation-tf3674071.html#a10266407
Sent from the OFBiz - User mailing list archive at Nabble.com.




Error in simple-method operation

2007-05-01 Thread Michael Imhof

I got an OutOfMemoryError using simple-method ]:
java.lang.OutOfMemoryError: Java heap space

The Error occurs only once (the first call of the service). 
Then it works fine...





Does somebody has an idea where this is coming from??? And why does it only
occurs the first time (probably something with initialization, cache, ..??)?

Michael
-- 
View this message in context: 
http://www.nabble.com/Error-in-simple-method-operation-tf3674071.html#a10266407
Sent from the OFBiz - User mailing list archive at Nabble.com.