Java Events

2009-05-28 Thread Anshuman Manur
Dear all, If I declare a Java event to invoke a method in the controller.xml file, the method must have a signature: public static String (HttpServletRequest request, HttpServletResponse response) { } What is the returned string for? and how can I access it in an FTL file or a script? Thanks, A

Re: Java Events

2009-05-28 Thread Ashish Vijaywargiya
This document can be your friend. http://docs.ofbiz.org/x/UBE -- Ashish Anshuman Manur wrote: Dear all, If I declare a Java event to invoke a method in the controller.xml file, the method must have a signature: public static String (HttpServletRequest request, HttpServletResponse response) {

Re: BUILD FAILED while adding new component

2009-05-28 Thread Ashish Vijaywargiya
You should add the below entry in your build.xml file. It looks like you have done entry for party component, so you will be fine to move further. Still you get error then share your build.xml file. -- Ashish shuchi wrote: I added a new java class and I think there I am getting the error.

Re: database different host/ip (not localhost)

2009-05-28 Thread Ashish Vijaywargiya
Hello Mr. Plaikoil, It looks like that I can help you here. As I also faced the same problem before two years or so. To me it looks like you are saying correct, the problem is related case sensitivity IMO. You should open my.cnf file on your database server machine. And then add the following

Re: Java Events

2009-05-28 Thread Anshuman Manur
It is friendly. Thank you. On Thu, May 28, 2009 at 1:33 PM, Ashish Vijaywargiya < ashish.vijaywarg...@hotwaxmedia.com> wrote: > This document can be your friend. > http://docs.ofbiz.org/x/UBE > > -- > Ashish > > > Anshuman Manur wrote: > >> Dear all, >> >> If I declare a Java event to invoke a me

Non-English ecommerce search results

2009-05-28 Thread Sam Hamilton
Hi List, We are having problems with non-English search results in the ecommerce module, now perhaps we have missed a setting (I hope so) but we just are not getting it to return the right results. When you are on this page - https://demo.ofbiz.org/catalog/control/EditProductKeyword?productId=

Direct import from second database

2009-05-28 Thread Ján Valkovič
Hi, is possible connect ofbiz to 2 databases in one time? I want import data from our old desktop, application. One of possible, clean and relative simply ways is read data from old database and write them indirect by ofbiz services. Thanks ya

Re: Direct import from second database

2009-05-28 Thread Jacques Le Roux
There is already a such example OOTB : the line in entityEngine.xml shows you the way Jacques From: "Ján Valkovic" Hi, is possible connect ofbiz to 2 databases in one time? I want import data from our old desktop, application. One of possible, clean and relative simply ways is read data

Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Vince Clark
We are working on an ecommerce replatforming project that will replace our client's existing ecommerce platform with OFBiz. They are currently running Great Plains for AP and GL and we are recommending they use OFBiz for this functionality and retire Great Plains. They have requested some info

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Adrian Crum
Why are you recommending replacing Great Plains? Is there a problem with it? If their accounting software is working for them, then why not create some connector code to get OFBiz eCommerce to feed data to Great Plains? -Adrian Vince Clark wrote: We are working on an ecommerce replatforming

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Vince Clark
Adrian We have legitimate reasons for not wanting to carry the existing GP implementation forward any further. I am simply looking for some experiences others have had that we could share with our client. Vince Clark vcl...@globalera.com (303) 493-6723 - Original Message - From: "Ad

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread BJ Freeman
I agree with adrian though Microsoft has taken over GreatPlains, it is still good software. It does tie you to a Microsoft Server, as a down side. if you want to migrate to ofbiz I suggest you run the two in tandem for a year. then if ofbiz agrees with great plains then consider a switch over. i am

setting default transaction timeout

2009-05-28 Thread mayo
I've been searching through the mailing list and google, but can't find if there is a default transaction timeout for OFBiz. I have read that I should set my system's "SO". I googled on this and there was little help. Does OFBiz 4.0 use this system SO as its default timeout value? If so, can s

Re: setting default transaction timeout

