Is there a hook after loadComponents method?

2010-01-25 Thread Zhang Shiqian
Hi all,

I want to caching some resources from modules after all modules were loaded,
what should i do? Is there a hook after loadComponents method or other
solutions? Thanks!

-- 
-- 
Regards,

Zhang Shiqian

Wizitsoft Information Technology Ltd.
www.wizitsoft.com | Phone: (8610)6267 0653 ext 604 | Mobile: (86)13264158885


Re: About options in ecommerce header bar

2010-01-25 Thread Ashish Vijaywargiya
Inline:

--
Ashish

On Mon, Jan 25, 2010 at 12:33 AM, Suresh Yellamaraju syel...@gmail.com wrote:
 Hi

 New to OFBiz and finding my way around. So sorry if this is a repeat or
 known.

 Is it the intention (for product features demonstration reasons) that the
 ecommerce web application shows the menu options of order history, profile,
 quotes, ... when user is not logged in? Clicking on these links seems to be
 doing the right thing of asking the user to login.

 Noticed the following line in header.ftl of the ecommerce web application
 that seems to allow that to happen.

 #if !userLogin?has_content || (userLogin.userLoginId)?if_exists !=
 anonymous

This check is provided to show the features in the ecommerce front end
component to the logged in users as well as to the one who are not
logged in. And Yes, this was done intentionally.


 Thanks!



Birt reports in OFbiz

2010-01-25 Thread Ashish Tiwari
Hi,

I have worked with birt reports in ofbiz. I have also seen the sample rptdesign 
files provided in ofbiz.
I just want to know the simple steps to generate and use birt reports in ofbiz.

People will forget what you said... People will forget what you did But 
people will NEVER forget how you made them feel.

Thanks  Regards
Ashish Tiwari
|I Labs| LT Infotech | TTC Electronic Zone | Shil Mahape Road | Navi mumbai
 Extn: 4322|
Mobile: +919870270192
Email: ashish.tiw...@lntinfotech.com



This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

__

Re: does anyone know ofbiz?

2010-01-25 Thread Chris Snow

Hi Marc,

This is one of the reasons I have been pushing for and independent ofbiz 
framework.  It's is relatively quick to learn how to develop standalone 
apps in ofbiz.  I believe with ofbiz, you can develop small applications 
as quickly as you can in MS Access - with a lot more benefits when using 
ofbiz (multiuser, web enabled, extendable, etc).


However, in my opinion, it takes years of experience to be able to use 
the existing apps (partymgmt, ordermgmt, etc).


Cheers,

Chris


Marc Morin wrote:

It's taken us about 6-12 months to get proficient in ofbiz  mostly because we mostly 
resisted doing things the ofbiz way

- Original Message -
From: Adrian Crum adrian.c...@yahoo.com
To: user@ofbiz.apache.org
Sent: Friday, January 22, 2010 7:04:01 PM GMT -05:00 US/Canada Eastern
Subject: Re: does anyone know ofbiz?

--- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote:
  

Is it possible for one person to have a deep understanding
of how ALL of the components in ofbiz work?  It is
vast.  I have found that the only way to tackle the
problem is to break in into chucks: the framework, party
management, work effort...  At the rate I'm going I
will have figured it all out in 5 years time.



It took me about 6 months to wrap my head around OFBiz. I have been using it 
for 6 years and there are things that I'm still learning about it.

-Adrian




  




Re: does anyone know ofbiz?

2010-01-25 Thread Chris Snow

Hi Marc,

This is one of the reasons I have been pushing for and independent ofbiz 
framework.  It's is relatively quick to learn how to develop standalone 
apps in ofbiz.  I believe with ofbiz, you can develop small applications 
as quickly as you can in MS Access - with a lot more benefits when using 
ofbiz (multiuser, web enabled, extendable, etc).


However, in my opinion, it takes years of experience to be able to use 
the existing apps (partymgmt, ordermgmt, etc).


Cheers,

Chris


Marc Morin wrote:

It's taken us about 6-12 months to get proficient in ofbiz  mostly because we mostly 
resisted doing things the ofbiz way

- Original Message -
From: Adrian Crum adrian.c...@yahoo.com
To: user@ofbiz.apache.org
Sent: Friday, January 22, 2010 7:04:01 PM GMT -05:00 US/Canada Eastern
Subject: Re: does anyone know ofbiz?

--- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote:
  

Is it possible for one person to have a deep understanding
of how ALL of the components in ofbiz work?  It is
vast.  I have found that the only way to tackle the
problem is to break in into chucks: the framework, party
management, work effort...  At the rate I'm going I
will have figured it all out in 5 years time.



It took me about 6 months to wrap my head around OFBiz. I have been using it 
for 6 years and there are things that I'm still learning about it.

-Adrian




  




Re: Birt reports in OFbiz

2010-01-25 Thread Hans Bakker
If you upgrade to the latest OFBiz trunk you can find an introduction
on :
http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML#N2324C

Regards,
Hans

