Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-26 Thread Adrian Crum
Re: concurrent, parallel loading stuff To: dev@ofbiz.apache.org Date: Friday, June 25, 2010, 4:27 PM BJ Freeman wrote: thanks have updated the thread on user ML I'm debating whether to roll back my change; granted, that is what caused this ofbiz bug.  However, there's nothing that says we

concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
I've got a change to ofbiz startup to make loading of the webapps run in parallel. Unfortunately, it's been taking me longer than I'd like to get working completely. Catalina itself is single-threaded when loading the webapps attached to a particular host. That fix required me initializing the

Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
I am sure you know why but would you enlighten us as to why this is necessary. Does it break using ofbiz with external tomcat? Adam Heath sent the following on 6/25/2010 11:20 AM: = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation

Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
BJ Freeman wrote: I am sure you know why but would you enlighten us as to why this is necessary. Does it break using ofbiz with external tomcat? Because it makes startup faster. I did no changes to tomcat, and can't say whether the stuff I've done will work with anything other than the

Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
what is your target for start up. I am less than one minute on mine. Not sure breaking an established convention without discussion is a good idea. are you willing to go through all the test and change documentation? = BJ Freeman http://bjfreeman.elance.com Strategic

Re: concurrent, parallel loading stuff

2010-06-25 Thread Adrian Crum
, parallel loading stuff To: dev@ofbiz.apache.org Date: Friday, June 25, 2010, 11:51 AM BJ Freeman wrote: I am sure you know why but would you enlighten us  as to why this is necessary. Does it break using ofbiz with external tomcat? Because it makes startup faster. I did no changes

Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
BJ Freeman wrote: what is your target for start up. I am less than one minute on mine. Not sure breaking an established convention without discussion is a good idea. are you willing to go through all the test and change documentation? documentation change - none. It just works

Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
Adrian Crum wrote: 2010-06-25 12:32:26,939 (main) [ContainerLoader.java:50 :INFO ] [Startup] Loading containers... ... 2010-06-25 12:32:54,251 (main) [ BeanShellContainer.java:102:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports 2010-06-25

Re: concurrent, parallel loading stuff

2010-06-25 Thread Adrian Crum
Understood. Thanks. -Adrian --- On Fri, 6/25/10, Adam Heath doo...@brainfood.com wrote: From: Adam Heath doo...@brainfood.com Subject: Re: concurrent, parallel loading stuff To: dev@ofbiz.apache.org Date: Friday, June 25, 2010, 12:50 PM Adrian Crum wrote: 2010-06-25 12:32:26,939 (main

Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
not saying it is you but currently the svn is broken. it looks like library how did this get through the testing that buildbot does. if your code does not break the ability to use external tomcat. then I agree no documentation. how ever if your testing shows it does then the documentation that

Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
BJ Freeman wrote: not saying it is you but currently the svn is broken. it looks like library how did this get through the testing that buildbot does. if your code does not break the ability to use external tomcat. then I agree no documentation. how ever if your testing shows it does then

Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
as i said don't believe it is you. however from my email on the user ML LimitedSubContentCacheTransform.java has not been touched since the 4th. here is the log from the site -- java.lang.UnsupportedOperationException

FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
BJ Freeman wrote: as i said don't believe it is you. however from my email on the user ML LimitedSubContentCacheTransform.java has not been touched since the 4th. here is the log from the site --

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
http://demo-trunk.ofbiz.apache.org/ecommerce/ :ERROR MESSAGE: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.UnsupportedOperationException (null) as reported on the user ML

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
BJ Freeman wrote: I check the ofbiz code files for any changes since last week and now. I did not see any. I have a trunk version that does not have this error from last week. I've got it isolated, but not fixed. FastList is not functioning the same as ArrayList, and it's got me purplexed.

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
Adam Heath wrote: BJ Freeman wrote: I check the ofbiz code files for any changes since last week and now. I did not see any. I have a trunk version that does not have this error from last week. I've got it isolated, but not fixed. FastList is not functioning the same as ArrayList, and

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
that is about what I expected thanks for finding it. what caused it though. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=52 Specialtymarket.com

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
Adam Heath wrote: Adam Heath wrote: BJ Freeman wrote: I check the ofbiz code files for any changes since last week and now. I did not see any. I have a trunk version that does not have this error from last week. I've got it isolated, but not fixed. FastList is not functioning the same as

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
BJ Freeman wrote: that is about what I expected thanks for finding it. what caused it though. 956470, which is something I did. But I wouldn't expect that FastList would not obey the List.subList contract, specifically that the returned list supports the same set of optional methods as the

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
thanks have updated the thread on user ML = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=52 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator--

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
Adam Heath wrote: Adam Heath wrote: Adam Heath wrote: BJ Freeman wrote: I check the ofbiz code files for any changes since last week and now. I did not see any. I have a trunk version that does not have this error from last week. I've got it isolated, but not fixed. FastList is not

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread Adam Heath
BJ Freeman wrote: thanks have updated the thread on user ML I'm debating whether to roll back my change; granted, that is what caused this ofbiz bug. However, there's nothing that says we couldn't have the same problem occur with other uses of FastList.subList.add().

Re: FastCollection.add - UnsupportedOperationException Re: concurrent, parallel loading stuff

2010-06-25 Thread BJ Freeman
highest priority is ofbiz is stable. second priority is consistency in code. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=52 Specialtymarket.com