2009-05-28 Thread mayo
Is this the linux value I need to change? http://thedaneshproject.com/posts/how-to-set-default-session-timeout-in-linux/ echo "TMOUT=300 >> /etc/bashrc -- View this message in context: http://www.nabble.com/setting-default-transaction-timeout-tp23765847p23765878.html Sent from the OFBiz - Use

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Tim Ruppert
Guys - obviously Vince has a good reason for asking for this - so let's respect that and help him with what he's asked :) Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 - "BJ Freeman" wrote: > I agree with adrian > though Microsoft has tak

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Tim Ruppert
Vince, we've got a couple customers using the accounting application and they seem happy with it. I'll get some more information on it here shortly and I'll send it along. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 - "Vince Clark" wro

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Adrian Crum
I didn't mean any disrespect. Tearing out an accounting system and replacing it with something different is no small task. Data has to be migrated, procedures have to be changed, employees have to be retrained, and extensive testing has to be done to ensure you're getting the same results. Why

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Tim Ruppert
I can totally feel that sentiment in a HUGE way, Adrian - it ain't no small task at all! Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 - "Adrian Crum" wrote: > I didn't mean any disrespect. > > Tearing out an accounting system and replac

Bug in Order View Page of Sales Order

2009-05-28 Thread Arpit Singh Pandya
Hello All, When I Edit items from order view Screen and click on update items link, it will add "*Shipping and Handling*" and "*Adjustment Sales Tax*" to the cart every time . Steps to Generate bug: -- Create an Approved Sales Order Here we can find "*Shipping and Handling*" charges display

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Vince Clark
Thank you Tim. I appreciate you recognising that I am not looking for opinions on our approach. Any information you can provide is greatly appreciated. I will also make the effort to reciprocate and publish real customer scenarios where different areas of OFBiz are used. This is extremely import

Re: Need some feedback on usage of OFBiz for Accounting

2009-05-28 Thread Jacques Le Roux
Thanks Vince (and Tim), I appreciate Jacques From: "Vince Clark" Thank you Tim. I appreciate you recognising that I am not looking for opinions on our approach. Any information you can provide is greatly appreciated. I will also make the effort to reciprocate and publish real customer scenari

Re: MS SQL and OFBiz, database locks on transactions

2009-05-28 Thread mayo
I have been running OFBiz through normal usage tests for a client for almost a month. Employees are working around 300 orders throughout an 8 hour day with 2-3 warehouse users and 1-2 customer service users. I am getting deadlocks throughout the day with the OFBiz 4.0 code that do not have any cu

Re: setting default transaction timeout

2009-05-28 Thread Jacques Le Roux
For the embedded Geronimo it's set à 60 seconds see DBCPConnectionFactory.java[96] http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html#setTimeBetweenEvictionRunsMillis(long) Jacques From: "mayo" I've been searching through the mailing list and google, but can't

Re: setting default transaction timeout

2009-05-28 Thread Jacques Le Roux
Mmm, too quick... Actually it seems to be 120 seconds and set by pool.setMaxWait(12); I was abused by the OFBiz documentation which says that it's 60 seconds and saw after that in pool.setTimeBetweenEvictionRunsMillis(60); it's actually 10 mins... The doc is here http://commons.apache.o

Re: setting default transaction timeout

2009-05-28 Thread David E Jones
Actually, neither of those are the transaction timeout, those are just connection pool management settings. As for where to configure it now... I'm disappointed to say that it isn't configurable anymore (maybe it never was, but I thought it was a long time ago). In general you can speci

How can I get this antisamy-esapi.xml error

2009-05-28 Thread Al Byers
I just got this error after updating OFBiz for the first time in 2-3 months: exception report -- Service invocation error Exception: org.ofbiz.service.GenericServiceException Message: Service [loadTests] target threw an unexpected except

Re: setting default transaction timeout

2009-05-28 Thread mayo
Thanks for the information guys. This was very good help. I ended up setting the transactiontimeout for the particular services that were timing out and it worked great. I am still interested in the default value and will look into what you suggested David. Thanks for the quick responses. D

Re: How can I get this antisamy-esapi.xml error

2009-05-28 Thread Al Byers
Nevermind. I see that I have an svn update conflict. -Al On Thu, May 28, 2009 at 3:22 PM, Al Byers wrote: > I just got this error after updating OFBiz for the first time in 2-3 > months: > > exception report > -- > Service invocation e

Re: How can I get this antisamy-esapi.xml error

2009-05-28 Thread Adrian Crum
Al, If it has been 2-3 months since your last update, you'll need to run clean-all and run-install. A lot has changed recently. -Adrian Al Byers wrote: Nevermind. I see that I have an svn update conflict. -Al On Thu, May 28, 2009 at 3:22 PM, Al Byers wrote: I just got this error after up

Re: Security Role creation

2009-05-28 Thread Ravi Kumar
I'm using ofbiz-trunk-2009-05-01-v770590.zip Still i'm getting same error :( On Wed, May 27, 2009 at 2:24 PM, aswath narayana wrote: > My examplesecuritydata.xml file looks like this. Where did you get the > 'access:xyz' colon sytax. Maybe you need to update your source to the > latest OFBi