On Mon, 2010-01-25 at 15:33 +0530, Ashish Tiwari wrote:
 Hi,
 
 I have worked with birt reports in ofbiz. I have also seen the sample 
 rptdesign files provided in ofbiz.
 I just want to know the simple steps to generate and use birt reports in 
 ofbiz.
 
 People will forget what you said... People will forget what you did But 
 people will NEVER forget how you made them feel.
 
 Thanks  Regards
 Ashish Tiwari
 |I Labs| LT Infotech | TTC Electronic Zone | Shil Mahape Road | Navi mumbai
  Extn: 4322|
 Mobile: +919870270192
 Email: ashish.tiw...@lntinfotech.com
 
 
 
 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from your 
 system.
 
 __
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: tests are slow

2010-01-25 Thread Chris Snow

Hi Scott,

That works great - much quicker!

I have started up the normal container and I have created a service 
(runTestSuite) that instantiates the TestRunContainer.  The service is 
marked as exported, so I am just running the tests via a SOAP call at 
the moment.


This functionality would be good in webtools.  It would also be good if 
a test could be executed against a running ofbiz via the main build ant 
script.  Using ant, we could easily run tests from eclipse by creating 
an external run task for each test.


Shall I raise this as a JIRA improvement?

Many thanks,

Chris


Scott Gray wrote:

You could try manually initializing and starting the TestRunContainer, but 
obviously changes to java files will only take effect after you recompile.

Let me know how it goes, there is potential that we could put something like 
this into webtools alongside the selenium tests.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 23/01/2010, at 11:41 AM, chris snow wrote:

  

Scott Gray-2 wrote:

It should be possible to run a test suite against an already running  
instance, assuming no compilation is required and the database is in  
the state required by the tests (i.e. pretty much unchanged from a  
fresh install).


  

I'm lovin the test framework, but I'm still finding the startup time to be a
pain.  What would need to be done to run the tests against an already
running instance?

Many thanks,

Chris

--
View this message in context: 
http://n4.nabble.com/tests-are-slow-tp1014608p1288334.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



  




Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa

Hello all,


We started to develop an e-commerce application based on Ofbiz framework 
around 2 years ago.

The version we started from is a revision 691692.

Main problem is that we already have few systems launched into 
production, based on that revision.


Meanwhile, doing some mass tests, we encountered a lot of problems - 
mostly related to transactions...
We noticed the implementation of 
/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java 
has lots of problems from this point of view - maybe not thread safe.


We just checked out today revision 902810 and it seems someone really 
improved a lot that source code from threads-safe point of view.
Trying to upgrade only that class into our old version drove to upgrade 
for more and more classes. We encountered lots of incompatibilities - 
the source code has been in some places fully changed. Right now, having 
more than 800 compilation errors I would not feel too optimist to 
integrate only what I need from the newer version into the old one.


On the other hand, trying to get 902810 and then put over our work might 
also cause same problems because the entity layer and conditions 
handling seems to be changed.. I even expect to be worse that way 
because maybe web templates are also changed.


Which way could someone suggest to proceed for a better version where 
all database/entity layer/transaction later problems are fixed?



Many thanks,
Flopa


Re: does anyone know ofbiz?

2010-01-25 Thread Ruth Hoffman

Hi Chris:
I think you are spot on. Once you understand the basics, it is 
relatively easy to develop data driven web applications with the OFBiz 
framework. I've been doing just that for several years now. All that 
nasty database stuff is taken care of - leaving me free to develop 
real world solutions in short order.


What is much more difficult is to figure out how to use the existing 
applications to solve real world problems. I'm still struggling with that.


Regards,
Ruth

Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
ruth.hoff...@myofbiz.com

Chris Snow wrote:

Hi Marc,

This is one of the reasons I have been pushing for and independent 
ofbiz framework.  It's is relatively quick to learn how to develop 
standalone apps in ofbiz.  I believe with ofbiz, you can develop small 
applications as quickly as you can in MS Access - with a lot more 
benefits when using ofbiz (multiuser, web enabled, extendable, etc).


However, in my opinion, it takes years of experience to be able to use 
the existing apps (partymgmt, ordermgmt, etc).


Cheers,

Chris


Marc Morin wrote:
It's taken us about 6-12 months to get proficient in ofbiz  
mostly because we mostly resisted doing things the ofbiz way


- Original Message -
From: Adrian Crum adrian.c...@yahoo.com
To: user@ofbiz.apache.org
Sent: Friday, January 22, 2010 7:04:01 PM GMT -05:00 US/Canada Eastern
Subject: Re: does anyone know ofbiz?

--- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote:
 

Is it possible for one person to have a deep understanding
of how ALL of the components in ofbiz work?  It is
vast.  I have found that the only way to tackle the
problem is to break in into chucks: the framework, party
management, work effort...  At the rate I'm going I
will have figured it all out in 5 years time.



It took me about 6 months to wrap my head around OFBiz. I have been 
using it for 6 years and there are things that I'm still learning 
about it.


-Adrian




  





Re: Any chance for an upgrade? - help please

