documentation on creating help pages
Is there any documentation on writing help pages for the help system? Many thanks, Chris
Re: documentation on creating help pages
Thanks BJ. On 17/05/10 21:59, BJ Freeman wrote: the seem to follow the information on the http://docbook.org/ they are put in the ofbiz_home/component/documentation/ folder = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automationhttp://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.comhttp://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Christopher Snow sent the following on 5/17/2010 1:26 PM: Is there any documentation on writing help pages for the help system? Many thanks, Chris
Re: documentation on creating help pages
Does the help system support i18n? I.e. can help pages be written in different languages? Many thanks, Chris On 17/05/10 21:26, Christopher Snow wrote: Is there any documentation on writing help pages for the help system? Many thanks, Chris
Re: documentation on creating help pages
Hi Jacques, I'm happy creating docbook files in xml and eclipse, but I am a bit confused with the instructions at https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content . It refers to: - ComponentNameHelpUrls in the main-decorator - config/ComponentNameHelpUrls.xml However, the catalog (product) component doesn't have those? It looks as though the configuration is done instead using the content management component with data/ProductHelpData.xml. Are the instructions at https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content still valid? I will take another look tomorrow morning... Many thanks, Chris On 17/05/10 22:14, Jacques Le Roux wrote: I know that https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content Before this existed I just used my XML editor (Oxygen) in Eclipse. By chance Oxygen is handling pretty well Docbook, and it's not expensive (some euros/year) Jacques From: Christopher Snow sno...@snowconsulting.co.uk Is there any documentation on writing help pages for the help system? Many thanks, Chris
Re: documentation on creating help pages
Ok, I think the following file is no longer used: /applications/product/documents/Product.xml If so, I can create a JIRA. So, should it be removed? On 17/05/10 22:39, Christopher Snow wrote: Hi Jacques, I'm happy creating docbook files in xml and eclipse, but I am a bit confused with the instructions at https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content . It refers to: - ComponentNameHelpUrls in the main-decorator - config/ComponentNameHelpUrls.xml However, the catalog (product) component doesn't have those? It looks as though the configuration is done instead using the content management component with data/ProductHelpData.xml. Are the instructions at https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content still valid? I will take another look tomorrow morning... Many thanks, Chris On 17/05/10 22:14, Jacques Le Roux wrote: I know that https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content Before this existed I just used my XML editor (Oxygen) in Eclipse. By chance Oxygen is handling pretty well Docbook, and it's not expensive (some euros/year) Jacques From: Christopher Snow sno...@snowconsulting.co.uk Is there any documentation on writing help pages for the help system? Many thanks, Chris
Re: documentation on creating help pages howto
Thanks for the link Hans that all makes sense now. Locally I didn't have any demo data installed so: http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML - just gave me a HTTP 404 so I assumed that it was just because it was Experimental! It may be worth modifying the wiki page for slow learners like me: We are currently setting up a document which is located inside the OFBiz system. You can access it in using the demo server http://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML or when you have OFBiz running locally with the url: http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML (you need demo data installed for this link to work). Many thanks, Chris On 18/05/10 01:11, Hans Bakker wrote: Hi Chris, why not look at the documentation in the same help pages on how to create them? As can be done with any help page look at hem in the overall view of the same information To create new help pages: http://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML#N23572 please be patient with loading, te document is not getting rather big. Regards, Hans On Mon, 2010-05-17 at 22:48 +0100, Christopher Snow wrote: Ok, I think the following file is no longer used: /applications/product/documents/Product.xml If so, I can create a JIRA. So, should it be removed? On 17/05/10 22:39, Christopher Snow wrote: Hi Jacques, I'm happy creating docbook files in xml and eclipse, but I am a bit confused with the instructions at https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content . It refers to: - ComponentNameHelpUrls in the main-decorator - config/ComponentNameHelpUrls.xml However, the catalog (product) component doesn't have those? It looks as though the configuration is done instead using the content management component with data/ProductHelpData.xml. Are the instructions at https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content still valid? I will take another look tomorrow morning... Many thanks, Chris On 17/05/10 22:14, Jacques Le Roux wrote: I know that https://cwiki.apache.org/confluence/display/OFBENDUSER/Help+for+providing+help+content Before this existed I just used my XML editor (Oxygen) in Eclipse. By chance Oxygen is handling pretty well Docbook, and it's not expensive (some euros/year) Jacques From: Christopher Snowsno...@snowconsulting.co.uk Is there any documentation on writing help pages for the help system? Many thanks, Chris
Re: Permission required to add product to ViewAllow / PurchaseAllow
Thanks Jacques! On 16/05/10 09:13, Jacques Le Roux wrote: Chris, I think your answer is here https://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-CatalogSetup Jacques From: chris snow chsnow...@googlemail.com Hi BJ, I know how the security system works - but I still don't understand the meaning of the fields on the form: https://localhost:8443/catalog/control/EditProdCatalog I am trying to write the help text for these fields from an catalog administrators perspective, for example: Permission required to add product to ViewAllow category: if this is Y, catalog administrators can only add products to 'View Allow' categories if the have the permission CATALOG_VIEW_ALLOW Question: is this description correct? when would you want to set this to Y? Permission required to add product to PurchaseAllow category: if this is Y, catalog administrators can only add products to 'Purchase Allow' categories if the have the permission CATALOG_VIEW_ALLOW Question: is this description correct? when would you want to set this to Y? Many thanks, Chris On Sat, May 15, 2010 at 11:21 PM, BJ Freeman bjf...@free-man.net wrote: the permission are programmed in to widgets, ftl and services. there are two parts to a permission is the permission is that action _ _VIEW for permission. _VIEW should only allow seeing data. note the _ preceding it. if you want to granularize something more then created a new section or Permission _ here are the permission groups https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=UserLoginSecurityGroupfind=trueVIEW_SIZE=50VIEW_INDEX=0 and add the following _CREATE _UPDATE _DELETE _VIEW _ADMIN https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=SecurityGroupPermissionfind=trueVIEW_SIZE=50VIEW_INDEX=0 like !security.hasPermission(LEARN_VIEW,(GenericValue)context.get(userLogin))) if-has-permission permission=ORDERMGR action=_VIEW/ If you find others that are different they are not following the best practices. === BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Christopher Snow sent the following on 5/15/2010 2:28 PM: There are two options when creating/editing a Product Catalog: - Permission required to add product to ViewAllow category - Permission required to add product to PurchaseAllow category What do these options actually do? Many thanks, Chris
Permission required to add product to ViewAllow / PurchaseAllow
There are two options when creating/editing a Product Catalog: - Permission required to add product to ViewAllow category - Permission required to add product to PurchaseAllow category What do these options actually do? Many thanks, Chris
where can i find the ManagerApplicationXXX.pdf reference manuals?
Hi Forum, Where can I find the Manager Reference guides as contributed by Undersun, i.e.? - ManagerReferenceAccounting.pdf - ManagerReferenceCatalog.pdf - ManagerReferenceContent.pdf - etc BTW, am i doing something wrong with the way I search the wiki I can never seem to find anything? Many thanks, Chris
Re: help feature 1.04
Thanks BJ! I have put some basic documentation describing the steps at: http://cwiki.apache.org/confluence/x/jgE7AQ On 02/05/10 00:07, BJ Freeman wrote: this is part of thread from the dev list. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automationhttp://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.comhttp://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Christopher Snow sent the following on 5/1/2010 1:32 PM: Hi BJ, The patch for displaying the tooltip help was in a few days ago so should be in 10.04. You can see it in action by going to the following link: https://demo-trunk.ofbiz.apache.org/example/control/EditExample?exampleId=1 Hover over the field labels (e.g. Example Id, Type, etc) and you should see an informative help message. The patches we are talking about here are for providing the actual text that gets displayed when you hover over a field label. Providing the actual text is similar to adding translation messages in property files. Cheers, Chris
getting parent component name
Is it possible to get the name of the component that an entity belongs too? E.g. something like: Delegator delegator = (Delegator) request.getAttribute(delegator); ModelReader reader = delegator.getModelReader(); ModelEntity entity = reader.getModelEntity(myEntity); // return the name of the component that an entity belongs to String entityComponent = entity.getComponentName(); Many thanks in advance, Chris
Re: virtual product and features
On trunk, I have noticed that although there is the error message, but there is another message above the Add Variant Products box: *No selectable Features found . Please create some and try again. *So it appears that r4 allows you to add variants without selectable features while newer versions don't. I can still manually add the product variant through the associations screen on trunk, so as long as this doesn't get fixed, I will use this method. Is this ever likely to get fixed? Many thanks in advance, Chris Christopher Snow wrote: Hi Ruth/Scott, This post is related to a post I did some time ago. My client is a vehicle breaker that scraps vehicles, and sells the individual components. When they scrap a vehicle, they keep the main components such as the engine and later sell those items individually. Some of the engines may be serialized and some may not. For example, they may have scrapped 10 Porsche 911 3.2 Carrera series (1984–1989) cars and have the following engines: Porsche 911 3.2 liter horizontally opposed flat 6 cylinder engine - non-serialized, QOH = 8, price £1,500 each - serialized, QOH 2 : - serial #12345, description excellent condition, price £2,000 - serial #23456, description doesn't start, price £500 From the trials that I have done with ofbiz r4.0, the stock management aspect works great. Using the following steps: - create a product of type virtual (e.g. POR911-3.2-FL6) - create non-serialized stock for POR911-3.2-FL6 and add 8 units - create a product of type variant (e.g. POR911-3.2-FL6-12345) - select POR911-3.2-FL6 product, in variants tab, enter POR911-3.2-FL6 and click Add variant product - create a product of type variant (e.g. POR911-3.2-FL6-23456) - select POR911-3.2-FL6 product, in variants tab, enter POR911-3.2-FL6 and click Add variant product - create serialized stock for POR911-3.2-FL6-12345 and POR911-3.2-FL6-12345 - create serialized stock for POR911-3.2-FL6-12345 and POR911-3.2-FL6-23456 At the moment they don't need ecommerce, they just need stock management, but when they do need ecommerce, then I guess I will have to write some custom pages to allow their customers to be able to see the description and prices of individual stock items and choose the item that best suits their requirements. Features don't seem to make sense for this application, and I'm not sure where virtual/variant products is the right way to go either. Perhaps I should model the association purely as a product association of equivalent or substitute. However, one benefit of using virtual/variant is that in the catalog inventory screens, it shows a nice summary of stock for each variant. However, when trying to add variants in various ofbiz versions, I get the following result: TRUNK: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (null) 9.04: No selectable Features found . Please create some and try again. 4.0: All ok - no error - create a product of type virtual (e.g. CS-VIRT1) - create a product of type variant (e.g. CS-VAR1) - select CS-VIRT1 product, in variants tab, enter CS-VAR1 and click Add variant product Any ideas? Many thanks, Chris Ruth Hoffman wrote: Hi Chris: This is just my opinion, but yes you could do that, but be aware that the ecommerce application makes some assumptions about virtual and variant products. (For example, how to display HTML select boxes that allow a site visitor to choose the variation of a virtual product.) At a minimum, the ecommerce application may not know how to handle your products in terms of catalog listings, shopping cart displays etc. I haven't looked at the code lately so I'm not sure what the total impact would be. What are you trying to do? Regards, Ruth Chris Snow wrote: Can a variant product be linked to a virtual product without using features? Many thanks in advance,
Re: virtual product and features
Hi Ruth/Scott, This post is related to a post I did some time ago. My client is a vehicle breaker that scraps vehicles, and sells the individual components. When they scrap a vehicle, they keep the main components such as the engine and later sell those items individually. Some of the engines may be serialized and some may not. For example, they may have scrapped 10 Porsche 911 3.2 Carrera series (1984–1989) cars and have the following engines: Porsche 911 3.2 liter horizontally opposed flat 6 cylinder engine - non-serialized, QOH = 8, price £1,500 each - serialized, QOH 2 : - serial #12345, description excellent condition, price £2,000 - serial #23456, description doesn't start, price £500 From the trials that I have done with ofbiz r4.0, the stock management aspect works great. Using the following steps: - create a product of type virtual (e.g. POR911-3.2-FL6) - create non-serialized stock for POR911-3.2-FL6 and add 8 units - create a product of type variant (e.g. POR911-3.2-FL6-12345) - select POR911-3.2-FL6 product, in variants tab, enter POR911-3.2-FL6 and click Add variant product - create a product of type variant (e.g. POR911-3.2-FL6-23456) - select POR911-3.2-FL6 product, in variants tab, enter POR911-3.2-FL6 and click Add variant product - create serialized stock for POR911-3.2-FL6-12345 and POR911-3.2-FL6-12345 - create serialized stock for POR911-3.2-FL6-12345 and POR911-3.2-FL6-23456 At the moment they don't need ecommerce, they just need stock management, but when they do need ecommerce, then I guess I will have to write some custom pages to allow their customers to be able to see the description and prices of individual stock items and choose the item that best suits their requirements. Features don't seem to make sense for this application, and I'm not sure where virtual/variant products is the right way to go either. Perhaps I should model the association purely as a product association of equivalent or substitute. However, one benefit of using virtual/variant is that in the catalog inventory screens, it shows a nice summary of stock for each variant. However, when trying to add variants in various ofbiz versions, I get the following result: TRUNK: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (null) 9.04: No selectable Features found . Please create some and try again. 4.0: All ok - no error - create a product of type virtual (e.g. CS-VIRT1) - create a product of type variant (e.g. CS-VAR1) - select CS-VIRT1 product, in variants tab, enter CS-VAR1 and click Add variant product Any ideas? Many thanks, Chris Ruth Hoffman wrote: Hi Chris: This is just my opinion, but yes you could do that, but be aware that the ecommerce application makes some assumptions about virtual and variant products. (For example, how to display HTML select boxes that allow a site visitor to choose the variation of a virtual product.) At a minimum, the ecommerce application may not know how to handle your products in terms of catalog listings, shopping cart displays etc. I haven't looked at the code lately so I'm not sure what the total impact would be. What are you trying to do? Regards, Ruth Chris Snow wrote: Can a variant product be linked to a virtual product without using features? Many thanks in advance,
demo store look and feel
The ofbiz demo store looks very tired compared to stores such as magento commerce demo (http://demo.magentocommerce.com/) Has anyone considered copying magento's look and feel for ofbiz? Many thanks, Chris
Re: demo store look and feel
My question was more along the lines of: 'Would a rip of magento look and feel be accepted into trunk?' BJ Freeman wrote: sure just create a theme. or take a couple from the backend and make them for ecommerce. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Christopher Snow sent the following on 3/25/2010 4:42 PM: The ofbiz demo store looks very tired compared to stores such as magento commerce demo (http://demo.magentocommerce.com/) Has anyone considered copying magento's look and feel for ofbiz? Many thanks, Chris
Re: Party Main Role
Hi Ashish, That makes it easy to get the main party role. How does one set the main party role? Many thanks, Chris Ashish Vijaywargiya wrote: Here is the code from ftl file: td #assign mainRole = dispatcher.runSync(getPartyMainRole, Static[org.ofbiz.base.util.UtilMisc].toMap(partyId, partyRow.partyId, userLogin, userLogin))/ ${mainRole.description?if_exists} /td Here is the code from service definition: service name=getPartyMainRole engine=simple location=component://party/script/org/ofbiz/party/party/PartyServices.xml invoke=getPartyMainRole descriptionGet the main role of this party which is a child of the MAIN_ROLE roletypeId/description attribute name=partyId type=String mode=IN optional=false/ attribute name=roleTypeId type=String mode=OUT optional=true/ attribute name=description type=String mode=OUT optional=true/ /service Here is the code from Mini Lang: simple-method method-name=getPartyMainRole short-description=Get the main role of this party which is a child of the MAIN_ROLE roletypeId entity-and entity-name=PartyRole list=partyRoles field-map field-name=partyId from-field=parameters.partyId / /entity-and !-- find the role in the list -- clear-field field=mainRoleTypeId/ iterate entry=partyRole list=partyRoles if-empty field=mainRoleTypeId entity-and entity-name=RoleTypeIn3Levels list=roleTypeIn3Levels field-map field-name=topRoleTypeId value=MAIN_ROLE / field-map field-name=lowRoleTypeId from-field=partyRole.roleTypeId / /entity-and if-not-empty field=roleTypeIn3Levels set field=mainRoleTypeId from-field=partyRole.roleTypeId / /if-not-empty /if-empty /iterate if-not-empty field=mainRoleTypeId field-to-result field=mainRoleTypeId result-name=roleTypeId / entity-one entity-name=RoleType value-field=roleType field-map field-name=roleTypeId from-field=mainRoleTypeId / /entity-one field-to-result result-name=description field=roleType.description / /if-not-empty /simple-method Please let me me know if you need any help to understand the code. In short refer RoleTypeIn3Levels entity. :-) Thanks! -- Ashish On Wed, Mar 24, 2010 at 7:15 PM, chris snow chsnow...@googlemail.com wrote: Hi Rishi, how is the main role differentiated from the other roles? Many thanks, Chris On Wed, Mar 24, 2010 at 1:41 PM, Rishi Solanki rishisolan...@gmail.comwrote: Hi, It is coming from RoleType entity in the dropdown. The Party main role as well as any other role is stored in PartyRole like ; BUYER, SALES_REP, CUSTOMER etc. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Wed, Mar 24, 2010 at 4:53 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: In the party find screen, there is a column to show the Party's Main Role. Where is the party main role stored? Many thanks in advance, Chris
old ofbiz versions
Is it possible to get hold of older ofbiz versions (e.g. 3.2)? I know they wont be supported - I'm just interested to see how the architecture has changed. Many thanks, Chris
ant create-component and websiteId
When I create a component with ant create-component, the web.xml contains: context-param param-namewebSiteId/param-name param-valueEXAMPLE/param-value descriptionA unique ID used to look up the WebSite entity/description /context-param What is the main purpose for the webSiteId? Many thanks in advance, Chris
draft of ofbiz gwt integration tutorial
I have started drafting a tutorial at: http://cwiki.apache.org/confluence/x/GAri Please let me know if this is useful
Re: Calling Ofbiz SOAP service
I had quite a few problems with the SOAP implementation. I did manage to get working with an axis client using AXIOM: http://cwiki.apache.org/confluence/x/b4KV I am using the following client XML to call the getOrderStatus service as a SOAP service. The Ofbiz getOrderStatus service takes in a string ordered param and returns a string statusId. The response packet contains only a '\r\n' in the body; Does anyone have any experience on the calling client side? soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/; xmlns:ser= http://ecomstaging.purityapps.com/webtools/control/SOAPService/ http://localhost/webtools/control/SOAPService/ http://localhost/webtools/control/SOAPService/%22 soapenv:Header/ soapenv:Body ser:getOrderStatus map-Map map-Entry map-Key std-String value=orderId/ /map-Key map-Value std-String value=1234/ /map-Value /map-Entry /map-Map /ser:getOrderStatus /soapenv:Body /soapenv:Envelope Thank You Len Shein mailto:lsh...@salmonllc.com lsh...@salmonllc.com mailto:lsh...@verizon.net lsh...@verizon.net Office: 516.742.7888 ext. 225 Office: 732.333.4303
Re: Brainstorming about the Framework: General
1) replace the ofbiz component loader (i.e. ofbiz configuration) with technology like OSGi or DI (e.g. spring) BENEFITS: + reduce the amount of time a new ofbiz developer working on the ofbiz framework will have to spend understanding the component loader + help manage the dependencies and interfaces between each component making them easier to test and operate independently of the whole framework (e.g. allowing use of the entity engine with grails, or entity engine + service engine with grails) + make ofbiz more desirable to framework developers 2) move the components (e.g. entity engine, service engine) to their own svn repositories, and move the component config files to a separate location away from the code. BENEFITS: + make it easier to manage patching, for example bug fixes to the entity engine would just be packaged into ofbiz-entity.jar and replace the existing jar in an ofbiz installation 3) make running in tomcat as a war an OOTB option. BENEFITS: + makes ofbiz more attractive to enterprises wanting ofbiz to fit in to their existing JEE architecture. ... probably more to follow ... If you could change anything about the OFBiz framework (not related to a specific tier), what would it be? This could be about how OFBiz is deployed, how the tools fit together, how application components are written and organized, and so on. All comments are welcome. If there is another tool you'd like to see used, please describe what you like about it (like I've found the aspect oriented inversion of control approach nice because I can plugin all sorts of tools and the full life cycle of the tools are managed for me) instead of just mentioning the tool (like let's use Spring!). Why am I asking? This topic comes up every once in a while, and it's true that many suggestions never get enough support to actually happen (or on further research it is decided that the idea is not tenable), but brainstorming about them to get ideas in the open is still a great thing. The history of OFBiz is full of things like this where users and more casual contributors had ideas and saw possibilities that others, even more involved contributors, totally missed or never looked at that way. What I think would be fun, and ultimately useful too, is to keep this mostly to brainstorming and not do too much comparing of ideas. BTW, if you want to brainstorm about one of the tiers (ie the Data, Logic, or UI tiers) please use the other threads on those. -David
Re: groovy code completion
Does the plugin work with other groovy projects? What operating system are you using? The groovy plugin doesn't work for example with the ubuntu supplied eclipse. Ravindra Mandre wrote: Using its plug-in may solve your problem. Ravindra On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui zhiyong...@gmail.com wrote: Why my groovy code completion is disabled in ofbiz project? The IDE I used is eclipse 3.5. -- View this message in context: http://n4.nabble.com/groovy-code-completion-tp1585483p1585483.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
Hi Raj, I didn't need entityext. I documented my findings here: http://cwiki.apache.org/confluence/x/zQDi I had also started working on completely separating the entity engine from the ofbiz container. This should be possible too with a bit more effort. As a first step towards OSGi, I was thinking of using spring to inject in the necessary resources (entityengine.xml, xx/entitymodel.xml). Cheers, Chris Raj Saini wrote: Hi Chris, Did you do any changes in the OFBiz code? entityext can be a problem as last time I checked it was dependent on service engine. I will work on it during the weekend and report my findings. Thanks, Raj Chris Snow wrote: I forgot the sql folder in the list! Hi Raj, Yesterday I managed to get a standalone entity engine + catalina running. it should be possible to even remove catalina - I only used it so that I could create a small web app to interact with the entity engine. The framework folders I used were: - start - base - entity - geronimo (requied for transactions) - catalina - entityext (may be possible to remove this) I think it should be possible to make a osgi bundle of the entity engine without catalina. I will post a page on the wiki documenting my steps. Cheers, Chris Hi Chris, It is because of the dependencies. Framework depends on applications and applications on framework. Even with the the framework, there was a dependency of entity engine depending on the service. I really wanted to create separate bundles for framework components such as entity engine, service engine, security, Geronimo etc. IIRC, problem was with entity engine depending service engine due to some other component ( I think securityext). Thanks, Raj Christopher Snow wrote: Hi Raj, Why was it not possible to deploy each application as an OSGi bundle? Many thanks, Chris Raj Saini wrote: I tried the OSGi thing but it was not possible to deploy each application as OSGi bundle. Instead I could create single bundle and run the OFBiz minimal container as OSGi bundle. Creating OSGi bundle for each application will be great. This is certainly the way forward to create modular OFBiz. I hope to work further on this very soon. You can find a bit more about OFBiz OSGi at http://sourceforge.net/projects/ofbiz-osgi/ Thanks, Raj Jacques Le Roux wrote: Chris, I agree that OSGI would be a better option than Grail. And yes, you put some good cards on the table, but... challenging isn'it ? If we succeed in removing components dependencies and take the time to think well about it, then why not? Jacques From: Christopher Snow sno...@snowconsulting.co.uk I like developing with ofbiz, but it is very cumbersome compared to developing with grails. I have even started creating some prototypes in grails to get some idea of what would be required to implement ofbiz in grails. Personaly, I don't think grails is suitable for building large applications like ofbiz. The business components would have to be either separated by directory structure within grails, or by creating a separate grails application for each component and using something like spring integration or web services for wiring the applications together. Either way, modularity is an issue. I've even looked at doing the same in JBoss seam. The same problem as grails with modularity. Some other thoughts... The more I learn about OSGi, the more that I think this is the way forward for modularity. Hibernate or JPA for persistence, although I think an application dictionary approach like Adempiere would reduce hand coding dramatically. jBPM could be used for the business services. This would have two advantages, GUI tools for business users, automatic documentation of the services. Perhaps even Flex and BlazeDS for the front end. This gives thick client functionality in a thin client. Miles Huang wrote: Hi OFBIZ users and developers, First of all, I'm a novice of OFBIZ. I've just started to learn and use it for a couple of month. So if I have made some mistake in the following post, criticisms are welcomed :clap: Does anyone using OFBIZ interested in porting OFBIZ to leverage a mature and decent web platform, more specifically Grails? The idea comes from the post from Christopher Snow, There was some interest in porting openerp to jython, and the recent hot topic groovy service code instead of minilang. Excuse me, I'm going a step further.:-P The problem an OFBIZ novice commonly facing is when he/she has to go further than the OFBIZ OOTB functionality ( which proves he/she is becoming a really OFBIZ user:drunk: ). He/she have to learn a lot of techniques in the unique OFBIZ way, which is commonly a well defined web framework/OR-mapping tool should take care. This make learning-curve steep. I fully understand the historical reason of OBFIZ, such as OFBIZ utilize the IoC idea earlier than Spring, entity-engine evolution over EJB2
instructions for running standalone entity engine
I have put together some instructions for running a standalone entity engine. http://cwiki.apache.org/confluence/x/zQDi Any comments / feedback will be appreciated. Many thanks, Chris
Re: Leveraging Youtube
AGoens wrote: From my perspective, small business owners need OFBiz, they just don't know it. Really? I've found that small business owners find ofbiz much too complex.
Re: Leveraging Youtube
Hi Jacopo, I'm not complaining - I'm merely stating my experiences. I am also trying to help with the areas that are a problem, such as documentation, bug fixes, etc. Jacopo Cappellato wrote: Chris, Ruth, Matt, I am sorry to know that your experience with OFBiz was not good; I wish you all the best with the software package that you will select for your business: but please, please, please, stop complaining here. Jacopo On Mar 1, 2010, at 3:58 PM, Matt Warnock wrote: I AM a small business owner, and you're both right. I need it, but the learning curve is too steep. On Mon, 2010-03-01 at 09:31 +, Christopher Snow wrote: AGoens wrote: From my perspective, small business owners need OFBiz, they just don't know it. Really? I've found that small business owners find ofbiz much too complex. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc.
Re: Leveraging Youtube
To turn this into a positive, perhaps we need somewhere on the wiki where we catalog the issues of the community? that way we won't need to keep fighting these battles. This shouldn't become an area for slating ofbiz, it shown be used to document actual issues and what is happening to resolve them. At the moment, every one has their own opinion what is best for ofbiz. However, we all agree that ofbiz needs more people interested in it - let's find out what users/developers really want from ofbiz? How about putting the ofbiz survey to use? Ruth is right, we should listen to our customers, especially those that are disheartened. Jacques Le Roux wrote: I agree with Jacopo, On the other hand it's also true that Chris try to help and is tossing around some interesting ideas (OSGI, etc.). So if we could have only this good relation it would be better for everybody I think... My 2cts Jacques
what keeps ofbiz in running state?
I'm spending some time looking through how the container principle works in ofbiz. I'm trying to get a minimal entity engine + catalina working. I have reduced the framework component-load.xml to only the following components: load-component component-location=geronimo/ load-component component-location=sql/ load-component component-location=entity/ load-component component-location=catalina/ I have commented out all applications + specialpurpose. When I do ant run, I get ofbiz to start, but then it immediately shuts down: ... [java] 2010-02-28 12:07:34,979 (main) [ Http11Protocol.java:209:INFO ] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443 [java] 2010-02-28 12:07:34,989 (main) [ CatalinaContainer.java:239:INFO ] Connector AJP/1.3 @ 8009 - not-secure [org.apache.jk.server.JkCoyoteHandler] started. [java] 2010-02-28 12:07:34,989 (main) [ CatalinaContainer.java:236:INFO ] Connector null @ 8080 - not-secure [org.apache.coyote.http11.Http11Protocol] started. [java] 2010-02-28 12:07:34,990 (main) [ CatalinaContainer.java:236:INFO ] Connector null @ 8443 - secure [org.apache.coyote.http11.Http11Protocol] started. [java] 2010-02-28 12:07:34,992 (main) [ CatalinaContainer.java:243:INFO ] Started Apache Tomcat/6.0.16 BUILD SUCCESSFUL Total time: 8 seconds Why doesn't ofbiz keep running? Many thanks in advance, Chris
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
Hi Raj, Why was it not possible to deploy each application as an OSGi bundle? Many thanks, Chris Raj Saini wrote: I tried the OSGi thing but it was not possible to deploy each application as OSGi bundle. Instead I could create single bundle and run the OFBiz minimal container as OSGi bundle. Creating OSGi bundle for each application will be great. This is certainly the way forward to create modular OFBiz. I hope to work further on this very soon. You can find a bit more about OFBiz OSGi at http://sourceforge.net/projects/ofbiz-osgi/ Thanks, Raj Jacques Le Roux wrote: Chris, I agree that OSGI would be a better option than Grail. And yes, you put some good cards on the table, but... challenging isn'it ? If we succeed in removing components dependencies and take the time to think well about it, then why not? Jacques From: Christopher Snow sno...@snowconsulting.co.uk I like developing with ofbiz, but it is very cumbersome compared to developing with grails. I have even started creating some prototypes in grails to get some idea of what would be required to implement ofbiz in grails. Personaly, I don't think grails is suitable for building large applications like ofbiz. The business components would have to be either separated by directory structure within grails, or by creating a separate grails application for each component and using something like spring integration or web services for wiring the applications together. Either way, modularity is an issue. I've even looked at doing the same in JBoss seam. The same problem as grails with modularity. Some other thoughts... The more I learn about OSGi, the more that I think this is the way forward for modularity. Hibernate or JPA for persistence, although I think an application dictionary approach like Adempiere would reduce hand coding dramatically. jBPM could be used for the business services. This would have two advantages, GUI tools for business users, automatic documentation of the services. Perhaps even Flex and BlazeDS for the front end. This gives thick client functionality in a thin client. Miles Huang wrote: Hi OFBIZ users and developers, First of all, I'm a novice of OFBIZ. I've just started to learn and use it for a couple of month. So if I have made some mistake in the following post, criticisms are welcomed :clap: Does anyone using OFBIZ interested in porting OFBIZ to leverage a mature and decent web platform, more specifically Grails? The idea comes from the post from Christopher Snow, There was some interest in porting openerp to jython, and the recent hot topic groovy service code instead of minilang. Excuse me, I'm going a step further.:-P The problem an OFBIZ novice commonly facing is when he/she has to go further than the OFBIZ OOTB functionality ( which proves he/she is becoming a really OFBIZ user:drunk: ). He/she have to learn a lot of techniques in the unique OFBIZ way, which is commonly a well defined web framework/OR-mapping tool should take care. This make learning-curve steep. I fully understand the historical reason of OBFIZ, such as OFBIZ utilize the IoC idea earlier than Spring, entity-engine evolution over EJB2, and the ability to avoid the compile-deploy-test cycle and make development more efficient. And I really admire them, especially considering the age when OFBIZ developers invent them. But these are not unique features of OFBIZ now a days. Leading web development platforms such as RoR and Grails has go much further than what OFBIZ's technical platform can provide, since they have dedicated man power to spend in researching these area. What make things worse is many ways to accomplish same goal in OFBIZ. xml mini-lang, groovy, bsh, java, just named some. It giving developers freedom to choose technology what they like, sounds good. But it is a different story for the long term platform maintainers and customizers. With adequate open practice, can we gain enough experience to concentrate on a consistent way to do development task in OFBIZ? (To make me clear, I'm not advocating a single programming language to solve any problem). So..., why I'm still interested in OFBIZ? I must admit even with the complains, I'm still an OFBIZ fans till now. The answer is the business level functionalities. This is the real strength of OFBIZ. Since most services and actions have implemented in groovy/Java, porting these code to Grails are smooth. With the leverage of Groovy DSL over mini-lang, we will go further. Theoretically the chance to migrate the whole OFBIZ package to Grails platform are possible (more serious research work needs to be done in this area), while keeping the strength of OFBIZ - the business level assets accumulated in years. Of course it will not be an easy step, only great gains worth such huge change. So what we may gain from the transition: * Faster development speed - more efficient, on-rails level; * Less
Re: what keeps ofbiz in running state?
Hi BJ, It was definitely ant run. Interestingly though, startofbiz.sh did work ok. Many thanks, Chris BJ Freeman wrote: looks like you did and ant install which normally does a shut down at the end of the install. have your done startofbiz? Christopher Snow sent the following on 2/28/2010 4:09 AM: I'm spending some time looking through how the container principle works in ofbiz. I'm trying to get a minimal entity engine + catalina working. I have reduced the framework component-load.xml to only the following components: load-component component-location=geronimo/ load-component component-location=sql/ load-component component-location=entity/ load-component component-location=catalina/ I have commented out all applications + specialpurpose. When I do ant run, I get ofbiz to start, but then it immediately shuts down: ... [java] 2010-02-28 12:07:34,979 (main) [ Http11Protocol.java:209:INFO ] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443 [java] 2010-02-28 12:07:34,989 (main) [ CatalinaContainer.java:239:INFO ] Connector AJP/1.3 @ 8009 - not-secure [org.apache.jk.server.JkCoyoteHandler] started. [java] 2010-02-28 12:07:34,989 (main) [ CatalinaContainer.java:236:INFO ] Connector null @ 8080 - not-secure [org.apache.coyote.http11.Http11Protocol] started. [java] 2010-02-28 12:07:34,990 (main) [ CatalinaContainer.java:236:INFO ] Connector null @ 8443 - secure [org.apache.coyote.http11.Http11Protocol] started. [java] 2010-02-28 12:07:34,992 (main) [ CatalinaContainer.java:243:INFO ] Started Apache Tomcat/6.0.16 BUILD SUCCESSFUL Total time: 8 seconds Why doesn't ofbiz keep running? Many thanks in advance, Chris
how to get a reference to the delegator in a jsp?
How can I get a reference to the delegator in a jsp / servlet? Many thanks, Chris
Re: how to get a reference to the delegator in a jsp?
Hi BJ, Thanks - just seen that it's coming from the ContextFilter. I'm not actually trying to do anything meaningful with a jsp, just trying to figure out how everything works under the hood in ofbiz. Cheers, Chris BJ Freeman wrote: take a look at java service code. note the reason ofbiz migrated from JSP to ftl is you can not pass the context back to ofbiz. Christopher Snow sent the following on 2/28/2010 7:43 AM: How can I get a reference to the delegator in a jsp / servlet? Many thanks, Chris
thoughts for an ofbiz patch management system
Hi Forum, I've been pondering how a stable binary release of ofbiz (i.e. upcoming 10.04) could be kept up-to-date with the latest patches. One potential method would be have each components' config directory configurable to a folder external to the $OFBIZ_HOME, in the case of linux this may be /etc/ofbiz/ - this would enable binary patches (e.g. replacement ofbiz-entity.jar) to be provided that wouldn't over write any existing configuration. This mechanism could work for a standalone ofbiz framework on the premise that binary users do not want to modify the framework code. A mechanism for providing the applications would be more difficult I guess because the assumption would be that the applications almost always have to be customized to fit the individual business? Any thoughts? Many thanks, Chris
Re: thoughts for an ofbiz patch management system
Hi BJ, I was hoping a binary patches could be made available without users have to use svn. The should be possible with the framework, but the applications would be harder to patch because they usually require customization. BJ Freeman wrote: there are two forms of customization that lend them selves to begin patched. The suggested in best practices is using hot-deploy for all customization. The one I use is additional folders at the ofbiz-home level. either way core patches for ones distribution, should be done locally. this is easily accomplished by use the svn to create patches once the image is up and running with no modification. when I want to update from the trunk I make a separate folder to put in the new version then I add my customization and test it, once satisfied I update my original code. Christopher Snow sent the following on 2/27/2010 8:06 AM: Hi Forum, I've been pondering how a stable binary release of ofbiz (i.e. upcoming 10.04) could be kept up-to-date with the latest patches. One potential method would be have each components' config directory configurable to a folder external to the $OFBIZ_HOME, in the case of linux this may be /etc/ofbiz/ - this would enable binary patches (e.g. replacement ofbiz-entity.jar) to be provided that wouldn't over write any existing configuration. This mechanism could work for a standalone ofbiz framework on the premise that binary users do not want to modify the framework code. A mechanism for providing the applications would be more difficult I guess because the assumption would be that the applications almost always have to be customized to fit the individual business? Any thoughts? Many thanks, Chris
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
Hi Miles, I'm currently doing some work on making a standalone ofbiz development framework (i.e. no business functionality). Your questions have got me thinking: what does the ofbiz framework give you that the grails framework doesn't? A possible answer: Ofbiz gives you a ready made layout for backend management UI (i.e. screens, menus, forms) I can't think of anything other than this that the ofbiz framework provides that grails doesn't. Cheers, Chris Miles Huang wrote: Hi OFBIZ users and developers, First of all, I'm a novice of OFBIZ. I've just started to learn and use it for a couple of month. So if I have made some mistake in the following post, criticisms are welcomed :clap: Does anyone using OFBIZ interested in porting OFBIZ to leverage a mature and decent web platform, more specifically Grails? The idea comes from the post from Christopher Snow, There was some interest in porting openerp to jython, and the recent hot topic groovy service code instead of minilang. Excuse me, I'm going a step further.:-P The problem an OFBIZ novice commonly facing is when he/she has to go further than the OFBIZ OOTB functionality ( which proves he/she is becoming a really OFBIZ user:drunk: ). He/she have to learn a lot of techniques in the unique OFBIZ way, which is commonly a well defined web framework/OR-mapping tool should take care. This make learning-curve steep. I fully understand the historical reason of OBFIZ, such as OFBIZ utilize the IoC idea earlier than Spring, entity-engine evolution over EJB2, and the ability to avoid the compile-deploy-test cycle and make development more efficient. And I really admire them, especially considering the age when OFBIZ developers invent them. But these are not unique features of OFBIZ now a days. Leading web development platforms such as RoR and Grails has go much further than what OFBIZ's technical platform can provide, since they have dedicated man power to spend in researching these area. What make things worse is many ways to accomplish same goal in OFBIZ. xml mini-lang, groovy, bsh, java, just named some. It giving developers freedom to choose technology what they like, sounds good. But it is a different story for the long term platform maintainers and customizers. With adequate open practice, can we gain enough experience to concentrate on a consistent way to do development task in OFBIZ? (To make me clear, I'm not advocating a single programming language to solve any problem). So..., why I'm still interested in OFBIZ? I must admit even with the complains, I'm still an OFBIZ fans till now. The answer is the business level functionalities. This is the real strength of OFBIZ. Since most services and actions have implemented in groovy/Java, porting these code to Grails are smooth. With the leverage of Groovy DSL over mini-lang, we will go further. Theoretically the chance to migrate the whole OFBIZ package to Grails platform are possible (more serious research work needs to be done in this area), while keeping the strength of OFBIZ - the business level assets accumulated in years. Of course it will not be an easy step, only great gains worth such huge change. So what we may gain from the transition: * Faster development speed - more efficient, on-rails level; * Less code - less maintenance spend; * More concentrate - No more re-invent wheel. Let's concentrate on what makes OFBIZ unique and leading-edge in limited resource; * More 3rd party software integration ability - provided by the Grails platform and plenty of plugins; * Easier deployment - no more embedding Tomcat, just standard war packages, which is deployable to any container, even cloud computing providers; * Last but not least, more smooth learning curve - the key factor to gain more new coming user and make success. Is this a right way to the future? Any thoughts? Regards, Miles.
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
One more - inline... Christopher Snow wrote: Hi Miles, I'm currently doing some work on making a standalone ofbiz development framework (i.e. no business functionality). Your questions have got me thinking: what does the ofbiz framework give you that the grails framework doesn't? A possible answer: Ofbiz gives you a ready made layout for backend management UI (i.e. screens, menus, forms) the ofbiz framework will give you an easy upgrade path to the full ofbiz and all its business functionality. I can't think of anything other than this that the ofbiz framework provides that grails doesn't. Cheers, Chris Miles Huang wrote: Hi OFBIZ users and developers, First of all, I'm a novice of OFBIZ. I've just started to learn and use it for a couple of month. So if I have made some mistake in the following post, criticisms are welcomed :clap: Does anyone using OFBIZ interested in porting OFBIZ to leverage a mature and decent web platform, more specifically Grails? The idea comes from the post from Christopher Snow, There was some interest in porting openerp to jython, and the recent hot topic groovy service code instead of minilang. Excuse me, I'm going a step further.:-P The problem an OFBIZ novice commonly facing is when he/she has to go further than the OFBIZ OOTB functionality ( which proves he/she is becoming a really OFBIZ user:drunk: ). He/she have to learn a lot of techniques in the unique OFBIZ way, which is commonly a well defined web framework/OR-mapping tool should take care. This make learning-curve steep. I fully understand the historical reason of OBFIZ, such as OFBIZ utilize the IoC idea earlier than Spring, entity-engine evolution over EJB2, and the ability to avoid the compile-deploy-test cycle and make development more efficient. And I really admire them, especially considering the age when OFBIZ developers invent them. But these are not unique features of OFBIZ now a days. Leading web development platforms such as RoR and Grails has go much further than what OFBIZ's technical platform can provide, since they have dedicated man power to spend in researching these area. What make things worse is many ways to accomplish same goal in OFBIZ. xml mini-lang, groovy, bsh, java, just named some. It giving developers freedom to choose technology what they like, sounds good. But it is a different story for the long term platform maintainers and customizers. With adequate open practice, can we gain enough experience to concentrate on a consistent way to do development task in OFBIZ? (To make me clear, I'm not advocating a single programming language to solve any problem). So..., why I'm still interested in OFBIZ? I must admit even with the complains, I'm still an OFBIZ fans till now. The answer is the business level functionalities. This is the real strength of OFBIZ. Since most services and actions have implemented in groovy/Java, porting these code to Grails are smooth. With the leverage of Groovy DSL over mini-lang, we will go further. Theoretically the chance to migrate the whole OFBIZ package to Grails platform are possible (more serious research work needs to be done in this area), while keeping the strength of OFBIZ - the business level assets accumulated in years. Of course it will not be an easy step, only great gains worth such huge change. So what we may gain from the transition: * Faster development speed - more efficient, on-rails level; * Less code - less maintenance spend; * More concentrate - No more re-invent wheel. Let's concentrate on what makes OFBIZ unique and leading-edge in limited resource; * More 3rd party software integration ability - provided by the Grails platform and plenty of plugins; * Easier deployment - no more embedding Tomcat, just standard war packages, which is deployable to any container, even cloud computing providers; * Last but not least, more smooth learning curve - the key factor to gain more new coming user and make success. Is this a right way to the future? Any thoughts? Regards, Miles.
Re: Now Practice Application will also teach you, how to write ajax request using prototype library in OFBiz
That's fantastic news - learning the ofbiz ajax implementation has been on my list for a while. Thanks for making my life easier! Divesh Dutta wrote: Hello Users, I have introduced new section in Practice application of OFBiz , which is all about How to write Ajax request. By following this a newbie can learn writing ajax request and enabling client side validation by using prototype library. All above stuffs are available in newly introduced part-6 of practice application in following link: http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide I would like to thanks Arun Patidar for support and Rishi Solanki for idea of introducing this section. Thanks -- Divesh Dutta.
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
Hey come on Jacopo - overall I'm actually trying to promote the use of ofbiz. I've invested a considerable amount of time in it. I was hoping that my question would get ofbiz supporters to list some of the benefits of ofbiz over grails. Jacopo Cappellato wrote: On Feb 26, 2010, at 1:20 PM, Christopher Snow wrote: I can't think of anything other than this that the ofbiz framework provides that grails doesn't. If you are blind, all you can see is darkness. Jacopo
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
I'm not looking for easy information. Based on my experience of ofbiz and grails - I really don't know what else ofbiz brings to the table. I was hoping that I'd missed something fairly obvious which is why I threw the question out to the list. Jacopo Cappellato wrote: On Feb 26, 2010, at 2:27 PM, Christopher Snow wrote: Hey come on Jacopo - overall I'm actually trying to promote the use of ofbiz. I've invested a considerable amount of time in it. I was hoping that my question would get ofbiz supporters to list some of the benefits of ofbiz over grails. Eh eh... this time your attempt will not help you to get easy information (at least from me): you will have to do your own research :-) Jacopo Jacopo Cappellato wrote: On Feb 26, 2010, at 1:20 PM, Christopher Snow wrote: I can't think of anything other than this that the ofbiz framework provides that grails doesn't. If you are blind, all you can see is darkness. Jacopo
temporal expression
Hi Forum/Adrian! We are about to make heavy use of temporal expressions on trunk. Before we do, would you consider them stable at the moment? Many thanks, Chris
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
Hi Jacques, Thanks for the comments. Not sure how grails handles extension of artifacts (except that Controllers and Services are classes so theoretically could be extended). Grails only needs to be restarted when the hibernate definitions have changed (I think). Controller and Service changes are dynamically reloaded in development mode without a restart. Grails has: |grails create-app helloworld which is the equivalent of creating an ofbiz component. In ofbiz, I always have to jump into the ofbiz code, even if its just to configure it (e.g. data sources). In grails, the component configuration is done in the component itself. I would never expect you to modify the core grails code and create patches to ship with your application - this is a big disadvantage with ofbiz. Please don't think I'm giving ofbiz a hard time. Don't forget, I'm interested in creating a standalone ofbiz framework (which would be especially useful for my current government client), but I'm not sure that the framework on it's own carrys any benefits compared to grails. It's the business applications that give ofbiz the most advantage. Cheers, Chris | Jacques Le Roux wrote: And one of the most important thing but not obvious in OFBiz, extension and reutilisation of artifacts. From hot-deploy, you can build your own applicaiton based on the trunk (or release but I'd recommend trunk for easier update later) without touching much of OFBiz itself. If you handle it right you may end with a couple of small patches. There are even small tools around, see ant - p, to deal with hat. This is where is the real OFBiz expertise, it takes some time to understand and use... Also OFBiz is *great* when it comes to *not* compile, reboot, compile, reboot, compile, reboot, compile, reboot, compile, reboot, compile, reboot, OK you see... Jacques From: Ruth Hoffman rhoff...@aesolves.com Hi Jacopo: IMO, one should always give positive affirmations when responding to posts like these. OFBiz has plenty of great things we can say that shouldn't require much effort on your part to comment on: How about the seamless and transparent database support by way of the Entity Engine? If you want to develop an application or implement ERP, then you don't need to worry about the database. You don't need to stress over whether to use Hiberanate or JDO or native SQL or whatever the latest database technology fad happens to be. The EE is here, its proven and best of all I don't have to deal with it! I can get on to developing my applications. Or the really cool Service Engine that lets me write reusable code. Java or otherwise! Or all the framework tools that have been integrated and proven. Everything from Internationalization and localization support to XML document handling. (Personally, I'm tired of having to integrate XML parsers every time I need that functionality in an application.) How hard is it to list some of these features? Take the high road. Ruth Jacopo Cappellato wrote: On Feb 26, 2010, at 2:27 PM, Christopher Snow wrote: Hey come on Jacopo - overall I'm actually trying to promote the use of ofbiz. I've invested a considerable amount of time in it. I was hoping that my question would get ofbiz supporters to list some of the benefits of ofbiz over grails. Eh eh... this time your attempt will not help you to get easy information (at least from me): you will have to do your own research :-) Jacopo Jacopo Cappellato wrote: On Feb 26, 2010, at 1:20 PM, Christopher Snow wrote: I can't think of anything other than this that the ofbiz framework provides that grails doesn't. If you are blind, all you can see is darkness. Jacopo
Re: temporal expression
Thanks Adrian. Neat solution btw. Adrian Crum wrote: They are stable. The only potential changes are bug fixes. -Adrian Christopher Snow wrote: Hi Forum/Adrian! We are about to make heavy use of temporal expressions on trunk. Before we do, would you consider them stable at the moment? Many thanks, Chris
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
.. and grails has many plugins : jBPM, drools, birt, quartz, rest, soap, etc that facilitate building enterprise systems. huang.mi...@gmail.com wrote: Please see inline... On Fri, 2010-02-26 at 12:20 +, Christopher Snow wrote: One more - inline... Christopher Snow wrote: Hi Miles, I'm currently doing some work on making a standalone ofbiz development framework (i.e. no business functionality). Your questions have got me thinking: Interesting work. Will future OFBIZ official release based on this framework? Is there any preview working code in repository now? what does the ofbiz framework give you that the grails framework doesn't? Yes. That's why I've started this topic. Since someone is dedicated in inventing wheel and do well, why OFBIZ keep home-made one? Consider the maintenance effort you are currently spending. And consider if OFBIZ will last another decade (I really hope so), how many effort will spend in keeping OFBIZ catch on the new technology evolve, like recently mentioned OSGi, etc... A possible answer: Ofbiz gives you a ready made layout for backend management UI (i.e. screens, menus, forms) Beg me to argue that This is a higher UI level functionality. Grails has also its way to do UI-level component composition, based on decoration pattern. For the real problem, see next section. the ofbiz framework will give you an easy upgrade path to the full ofbiz and all its business functionality. Yes, this is the first class factor. Although to write a new component in Grails is trival, to provide the new Grails code all/most ability to access the current OFBIZ business functionality and integrated it into the current OFBIZ framework is really a big challenge. The problem exists on every tier: persistence entity, service/event, widget. In every tier OFBIZ has its unique implementation technology and OFBIZ components seems to coupling on every tier, a little tight coupling, I think. I can't think of anything other than this that the ofbiz framework provides that grails doesn't. Cheers, Chris
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
There's a set of instructions at: http://cwiki.apache.org/confluence/x/nYTW Or I can send you a in progress hack of my latest attempt - it's 90mb. Interesting work. Will future OFBIZ official release based on this framework? Is there any preview working code in repository now?
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
Plugins could be used for separating the modules, this will be more interesting in Grails 2.0 when the plugin framework will use OSGi - http://jira.codehaus.org/browse/GRAILS-2221 Rather than bring ofbiz to grails, you may find it would be easier to bring grails to ofbiz, for example it should be relatively trivial to sit a grails app on top of ofbiz (i.e. as a war file), and use grails to access the current ofbiz services. Note that you can already use groovy for writing ofbiz services. Eventually, when GSP gets separated from grails, this could be used in ofbiz instead of ftl - http://jira.codehaus.org/browse/GRAILS-5657 Note that OpenTaps 1.5 (ofbiz derivative) uses hibernate for the persistence layer instead of the home grown ofbiz ORM. It would be nice to see an option like that in ofbiz! Miles Huang wrote: May be the Grails plugin mechanism is a good solution for the modularity problem. If we separate the OFBIZ components into stand-alone Grails plugins, each component is just like separated Grails applications, which can be maintained in their own source directory structure. And during development period, the Grails framework can provide sophisticated mechanisms to resolve the OFBIZ module dependency. At runtime, the dependent components are just deployed alongside with the referencing components in the same web application, remote service call is not required. I'm not familiar with OSGi, so I can't say much about it. But if we need to support dynamical deploy/undeploy componets and multi-version module, the OSGi promise sounds attractive. Through a quick glance at the presentation from spring source ( OSGi 4.2 the Blueprint Service RI provider ), my understanding is the OSGi will take the responsibility to manage the web application dynamic module, while the web app framework such as Grails will take the responsibility to construct the dynamic module implementation framework. Does this mean OSGI and Grails technology can be integrated without overlaps and conflicts?
Re: OpenERP fund raising
There was some interest in porting openerp to jython - now that would have really rocked! http://rvalyi.blogspot.com/2009/02/openerp-running-on-java-jython-round-1.html Jacques Le Roux wrote: Maybe the future of OFBiz in Europe (and even in USA it seems) will be harder... http://fptiny.blogspot.com/2010/02/openerp-raises-3-million-euros.html Or maybe this ERP will not be Open-Source longer in the future... Actually it was the last of the Open-Source ERPs to not follow this way (though Im not sure for ERP5) The strategy : http://robertogaloppini.net/2009/06/01/open-source-business-strategy-openerp-and-long-term-sustainability/ Jacques
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
I like developing with ofbiz, but it is very cumbersome compared to developing with grails. I have even started creating some prototypes in grails to get some idea of what would be required to implement ofbiz in grails. Personaly, I don't think grails is suitable for building large applications like ofbiz. The business components would have to be either separated by directory structure within grails, or by creating a separate grails application for each component and using something like spring integration or web services for wiring the applications together. Either way, modularity is an issue. I've even looked at doing the same in JBoss seam. The same problem as grails with modularity. Some other thoughts... The more I learn about OSGi, the more that I think this is the way forward for modularity. Hibernate or JPA for persistence, although I think an application dictionary approach like Adempiere would reduce hand coding dramatically. jBPM could be used for the business services. This would have two advantages, GUI tools for business users, automatic documentation of the services. Perhaps even Flex and BlazeDS for the front end. This gives thick client functionality in a thin client. Miles Huang wrote: Hi OFBIZ users and developers, First of all, I'm a novice of OFBIZ. I've just started to learn and use it for a couple of month. So if I have made some mistake in the following post, criticisms are welcomed :clap: Does anyone using OFBIZ interested in porting OFBIZ to leverage a mature and decent web platform, more specifically Grails? The idea comes from the post from Christopher Snow, There was some interest in porting openerp to jython, and the recent hot topic groovy service code instead of minilang. Excuse me, I'm going a step further.:-P The problem an OFBIZ novice commonly facing is when he/she has to go further than the OFBIZ OOTB functionality ( which proves he/she is becoming a really OFBIZ user:drunk: ). He/she have to learn a lot of techniques in the unique OFBIZ way, which is commonly a well defined web framework/OR-mapping tool should take care. This make learning-curve steep. I fully understand the historical reason of OBFIZ, such as OFBIZ utilize the IoC idea earlier than Spring, entity-engine evolution over EJB2, and the ability to avoid the compile-deploy-test cycle and make development more efficient. And I really admire them, especially considering the age when OFBIZ developers invent them. But these are not unique features of OFBIZ now a days. Leading web development platforms such as RoR and Grails has go much further than what OFBIZ's technical platform can provide, since they have dedicated man power to spend in researching these area. What make things worse is many ways to accomplish same goal in OFBIZ. xml mini-lang, groovy, bsh, java, just named some. It giving developers freedom to choose technology what they like, sounds good. But it is a different story for the long term platform maintainers and customizers. With adequate open practice, can we gain enough experience to concentrate on a consistent way to do development task in OFBIZ? (To make me clear, I'm not advocating a single programming language to solve any problem). So..., why I'm still interested in OFBIZ? I must admit even with the complains, I'm still an OFBIZ fans till now. The answer is the business level functionalities. This is the real strength of OFBIZ. Since most services and actions have implemented in groovy/Java, porting these code to Grails are smooth. With the leverage of Groovy DSL over mini-lang, we will go further. Theoretically the chance to migrate the whole OFBIZ package to Grails platform are possible (more serious research work needs to be done in this area), while keeping the strength of OFBIZ - the business level assets accumulated in years. Of course it will not be an easy step, only great gains worth such huge change. So what we may gain from the transition: * Faster development speed - more efficient, on-rails level; * Less code - less maintenance spend; * More concentrate - No more re-invent wheel. Let's concentrate on what makes OFBIZ unique and leading-edge in limited resource; * More 3rd party software integration ability - provided by the Grails platform and plenty of plugins; * Easier deployment - no more embedding Tomcat, just standard war packages, which is deployable to any container, even cloud computing providers; * Last but not least, more smooth learning curve - the key factor to gain more new coming user and make success. Is this a right way to the future? Any thoughts? Regards, Miles.
new instructions available for standalone ofbiz
Hi everyone, I have put together some instructions for using ofbiz (trunk) as a standalone development framework. The instructions are at: http://cwiki.apache.org/confluence/display/OFBIZ/Ofbiz+as+a+development+framework+-+upcoming+release+10.04 Anyone interested in this topic, can you please give me feedback on the instructions? Many thanks in advance, Chris
how to get short url for wiki page
Hi users, How do you get the short url for wiki pages? E.g. http://cwiki.apache.org/confluence/x/eIOJ instead of http://cwiki.apache.org/confluence/display/OFBIZ/Ofbiz+as+a+development+framework+-+release+9.04 Many thanks, Chris
Re: how to get short url for wiki page
Thanks Ashish! Ashish Vijaywargiya wrote: On any page go to Tools(refer top right corner) - Info and get the link from there. -- Ashish On Thu, Feb 25, 2010 at 10:52 AM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi users, How do you get the short url for wiki pages? E.g. http://cwiki.apache.org/confluence/x/eIOJ instead of http://cwiki.apache.org/confluence/display/OFBIZ/Ofbiz+as+a+development+framework+-+release+9.04 Many thanks, Chris
groovy service code instead of minilang
I was wondering why groovy is not used for service code instead on minilang? Any thoughts? Many thanks, Chris
is demo down?
I'm receiving timeouts trying: https://ofbiz-vm.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y Is demo down? Many thanks, Chris
Re: CAS and ofbiz - document not found by searching
I've added this link to the FAQ as neither google, or www.ofbiz.org search found it. Christopher Snow wrote Thanks Hans! Hans Bakker wrote: Hi Chris, we did a small description of setting up ofbiz whith CAS at: http://ofbiz-vm.apache.org/cmssite/cms/APACHE_OFBIZ_HTML#N23366 regards, Hans On Mon, 2010-02-08 at 10:27 +, Christopher Snow wrote: Are there are any instructions on CAS enabling ofbiz trunk? I have seen the document http://cwiki.apache.org/confluence/download/attachments/6553844/ArlSettingUpCasOnOfbiz5.pdf but it makes no reference to the ldap component in specialpurpose. Many thanks, Chris
Re: what a mess! is framework independence ever going to be possible?
Hi Bruno, I think your plan makes a lot of sense and I also agree with your spreadsheet. We should work on the buildbot to report and enforce correct dependencies. Cheers, Chris Bruno Busco wrote: Chris, I think we should at first concentrate into enforcing a components dependency hierarchy. This is my plan: We should select core or framework components that are the minimum must be installed in order to have a running OFBiz. Then we should say: additional component A can be installed if componentd B is installed also, component C can be installed if A and B are installed Having this in place will let us define some OFBiz configurations that should run properly according to the design. For instance: Configuration 1 - Only the core components Configuration 2 - Core components + component A and B Configuration 3 - Core components + components A, B and C Every configuration should be automatically built by BuildBot so that we continuously check if unwanted dependencies are added in the codebase. When all this will be in place we can further work to a greater components separation. If we agree with this could we work toghether identifying the configurations? The excel sheet I have uploaded here http://cwiki.apache.org/confluence/display/OFBIZ/Framework-only+distribution can be used as a tool for this. What do you think about? -Bruno 2010/2/7 Christopher Snow sno...@snowconsulting.co.uk: Also, splitting components down into small functional areas could have the benefit that if you just want WorkEffort core + parties, you wouldn't get the UI contributions from WorkEffort fixed assets. Development would be more difficult as you would be working across multiple files. However, maybe the eclipse ofbiz IDE could provide a consolidated view? Cheers, Chris Christopher Snow wrote: Good work Bruno! I'm putting some thought into the dependency issues - I will provide some more feedback when I have a clearer view. However, my current view is this: 1) Developers should be able have a standalone framework 2) Developers should be able to install components to meet certain functional areas without having to install most of the other components. E.g. install WorkEffort as a standalone component without having to install Accounting, Party management, etc. The current implementation of ofbiz does not support (2) without breaking each component up into a number of smaller modules such as: WorkEffortCore module (has no external dependency) WorkEffortFixedAsset module (requires FixedAsset core module) WorkEffortParties module (requires Party core module) Option (2) would give maximum reuse of code and would facilitate developers in learning ofbiz as they would only need to focus on the business processes within those modules. Anyway, I'm going to play around with the above concept when I have time... Bruno Busco wrote: The complete url for the confluence page is: http://cwiki.apache.org/confluence/display/OFBIZ/Framework-only+distribution 2010/2/6 Bruno Busco bruno.bu...@gmail.com: I have updated the framework-only confluence page with an excel sheet that we could use to track the dependecies issue down. http://cwiki.apache.org/confluence/download/attachments/9373097/OFBIZ+COMP+DEPENDENCIES.xls?version=1 Hope this helps. It is not yet completed. Please fille free to contribute to update it. The black X are dependecies that we want in the code base. The red X are dependencies that are there but should not. -Bruno 2010/2/6 Matt Warnock mwarn...@ridgecrestherbals.com: On Fri, 2010-02-05 at 23:42 -0800, Adrian Crum wrote: Chris, Framework independence has been a goal for quite a while. There is no disagreement that the framework should run on its own. The disagreements arise in what constitutes the framework. Let's assume for a moment that framework independence means running the components in the framework folder independently from anything else in OFBiz. Right away the problem with that idea is that visual themes are in a separate folder outside the framework folder. Does framework independence include the visual themes folder? That has not been discussed. Then there are the multitude of dependencies upon the applications folder. I'm a newbie here, but I have a lot of gray hair. Seems like trying to separate dependencies by folder or subject matter is an exercise doomed to failure. TCP/IP has taken over the world because it has a clear model based on separate layers (the 7-layer OSI model). Changes on one level (like 10-base-T, to 100baseTX to Gigabit to 802.11a/b/g/n) don't affect the rest. Likewise, you can use LDAP, NIS, DNS, /etc/hostnames, or other means to map IP addresses to hostnames at the application layer-- TCP/IP doesn't care. From my perspective, achieving this objective will require a two pronged approach: 1) Identify the framework dependencies on outside components, and 2
CAS and ofbiz
Are there are any instructions on CAS enabling ofbiz trunk? I have seen the document http://cwiki.apache.org/confluence/download/attachments/6553844/ArlSettingUpCasOnOfbiz5.pdf but it makes no reference to the ldap component in specialpurpose. Many thanks, Chris
Re: CAS and ofbiz
Thanks Hans! Hans Bakker wrote: Hi Chris, we did a small description of setting up ofbiz whith CAS at: http://ofbiz-vm.apache.org/cmssite/cms/APACHE_OFBIZ_HTML#N23366 regards, Hans On Mon, 2010-02-08 at 10:27 +, Christopher Snow wrote: Are there are any instructions on CAS enabling ofbiz trunk? I have seen the document http://cwiki.apache.org/confluence/download/attachments/6553844/ArlSettingUpCasOnOfbiz5.pdf but it makes no reference to the ldap component in specialpurpose. Many thanks, Chris
Re: what a mess! is framework independence ever going to be possible?
Also, splitting components down into small functional areas could have the benefit that if you just want WorkEffort core + parties, you wouldn't get the UI contributions from WorkEffort fixed assets. Development would be more difficult as you would be working across multiple files. However, maybe the eclipse ofbiz IDE could provide a consolidated view? Cheers, Chris Christopher Snow wrote: Good work Bruno! I'm putting some thought into the dependency issues - I will provide some more feedback when I have a clearer view. However, my current view is this: 1) Developers should be able have a standalone framework 2) Developers should be able to install components to meet certain functional areas without having to install most of the other components. E.g. install WorkEffort as a standalone component without having to install Accounting, Party management, etc. The current implementation of ofbiz does not support (2) without breaking each component up into a number of smaller modules such as: WorkEffortCore module (has no external dependency) WorkEffortFixedAsset module (requires FixedAsset core module) WorkEffortParties module (requires Party core module) Option (2) would give maximum reuse of code and would facilitate developers in learning ofbiz as they would only need to focus on the business processes within those modules. Anyway, I'm going to play around with the above concept when I have time... Bruno Busco wrote: The complete url for the confluence page is: http://cwiki.apache.org/confluence/display/OFBIZ/Framework-only+distribution 2010/2/6 Bruno Busco bruno.bu...@gmail.com: I have updated the framework-only confluence page with an excel sheet that we could use to track the dependecies issue down. http://cwiki.apache.org/confluence/download/attachments/9373097/OFBIZ+COMP+DEPENDENCIES.xls?version=1 Hope this helps. It is not yet completed. Please fille free to contribute to update it. The black X are dependecies that we want in the code base. The red X are dependencies that are there but should not. -Bruno 2010/2/6 Matt Warnock mwarn...@ridgecrestherbals.com: On Fri, 2010-02-05 at 23:42 -0800, Adrian Crum wrote: Chris, Framework independence has been a goal for quite a while. There is no disagreement that the framework should run on its own. The disagreements arise in what constitutes the framework. Let's assume for a moment that framework independence means running the components in the framework folder independently from anything else in OFBiz. Right away the problem with that idea is that visual themes are in a separate folder outside the framework folder. Does framework independence include the visual themes folder? That has not been discussed. Then there are the multitude of dependencies upon the applications folder. I'm a newbie here, but I have a lot of gray hair. Seems like trying to separate dependencies by folder or subject matter is an exercise doomed to failure. TCP/IP has taken over the world because it has a clear model based on separate layers (the 7-layer OSI model). Changes on one level (like 10-base-T, to 100baseTX to Gigabit to 802.11a/b/g/n) don't affect the rest. Likewise, you can use LDAP, NIS, DNS, /etc/hostnames, or other means to map IP addresses to hostnames at the application layer-- TCP/IP doesn't care. From my perspective, achieving this objective will require a two pronged approach: 1) Identify the framework dependencies on outside components, and 2) avoid introducing new framework dependencies on outside components. This assumes the framework is the lowest level. If the framework depends on outside components, then the hierarchy has been upset, and spaghetti dependencies are the inevitable result. Dependencies HAVE to be unidirectional, or you never get out of the maze. IMHO, the biggest problem with MVC is that it has never seemed to me that the layers are very well defined. Everything seems pretty interdependent, and you quickly get into a rock/paper/scissors kind of analysis, as you describe. Is there a comprehensible map of the layers in OFBiz? All I have seen is very detailed charts that seem to obfuscate, rather than clarify, the relationships of the various modules. But I'm sure I have not seen everything. Is there a 30,000-foot overview of the software levels? The first prong can be accomplished through contributions from people like you - find the dependencies and create patches to fix them. The responsibility of the second prong is up to the committers. We need to be more vigilant to guard against introducing new dependencies. Which requires a clear model of what layer the code under consideration belongs to, and what are the well-defined layers below it that can be dependencies. Personally I believe it will be possible, BUT it won't be easy. The obstacles to overcome will be getting people to contribute
Re: What I would like to see
Matt, what was the 300 - 400 hours for? I think that time would give you the capability to develop a standalone solution. If you want to use existing functionality (order mgt, invoicing, shipping, mfg, workeffort, etc) you need a lot more time depending on which functionality you use. I've been using ofbiz pretty heavily for nearly a year now, and have a 'good' understanding of developing solutions. In terms of the components, I am only really starting to get a deep understanding of how workefforts work. If fact some discussions I've had on the ML suggest that it may not be possible to know all of ofbiz at all. Instead you have to know how to find the answers to the areas you are trying to implement. However to know how to get the answers, you need to know the questions to ask. For this you need a good understanding of the overall system, for which there is no documentation except the universal data models. Matt Warnock wrote: Jaques, I think you have hit the nail on the head. Specific responses follow. Sat, 2010-02-06 at 17:02 +0100, Jacques Le Roux wrote: From: David E Jones d...@me.com On Feb 5, 2010, at 3:24 PM, Jacques Le Roux wrote: One feeling I have though, PHBs are often pushing this way, note that I did not say that you are a PHB :p Actually, I agree with you about our lack of interest for end user. I think this is due to the nature of OFBiz itself... I won't agree there is any lack of interest for end-users. In fact, nearly everything in OFBiz is the result of some end-user or other requesting functionality and being willing to sponsor its creation and contribution back to the project. That's not exactly what I meant. Who are those end-users I was trying to talk about? Technical aware persons, with influence in companies but not enough time to look into every technical details (CTO, CIO, etc.). So they make (or at least help to make) very important decisions (financial decision, I mean) for the future of their entreprises. And for that try to get as much as possible information when making a choice between competitors. It's already a good news when they are considering OSS. Then chances are they will compare projects. This is the target I was talking about. I personnaly think that a *huge* effort as been already done in OFBIz to give them ways to make their choice. I was simply saying that we should try to continue this effort. Not only some persons as it was some years ago, when the knowledge was not as shared as today. For instance the effort you made, David, on the Framework *open and (now) free* documentation was certainly one the most important the project benefited. But I'm not quite sure (euphemism ;o) all the decision-makers (or helpers) take the time to read it thourougly and to understand all subtleties while evaluating OFBiz. So now, what we need is a satellite map (kind of marketing) to facilitate the decisions of these guys and, as much as possible, to make them happy to choice OFBiz :o) I admit it, I am one of these PHBs. I am looking to implement OFBiz as a long-term solution. But the learning curve is steep. Someone earlier today estimated 300-400 hours. That's 10 weeks, and I would submit there ain't a PHB alive, tech-savvy or not, who that has that kind of time. Hiring it is expensive and assumes availability, which is uncertain. We need more ease of use OOTB (including clearer and more concise docs), so that (as they say in perl) the easy stuff is easy, and the hard stuff is possible. Some themes I foresee: 1) Why you should use the trunk instead of a release, 2) Why OFBIz is here to stay, independtly of the people working currently on it 3) Why... ok I'm lazy today (actually more knackered but who cares ;o)... The theme 1 is one of the most important to me because it distinguishs OFBiz from its competitors, even VAR projects based on OFBiz. It allows to follow the projects and, if inclined to, to contribute to it and to make it grow along your own needs. As a PHB, themes 1 and 2 are really important to me, and I still don't know that I made the right decision. I just hope so. Don't know how you can satisfy me on point 2, but I watched a long time before pulling the trigger (and I still haven't pulled the trigger except in devoting resources to get into it). On theme 1, I seemed to read, and was also told by experienced people that I should be on 9.04, as it is more stable than trunk. But I now really doubt that should be the case, for several reasons. 1) development is progressing at a rapid rate, perhaps too rapid, and the 9.04 code base is 10 months old now. 2) Bug fixes don't generally get applied to the releases, only to trunk. 3) It seems from discussions here that the underlying model doesn't usually change much, and while code is being added, it isn't often breaking prior code. This is good. So if I want to contribute (and I do, though I doubt my
Re: What I would like to see
Hi Jacques, In my comment about the lack of overall system documentation, I meant about the business processes behind the components. Technical documentation is actually quite good for ofbiz. Cheers, Chris Jacques Le Roux wrote: From: Christopher Snow sno...@snowconsulting.co.uk [Snip] For this you need a good understanding of the overall system, for which there is no documentation except the universal data models. Wrong, from an OFBiz technical POV: http://cwiki.apache.org/confluence/x/MoBr See AdvancedFrameworkTranscription20060824.pdf in attachment This document is as important to me as the Silvertson's data model. It's free and open (see .doc)! Related http://cwiki.apache.org/confluence/x/I4Br If you want to have a quick grasp, the Pack book is good enough (even if based on R4.0). I was a reviewer, and I know well Ruppert, who actually wrote the book. Jonathon gave up, but as he began he got to keep his name 1st. HTH Jacques
Re: party component dependency on accounting
Hi Adrian, If we have the Accounting component dependent on the Party component just for because we need a partyId, then the components can more easily be separated. If it is just a partyId, then the Id could come from another system entirely. (i.e. SOA). However, if the Accounting component is dependent on Party services, separation get more tricky. Am I making any sense? Cheers, Chris Adrian Crum wrote: Chris, It's not rocket science. Think about it. An invoice is dependent upon many things: parties, inventory items, tax authorities, billing agreements, shipping methods, etc.. What are you trying to achieve? -Adrian --- On Sat, 2/6/10, Chris Snow sno...@snowconsulting.co.uk wrote: From: Chris Snow sno...@snowconsulting.co.uk Subject: Re: party component dependency on accounting To: user@ofbiz.apache.org Date: Saturday, February 6, 2010, 12:54 AM Is the invoice dependent on party or partyId? I didn't say that. I asked How do you create an invoice without a party? An invoice implies two parties - the party being billed and the party doing the billing. -Adrian --- On Sat, 2/6/10, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: From: Abdullah Shaikh abdullah.shaik...@gmail.com Subject: Re: party component dependency on accounting To: user@ofbiz.apache.org Date: Saturday, February 6, 2010, 12:30 AM I guess we can remove this kind on interdependency too by having services to communicate with other components instead of using a class of some other component to directly call a method. As Adrian said, we can create an invoice without party, but we can have services using which the account party component can interact, this way the components can work independent of each other and can interact with other component only when required using services. For example party is dependent on invoice, and to interact with invoice a class of invoice component is being used, in this case its necessary to have the invoice component too, and if interaction would have been using services, the party component would have compiled/run successfully and would have failed only when services related to invoice are required and for this the user could add the invoice component. I don't know if I am missing something, but I feel that the interaction between components using services would help in eliminating the component interdependency. - Abdullah On Sat, Feb 6, 2010 at 1:45 PM, Adrian Crum adrian.c...@yahoo.com wrote: Also keep in mind that interdependency between some components is intentional and sometimes necessary. Think about it - how do you create an invoice without a party? -Adrian --- On Sat, 2/6/10, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com Subject: Re: party component dependency on accounting To: user@ofbiz.apache.org Date: Saturday, February 6, 2010, 12:01 AM Hi Christopher, no, the PartyAcctgPreference entity is defined in the accounting component (it is used to define accounting preferences for a given organization) and so it cannot be moved to the party component. Kind regards, Jacopo On Feb 5, 2010, at 11:46 PM, Christopher Snow wrote: In the party component, there is a view dependent on the accounting component: view-entity entity-name=PartyAcctgPrefAndGroup package-name=org.ofbiz.party.party title=PartyAcctgPreference and PartyGroup Entity member-entity entity-alias=PTYACCPREF entity-name=PartyAcctgPreference/ member-entity entity-alias=PTYGROUP entity-name=PartyGroup/ alias entity-alias=PTYACCPREF name=partyId/ alias entity-alias=PTYACCPREF name=baseCurrencyUomId/ alias entity-alias=PTYGROUP name=groupName/ view-link entity-alias=PTYACCPREF rel-entity-alias=PTYGROUP key-map field-name=partyId/ /view-link /view-entity Should this view be relocated to the accounting component? Many thanks in advance
Re: party component dependency on accounting
Sorry for not answering your question Adrian, I WAS thinking about component independence. The point that I was trying to make was that ultimately, an invoice just needs a partyId. It shouldn't matter to ofbiz if that partyId comes from an external party management application. Adrian Crum wrote: Chris, Since you didn't answer my question on what you are trying to achieve, I'm going to guess: You are trying to achieve component independence. That will not happen. Some components are inherently dependent on each other. -Adrian --- On Sat, 2/6/10, Christopher Snow sno...@snowconsulting.co.uk wrote: From: Christopher Snow sno...@snowconsulting.co.uk Subject: Re: party component dependency on accounting To: user@ofbiz.apache.org Date: Saturday, February 6, 2010, 1:18 AM Hi Adrian, If we have the Accounting component dependent on the Party component just for because we need a partyId, then the components can more easily be separated. If it is just a partyId, then the Id could come from another system entirely. (i.e. SOA). However, if the Accounting component is dependent on Party services, separation get more tricky. Am I making any sense? Cheers, Chris
Re: what a mess! is framework independence ever going to be possible?
Hi Bruno, What are the current points of view on what should be included in the framework? Many thanks, Chris Bruno Busco wrote: This is something we discussed in the DEV ML: http://www.mail-archive.com/d...@ofbiz.apache.org/msg36156.html -Bruno 2010/2/6 Adrian Crum adrian.c...@yahoo.com: Yes, follow Jacopo's suggestion: create an ant task to build framework only, then run the framework only *shrug* I don't know what that means. Maybe have a Selenium task that checks to see if it actually runs on its own. I'm not real clear on how that would work, but it would definitely be worth a try! -Adrian
Re: Eclipse plugin.
As long as we don't build a dependency on it from the framework!!! Bruno Busco wrote: May be a stupid question...but...couldn't we think to have the plugin developed in the OFBiz project itself? -Bruno 2010/1/26 Sascha Rodekamp sascha.rodek...@lynx.de: Hey everybody, yep Daniel Rosowski, a colleque of mine, began to extend the plugin and we still keep working on it. For now the features are in early development state but it will grow :-) (hopefully soon) Have a nice Day Sascha Sascha Rodekamp Consultant Lynx-Consulting GmbH Johanniskirchplatz 6 33615 Bielefeld Deutschland Fon: +49 521 5247-0 Fax: +49 521 5247-250 Mobil: +49 151 140 698 93 Company and Management Headquarters: Lynx-Consulting GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland Fon: +49 521 5247-0, Fax: +49 521 5247-250, www.lynx.de Court Registration: Amtsgericht Bielefeld HRB 35946 Chief Executive Officers: Karsten Noss, Dirk Osterkamp This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. SAP Special Expertise Partner ERP Upgrade Erfolg ist eine Folge. 20 Jahre Lynx
Re: party component dependency on accounting
Some dependencies are mandatory, e.g. partyId in invoice, however, a lot of components are now dependent on accounting because of FixedAsset. For example, a workeffort may have a fixedAssetId. However, fixedAssetId is optional in workeffort yet this relationship causes another dependency. Bruno Busco wrote: So in general we are not trying to have absolute components independance from each other. We need only to define and agree on a components functional hierarchical dependance and enforce it so that an higher level component should be removed without any issue. -Bruno 2010/2/6 Rishi Solanki rishisolan...@gmail.com: No worries Jacopo our ultimate goal is to work in Profit of OFBiz project, what you understand from Initial question in that case the answer was right. Learn a lot from each commiter commits and all discussions and conclusion drawn by you guys. Happy to working in OFBiz with great community. :-) Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Sat, Feb 6, 2010 at 3:43 PM, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: I am really sorry Rishi (and Christopher): I completely misunderstood Christopher's initial question and I have caused confusion! Yes, I agree that we should move the view to the accounting component. Kind regards, Jacopo On Feb 6, 2010, at 9:41 AM, Rishi Solanki wrote: Hi Jacopo, Chris is asking to move view entity in to accounting which is currently in the Party component. It is looking fine to me. Please let me know if I misunderstood something. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Sat, Feb 6, 2010 at 1:31 PM, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: Hi Christopher, no, the PartyAcctgPreference entity is defined in the accounting component (it is used to define accounting preferences for a given organization) and so it cannot be moved to the party component. Kind regards, Jacopo On Feb 5, 2010, at 11:46 PM, Christopher Snow wrote: In the party component, there is a view dependent on the accounting component: view-entity entity-name=PartyAcctgPrefAndGroup package-name=org.ofbiz.party.party title=PartyAcctgPreference and PartyGroup Entity member-entity entity-alias=PTYACCPREF entity-name=PartyAcctgPreference/ member-entity entity-alias=PTYGROUP entity-name=PartyGroup/ alias entity-alias=PTYACCPREF name=partyId/ alias entity-alias=PTYACCPREF name=baseCurrencyUomId/ alias entity-alias=PTYGROUP name=groupName/ view-link entity-alias=PTYACCPREF rel-entity-alias=PTYGROUP key-map field-name=partyId/ /view-link /view-entity Should this view be relocated to the accounting component? Many thanks in advance...
Re: What I would like to see
Hi Babu, 1) I found this very frustrating too. 2) I requested the site to be indexed by google, but in the meantime I always do my search from the search box on www.ofbiz.org. Make sure to prefix your search term with 'ofbiz' so you don't get back stuff from all apache projects. 3 4) I was amazed at how much stuff gets repeatedly answered on the forum. My contribution is that I put a page on the FAQ whenever I get help clarifying how to do something. Cheers, Chris bsreekanth wrote: Hello, this is my first post to the group, and learning Ofbiz the hard way (debugging through code, following the Beginner's Development Guide, Packet book, Data modelling etc.). Though everyone desire to have more documents etc, it is amazing the contribution mainly by few individuals. Few things I noted, 1. rather than the lack of information, I was stuck with the mix of old//outdated and current info, which lead to distrust and extra effort. 2. The documents are not indexed correctly, and cannot navigate from the main wiki page. I got the below link through another website, during google search. http://cwiki.apache.org/confluence/display/OFBIZ/How+to+Setup+a+Company not sure how relevant, but the point is it is wasted effort by the author, and someone needed the info. 3. It is amazing the level of help people get through the forum. I have seen almost all questions were answered on the same day. At the same time, it would be much effortless if we had a properly indexed documentation. Rather than explaining things over and over, we should be able to point to the correct section in the manual. It also help many people, if the mentor doesn't see the relevant information in the document, to add the content himself or raise a (Jira) issue for that. 4. I myself collecting information regarding the data model, making notes during my learning etc. It would be easy for me to add the content if we have a skeleton of required information as mentioned by Matt. It would be great if someone senior in the group can just start with an index page. thanks, Babu.
Re: what a mess! is framework independence ever going to be possible?
Good work Bruno! I'm putting some thought into the dependency issues - I will provide some more feedback when I have a clearer view. However, my current view is this: 1) Developers should be able have a standalone framework 2) Developers should be able to install components to meet certain functional areas without having to install most of the other components. E.g. install WorkEffort as a standalone component without having to install Accounting, Party management, etc. The current implementation of ofbiz does not support (2) without breaking each component up into a number of smaller modules such as: WorkEffortCore module (has no external dependency) WorkEffortFixedAsset module (requires FixedAsset core module) WorkEffortParties module (requires Party core module) Option (2) would give maximum reuse of code and would facilitate developers in learning ofbiz as they would only need to focus on the business processes within those modules. Anyway, I'm going to play around with the above concept when I have time... Bruno Busco wrote: The complete url for the confluence page is: http://cwiki.apache.org/confluence/display/OFBIZ/Framework-only+distribution 2010/2/6 Bruno Busco bruno.bu...@gmail.com: I have updated the framework-only confluence page with an excel sheet that we could use to track the dependecies issue down. http://cwiki.apache.org/confluence/download/attachments/9373097/OFBIZ+COMP+DEPENDENCIES.xls?version=1 Hope this helps. It is not yet completed. Please fille free to contribute to update it. The black X are dependecies that we want in the code base. The red X are dependencies that are there but should not. -Bruno 2010/2/6 Matt Warnock mwarn...@ridgecrestherbals.com: On Fri, 2010-02-05 at 23:42 -0800, Adrian Crum wrote: Chris, Framework independence has been a goal for quite a while. There is no disagreement that the framework should run on its own. The disagreements arise in what constitutes the framework. Let's assume for a moment that framework independence means running the components in the framework folder independently from anything else in OFBiz. Right away the problem with that idea is that visual themes are in a separate folder outside the framework folder. Does framework independence include the visual themes folder? That has not been discussed. Then there are the multitude of dependencies upon the applications folder. I'm a newbie here, but I have a lot of gray hair. Seems like trying to separate dependencies by folder or subject matter is an exercise doomed to failure. TCP/IP has taken over the world because it has a clear model based on separate layers (the 7-layer OSI model). Changes on one level (like 10-base-T, to 100baseTX to Gigabit to 802.11a/b/g/n) don't affect the rest. Likewise, you can use LDAP, NIS, DNS, /etc/hostnames, or other means to map IP addresses to hostnames at the application layer-- TCP/IP doesn't care. From my perspective, achieving this objective will require a two pronged approach: 1) Identify the framework dependencies on outside components, and 2) avoid introducing new framework dependencies on outside components. This assumes the framework is the lowest level. If the framework depends on outside components, then the hierarchy has been upset, and spaghetti dependencies are the inevitable result. Dependencies HAVE to be unidirectional, or you never get out of the maze. IMHO, the biggest problem with MVC is that it has never seemed to me that the layers are very well defined. Everything seems pretty interdependent, and you quickly get into a rock/paper/scissors kind of analysis, as you describe. Is there a comprehensible map of the layers in OFBiz? All I have seen is very detailed charts that seem to obfuscate, rather than clarify, the relationships of the various modules. But I'm sure I have not seen everything. Is there a 30,000-foot overview of the software levels? The first prong can be accomplished through contributions from people like you - find the dependencies and create patches to fix them. The responsibility of the second prong is up to the committers. We need to be more vigilant to guard against introducing new dependencies. Which requires a clear model of what layer the code under consideration belongs to, and what are the well-defined layers below it that can be dependencies. Personally I believe it will be possible, BUT it won't be easy. The obstacles to overcome will be getting people to contribute to the effort, and getting committers to avoid introducing new dependencies. Again, I think we need to reduce the learning curve by providing clear maps. You shouldn't need to know everything to be able to contribute meaningful and error-free code. -Adrian --- On Fri, 2/5/10, Christopher Snow sno...@snowconsulting.co.uk wrote: From: Christopher Snow sno...@snowconsulting.co.uk Subject
groovy service examples
Are there any example services written in groovy that someone could point me to? Many thanks, Chris
Re: groovy service examples
I've only found /ofbiz/framework/common/script/org/ofbiz/common/GroovyServiceTest.groovy Is this the only one? Out of interest, why aren't more services written in groovy? It is much more concise than minilang. The only thing that it misses in the code completion. Cheers, Chris Christopher Snow wrote: Are there any example services written in groovy that someone could point me to? Many thanks, Chris
Re: Nice job on keeping the download site up-to-date.
Are nightly builds actually used? Anyone who already does ofbiz development would want to use svn? Anyone new to ofbiz would only want ofbiz-rel9.04-current.zip or ofbiz-trunk-current.zip? Just curious... Tim Ruppert wrote: Ruth, I'm sure there's some good that could come out of your message - so against my general nature of responding to this type of attitude, I'm going to try and help you phrase this in a way that will help us help infra to try to meet what you're looking for. Here's what I see when I go to the site(s): http://ci.apache.org/projects/ofbiz/snapshots/ - not downloading and testing anything - just looking at what I see: 1. The nightly trunk seems to be updated daily. 2. The 9.04 builds seem to, for some reason not be being updated on this page. 3. There aren't many 4.0 releases being built. Then I go to here - http://ci.apache.org/projects/ofbiz/archive/snapshots/ - and I see a slightly different picture: 1. The trunk builds aren't really archives they're simply another copy after it was moved over. -- The archives are there though from when HotWax was managing it. 2. The 9.04 builds seem to really be the ones that we'd want on that first page. Now, since I know that this release and the downloads are super important to you, I'm really more interested in hearing you: 1. Lay out the way you'd like to see these pages work. 2. Even show some examples of other projects that you _do_ like I hope this helps Ruth - as Adrian and Jacopo mentioned, what you've sent here is just a whine, not a helpful way for anyone to improve. Put in the time and help us to make it more like you like and I'm sure you'll be more pleased with the result. Btw, all of those other options are not the same type of community driven projects as the ASF, so it's hard to manage the same way. When commercial interests are more intertwined with the project, there are definitely benefits (as well as drawbacks), so let's at least acknowledge those. Cheers, Ruppert On Feb 5, 2010, at 10:23 AM, Adrian Crum wrote: If there is a problem with the OFBiz site, it would be helpful to know what it is. Remarks like this are not helpful. -Adrian Ruth Hoffman wrote: This was meant as a sarcastic, I can't believe this kind of thing keeps falling through the cracks, kind of remark. No wonder new users shy away. I mean, no wonder new users run as fast as their browsers will take them to OpenBravo, OpenERP, Magento... Regards, Ruth Find me on the web at http://www.myofbiz.com or Google keyword myofbiz ruth.hoff...@myofbiz.com
style issues and framework independence
On a similar vein to style checking, a great tool to include as part of the framework build process would be dependency checking / reporting. This tool could help alert to incorrect dependencies (such as entity engine depending on service engine). Any thoughts? Cheers, Chris
Re: Nice job on keeping the download site up-to-date.
That was exactly my thinking Matt. The current nightly build page is more likely to scare newbies away IMHO. Your idea below would be much more helpful to new users. Matt Warnock wrote: Speaking as a newbie, I have downloaded nightly builds, but never anything other than the most recent one. I would think that an explanation of the differences between 4.0, 9.4, and trunk, together with notes on how to keep current in each, would be good info for the front page. A link to a separate page of past versions (mostly for historical interest) might be merited under those, but I can't see any earthly reason for links to 10 nightly builds for each version on page 1. Just creates confusion, IMHO. On Fri, 2010-02-05 at 22:09 +, Christopher Snow wrote: Are nightly builds actually used? Anyone who already does ofbiz development would want to use svn? Anyone new to ofbiz would only want ofbiz-rel9.04-current.zip or ofbiz-trunk-current.zip? Just curious... Tim Ruppert wrote: Ruth, I'm sure there's some good that could come out of your message - so against my general nature of responding to this type of attitude, I'm going to try and help you phrase this in a way that will help us help infra to try to meet what you're looking for. Here's what I see when I go to the site(s): http://ci.apache.org/projects/ofbiz/snapshots/ - not downloading and testing anything - just looking at what I see: 1. The nightly trunk seems to be updated daily. 2. The 9.04 builds seem to, for some reason not be being updated on this page. 3. There aren't many 4.0 releases being built. Then I go to here - http://ci.apache.org/projects/ofbiz/archive/snapshots/ - and I see a slightly different picture: 1. The trunk builds aren't really archives they're simply another copy after it was moved over. -- The archives are there though from when HotWax was managing it. 2. The 9.04 builds seem to really be the ones that we'd want on that first page. Now, since I know that this release and the downloads are super important to you, I'm really more interested in hearing you: 1. Lay out the way you'd like to see these pages work. 2. Even show some examples of other projects that you _do_ like I hope this helps Ruth - as Adrian and Jacopo mentioned, what you've sent here is just a whine, not a helpful way for anyone to improve. Put in the time and help us to make it more like you like and I'm sure you'll be more pleased with the result. Btw, all of those other options are not the same type of community driven projects as the ASF, so it's hard to manage the same way. When commercial interests are more intertwined with the project, there are definitely benefits (as well as drawbacks), so let's at least acknowledge those. Cheers, Ruppert On Feb 5, 2010, at 10:23 AM, Adrian Crum wrote: If there is a problem with the OFBiz site, it would be helpful to know what it is. Remarks like this are not helpful. -Adrian Ruth Hoffman wrote: This was meant as a sarcastic, I can't believe this kind of thing keeps falling through the cracks, kind of remark. No wonder new users shy away. I mean, no wonder new users run as fast as their browsers will take them to OpenBravo, OpenERP, Magento... Regards, Ruth Find me on the web at http://www.myofbiz.com or Google keyword myofbiz ruth.hoff...@myofbiz.com
Re: style issues and framework independence
Perhaps this functionality would be best situated in the eclipse ofbiz ide tool that is currently being developed? Christopher Snow wrote: On a similar vein to style checking, a great tool to include as part of the framework build process would be dependency checking / reporting. This tool could help alert to incorrect dependencies (such as entity engine depending on service engine). Any thoughts? Cheers, Chris
party component dependency on accounting
In the party component, there is a view dependent on the accounting component: view-entity entity-name=PartyAcctgPrefAndGroup package-name=org.ofbiz.party.party title=PartyAcctgPreference and PartyGroup Entity member-entity entity-alias=PTYACCPREF entity-name=PartyAcctgPreference/ member-entity entity-alias=PTYGROUP entity-name=PartyGroup/ alias entity-alias=PTYACCPREF name=partyId/ alias entity-alias=PTYACCPREF name=baseCurrencyUomId/ alias entity-alias=PTYGROUP name=groupName/ view-link entity-alias=PTYACCPREF rel-entity-alias=PTYGROUP key-map field-name=partyId/ /view-link /view-entity Should this view be relocated to the accounting component? Many thanks in advance...
what is the purpose of the commonext component?
what is the purpose of the commonext component? many thanks in advance, chris
what a mess! is framework independence ever going to be possible?
I'm back to the process of working out how to get a standalone framework running based on trunk, but I have found that the dependencies have got out of hand (if I've understood the code right): Framework depends on Themes Themes depends on Content Content depends on Party The questions I'm starting to ask myself are: Is is ever going to be possible to have framework independence in trunk? Independence in 9.04 is relatively trivial (rewrite security screens) perhaps the most sensible thing would be to do a fork of 9.04 and then back port all framework related commits from trunk? Any ideas anyone? Many thanks, Chris
entity-auto - is there a way of doing createOrUpdate?
Is it possible to do a createOrUpdate with the new entity-auto engine? I.e. the operation depends on whether or not the primary key is supplier? Many thanks in advance, Chris
Re: entity-auto - is there a way of doing createOrUpdate?
Is it likely that this will get implemented at some stage? Divesh Dutta wrote: No its not possible now. Refer EntityAutoEngine.java Thanks -- Divesh Dutta Christopher Snow wrote: Is it possible to do a createOrUpdate with the new entity-auto engine? I.e. the operation depends on whether or not the primary key is supplier? Many thanks in advance, Chris
Re: Party Information Needed
The Data Model Resource book volume 1 really helps with this. Brendan Vogt wrote: Hi, I am trying to understand how the party manager works, and how everything fits in together. Is there any documentation about understanding the party better? Like for example, how do I find out what the different party types are like person, customer, employee, etc? Regards, Brendan
Re: Party Information Needed
From memory: Product Management Ordering Invoicing Shipments Workeffort HR Brendan Vogt wrote: With what else does it help with? On 3 February 2010 13:46, Christopher Snow sno...@snowconsulting.co.ukwrote: The Data Model Resource book volume 1 really helps with this. Brendan Vogt wrote: Hi, I am trying to understand how the party manager works, and how everything fits in together. Is there any documentation about understanding the party better? Like for example, how do I find out what the different party types are like person, customer, employee, etc? Regards, Brendan
Re: Party Information Needed
I bought all three, but haven't got past book 1! What are you struggling with in understanding ofbiz? Brendan Vogt wrote: I've just been reading it on Amazon. Is it worthwhile to go and buy all 3 volumes? I want to create my own e-commerce product in .NET, OFBiz too big for me, and the way things are done is not understandable for me. Will these 3 books help me? On 3 February 2010 14:03, Christopher Snow sno...@snowconsulting.co.ukwrote: From memory: Product Management Ordering Invoicing Shipments Workeffort HR Brendan Vogt wrote: With what else does it help with? On 3 February 2010 13:46, Christopher Snow sno...@snowconsulting.co.uk wrote: The Data Model Resource book volume 1 really helps with this. Brendan Vogt wrote: Hi, I am trying to understand how the party manager works, and how everything fits in together. Is there any documentation about understanding the party better? Like for example, how do I find out what the different party types are like person, customer, employee, etc? Regards, Brendan
Re: Party Information Needed
This is a good starting point: http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide Learning ofbiz can be a long journey, but it's worth it. Brendan Vogt wrote: I've just managed to get everything setup correctly, The webpages and everything work correctly. I want to figure out how everything works, so I decided to start with party manager because it looks the easiest to understand. So I am browsing the various party screens. So next step is to look at code to see how everything is done and how it adds, deletes, updates data to the database. Any ideas where to start looking for a novice beginner? I am a .NET programmer and don't have much experience with anything Java related. On 3 February 2010 14:10, Christopher Snow sno...@snowconsulting.co.ukwrote: I bought all three, but haven't got past book 1! What are you struggling with in understanding ofbiz? Brendan Vogt wrote: I've just been reading it on Amazon. Is it worthwhile to go and buy all 3 volumes? I want to create my own e-commerce product in .NET, OFBiz too big for me, and the way things are done is not understandable for me. Will these 3 books help me? On 3 February 2010 14:03, Christopher Snow sno...@snowconsulting.co.uk wrote: From memory: Product Management Ordering Invoicing Shipments Workeffort HR Brendan Vogt wrote: With what else does it help with? On 3 February 2010 13:46, Christopher Snow sno...@snowconsulting.co.uk wrote: The Data Model Resource book volume 1 really helps with this. Brendan Vogt wrote: Hi, I am trying to understand how the party manager works, and how everything fits in together. Is there any documentation about understanding the party better? Like for example, how do I find out what the different party types are like person, customer, employee, etc? Regards, Brendan
Re: OfBiz in Government
Hi Gavin, I'm currently implementing ofbiz for a government project in the UK. Cheers, Chris Gavin Mabie wrote: Hi list Is there anybody on the list that tried or implemented OfBiz in the public sector / government? Gavin
Re: xml engine / handler
Many thanks! When I get a chance to look at this, are you happy for me to put a formal write-up of this on the ofbiz wiki? Zhang Shiqian wrote: 1. Apply the service-wsdl.patch to your OFBIZ copy. 2. Export your service by add export=true in your service definition file(services.xml), for example service name=getReverseAuctionPrice engine=java export=true location= 3. In the Flex mxml file, declare the web service ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/halo creationComplete=initApp() fx:Declarations s:WebService id=serviceId wsdl= http://localhost:8080/webtools/control/SOAPService/getReverseAuctionPrice?WSDL useProxy=false s:operation name=getReverseAuctionPrice result=flashReverseAuctionData(event) fault=showError(event) s:request period{period}/period runMode{runMode}/runMode itemId{itemId}/itemId participants{participants}/participants newestBidTime{newestBidTime}/newestBidTime /s:request /s:operation /s:WebService /fx:Declarations flashReverseAuctionData and showError are the callback method. period and runMode are the parameters which bind to properties of the class. fx:Script [Bindable] private var itemId:String; [Bindable] private var participants:String; ... 4. Create the callback method called by Flex webservice component. private function showError(event:FaultEvent):void { Alert.show(event.fault.faultString); } 5. Call the service try { serviceId.getReverseAuctionPrice(); } catch(ex:Error) { Alert.show(ex.message); } 6. Manipulate the result private function flashReverseAuctionData(event:ResultEvent):void { var bidsData = JSON.decode(event.result.toString()); if(bidsDataStore==null ){ bidsDataStore= bidsData; }else{ //TODO } } Using as3corelib to deal with JSON format data On Tue, Feb 2, 2010 at 1:05 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Zhang, Would you be happy to provide some documentation on how to do this? Many thanks, Chris Zhang Shiqian wrote: Ofbiz services can be exported as standard web services, you can use Flex to call the web services. We have developed some Flex components used in our ofbiz applications run in this model, and introduced as3corelib to deal with JSON format data. On Tue, Feb 2, 2010 at 12:42 AM, Christopher Snow sno...@snowconsulting.co.uk wrote: We are not automatically exporting objects with REST. We are exporting some services with REST. Each one has to be manually coded. It would be nice to develop a solution to automatically export objects (entities), perhaps this would be relatively trivial using the new entity-auto service (i.e. CRuD service)? Abdullah Shaikh wrote: Yes, thats good to have a separate component to handle xml over http, REST in your case. But I am not getting how are forming the url's, because in REST, urls represents a objects. For example : http://ofbiz/partymgr/party/1234 - will represent a party whose id is 1234 http://ofbiz/partymgr/party/1234/addrress/5678 - will represent the address whose id is 5678 of party 1234 I guess its difficult to have this sort of thing considering the number of functionality already build in ofbiz. or are you using REST but not following the each url represents an object. Thanks, Abdullah On Mon, Feb 1, 2010 at 9:23 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Sorry - just seen this. The approach we currently use is having a dedicated web app in ofbiz which is used to expose ofbiz services using REST (the organisation favors REST) . We are using the jersey rest libraries. I believe our flex guy is using HTTPService to communicate with rest. Cheers, chris Abdullah Shaikh wrote: Hi Chris, I don't want to use xml-rpc but instead would like to use Flex HTTPService, I guess xml-rpc would work with HTTPService. Basic idea is to create a xml over http communication between ofbiz any other RIA, so that we can make ofbiz communicated with flex, gwt etc. I will have a look at the link provided. Thanks, Abdullah On Mon, Feb 1, 2010 at 8:09 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Abdullah, On my current project, we initially used xml-rpc using a flex xmlrpc library sent to me by Andrew Zeneski. We had tried using the new ofbiz soap implementation, but it didn't play nicely with flex. Have a look
cascade deletes
Is it possible to do a cascade delete in an ofbiz service? Many thanks in advance, Chris
Re: SVN
I would recommend the following for stable: http://svn.apache.org/repos/asf/ofbiz/branches/release09.04 Jeroen van der Wal wrote: - In Explorer right click on a directory (eg your home or documents directory) - Select SVN Checkout - Enter URL of repository: http://svn.apache.org/repos/asf/ofbiz/trunk/ - Click OK Jeroen van der Wal Stromboli b.v. +31 655 874050 On Mon, Feb 1, 2010 at 1:28 PM, Brendan Vogt brendan.v...@gmail.com wrote: Hi, I want to download the code by using Tortoise SVN, where must I point it to? What is the difference between the different versions, trunk, release9.04 and release4.0? I'm looking for the stable version. How would I use the following with Tortoise? $ svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz Brendan
Re: SVN
Release 9.04 only gets updated with bug fixes. If you are looking to learn ofbiz, stable is the way to go. If something doesn't work as you expect when working on trunk, you don't know if the problem is your mis-understanding, or if it's the 'code' that's broken. Brendan Vogt wrote: Does this get updated frequently, or only on major releases like once a year? On 1 February 2010 14:45, Christopher Snow sno...@snowconsulting.co.ukwrote: I would recommend the following for stable: http://svn.apache.org/repos/asf/ofbiz/branches/release09.04 Jeroen van der Wal wrote: - In Explorer right click on a directory (eg your home or documents directory) - Select SVN Checkout - Enter URL of repository: http://svn.apache.org/repos/asf/ofbiz/trunk/ - Click OK Jeroen van der Wal Stromboli b.v. +31 655 874050 On Mon, Feb 1, 2010 at 1:28 PM, Brendan Vogt brendan.v...@gmail.com wrote: Hi, I want to download the code by using Tortoise SVN, where must I point it to? What is the difference between the different versions, trunk, release9.04 and release4.0? I'm looking for the stable version. How would I use the following with Tortoise? $ svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz Brendan
Re: xml engine / handler
Hi Abdullah, On my current project, we initially used xml-rpc using a flex xmlrpc library sent to me by Andrew Zeneski. We had tried using the new ofbiz soap implementation, but it didn't play nicely with flex. Have a look at XMLRPC in the faq: http://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo If you want a more optimised communication between flex and ofbiz, you can try BlazeDS: http://langhua.org/portal/portal/default/OFBiz/OFBizBlazeDSModulePortletWindow?windowstate=maximized Cheers, Chris Abdullah Shaikh wrote: Hi All, I want to develop a flex application which will interact with ofbiz using xml. I just had a cursory view of xmlrpcclient xmlserializer, has anybody done this ? what will be the best way to have ofbiz output xml ? I have seen that GenericValue can be easily converted to xml form. The request can be in xml form or can be a normal http request, but the response from ofbiz should be in xml form, for example something like this, Orders Order id=1 status=Approved/ - all the required fields Order id=2 status=Created/ /Orders Parties Party firstname=abc lastname=xyz - all the required fields /Parties This way we can have a flex application communicate with ofbiz using xml over http, I think flex don't understand json, so we need to go the xml way and also the benefits of xml is that with this approach ofbiz can interact with any kind of RIA technology. Thanks, Abdullah
Re: xml engine / handler
I HAVE connected to ofbiz with flex using xmlrpc. Did you see my post? http://n4.nabble.com/forum/PostLink.jtp?post=1458842 Bilgin Ibryam wrote: Abdullah Shaikh wrote: Hi Bilgin, The client can be in any RIA technology, I need to communicate with ofbiz from flex, in this case I guess I won't be able to use xmlrpc client. Thanks, Abdullah On Mon, Feb 1, 2010 at 8:14 PM, Bilgin Ibryam bibr...@gmail.com wrote: Abdullah Shaikh wrote: Hi All, I want to develop a flex application which will interact with ofbiz using xml. I just had a cursory view of xmlrpcclient xmlserializer, has anybody done this ? what will be the best way to have ofbiz output xml ? I have seen that GenericValue can be easily converted to xml form. The request can be in xml form or can be a normal http request, but the response from ofbiz should be in xml form, for example something like this, Orders Order id=1 status=Approved/ - all the required fields Order id=2 status=Created/ /Orders Parties Party firstname=abc lastname=xyz - all the required fields /Parties This way we can have a flex application communicate with ofbiz using xml over http, I think flex don't understand json, so we need to go the xml way and also the benefits of xml is that with this approach ofbiz can interact with any kind of RIA technology. Thanks, Abdullah Hi Abdullah, take a look at XmlRpcEventHandler.java. We use it to call ofbiz services by sending data in xml format over http (using a xmlrpc client). The result is also returned in xml format. Bilgin I have no experience with flex, but xmlrpc is just a way to transport the data over http encoded in xml. (it is like a lightweight soap) In this sense, it doesn't matter what technology is using your client application. If it is able to encode the data in properly formatted xml and send it over http (and then read the result), that would be enough. I see that there are also flex libraries for xmlrpc http://en.wikipedia.org/wiki/XML-RPC Bilgin
Re: xml engine / handler
Sorry - just seen this. The approach we currently use is having a dedicated web app in ofbiz which is used to expose ofbiz services using REST (the organisation favors REST) . We are using the jersey rest libraries. I believe our flex guy is using HTTPService to communicate with rest. Cheers, chris Abdullah Shaikh wrote: Hi Chris, I don't want to use xml-rpc but instead would like to use Flex HTTPService, I guess xml-rpc would work with HTTPService. Basic idea is to create a xml over http communication between ofbiz any other RIA, so that we can make ofbiz communicated with flex, gwt etc. I will have a look at the link provided. Thanks, Abdullah On Mon, Feb 1, 2010 at 8:09 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Abdullah, On my current project, we initially used xml-rpc using a flex xmlrpc library sent to me by Andrew Zeneski. We had tried using the new ofbiz soap implementation, but it didn't play nicely with flex. Have a look at XMLRPC in the faq: http://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo If you want a more optimised communication between flex and ofbiz, you can try BlazeDS: http://langhua.org/portal/portal/default/OFBiz/OFBizBlazeDSModulePortletWindow?windowstate=maximized Cheers, Chris Abdullah Shaikh wrote: Hi All, I want to develop a flex application which will interact with ofbiz using xml. I just had a cursory view of xmlrpcclient xmlserializer, has anybody done this ? what will be the best way to have ofbiz output xml ? I have seen that GenericValue can be easily converted to xml form. The request can be in xml form or can be a normal http request, but the response from ofbiz should be in xml form, for example something like this, Orders Order id=1 status=Approved/ - all the required fields Order id=2 status=Created/ /Orders Parties Party firstname=abc lastname=xyz - all the required fields /Parties This way we can have a flex application communicate with ofbiz using xml over http, I think flex don't understand json, so we need to go the xml way and also the benefits of xml is that with this approach ofbiz can interact with any kind of RIA technology. Thanks, Abdullah
Re: xml engine / handler
We are not automatically exporting objects with REST. We are exporting some services with REST. Each one has to be manually coded. It would be nice to develop a solution to automatically export objects (entities), perhaps this would be relatively trivial using the new entity-auto service (i.e. CRuD service)? Abdullah Shaikh wrote: Yes, thats good to have a separate component to handle xml over http, REST in your case. But I am not getting how are forming the url's, because in REST, urls represents a objects. For example : http://ofbiz/partymgr/party/1234 - will represent a party whose id is 1234 http://ofbiz/partymgr/party/1234/addrress/5678 - will represent the address whose id is 5678 of party 1234 I guess its difficult to have this sort of thing considering the number of functionality already build in ofbiz. or are you using REST but not following the each url represents an object. Thanks, Abdullah On Mon, Feb 1, 2010 at 9:23 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Sorry - just seen this. The approach we currently use is having a dedicated web app in ofbiz which is used to expose ofbiz services using REST (the organisation favors REST) . We are using the jersey rest libraries. I believe our flex guy is using HTTPService to communicate with rest. Cheers, chris Abdullah Shaikh wrote: Hi Chris, I don't want to use xml-rpc but instead would like to use Flex HTTPService, I guess xml-rpc would work with HTTPService. Basic idea is to create a xml over http communication between ofbiz any other RIA, so that we can make ofbiz communicated with flex, gwt etc. I will have a look at the link provided. Thanks, Abdullah On Mon, Feb 1, 2010 at 8:09 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Abdullah, On my current project, we initially used xml-rpc using a flex xmlrpc library sent to me by Andrew Zeneski. We had tried using the new ofbiz soap implementation, but it didn't play nicely with flex. Have a look at XMLRPC in the faq: http://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo If you want a more optimised communication between flex and ofbiz, you can try BlazeDS: http://langhua.org/portal/portal/default/OFBiz/OFBizBlazeDSModulePortletWindow?windowstate=maximized Cheers, Chris Abdullah Shaikh wrote: Hi All, I want to develop a flex application which will interact with ofbiz using xml. I just had a cursory view of xmlrpcclient xmlserializer, has anybody done this ? what will be the best way to have ofbiz output xml ? I have seen that GenericValue can be easily converted to xml form. The request can be in xml form or can be a normal http request, but the response from ofbiz should be in xml form, for example something like this, Orders Order id=1 status=Approved/ - all the required fields Order id=2 status=Created/ /Orders Parties Party firstname=abc lastname=xyz - all the required fields /Parties This way we can have a flex application communicate with ofbiz using xml over http, I think flex don't understand json, so we need to go the xml way and also the benefits of xml is that with this approach ofbiz can interact with any kind of RIA technology. Thanks, Abdullah
Re: xml engine / handler
Hi Zhang, Would you be happy to provide some documentation on how to do this? Many thanks, Chris Zhang Shiqian wrote: Ofbiz services can be exported as standard web services, you can use Flex to call the web services. We have developed some Flex components used in our ofbiz applications run in this model, and introduced as3corelib to deal with JSON format data. On Tue, Feb 2, 2010 at 12:42 AM, Christopher Snow sno...@snowconsulting.co.uk wrote: We are not automatically exporting objects with REST. We are exporting some services with REST. Each one has to be manually coded. It would be nice to develop a solution to automatically export objects (entities), perhaps this would be relatively trivial using the new entity-auto service (i.e. CRuD service)? Abdullah Shaikh wrote: Yes, thats good to have a separate component to handle xml over http, REST in your case. But I am not getting how are forming the url's, because in REST, urls represents a objects. For example : http://ofbiz/partymgr/party/1234 - will represent a party whose id is 1234 http://ofbiz/partymgr/party/1234/addrress/5678 - will represent the address whose id is 5678 of party 1234 I guess its difficult to have this sort of thing considering the number of functionality already build in ofbiz. or are you using REST but not following the each url represents an object. Thanks, Abdullah On Mon, Feb 1, 2010 at 9:23 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Sorry - just seen this. The approach we currently use is having a dedicated web app in ofbiz which is used to expose ofbiz services using REST (the organisation favors REST) . We are using the jersey rest libraries. I believe our flex guy is using HTTPService to communicate with rest. Cheers, chris Abdullah Shaikh wrote: Hi Chris, I don't want to use xml-rpc but instead would like to use Flex HTTPService, I guess xml-rpc would work with HTTPService. Basic idea is to create a xml over http communication between ofbiz any other RIA, so that we can make ofbiz communicated with flex, gwt etc. I will have a look at the link provided. Thanks, Abdullah On Mon, Feb 1, 2010 at 8:09 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Abdullah, On my current project, we initially used xml-rpc using a flex xmlrpc library sent to me by Andrew Zeneski. We had tried using the new ofbiz soap implementation, but it didn't play nicely with flex. Have a look at XMLRPC in the faq: http://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo If you want a more optimised communication between flex and ofbiz, you can try BlazeDS: http://langhua.org/portal/portal/default/OFBiz/OFBizBlazeDSModulePortletWindow?windowstate=maximized Cheers, Chris Abdullah Shaikh wrote: Hi All, I want to develop a flex application which will interact with ofbiz using xml. I just had a cursory view of xmlrpcclient xmlserializer, has anybody done this ? what will be the best way to have ofbiz output xml ? I have seen that GenericValue can be easily converted to xml form. The request can be in xml form or can be a normal http request, but the response from ofbiz should be in xml form, for example something like this, Orders Order id=1 status=Approved/ - all the required fields Order id=2 status=Created/ /Orders Parties Party firstname=abc lastname=xyz - all the required fields /Parties This way we can have a flex application communicate with ofbiz using xml over http, I think flex don't understand json, so we need to go the xml way and also the benefits of xml is that with this approach ofbiz can interact with any kind of RIA technology. Thanks, Abdullah
Re: How to add task time to a new invoice
Hi Ruth, When you have figured out how to use ofbiz for a consulting firm, will you be including this in one of your books? I would certainly like to know how to do this, but without having to go through all the pain that you have gone through! Many thanks, Chris Ruth Hoffman wrote: OK, can't do that because one already exist...plan b, start all over new project, new timesheet. TIA Ruth Ruth Hoffman wrote: Hi Hans: It is not really clear how to do that. I get mired down chasing navigation links. Anyhow, I'll try creating a new time sheet with a through date before the end of the current month and see if that one shows up. TIA Ruth Hans Bakker wrote: you can adjust the date to a later date before creating he invoice On Sun, 2010-01-31 at 17:40 -0500, Ruth Hoffman wrote: Hi Hans: So, I shall check my timesheets for end dates relative to the current month (since I'm creating a new invoice) Thanks again Ruth Hans Bakker wrote: Hi Ruth, when you create an invoice, you can set the end date which defaults to the end of the last month what normally should be ok for monthly billing... if your timesheets however are laterthen they cannot be found. Regards, Hans On Sun, 2010-01-31 at 17:30 -0500, Ruth Hoffman wrote: Hi Hans: Thanks for the quick reply! I thought that is how it might work. I tried this...and I get the following error: No timeentry items found. This lead me to believe that I have to do something else besides create project - create phase - create task - create timesheet - set timesheet to complete Then when I bring up the Billing tab for my project I see Hours not yet billed information and my timesheets are all listed. When I go to Add all reported/approved task time to a new invoice I get that response. So, I think I'm missing something? TIA Ruth Hans Bakker wrote: timesheets have tasks...if you report on a task, the tasks are related to a project. you have to 'complete' the timesheet in order for it to appear in the project billing tab. Regards Hans On Sun, 2010-01-31 at 17:06 -0500, Ruth Hoffman wrote: Quick question about the Project Manager application: How does one associate timesheets with projects? I see where I can Add all reported/approved task time to a new invoice but how do I get a task approved. And how do I associate the timesheet (which I am assuming is the task time) with a project? TIA Ruth
ofbiz read-only database connection
Is it possible to set the ofbiz database connection to read only? Many thanks in advance, Chris
run-install-readers error
Hi Forum, I noticed that the following command wasn't loading any data: ./ant run-install-readers -Dreaders=ext,ext-demo The log is showing: [java] 2010-01-14 10:05:48,514 (main) [ EntityDataLoader.java:104:INFO ] Could not find entity-data-reader named: ${data-readers}. Creating a new reader with this name. [java] 2010-01-14 10:05:48,515 (main) [EntityDataLoadContainer.java:390:INFO ] =-=-=-=-=-=-= No data load files found. [java] 2010-01-14 10:05:48,515 (main) [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data load with 0 rows changed. [java] 2010-01-14 10:05:48,515 (main) [ ContainerLoader.java:113:INFO ] Shutting down containers Any ideas? Many thanks, Chris
Re: run-install-readers error
It is a bug - https://issues.apache.org/jira/browse/OFBIZ-3410 - patch supplied Christopher Snow wrote: Hi Forum, I noticed that the following command wasn't loading any data: ./ant run-install-readers -Dreaders=ext,ext-demo The log is showing: [java] 2010-01-14 10:05:48,514 (main) [ EntityDataLoader.java:104:INFO ] Could not find entity-data-reader named: ${data-readers}. Creating a new reader with this name. [java] 2010-01-14 10:05:48,515 (main) [EntityDataLoadContainer.java:390:INFO ] =-=-=-=-=-=-= No data load files found. [java] 2010-01-14 10:05:48,515 (main) [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data load with 0 rows changed. [java] 2010-01-14 10:05:48,515 (main) [ ContainerLoader.java:113:INFO ] Shutting down containers Any ideas? Many thanks, Chris
Re: Error initializing endpoint,java.lang.Exception: Invalid Server SSL Protocol
The problem was caused by previously installing the ubuntu tomcat package. This solved the problem: sudo apt-get remove libtcnative-1 chris snow wrote: I have now experienced this error on three Ubuntu 9.10 PC's. The only way I got around it was to use apache httpd and mod_proxy. However, I now need to do ./ant run-tests and I am getting the error message? Many thanks, Chris Christopher Snow-2 wrote: I'm getting the following error on ubuntu 9.10, with sun-java6 Any ideas anyone? 2009-12-19 18:27:13,492 (main) [ Http11AprProtocol.java:109:ERROR] Error initializing endpoint java.lang.Exception: Invalid Server SSL Protocol at org.apache.tomcat.jni.SSLContext.make(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:680) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1058) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:409) org.ofbiz.base.start.StartupException: Cannot init() catalina-container (LifecycleException: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol (Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol)) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:409) org.ofbiz.base.container.ContainerException: LifecycleException: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol (Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:220) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:409) Caused by: LifecycleException: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol at org.apache.catalina.connector.Connector.initialize(Connector.java:1060) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218) ... 5 more org.ofbiz.base.container.ContainerException: LifecycleException: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol (Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:220) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:409) Caused by: LifecycleException: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol at org.apache.catalina.connector.Connector.initialize(Connector.java:1060) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218) ... 5 more -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk
Re: Any CMS tool based on OFBiz
There has recently been some CMS documentation made available at: http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Content+Management+How+to Kaushik Chakraborty wrote: Hi, I am looking for any CMS tool/product which is based on OFBiz. I did search on web but I could not find anything. Hence, looking out here - if someone is using something or anything of that sort in development. OFBiz's in-built CMS application has no documentation and does not serve intended features, hence not considered. Thanks, Kaushik
workeffort data modeling questions
Hi Forum, I have a requirement to represent some legal concepts in ofbiz. We are still clarifying the business data model, but roughly, we have a (court) hearing which consists of: - reading time - hearing duration - judgement time The hearing such as Smith vs. Jones will have a judge (i.e. party) associated it. The hearing duration will have a facility (court room) associated with it. The hearing duration may have audio/visual resources equipment (assets) associated with it. A hearing is associated with one case. I was thinking of extending WorkEffort to add the case id, then have a Work Effort to represent the Hearing and children WorkEffort's to represent the Reading Time, Hearing Duration and Judgement Time? Does this use of WorkEffort make sense in ofbiz? Many thanks in advance, Chris
importing seed/demo data for my component only
During developing my component, I am frequently creating new demo data as my component grows and pasting the data into the webtools import screen. Is there a way to automate loading the demo data for my component? Running ant run-install is not practical because it installs the demo data for all the components (and takes ages). I would like to keep my demo data in the default demo reader so that it will still get installed with ant run-install when I finally deploy my project. Something like the following ant target would do what I'm looking for: ./ant run-install-readers -Ddata-readers=demo -Dcomponents=mycomponent Many thanks in advance, Chris
Re: importing seed/demo data for my component only
Hi Jacques, entityengine.xml explains it all! The create-component script puts the component data in the seed and demo reader. Perhaps it should put the data under ext and ext-demo? Many thanks, Chris Jacques Le Roux wrote: Hi Chris, You can use the ext data for that. Look for ext in entityengine.xml. Then you can use run-install-extseed. See the main build.xml file. Also, from OFBiz main dir, ant -p is your friend. Jacques From: Christopher Snow sno...@snowconsulting.co.uk During developing my component, I am frequently creating new demo data as my component grows and pasting the data into the webtools import screen. Is there a way to automate loading the demo data for my component? Running ant run-install is not practical because it installs the demo data for all the components (and takes ages). I would like to keep my demo data in the default demo reader so that it will still get installed with ant run-install when I finally deploy my project. Something like the following ant target would do what I'm looking for: ./ant run-install-readers -Ddata-readers=demo -Dcomponents=mycomponent Many thanks in advance, Chris -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk