Stale DB-connections

2008-01-30 Thread Hans Holmlund
I have just upgraded to the latest version of Entity Engine and stumbled upon a problem. The problem I had was that db-connections were dropped after awhile but without actually closing the TCP session with the database. So when I checked with netstat I had a lot of connections in a CLOSE_WAIT

Re: Calling a service from script

2008-01-30 Thread Jacques Le Roux
Did you provide definition and implementation ? Jacques From: "Deepaks" <[EMAIL PROTECTED]> Well, solved that part. Seems the docs are old and things have changed. Got the fix from source. Now im getting "Cannot locate service by name (servicename)" Though, im sure it exists. -- View this m

Re: Gift card processor error

2008-01-30 Thread Jacques Le Roux
Rashko, I made a tip from your explanations : http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-giftcard Thanks Jacques From: "Rashko Rejmer" <[EMAIL PROTECTED]> Hi Rupinder, Could you tell me if you are using the OFBiz demo data? If

Finally found something else to blog about

2008-01-30 Thread David E Jones
This is the result of recent meanderings of the mind about what is most important to emphasize in open source projects and why. As a bonus I'm attempting to coin a new term in this: Glass Cathedral. ;) http://osofbiz.blogspot.com/ -David

Re: Curly braces in ${bsh; ...}

2008-01-30 Thread David E Jones
Yes, that sounds correct. This isn't a fancy Java-aware parser, just a simple utility for flexibility. We are considering moving to use Apache Commons EL for these sorts of strings, but it wouldn't be totally backward compatible so it is something tabled for the future when we want to put

Re: Curly braces in ${bsh; ...}

2008-01-30 Thread X Gylee
Thx for your response Dimitri. However, as I stated before in my question, I have tried replacing the curlies with { and } which are the same as { and }. And they didn't work. In the meantime, I have looked at the source code for the string parser. Up to my understanding, it seems that the firstly-

Re: Calling a service from script

2008-01-30 Thread Deepaks
Well, solved that part. Seems the docs are old and things have changed. Got the fix from source. Now im getting "Cannot locate service by name (servicename)" Though, im sure it exists. -- View this message in context: http://www.nabble.com/Calling-a-service-from-script-tp15190744p15191450.htm

Re: Inventory Transfer

2008-01-30 Thread mike_mcmillan
I was using an earlier version. I tried it in 612568, and it worked fine. I appreciate the response. Mike BJ Freeman wrote: > > please supply SVN and rev number. > also any logs would be helpful. > > mike_mcmillan sent the following on 1/24/2008 10:50 AM: >> I am trying to complete an invento

Calling a service from script

2008-01-30 Thread Deepaks
Basically I am trying to call a service from zk. Which is basically bsh afaik (from tags). I tried the method explained in service engine guide - usage section Creating a GenericDispatcher and using runSync("servicename",context); The problem seems to be associated with GenericDispatcher's co

Re: Advise on best way to implement ...

2008-01-30 Thread David E Jones
Quite a few implementations of OFBiz have been done where serialized inventory was required. So, you're in luck. There is quite a bit of support already in OFBiz for manage inventory with serial numbers. It may be that you could get by with something more simple, but I'd recommend using t

Re: Advise on best way to implement ...

2008-01-30 Thread Ritz123
May be you can use extra fields in the PRODUCT table like comments or long description etc if you are not using them to store the serial #? The other option could be, to define serial # as product attribute or even a GoodIdentificationType. CaseT wrote: > > Hi, > > I need to attach serial n

Advise on best way to implement ...

2008-01-30 Thread Case Torres
Hi, I need to attach serial numbers(for products ordered) permanently to an order. Each product shipped needs a serial number. They don't need to be attached to the individual products just a list of serial numbers for each product in the order. The serial numbers need to be viewable when reviewin

RE: Can't cancel an order, getting error messages

2008-01-30 Thread Case Torres
Hi Bilgin, Wish I could remember how I created the problem. It was some combination of browsing and editing/deleting/changing and I didn't keep track of my steps. I ended up resolving the issue by deleting all relevant data from the database. Case Torres [EMAIL PROTECTED] > -Original Mes

Re: Duplicate primary key for Invoice

2008-01-30 Thread Raj Saini
Are using your custom data? Have you changed the company of your store? I had this problem when I had the invoices generated for two different entities. You can prefix invoice numbers with some letters e.g. name of your company. Raj simmy007 wrote: Hi, I am seeing some weird behavior on

Re: FTL Data model

2008-01-30 Thread David E Jones
It's hard to understand small parts of the system like this, ie without a more general understanding of the OFBiz framework. There are various ways to call/render an FTL template and things in the context can come from many places. The most common way is through the Screen Widget, and in

Duplicate primary key for Invoice

2008-01-30 Thread simmy007
Hi, I am seeing some weird behavior on my ofbiz site. I took the trunk snapshot today. I start my site by executing the command ant run-install. I am successfully able to place an order on the site as a user. As an admin I am able to confirm the order. But when I restart the server and place a ne

Re: Ofbiz SOAP

2008-01-30 Thread Florin Popa
Hello, From: "Florin Popa" <[EMAIL PROTECTED]> Thanks a lot for the reply. The first link could help on complex type but I haven't found any clue regarding arrays. Could someone send me such details? Try "axis array" on google. You may be interested notably by http://issues.apache.org/jira/b

Re: Ofbiz SOAP

2008-01-30 Thread Jacques Le Roux
From: "Florin Popa" <[EMAIL PROTECTED]> Thanks a lot for the reply. The first link could help on complex type but I haven't found any clue regarding arrays. Could someone send me such details? Try "axis array" on google. You may be interested notably by http://issues.apache.org/jira/browse/AX

Re: Ofbiz SOAP

2008-01-30 Thread Florin Popa
Thanks a lot for the reply. The first link could help on complex type but I haven't found any clue regarding arrays. Could someone send me such details? A second issue I already asked for, it is also important: would it be possible to deploy a service having more than one single method inside

Re: Curly braces in ${bsh; ...}

2008-01-30 Thread Dimitri Unruh
I guess you should try this one: { for { and } for } Viele Grüße Best Regards Dimitri Unruh Consultant AEW Agrenon GmbH Johanniskirchplatz 6 33615 Bielefeld Deutschland Fon: +49 521 5247-0 Fax: +49 521 5247-250 Mobil: +49 160 90 57 55 13 Company and Management Headquarters: Agrenon GmbH, J