2010-01-25 Thread Scott Gray
Given the amount of changes required to back port you're probably better to 
upgrade to a newer revision, depending on how you've handled your custom code 
and what tests you have in place to verify your main areas of functionality, it 
should be relatively straightforward.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 25/01/2010, at 7:01 AM, Florin Popa wrote:

 Hello all,
 
 
 We started to develop an e-commerce application based on Ofbiz framework 
 around 2 years ago.
 The version we started from is a revision 691692.
 
 Main problem is that we already have few systems launched into production, 
 based on that revision.
 
 Meanwhile, doing some mass tests, we encountered a lot of problems - mostly 
 related to transactions...
 We noticed the implementation of 
 /framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java has 
 lots of problems from this point of view - maybe not thread safe.
 
 We just checked out today revision 902810 and it seems someone really 
 improved a lot that source code from threads-safe point of view.
 Trying to upgrade only that class into our old version drove to upgrade for 
 more and more classes. We encountered lots of incompatibilities - the source 
 code has been in some places fully changed. Right now, having more than 800 
 compilation errors I would not feel too optimist to integrate only what I 
 need from the newer version into the old one.
 
 On the other hand, trying to get 902810 and then put over our work might also 
 cause same problems because the entity layer and conditions handling seems to 
 be changed.. I even expect to be worse that way because maybe web templates 
 are also changed.
 
 Which way could someone suggest to proceed for a better version where all 
 database/entity layer/transaction later problems are fixed?
 
 
 Many thanks,
 Flopa



smime.p7s
Description: S/MIME cryptographic signature


Re: does anyone know ofbiz?

2010-01-25 Thread Chris Snow

Hi Ruth,

I wouldn't even say it's difficult to figure out the existing 
applications.  It is very time consuming.  Without high level overview 
documentation, the only way to understand the existing apps is to go 
through each line of code.


I really think there should be a process documentation effort - of which 
I'm willing to give my time...


Cheers,

Chris

Ruth Hoffman wrote:

Hi Chris:
I think you are spot on. Once you understand the basics, it is 
relatively easy to develop data driven web applications with the OFBiz 
framework. I've been doing just that for several years now. All that 
nasty database stuff is taken care of - leaving me free to develop 
real world solutions in short order.


What is much more difficult is to figure out how to use the existing 
applications to solve real world problems. I'm still struggling with 
that.


Regards,
Ruth

Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
ruth.hoff...@myofbiz.com

Chris Snow wrote:

Hi Marc,

This is one of the reasons I have been pushing for and independent 
ofbiz framework.  It's is relatively quick to learn how to develop 
standalone apps in ofbiz.  I believe with ofbiz, you can develop 
small applications as quickly as you can in MS Access - with a lot 
more benefits when using ofbiz (multiuser, web enabled, extendable, 
etc).


However, in my opinion, it takes years of experience to be able to 
use the existing apps (partymgmt, ordermgmt, etc).


Cheers,

Chris


Marc Morin wrote:
It's taken us about 6-12 months to get proficient in ofbiz  
mostly because we mostly resisted doing things the ofbiz way


- Original Message -
From: Adrian Crum adrian.c...@yahoo.com
To: user@ofbiz.apache.org
Sent: Friday, January 22, 2010 7:04:01 PM GMT -05:00 US/Canada Eastern
Subject: Re: does anyone know ofbiz?

--- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote:
 

Is it possible for one person to have a deep understanding
of how ALL of the components in ofbiz work?  It is
vast.  I have found that the only way to tackle the
problem is to break in into chucks: the framework, party
management, work effort...  At the rate I'm going I
will have figured it all out in 5 years time.



It took me about 6 months to wrap my head around OFBiz. I have been 
using it for 6 years and there are things that I'm still learning 
about it.


-Adrian




  







Re: Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa
We have a separate Eclipse project which contains ONLY the resources we 
ever touched. But even like this no one of the procedures seems easy for 
the moment


regards,
Flopa

Given the amount of changes required to back port you're probably better to 
upgrade to a newer revision, depending on how you've handled your custom code 
and what tests you have in place to verify your main areas of functionality, it 
should be relatively straightforward.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 25/01/2010, at 7:01 AM, Florin Popa wrote:

  

Hello all,


We started to develop an e-commerce application based on Ofbiz framework around 
2 years ago.
The version we started from is a revision 691692.

Main problem is that we already have few systems launched into production, 
based on that revision.

Meanwhile, doing some mass tests, we encountered a lot of problems - mostly 
related to transactions...
We noticed the implementation of 
/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java has 
lots of problems from this point of view - maybe not thread safe.

We just checked out today revision 902810 and it seems someone really improved 
a lot that source code from threads-safe point of view.
Trying to upgrade only that class into our old version drove to upgrade for 
more and more classes. We encountered lots of incompatibilities - the source 
code has been in some places fully changed. Right now, having more than 800 
compilation errors I would not feel too optimist to integrate only what I need 
from the newer version into the old one.

On the other hand, trying to get 902810 and then put over our work might also 
cause same problems because the entity layer and conditions handling seems to 
be changed.. I even expect to be worse that way because maybe web templates are 
also changed.

Which way could someone suggest to proceed for a better version where all 
database/entity layer/transaction later problems are fixed?


Many thanks,
Flopa



  




Re: does anyone know ofbiz?

2010-01-25 Thread Jeroen van der Wal
Hi Chris,

There is already an initiative do document high-level processes:
http://cwiki.apache.org/confluence/display/OFBREQDES/Universal+Business+Process+Library+Index

