It works at r1660444, so must be in between...
Jacques
PS: sorry for the thread hijacking ;)
Le 24/02/2015 13:52, Jacques Le Roux a écrit :
It's not r1661358 nor r1661295, weird
Jacques
Le 24/02/2015 13:31, Jacques Le Roux a écrit :
It also happens when you import DemoProduct.xml, this file has not changed for
6+ months, so it must be an issue in code
The error is
2015-02-24 13:16:52,646 |xer_default_products |EntityListIterator |W| Warning: auto-closed EntityListIterator because of exception:
java.sql.SQLTransactionRollbackException: A lock could no
ained within the time requested
2015-02-24 13:16:52,646 |xer_default_products |EntityListIterator
|W| Product] has already been closed, not closing again.
2015-02-24 13:16:52,647 |xer_default_products |GenericDelegator |E| Failure in findByCondition operation for entity [Product]:
org.ofbiz.entity.GenericEntityException: Error getting the n
lt (A lock could not be obtained within the time requested). Rolling back
transaction.
org.ofbiz.entity.GenericEntityException: Error getting the next result (A lock
could not be obtained within the time requested)
at
org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:451)
~[ofbiz-entity.jar:?]
at
org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:1812)
[ofbiz-entity.jar:?]
at org.ofbiz.entity.util.EntityQuery.query(EntityQuery.java:448)
[ofbiz-entity.jar:?]
at org.ofbiz.entity.util.EntityQuery.queryList(EntityQuery.java:376)
[ofbiz-entity.jar:?]
at org.ofbiz.entity.util.EntityQuery.queryOne(EntityQuery.java:414)
[ofbiz-entity.jar:?]
at
org.ofbiz.content.search.ProductDocument.prepareDocument(ProductDocument.java:72)
[lucene.jar:?]
at
org.ofbiz.content.search.DocumentIndexer.run(DocumentIndexer.java:98)
[lucene.jar:?]
Caused by: java.sql.SQLTransactionRollbackException: A lock could not be
obtained within the time requested
at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
~[derby-10.11.1.1.jar:?]
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source) ~[derby-10.11.1.1.jar:?]
at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source) ~[derby-10.11.1.1.jar:?]
at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source) ~[derby-10.11.1.1.jar:?]
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source) ~[derby-10.11.1.1.jar:?]
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source) ~[derby-10.11.1.1.jar:?]
at
org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(Unknown
Source) ~[derby-10.11.1.1.jar:?]
at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(Unknown
Source) ~[derby-10.11.1.1.jar:?]
at org.apache.derby.impl.jdbc.EmbedResultSet.next(Unknown Source)
~[derby-10.11.1.1.jar:?]
at
org.apache.commons.dbcp2.DelegatingResultSet.next(DelegatingResultSet.java:191)
~[commons-dbcp2-2.0.1.jar:2.0.1]
at
org.apache.commons.dbcp2.DelegatingResultSet.next(DelegatingResultSet.java:191)
~[commons-dbcp2-2.0.1.jar:2.0.1]
at
org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:321)
~[ofbiz-entity.jar:?]
at
org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:436)
~[ofbiz-entity.jar:?]
... 6 more
So because of "xer_default_product" (aka DocumentIndexer_default_products) it seems related with Lucene+something else in code which changed
recently, but it's weird the same appears in R12.04
Maybe r1661295 or r1661358 ?
Jacques
Le 24/02/2015 12:57, Jacques Le Roux a écrit :
We have a problem loading some specialpurpose data, even in R12.04, checking
why locally...
Jacques
Le 24/02/2015 12:10, Jacques Le Roux a écrit :
Do you reproduce locally, it's ok here
I'm currently restarting all demos, they were busted for a reason I have no
time to check...
Jacques
Le 23/02/2015 21:40, Forrest Rae a écrit :
Hi,
I've noticed some strange behaviour with the Login link in the eCommerce
application. If you're visit the Login link from "main", you're
redirected back to the Login view even after logging in:
1) Visit http://demo-stable-ofbiz.apache.org/ecommerce/control/main
2) Click "Login" in the upper left
3) Login as "DemoCustomer" with a password of "ofbiz"
4) Notice that you're at a new URL, logged in, but the login form is
redrawn.
Compare this with how it's supposed to work:
1) Logout
2) Visit http://demo-stable-ofbiz.apache.org/ecommerce/tiny-gismo-GZ-1000-p
3) Click "Login" in the upper left
4) Login as "DemoCustomer" with a password of "ofbiz"
5) Notice that you're at a new URL, but the product page is redrawn
correctly.
It's just really strange behaviour, quite hard to track down, and I
can't really find a root cause. Should I log a bug?
-Forrest