You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adrian Crum <ad...@sandglass-software.com> on 2011/11/17 13:00:42 UTC

Re: Trunk demo error

Actually, there are more errors/warnings in the trunk too - most having 
to do with bad entity definitions.

I'm cross posting this to the dev list so we can look into it.

-Adrian

On 11/17/2011 11:53 AM, Jacques Le Roux wrote:
> Also we have an issue with this, reminder: no time to create a Jira 
> atm (maybe there is already one BTW, thought I saw such?)
>
> 2011-11-17 11:48:25,468 (default-invoker-Thread-13) [   
> GenericDelegator.java:1724:ERROR] ---- exception report 
> ----------------------------------------------------------
> ERROR: Cannot do a find that returns an EntityListIterator with no 
> transaction in place. Wrap this call in a transaction.
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace 
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1723)
> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5762)
> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5757)
> org.ofbiz.entity.transaction.TransactionUtil$NoTransaction.call(TransactionUtil.java:978) 
>
> org.ofbiz.entity.transaction.TransactionUtil$InTransaction.call(TransactionUtil.java:1003) 
>
> org.ofbiz.entity.transaction.TransactionUtil.doNewTransaction(TransactionUtil.java:89) 
>
> org.ofbiz.order.order.OrderServices.createAlsoBoughtProductAssocs(OrderServices.java:5757) 
>
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> Hi,
>>
>> Got this in trunk demo
>>
>> classes:
>>  [javac16] Compiling 20 source files to 
>> /home/ofbiz/trunk/framework/testtools/build/classes
>>  [javac16] 
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101: 
>> incompatible types
>>  [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
>>  [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
>>  [javac16]         SchemeSocketFactory sf = 
>> PlainSocketFactory.getSocketFactory();
>>  [javac16]                                                                     
>> ^
>>  [javac16] 
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102: 
>> cannot find symbol
>>  [javac16] symbol  : constructor 
>> Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory)
>>  [javac16] location: class org.apache.http.conn.scheme.Scheme
>>  [javac16]         supportedSchemes.register(new Scheme("http", 80, 
>> sf));
>>  [javac16]                                   ^
>>  [javac16] 
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165: 
>> cannot find symbol
>>  [javac16] symbol  : constructor 
>> ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry)
>>  [javac16] location: class 
>> org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
>>  [javac16]         ClientConnectionManager ccm = new 
>> ThreadSafeClientConnManager(supportedSchemes);
>>  [javac16]                                       ^
>>  [javac16] 
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245: 
>> cannot find symbol
>>  [javac16] symbol  : method consume(org.apache.http.HttpEntity)
>>  [javac16] location: class org.apache.http.util.EntityUtils
>>  [javac16]                 EntityUtils.consume(entity); // release 
>> connection gracefully
>>  [javac16]                            ^
>>  [javac16] 4 errors
>>
>> BUILD FAILED
>> /home/ofbiz/trunk/build.xml:214: The following error occurred while 
>> executing this line:
>> /home/ofbiz/trunk/framework/build.xml:148: The following error 
>> occurred while executing this line:
>> /home/ofbiz/trunk/macros.xml:39: The following error occurred while 
>> executing this line:
>> /home/ofbiz/trunk/common.xml:91: Compile failed; see the compiler 
>> error output for details.
>>
>> reverted to r1201941, cleaned and installed all, it's running again...
>>
>> I think there is also an issue with 1202084, looks like the quality 
>> is going down :/
>>
>> Jacques
>> Also not sure why but found that in trunk log
>> 2011-11-17 11:39:55,928 (http-0.0.0.0-8443-1) [ 
>> ControlServlet.java:324:INFO ] 
>> [[[checkLogin(Domain:https://demo-stable.ofbiz.apache.org)] Request 
>> Done- total:0.366,since last([checkLogin(Domai...):0.366]]

Re: Trunk demo error

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Erwan,

Inline...

From: "Erwan de FERRIERES" <er...@nereide.fr>
> Le 21/11/2011 13:40, Jacques Le Roux a écrit :
>> Hi Erwan,
>>
>> Could you please have a look at the error, else I'm afraid we will have
>> to revert if we want the trunk demo to be in sync with changes
>> Though an option could be to revert only on trunk demo...
>>
>> Jacques
>>
>
> Hi Jacques,
> do as you want to do, but I'm sure my commit isn't breaking the demo, as buildbot and other builds are not breaked.

Maybe, I had not much time to look at it... What I know is reverting this commit solves the issue and then all works.

> Deprecation messages were coming from the update of http-core and http-client to 4.1.

Yes saw that

> How do you access the demo console, so I can have a look ?

Simply ssh to ofbiz-vm.apache.org using your committer credential

Thanks

Jacques

> Thanks,
>
> -- 
> Erwan de FERRIERES
> www.nereide.biz 

Re: Trunk demo error

Posted by Erwan de FERRIERES <er...@nereide.fr>.
Le 21/11/2011 13:40, Jacques Le Roux a écrit :
> Hi Erwan,
>
> Could you please have a look at the error, else I'm afraid we will have
> to revert if we want the trunk demo to be in sync with changes
> Though an option could be to revert only on trunk demo...
>
> Jacques
>

Hi Jacques,
do as you want to do, but I'm sure my commit isn't breaking the demo, as 
buildbot and other builds are not breaked.

Deprecation messages were coming from the update of http-core and 
http-client to 4.1.

How do you access the demo console, so I can have a look ?

Thanks,

-- 
Erwan de FERRIERES
www.nereide.biz

Re: Trunk demo error

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Erwan,

Could you please have a look at the error, else I'm afraid we will have to revert if we want the trunk demo to be in sync with 
changes
Though an option could be to revert only on trunk demo...

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> Since the problem has not been solved, I changed the deployment script (./trunk-manual.sh) to update to r1201941 for now...
>
> Jacques
>
> From: "Adrian Crum" <ad...@sandglass-software.com>
>> Actually, there are more errors/warnings in the trunk too - most having to do with bad entity definitions.
>>
>> I'm cross posting this to the dev list so we can look into it.
>>
>> -Adrian
>>
>> On 11/17/2011 11:53 AM, Jacques Le Roux wrote:
>>> Also we have an issue with this, reminder: no time to create a Jira atm (maybe there is already one BTW, thought I saw such?)
>>>
>>> 2011-11-17 11:48:25,468 (default-invoker-Thread-13) [   GenericDelegator.java:1724:ERROR] ---- exception 
>>> report ----------------------------------------------------------
>>> ERROR: Cannot do a find that returns an EntityListIterator with no transaction in place. Wrap this call in a transaction.
>>> Exception: java.lang.Exception
>>> Message: Stack Trace
>>> ---- stack trace ---------------------------------------------------------------
>>> java.lang.Exception: Stack Trace
>>> org.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1723)
>>> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5762)
>>> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5757)
>>> org.ofbiz.entity.transaction.TransactionUtil$NoTransaction.call(TransactionUtil.java:978)
>>> org.ofbiz.entity.transaction.TransactionUtil$InTransaction.call(TransactionUtil.java:1003)
>>> org.ofbiz.entity.transaction.TransactionUtil.doNewTransaction(TransactionUtil.java:89)
>>> org.ofbiz.order.order.OrderServices.createAlsoBoughtProductAssocs(OrderServices.java:5757)
>>>
>>> Jacques
>>>
>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>> Hi,
>>>>
>>>> Got this in trunk demo
>>>>
>>>> classes:
>>>>  [javac16] Compiling 20 source files to /home/ofbiz/trunk/framework/testtools/build/classes
>>>>  [javac16] /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101: incompatible types
>>>>  [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
>>>>  [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
>>>>  [javac16]         SchemeSocketFactory sf = PlainSocketFactory.getSocketFactory();
>>>>  [javac16]                                                                     ^
>>>>  [javac16] /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102: cannot find symbol
>>>>  [javac16] symbol  : constructor Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory)
>>>>  [javac16] location: class org.apache.http.conn.scheme.Scheme
>>>>  [javac16]         supportedSchemes.register(new Scheme("http", 80, sf));
>>>>  [javac16]                                   ^
>>>>  [javac16] /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165: cannot find symbol
>>>>  [javac16] symbol  : constructor ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry)
>>>>  [javac16] location: class org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
>>>>  [javac16]         ClientConnectionManager ccm = new ThreadSafeClientConnManager(supportedSchemes);
>>>>  [javac16]                                       ^
>>>>  [javac16] /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245: cannot find symbol
>>>>  [javac16] symbol  : method consume(org.apache.http.HttpEntity)
>>>>  [javac16] location: class org.apache.http.util.EntityUtils
>>>>  [javac16]                 EntityUtils.consume(entity); // release connection gracefully
>>>>  [javac16]                            ^
>>>>  [javac16] 4 errors
>>>>
>>>> BUILD FAILED
>>>> /home/ofbiz/trunk/build.xml:214: The following error occurred while executing this line:
>>>> /home/ofbiz/trunk/framework/build.xml:148: The following error occurred while executing this line:
>>>> /home/ofbiz/trunk/macros.xml:39: The following error occurred while executing this line:
>>>> /home/ofbiz/trunk/common.xml:91: Compile failed; see the compiler error output for details.
>>>>
>>>> reverted to r1201941, cleaned and installed all, it's running again...
>>>>
>>>> I think there is also an issue with 1202084, looks like the quality is going down :/
>>>>
>>>> Jacques
>>>> Also not sure why but found that in trunk log
>>>> 2011-11-17 11:39:55,928 (http-0.0.0.0-8443-1) [ ControlServlet.java:324:INFO ] 
>>>> [[[checkLogin(Domain:https://demo-stable.ofbiz.apache.org)] Request Done- total:0.366,since last([checkLogin(Domai...):0.366]] 

Re: Trunk demo error

Posted by Jacques Le Roux <ja...@les7arts.com>.
Since the problem has not been solved, I changed the deployment script (./trunk-manual.sh) to update to r1201941 for now...

Jacques

From: "Adrian Crum" <ad...@sandglass-software.com>
> Actually, there are more errors/warnings in the trunk too - most having 
> to do with bad entity definitions.
> 
> I'm cross posting this to the dev list so we can look into it.
> 
> -Adrian
> 
> On 11/17/2011 11:53 AM, Jacques Le Roux wrote:
>> Also we have an issue with this, reminder: no time to create a Jira 
>> atm (maybe there is already one BTW, thought I saw such?)
>>
>> 2011-11-17 11:48:25,468 (default-invoker-Thread-13) [   
>> GenericDelegator.java:1724:ERROR] ---- exception report 
>> ----------------------------------------------------------
>> ERROR: Cannot do a find that returns an EntityListIterator with no 
>> transaction in place. Wrap this call in a transaction.
>> Exception: java.lang.Exception
>> Message: Stack Trace
>> ---- stack trace 
>> ---------------------------------------------------------------
>> java.lang.Exception: Stack Trace
>> org.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1723)
>> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5762)
>> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5757)
>> org.ofbiz.entity.transaction.TransactionUtil$NoTransaction.call(TransactionUtil.java:978) 
>>
>> org.ofbiz.entity.transaction.TransactionUtil$InTransaction.call(TransactionUtil.java:1003) 
>>
>> org.ofbiz.entity.transaction.TransactionUtil.doNewTransaction(TransactionUtil.java:89) 
>>
>> org.ofbiz.order.order.OrderServices.createAlsoBoughtProductAssocs(OrderServices.java:5757) 
>>
>>
>> Jacques
>>
>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>> Hi,
>>>
>>> Got this in trunk demo
>>>
>>> classes:
>>>  [javac16] Compiling 20 source files to 
>>> /home/ofbiz/trunk/framework/testtools/build/classes
>>>  [javac16] 
>>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101: 
>>> incompatible types
>>>  [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
>>>  [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
>>>  [javac16]         SchemeSocketFactory sf = 
>>> PlainSocketFactory.getSocketFactory();
>>>  [javac16]                                                                     
>>> ^
>>>  [javac16] 
>>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102: 
>>> cannot find symbol
>>>  [javac16] symbol  : constructor 
>>> Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory)
>>>  [javac16] location: class org.apache.http.conn.scheme.Scheme
>>>  [javac16]         supportedSchemes.register(new Scheme("http", 80, 
>>> sf));
>>>  [javac16]                                   ^
>>>  [javac16] 
>>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165: 
>>> cannot find symbol
>>>  [javac16] symbol  : constructor 
>>> ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry)
>>>  [javac16] location: class 
>>> org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
>>>  [javac16]         ClientConnectionManager ccm = new 
>>> ThreadSafeClientConnManager(supportedSchemes);
>>>  [javac16]                                       ^
>>>  [javac16] 
>>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245: 
>>> cannot find symbol
>>>  [javac16] symbol  : method consume(org.apache.http.HttpEntity)
>>>  [javac16] location: class org.apache.http.util.EntityUtils
>>>  [javac16]                 EntityUtils.consume(entity); // release 
>>> connection gracefully
>>>  [javac16]                            ^
>>>  [javac16] 4 errors
>>>
>>> BUILD FAILED
>>> /home/ofbiz/trunk/build.xml:214: The following error occurred while 
>>> executing this line:
>>> /home/ofbiz/trunk/framework/build.xml:148: The following error 
>>> occurred while executing this line:
>>> /home/ofbiz/trunk/macros.xml:39: The following error occurred while 
>>> executing this line:
>>> /home/ofbiz/trunk/common.xml:91: Compile failed; see the compiler 
>>> error output for details.
>>>
>>> reverted to r1201941, cleaned and installed all, it's running again...
>>>
>>> I think there is also an issue with 1202084, looks like the quality 
>>> is going down :/
>>>
>>> Jacques
>>> Also not sure why but found that in trunk log
>>> 2011-11-17 11:39:55,928 (http-0.0.0.0-8443-1) [ 
>>> ControlServlet.java:324:INFO ] 
>>> [[[checkLogin(Domain:https://demo-stable.ofbiz.apache.org)] Request 
>>> Done- total:0.366,since last([checkLogin(Domai...):0.366]]