Jeroen van der Wal
Stromboli b.v.
+31 655 874050


On Mon, Jan 25, 2010 at 3:18 PM, Chris Snow sno...@snowconsulting.co.ukwrote:

 Hi Ruth,

 I wouldn't even say it's difficult to figure out the existing applications.
  It is very time consuming.  Without high level overview documentation, the
 only way to understand the existing apps is to go through each line of code.

 I really think there should be a process documentation effort - of which
 I'm willing to give my time...

 Cheers,

 Chris


 Ruth Hoffman wrote:

 Hi Chris:
 I think you are spot on. Once you understand the basics, it is relatively
 easy to develop data driven web applications with the OFBiz framework. I've
 been doing just that for several years now. All that nasty database stuff
 is taken care of - leaving me free to develop real world solutions in short
 order.

 What is much more difficult is to figure out how to use the existing
 applications to solve real world problems. I'm still struggling with that.

 Regards,
 Ruth
 
 Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
 ruth.hoff...@myofbiz.com

 Chris Snow wrote:

 Hi Marc,

 This is one of the reasons I have been pushing for and independent ofbiz
 framework.  It's is relatively quick to learn how to develop standalone apps
 in ofbiz.  I believe with ofbiz, you can develop small applications as
 quickly as you can in MS Access - with a lot more benefits when using ofbiz
 (multiuser, web enabled, extendable, etc).

 However, in my opinion, it takes years of experience to be able to use
 the existing apps (partymgmt, ordermgmt, etc).

 Cheers,

 Chris


 Marc Morin wrote:

 It's taken us about 6-12 months to get proficient in ofbiz  mostly
 because we mostly resisted doing things the ofbiz way

 - Original Message -
 From: Adrian Crum adrian.c...@yahoo.com
 To: user@ofbiz.apache.org
 Sent: Friday, January 22, 2010 7:04:01 PM GMT -05:00 US/Canada Eastern
 Subject: Re: does anyone know ofbiz?

 --- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote:


 Is it possible for one person to have a deep understanding
 of how ALL of the components in ofbiz work?  It is
 vast.  I have found that the only way to tackle the
 problem is to break in into chucks: the framework, party
 management, work effort...  At the rate I'm going I
 will have figured it all out in 5 years time.



 It took me about 6 months to wrap my head around OFBiz. I have been
 using it for 6 years and there are things that I'm still learning about it.

 -Adrian












Re: Any chance for an upgrade? - help please

2010-01-25 Thread Jacques Le Roux

If you are mostly interested by the framework fixes, you may try to apply the 
patches you may found in respective Jira issues...

Jacques

From: Florin Popa flopacons...@gmail.com

We have a separate Eclipse project which contains ONLY the resources we
ever touched. But even like this no one of the procedures seems easy for
the moment

regards,
Flopa
Given the amount of changes required to back port you're probably better to upgrade to a newer revision, depending on how you've 
handled your custom code and what tests you have in place to verify your main areas of functionality, it should be relatively 
straightforward.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 25/01/2010, at 7:01 AM, Florin Popa wrote:



Hello all,


We started to develop an e-commerce application based on Ofbiz framework around 
2 years ago.
The version we started from is a revision 691692.

Main problem is that we already have few systems launched into production, 
based on that revision.

Meanwhile, doing some mass tests, we encountered a lot of problems - mostly 
related to transactions...
We noticed the implementation of /framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java has lots of problems 
from this point of view - maybe not thread safe.


We just checked out today revision 902810 and it seems someone really improved a lot that source code from threads-safe point of 
view.
Trying to upgrade only that class into our old version drove to upgrade for more and more classes. We encountered lots of 
incompatibilities - the source code has been in some places fully changed. Right now, having more than 800 compilation errors I 
would not feel too optimist to integrate only what I need from the newer version into the old one.


On the other hand, trying to get 902810 and then put over our work might also cause same problems because the entity layer and 
conditions handling seems to be changed.. I even expect to be worse that way because maybe web templates are also changed.


Which way could someone suggest to proceed for a better version where all database/entity layer/transaction later problems are 
fixed?



Many thanks,
Flopa












Re: Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa

Hello Scott,

Additionally, I just noticed that revision 902810 could not be started:

[java] 2010-01-25 15:12:48,825 (main) [   

ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: statusDelay of view-entity ExampleStatusDetail


 [java] 2010-01-25 15:12:48,933 (main) [   

ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOrdered of view-entity 
OrderItemQuantityReportGroupByItem


 [java] 2010-01-25 15:12:48,934 (main) [   

ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOpen of view-entity 
OrderItemQuantityReportGroupByItem


 [java] 2010-01-25 15:12:48,934 (main) [   

ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOrdered of view-entity 
OrderItemQuantityReportGroupByProduct


 [java] 2010-01-25 15:12:48,934 (main) [   

ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOpen of view-entity 
OrderItemQuantityReportGroupByProduct


 [java] 2010-01-25 15:12:48,947 (main) [   

ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOrdered of view-entity 
OrderItemAndShipGrpInvResAndItemSum


 [java] 2010-01-25 15:12:48,947 (main) [   

ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: totQuantityAvailable of view-entity 
OrderItemAndShipGrpInvResAndItemSum


 [java] 2010-01-25 15:12:49,056 (main) [   


ModelReader.java:389:INFO ] FINISHED LOADING ENTITIES - ALL FILES;

#Entities=839 #ViewEntities=263 #Fields=8747 #Relationships=2903

#AutoRelationships=2138

 [java] 2010-01-25 15:12:49,068 (main) [  


GenericDelegator.java:232:INFO ] Doing entity definition check...

 [java] 2010-01-25 15:12:49,072 (main) [ 
ModelEntityChecker.java:501:INFO ] [initReservedWords] array length=1023


 [java] Exception in thread main java.lang.NullPointerException

 [java] at

org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:484)

 [java] at

org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101)

 [java] at

org.ofbiz.entity.GenericDelegator.init(GenericDelegator.java:233)

 [java] at

org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:43)

 [java] at

org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)

 [java] at

org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:181)

 [java] at

org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:31)

 [java] at

org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:229)

 [java] at

org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)

 [java] at

org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)

 [java] at org.ofbiz.base.start.Start.startServer(Start.java:322)

 [java] at org.ofbiz.base.start.Start.start(Start.java:326)

 [java] at org.ofbiz.base.start.Start.main(Start.java:411)

 [java] 2010-01-25 15:12:49,176 (OFBiz_Shutdown_Hook) [   


ContainerLoader.java:113:INFO ] Shutting down containers

 [java] Java Result: 1



BUILD SUCCESSFUL

Total time: 8 seconds





Can you help please?

thanks,
Flopa

Given the amount of changes required to back port you're probably better to 
upgrade to a newer revision, depending on how you've handled your custom code 
and what tests you have in place to verify your main areas of functionality, it 
should be relatively straightforward.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 25/01/2010, at 7:01 AM, Florin Popa wrote:

  

Hello all,


We started to develop an e-commerce application based on Ofbiz framework around 
2 years ago.
The version we started from is a revision 691692.

Main problem is that we already have few systems launched into production, 
based on that revision.

Meanwhile, doing some mass tests, we encountered a lot of problems - mostly 
related to transactions...
We noticed the implementation of 
/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java has 
lots of problems from this point of view - maybe not thread safe.

We just checked out today revision 902810 and it seems someone really 

Re: Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa
I am not quite sure if a JIRA with exactly my non thread-safe issue 
could be found.. so I started with the target to upgrade that class and 
all related..but those related drove us further to more and more - at 
least for the moment it seems no chance that way


thanks,
Flopa
If you are mostly interested by the framework fixes, you may try to 
apply the patches you may found in respective Jira issues...


Jacques

From: Florin Popa flopacons...@gmail.com

We have a separate Eclipse project which contains ONLY the resources we
ever touched. But even like this no one of the procedures seems easy for
the moment

regards,
Flopa
Given the amount of changes required to back port you're probably 
better to upgrade to a newer revision, depending on how you've 
handled your custom code and what tests you have in place to verify 
your main areas of functionality, it should be relatively 
straightforward.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 25/01/2010, at 7:01 AM, Florin Popa wrote:



Hello all,


We started to develop an e-commerce application based on Ofbiz 
framework around 2 years ago.

The version we started from is a revision 691692.

Main problem is that we already have few systems launched into 
production, based on that revision.


Meanwhile, doing some mass tests, we encountered a lot of problems 
- mostly related to transactions...
We noticed the implementation of 
/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java 
has lots of problems from this point of view - maybe not thread safe.


We just checked out today revision 902810 and it seems someone 
really improved a lot that source code from threads-safe point of 
view.
Trying to upgrade only that class into our old version drove to 
upgrade for more and more classes. We encountered lots of 
incompatibilities - the source code has been in some places fully 
changed. Right now, having more than 800 compilation errors I would 
not feel too optimist to integrate only what I need from the newer 
version into the old one.


On the other hand, trying to get 902810 and then put over our work 
might also cause same problems because the entity layer and 
conditions handling seems to be changed.. I even expect to be worse 
that way because maybe web templates are also changed.


Which way could someone suggest to proceed for a better version 
where all database/entity layer/transaction later problems are fixed?



Many thanks,
Flopa















Update entity product - mass update for producut price

2010-01-25 Thread su2

Hello All,

We have requirement where we need to do mass update on product price(also
few other things, supplier etc) once every two weeks, we have thousands of
products for which manual updates are not possible.

I would really appreciate if someone can give me some idea. We have
ProductID and Product Price in one excel.

Thank you in advance.
Su-

 
-- 
View this message in context: 
http://n4.nabble.com/Update-entity-product-mass-update-for-producut-price-tp1289414p1289414.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Update entity product - mass update for producut price

2010-01-25 Thread Jeroen van der Wal
Hi Su,

We've used Talend Open Studio in a project to upload data from various
sources by calling services through the XML-RPC interface.

Jeroen van der Wal
Stromboli b.v.
+31 655 874050


On Mon, Jan 25, 2010 at 3:47 PM, su2 shu...@pexsupply.com wrote:


 Hello All,

 We have requirement where we need to do mass update on product price(also
 few other things, supplier etc) once every two weeks, we have thousands of
 products for which manual updates are not possible.

 I would really appreciate if someone can give me some idea. We have
 ProductID and Product Price in one excel.

 Thank you in advance.
 Su-


 --
 View this message in context:
 http://n4.nabble.com/Update-entity-product-mass-update-for-producut-price-tp1289414p1289414.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: does anyone know ofbiz?

2010-01-25 Thread Ruth Hoffman

Hi Chris:
True. Maybe difficult is a poor choice of words. What is difficult 
aside from finding the time, is finding the right words to accurately 
articulate how the applications work. Business process documentation 
would certainly help.


Regards,
Ruth

Chris Snow wrote:

Hi Ruth,

I wouldn't even say it's difficult to figure out the existing 
applications.  It is very time consuming.  Without high level overview 
documentation, the only way to understand the existing apps is to go 
through each line of code.


I really think there should be a process documentation effort - of 
which I'm willing to give my time...


Cheers,

Chris

Ruth Hoffman wrote:

Hi Chris:
I think you are spot on. Once you understand the basics, it is 
relatively easy to develop data driven web applications with the 
OFBiz framework. I've been doing just that for several years now. All 
that nasty database stuff is taken care of - leaving me free to 
develop real world solutions in short order.


What is much more difficult is to figure out how to use the existing 
applications to solve real world problems. I'm still struggling with 
that.


Regards,
Ruth

Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
ruth.hoff...@myofbiz.com

Chris Snow wrote:

Hi Marc,

This is one of the reasons I have been pushing for and independent 
ofbiz framework.  It's is relatively quick to learn how to develop 
standalone apps in ofbiz.  I believe with ofbiz, you can develop 
small applications as quickly as you can in MS Access - with a lot 
more benefits when using ofbiz (multiuser, web enabled, extendable, 
etc).


However, in my opinion, it takes years of experience to be able to 
use the existing apps (partymgmt, ordermgmt, etc).


Cheers,

Chris


Marc Morin wrote:
It's taken us about 6-12 months to get proficient in ofbiz  
mostly because we mostly resisted doing things the ofbiz way


- Original Message -
From: Adrian Crum adrian.c...@yahoo.com
To: user@ofbiz.apache.org
Sent: Friday, January 22, 2010 7:04:01 PM GMT -05:00 US/Canada Eastern
Subject: Re: does anyone know ofbiz?

--- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote:
 

Is it possible for one person to have a deep understanding
of how ALL of the components in ofbiz work?  It is
vast.  I have found that the only way to tackle the
problem is to break in into chucks: the framework, party
management, work effort...  At the rate I'm going I
will have figured it all out in 5 years time.



It took me about 6 months to wrap my head around OFBiz. I have been 
using it for 6 years and there are things that I'm still learning 
about it.


-Adrian




  








Re: Update entity product - mass update for producut price

2010-01-25 Thread su2

Thank you Jeroen for the reply.

Can you please elaborate the 'calling services through the XML-RPC
interface.' 

As what I understood from webtools  XML import  i can import data, but i
want to update data that means I will have WHERE condition while updating
the tables/entities.

I am looking into Talend Open Studio. 

Thank you.
su- 
-- 
View this message in context: 
http://n4.nabble.com/Update-entity-product-mass-update-for-producut-price-tp1289414p1289508.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


build error on stable release

2010-01-25 Thread Patrick
I think I am running the most stable release 9.04, but I can't
completely remember which version I downloaded.  How can I get the
version number from OfBiz?

I was going to use my build number to ask this question.  I tried to
compile by running ant, I just typed ant in the ofbiz-trunk
directory.  I get the following error.

BUILD FAILED
/opt/ofbiz-trunk/build.xml:190: The following error occurred while
executing this line:
/opt/ofbiz-trunk/framework/build.xml:147: The following error occurred
while executing this line:
/opt/ofbiz-trunk/macros.xml:27: The following error occurred while
executing this line:
/opt/ofbiz-trunk/common.xml:51: taskdef A class needed by class
org.ofbiz.tools.ant.IfTask cannot be found: ConditionBase

Line 51 is this: taskdef name=if
classname=org.ofbiz.tools.ant.IfTask
classpath=${ofbiz.home.dir}/tools/build/classes/

What should I do to make it compile?  Thanks.
Patrick


Re: build error on stable release

2010-01-25 Thread Adrian Crum

ant build

or

ant run-install

-Adrian


Patrick wrote:

I think I am running the most stable release 9.04, but I can't
completely remember which version I downloaded.  How can I get the
version number from OfBiz?

I was going to use my build number to ask this question.  I tried to
compile by running ant, I just typed ant in the ofbiz-trunk
directory.  I get the following error.

BUILD FAILED
/opt/ofbiz-trunk/build.xml:190: The following error occurred while
executing this line:
/opt/ofbiz-trunk/framework/build.xml:147: The following error occurred
while executing this line:
/opt/ofbiz-trunk/macros.xml:27: The following error occurred while
executing this line:
/opt/ofbiz-trunk/common.xml:51: taskdef A class needed by class
org.ofbiz.tools.ant.IfTask cannot be found: ConditionBase

Line 51 is this: taskdef name=if
classname=org.ofbiz.tools.ant.IfTask
classpath=${ofbiz.home.dir}/tools/build/classes/

What should I do to make it compile?  Thanks.
Patrick



Re: build error on stable release

2010-01-25 Thread Mridul Pathak
If you have checked it out via SVN, then to get the revision number of your
installed copy, on terminal go to OFBiz trunk directory, and run svn info
command, it will give you the revision info of your installed copy.

-- 
Thanks  Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892


On Mon, Jan 25, 2010 at 12:49 PM, Patrick patrickinminneapo...@gmail.comwrote:

 I think I am running the most stable release 9.04, but I can't
 completely remember which version I downloaded.  How can I get the
 version number from OfBiz?

 I was going to use my build number to ask this question.  I tried to
 compile by running ant, I just typed ant in the ofbiz-trunk
 directory.  I get the following error.

 BUILD FAILED
 /opt/ofbiz-trunk/build.xml:190: The following error occurred while
 executing this line:
 /opt/ofbiz-trunk/framework/build.xml:147: The following error occurred
 while executing this line:
 /opt/ofbiz-trunk/macros.xml:27: The following error occurred while
 executing this line:
 /opt/ofbiz-trunk/common.xml:51: taskdef A class needed by class
 org.ofbiz.tools.ant.IfTask cannot be found: ConditionBase

 Line 51 is this: taskdef name=if
 classname=org.ofbiz.tools.ant.IfTask
 classpath=${ofbiz.home.dir}/tools/build/classes/

 What should I do to make it compile?  Thanks.
 Patrick



How to get a handle on the e-commerce engine?

2010-01-25 Thread Patrick
I've gone through all the tutorials.  What do you think I should do to
get a handle on the e-commerce customization?
Also is there an interface to look at the SQL tables, something like
phpMyAdmin?   Thanks Patrick


Re: How to get a handle on the e-commerce engine?

2010-01-25 Thread Ruth Hoffman

Hi Patrick:
You could purchase and read my 2 books. (http://www.myofbiz.com) They 
explain OFBiz ecommerce from an end-user's point of view. What you get 
OOTB. Once you understand what comes with OFBiz, it makes it much easier 
to customize. Some other people have found these useful.


As for a SQL interface, try the Webtool Entity Reference - Interactive 
Version. There is also some information floating around about how to use 
Eclipse and another 3rd party tool (can't remember the name) to view the 
Derby database. Personally, I find the Webtools reference is really useful.


Regards,
Ruth

Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
ruth.hoff...@myofbiz.com

Patrick wrote:

I've gone through all the tutorials.  What do you think I should do to
get a handle on the e-commerce customization?
Also is there an interface to look at the SQL tables, something like
phpMyAdmin?   Thanks Patrick

  


Re: How to get a handle on the e-commerce engine?

2010-01-25 Thread Hans Bakker
look at the entity reference in webtools...it includes a entity content
browser and works on any database. When i saw this i completely switched
to using OFBiz 5 years ago

On Mon, 2010-01-25 at 16:39 -0600, Patrick wrote:
 I've gone through all the tutorials.  What do you think I should do to
 get a handle on the e-commerce customization?
 Also is there an interface to look at the SQL tables, something like
 phpMyAdmin?   Thanks Patrick
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: How to get a handle on the e-commerce engine?

2010-01-25 Thread Matt Warnock
On Mon, 2010-01-25 at 16:39 -0600, Patrick wrote:
 I've gone through all the tutorials.  What do you think I should do to
 get a handle on the e-commerce customization?
 Also is there an interface to look at the SQL tables, something like
 phpMyAdmin?   Thanks Patrick

If you set up the entity engine to use MySQL for the backend, you *can*
use phpMyAdmin.  One of the nice things about DB-agnosticism.

-- 
Matt Warnock mwarn...@ridgecrestherbals.com
RidgeCrest Herbals, Inc.



Re: Is there a hook after loadComponents method?

2010-01-25 Thread Zhang Shiqian
Thanks for your quick replay, but how to get resources from other loaded
modules?

On Tue, Jan 26, 2010 at 12:15 AM, Adrian Crum adri...@hlmksw.com wrote:

 You could create a component that loads last.

 -Adrian


 Zhang Shiqian wrote:

 Hi all,

 I want to caching some resources from modules after all modules were
 loaded,
 what should i do? Is there a hook after loadComponents method or other
 solutions? Thanks!




-- 
-- 
Regards,

Zhang Shiqian

Wizitsoft Information Technology Ltd.
www.wizitsoft.com | Phone: (8610)6267 0653 ext 604 | Mobile: (86)13264158885


Re: does anyone know ofbiz?

2010-01-25 Thread David E Jones

The UBPL stories might be helpful for you Chris, but I think they are different 
from what you are looking for.

The goal of UBPL is to get people collaborating in a more structured way on 
gathering requirements, and then based on those requirements collaborate on 
designs, and THEN collaborate on implementation of those designs. It is not an 
attempt to document what is already in OFBiz, but rather to document common 
business requirements in the form of processes to help refine and flesh-out 
OFBiz (ie to drive the future of OFBiz).

The reason for this goal is that typically there has been little if any 
collaboration on requirements and designs in OFBiz. This works to some extent 
because the OFBiz base applications (those in the components in the 
ofbiz/applications directory) are meant to be generic and reusable, and that 
means organized around a data model and NOT around business processes in order 
to support a wider variety of business processes, and so the artifacts are 
reusable in custom or derived applications that are designed to support a wide 
variety of business processes.

In other words, you could try to document the business processes supported by 
OFBiz, but you would never finish because there is no single process or even a 
small set of processes that OFBiz supports... it really a very large set of 
processes.

Your best bet to find things in OFBiz is to gain an understanding of the data 
model, and then to use tools like the Artifact Info stuff in web tools to find 
related artifacts (ie controller requests and views, screens, forms, service 
definitions, service implementations, and so on. When you do this you'll see a 
number of process snippets that are modeled as services (like creating an 
order), or triggers that get other processes going in the form of ECA rules 
(like creating an invoice for part or all of an order when items from that 
order are in a packed shipment).

I'm actually a little bit surprised that no one else has brought up these 
points. This has been discussed many many times. Or maybe I've presented it 
many many times and no one believes me...?

-David



On Jan 25, 2010, at 8:25 AM, Jeroen van der Wal wrote:

 Hi Chris,
 
 There is already an initiative do document high-level processes:
 http://cwiki.apache.org/confluence/display/OFBREQDES/Universal+Business+Process+Library+Index
 
 Jeroen van der Wal
 Stromboli b.v.
 +31 655 874050
 
 
 On Mon, Jan 25, 2010 at 3:18 PM, Chris Snow 
 sno...@snowconsulting.co.ukwrote:
 
 Hi Ruth,
 
 I wouldn't even say it's difficult to figure out the existing applications.
 It is very time consuming.  Without high level overview documentation, the
 only way to understand the existing apps is to go through each line of code.
 
 I really think there should be a process documentation effort - of which
 I'm willing to give my time...
 
 Cheers,
 
 Chris
 
 
 Ruth Hoffman wrote:
 
 Hi Chris:
 I think you are spot on. Once you understand the basics, it is relatively
 easy to develop data driven web applications with the OFBiz framework. I've
 been doing just that for several years now. All that nasty database stuff
 is taken care of - leaving me free to develop real world solutions in short
 order.
 
 What is much more difficult is to figure out how to use the existing
 applications to solve real world problems. I'm still struggling with that.
 
 Regards,
 Ruth
 
 Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
 ruth.hoff...@myofbiz.com
 
 Chris Snow wrote:
 
 Hi Marc,
 
 This is one of the reasons I have been pushing for and independent ofbiz
 framework.  It's is relatively quick to learn how to develop standalone 
 apps
 in ofbiz.  I believe with ofbiz, you can develop small applications as
 quickly as you can in MS Access - with a lot more benefits when using ofbiz
 (multiuser, web enabled, extendable, etc).
 
 However, in my opinion, it takes years of experience to be able to use
 the existing apps (partymgmt, ordermgmt, etc).
 
 Cheers,
 
 Chris
 
 
 Marc Morin wrote:
 
 It's taken us about 6-12 months to get proficient in ofbiz  mostly
 because we mostly resisted doing things the ofbiz way
 
 - Original Message -
 From: Adrian Crum adrian.c...@yahoo.com
 To: user@ofbiz.apache.org
 Sent: Friday, January 22, 2010 7:04:01 PM GMT -05:00 US/Canada Eastern
 Subject: Re: does anyone know ofbiz?
 
 --- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote:
 
 
 Is it possible for one person to have a deep understanding
 of how ALL of the components in ofbiz work?  It is
 vast.  I have found that the only way to tackle the
 problem is to break in into chucks: the framework, party
 management, work effort...  At the rate I'm going I
 will have figured it all out in 5 years time.
 
 
 
 It took me about 6 months to wrap my head around OFBiz. I have been
 using it for 6 years and there are things that I'm still learning about 
 it.
 
 

Re: restricting store/catalog/product access

2010-01-25 Thread David E Jones

Sorry to respond with a lack of timeliness...

As I mentioned in a previous message this is only support on the Store level, 
and not on the Catalog, Category, or Product levels.

The basic idea is if you set the Require Customer Role flag on the Store then a 
user will only be able to login to the ecommerce site (specifically for that 
store) if they are associated with the Store in the Customer role.

So, just set that flag on the store, then in the Role(s) tab for the store 
add the people (Parties) you want to have access in the Customer role.

-David


On Jan 12, 2010, at 2:05 PM, sgrossman wrote:

 
 Trying this again in a new post.
 
 
 Is there step by step instructions somewhere on  setting up restricting
 login/party to a store or catalog?
 
 I would like to have products (if it has to be a whole catalog that is ok)
 that are only visible to a specific party group.
 
 Specifically:
 Do I have  a catalog that is associated to the store that has all products
 that everyone can see, and then
 have a catalog that is for the special party group but not associated to the
 store?  If so how would the logins in that party group switch to the other
 catalog?
 
 Thanks!
 Sarah 
 -- 
 View this message in context: 
 http://n4.nabble.com/restricting-store-catalog-product-access-tp1012419p1012419.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.