Re: Apache.org incident report for 04/09/2010

2010-04-12 Thread Shi Yusen
OFBiz has the function to ban a user for a while if it's tried several
times failed. It seems jira was not.

Adding a new function to warn administrator(s) when this kind of trying
accumulates to a number?


在 2010-04-13二的 13:35 +0800,Sam Hamilton写道:
> Please excuse the cross post but I thought that everyone on both lists
> should be aware of this issue.
> 
> https://blogs.apache.org/infra/entry/apache_org_04_09_2010
> 
> Thanks
> Sam



Re: OFBiz performance issue.

2010-04-12 Thread David E Jones

If you made the change and results are still the same then the change probably 
didn't work. Did you check the WebTools cache management page to see if the 
timeouts were gone?

This isn't rocket science, but be careful when you're doing custom deployments 
(like with JBoss) because the classpath may not be what you think it is...

-David


On Apr 13, 2010, at 12:55 AM, Anil Soni wrote:

> Thanks David for the reply.
> 
> I 'had already done all these setting and tried on Jboss but still result are 
>  the same. Now when I am doing testing through Jmeter for concurrent users 
> than it is giving the error related to duplicate key value violates for 
> UserLoginHistory and ServerHit entities. Here is the error logs :
> 
> 
>  exception report 
> --
> Failure in create operation for entity [UserLoginHistory]: 
> org.ofbiz.entity.GenericEntityException: Error while inserting: [Gener
> icEntity:UserLoginHistory][createdStamp,2010-04-13 
> 11:12:50.609(java.sql.Timestamp)][createdTxStamp,2010-04-13 11:12:50.609(java.
> sql.Timestamp)][fromDate,2010-04-13 
> 11:12:50.609(java.sql.Timestamp)][lastUpdatedStamp,2010-04-13 
> 11:12:50.609(java.sql.Timestamp
> )][lastUpdatedTxStamp,2010-04-13 
> 11:12:50.609(java.sql.Timestamp)][partyId,admin(java.lang.String)][successfulLogin,Y(java.lang.S
> tring)][userLoginId,admin(java.lang.String)][visitId,10049(java.lang.String)] 
> (SQL Exception while executing the following:INSERT
> INTO public.USER_LOGIN_HISTORY (USER_LOGIN_ID, VISIT_ID, FROM_DATE, 
> THRU_DATE, PASSWORD_USED, SUCCESSFUL_LOGIN, LAST_UPDATED_STA
> MP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP, PARTY_ID) VALUES 
> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate
> key value violates unique constraint "pk_user_login_history")). Rolling back 
> transaction.
> Exception: org.ofbiz.entity.GenericEntityException
> Message: Error while inserting: 
> [GenericEntity:UserLoginHistory][createdStamp,2010-04-13 
> 11:12:50.609(java.sql.Timestamp)][create
> dTxStamp,2010-04-13 11:12:50.609(java.sql.Timestamp)][fromDate,2010-04-13 
> 11:12:50.609(java.sql.Timestamp)][lastUpdatedStamp,2010
> -04-13 11:12:50.609(java.sql.Timestamp)][lastUpdatedTxStamp,2010-04-13 
> 11:12:50.609(java.sql.Timestamp)][partyId,admin(java.lang.
> String)][successfulLogin,Y(java.lang.String)][userLoginId,admin(java.lang.String)][visitId,10049(java.lang.String)]
>  (SQL Exceptio
> n while executing the following:INSERT INTO public.USER_LOGIN_HISTORY 
> (USER_LOGIN_ID, VISIT_ID, FROM_DATE, THRU_DATE, PASSWORD_US
> ED, SUCCESSFUL_LOGIN, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, 
> CREATED_STAMP, CREATED_TX_STAMP, PARTY_ID) VALUES (?, ?, ?, ?, ?
> , ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint 
> "pk_user_login_history"))
>  cause 
> -
> Exception: org.ofbiz.entity.GenericDataSourceException
> Message: SQL Exception while executing the following:INSERT INTO 
> public.USER_LOGIN_HISTORY (USER_LOGIN_ID, VISIT_ID, FROM_DATE, T
> HRU_DATE, PASSWORD_USED, SUCCESSFUL_LOGIN, LAST_UPDATED_STAMP, 
> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP, PARTY_ID)
> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates 
> unique constraint "pk_user_login_history")
>  cause 
> -
> Exception: org.postgresql.util.PSQLException
> Message: ERROR: duplicate key value violates unique constraint 
> "pk_user_login_history"
>  stack trace 
> ---
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique 
> constraint "pk_user_login_history"
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321)
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
> 
> 
> Is there any solution for this ?
> 
> 
> -Original Message-
> From: David E Jones [mailto:d...@me.com]
> Sent: Friday, April 09, 2010 10:27 AM
> To: user@ofbiz.apache.org
> Subject: Re: OFBiz performance issue.
> 
> 
> You need to remove the cache timeouts. There are caches for all of the XML 
> widgets that cache it objects that are created from the XML files so no more 
> interpretation is needed in order to execute them. If you have the default 
> timeouts still enabled those will be thrown away every 10 seconds, causing 
> HUGE perfo

RE: OFBiz performance issue.

2010-04-12 Thread Anil Soni
Thanks David for the reply.

I 'had already done all these setting and tried on Jboss but still result are  
the same. Now when I am doing testing through Jmeter for concurrent users than 
it is giving the error related to duplicate key value violates for 
UserLoginHistory and ServerHit entities. Here is the error logs :


 exception report --
Failure in create operation for entity [UserLoginHistory]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: [Gener
icEntity:UserLoginHistory][createdStamp,2010-04-13 
11:12:50.609(java.sql.Timestamp)][createdTxStamp,2010-04-13 11:12:50.609(java.
sql.Timestamp)][fromDate,2010-04-13 
11:12:50.609(java.sql.Timestamp)][lastUpdatedStamp,2010-04-13 
11:12:50.609(java.sql.Timestamp
)][lastUpdatedTxStamp,2010-04-13 
11:12:50.609(java.sql.Timestamp)][partyId,admin(java.lang.String)][successfulLogin,Y(java.lang.S
tring)][userLoginId,admin(java.lang.String)][visitId,10049(java.lang.String)] 
(SQL Exception while executing the following:INSERT
 INTO public.USER_LOGIN_HISTORY (USER_LOGIN_ID, VISIT_ID, FROM_DATE, THRU_DATE, 
PASSWORD_USED, SUCCESSFUL_LOGIN, LAST_UPDATED_STA
MP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP, PARTY_ID) VALUES 
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate
key value violates unique constraint "pk_user_login_history")). Rolling back 
transaction.
Exception: org.ofbiz.entity.GenericEntityException
Message: Error while inserting: 
[GenericEntity:UserLoginHistory][createdStamp,2010-04-13 
11:12:50.609(java.sql.Timestamp)][create
dTxStamp,2010-04-13 11:12:50.609(java.sql.Timestamp)][fromDate,2010-04-13 
11:12:50.609(java.sql.Timestamp)][lastUpdatedStamp,2010
-04-13 11:12:50.609(java.sql.Timestamp)][lastUpdatedTxStamp,2010-04-13 
11:12:50.609(java.sql.Timestamp)][partyId,admin(java.lang.
String)][successfulLogin,Y(java.lang.String)][userLoginId,admin(java.lang.String)][visitId,10049(java.lang.String)]
 (SQL Exceptio
n while executing the following:INSERT INTO public.USER_LOGIN_HISTORY 
(USER_LOGIN_ID, VISIT_ID, FROM_DATE, THRU_DATE, PASSWORD_US
ED, SUCCESSFUL_LOGIN, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, 
CREATED_TX_STAMP, PARTY_ID) VALUES (?, ?, ?, ?, ?
, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint 
"pk_user_login_history"))
 cause -
Exception: org.ofbiz.entity.GenericDataSourceException
Message: SQL Exception while executing the following:INSERT INTO 
public.USER_LOGIN_HISTORY (USER_LOGIN_ID, VISIT_ID, FROM_DATE, T
HRU_DATE, PASSWORD_USED, SUCCESSFUL_LOGIN, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP, PARTY_ID)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates 
unique constraint "pk_user_login_history")
 cause -
Exception: org.postgresql.util.PSQLException
Message: ERROR: duplicate key value violates unique constraint 
"pk_user_login_history"
 stack trace ---
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique 
constraint "pk_user_login_history"
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321)
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)


Is there any solution for this ?


-Original Message-
From: David E Jones [mailto:d...@me.com]
Sent: Friday, April 09, 2010 10:27 AM
To: user@ofbiz.apache.org
Subject: Re: OFBiz performance issue.


You need to remove the cache timeouts. There are caches for all of the XML 
widgets that cache it objects that are created from the XML files so no more 
interpretation is needed in order to execute them. If you have the default 
timeouts still enabled those will be thrown away every 10 seconds, causing HUGE 
performance problems. These settings are in the cache.properties file, and you 
can use the WebTools Cache Management pages to check on the cache settings to 
make sure they are what you expect (ie NO timeouts for the widget and other XML 
files, including service defs, etc, etc).

Please be sure to read through the sections on caching and logging in the 
Technical Production Setup Guide that is available on cwiki.apache.org.

-David


On Apr 8, 2010, at 11:50 PM, Anil Soni wrote:

> Dear Users,
>
> I am doing OFBiz performance testing on JBOSS application server.

Apache.org incident report for 04/09/2010

2010-04-12 Thread Sam Hamilton
Please excuse the cross post but I thought that everyone on both lists
should be aware of this issue.

https://blogs.apache.org/infra/entry/apache_org_04_09_2010

Thanks
Sam


Creating Template for Jboss 4.3 commercial version in OFBiz

2010-04-12 Thread Pardeep Ruhil
Hi,

I want to include the template for Jboss 4.3 commercial version.
So I want to know the basic steps that needs to taken to create template files 
for Jboss 4.3
Please help to make a template for JBoss 4.3

Thanks & Regards
Pradeep Ruhil



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

__

RE: Ofbiz demo product elimination

2010-04-12 Thread Shreya Poorkar
Hi

You can do one thing, go to specialpurpose/ecommerce/data/DemoProduct.xml and 
comment out the products from there also check if these products are used in 
any other data file, if so u will have to comment them as well.
Other associated data files are DemoProductImages.xml, DemoRentalProduct.xml, 
check for others if problem occurs in data loading.
If you want to completely clean the demo data go to ofbiz-component.xml and 
comment loading of files with type "data" and add your own data files.





-Original Message-
From: asitkumar@tcs.com [mailto:asitkumar@tcs.com]
Sent: Monday, April 12, 2010 4:25 PM
To: user@ofbiz.apache.org
Subject: Ofbiz demo product elimination


hello
i have configured my ofbiz appplication pointing to MYSQL. Now
everytime i run 'ant run-install' it adds all the demo products to ofbiz
database as mentioned in build file. Please help me to configure my
application such that those service wont be called which adds demo products
to database even if i run ant run-install. Thanks in advance for your kind
suggestion.
--
View this message in context: 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1836946.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

__

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

__


Re: Ofbiz demo product elimination

2010-04-12 Thread Anurag Walia

Hi,

just check your entityengine.xml again there is   sub tag of your delegator.

and change install-containers.xml inside base/config folder 
There is 
change value with your delegator name.
Then try with ant run-install

Regards
Anurag Walia

-- 
View this message in context: 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1837986.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Anurag Walia

Hi,

Some times if the  java file exist inside hot-deploy then problem come like
this.
can you specify the path of your java and groovy file.

Regards
Anurag Walia 
-- 
View this message in context: 
http://n4.nabble.com/any-reason-a-groovy-file-can-t-execute-my-java-class-tp1837571p1837980.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Anurag Walia

Thanks for your valuable reply.
i got the solution.
There was a problem in suplier Currency Uom Id.

Regards
Anurag Walia
-- 
View this message in context: 
http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1837974.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Anurag Walia

Thanks for your valuable reply
i got the solution.
There was a problem in suplier Currency Uom Id.

Regards
Anurag Walia
-- 
View this message in context: 
http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1837973.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: running ofbiz in Eclipse

2010-04-12 Thread Robert Morley
Hi Khalid,

I seem to recall that if you do a build and then start Ofbiz (without loading 
seed data) it simply gives you no page and no error message.  Usually I run the 
"run-install" ant target before starting things up.

As for executing in Eclipse, I have to do the following things (from memory) --

- add config folder to the classpath (\framework\base\config) this is required 
by Start to find all of the components in the classpath
- edit ofbiz-containers.xml and comment out the "commons-vfs-container" and 
"webslinger-container" both of these cause me problems due to classpath issues; 
and I do not make use of either of them

After that you can run/debug the Start application (giving it reasonable memory 
-Xmx512M should do it).  Having said all of this; I believe a lot of people 
simply run the ant target and then attach the eclipse debugger to that running 
process.

Good luck!

- Original Message -
From: "Khalid Sultan" 
To: user@ofbiz.apache.org
Sent: Monday, April 12, 2010 4:39:44 PM
Subject: running ofbiz in Eclipse

Hi,
 
I have tried to run Ofbiz in eclipse but I couldn't. I imported the ofbiz 
project to eclipse. It doesn't give any errors. Running (build.xml) as ant 
works well and builds successful. However, when  I type 
(http://localhost:8080/ecommerce) into the URL, it doesn't give me any thing. 
So, I am wondering if can help me in this.
 
Thanks in advance.
 
Regads,
 
Khalid Sultan 
 




Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Sharan-F

Hi Anurag

It sounds to me like you havent setup your product correctly. The Supplier
or Suppliers that you order your product from should be linked to your
product. 

For your product go the the 'Suppliers' tab and make sure there is an entry
your supplier. If there isnt then create one.

If you need an example of how to do this then download a free copy of the
'Getting Started with Apache OFBiz Manufacturing & MRP in 5 Easy Steps' from
www.myofbiz.com. 

How to create a supplier for a product is shown on page 12 and preparing a
Purchase Order for a product is shown on pages 33 and 34.

Thanks
Sharan

-- 
View this message in context: 
http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1837793.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


running ofbiz in Eclipse

2010-04-12 Thread Khalid Sultan
Hi,
 
I have tried to run Ofbiz in eclipse but I couldn't. I imported the ofbiz 
project to eclipse. It doesn't give any errors. Running (build.xml) as ant 
works well and builds successful. However, when  I type 
(http://localhost:8080/ecommerce) into the URL, it doesn't give me any thing. 
So, I am wondering if can help me in this.
 
Thanks in advance.
 
Regads,
 
Khalid Sultan 
 


  

Re: given a list of facilityIds can I do a DB query and get a list of corresponding facility entities

2010-04-12 Thread David E Jones

Use the IN operator.

-David


On Apr 12, 2010, at 2:47 PM, Patrick wrote:

> I have a list of facilityIds and I want the entities.   I know I could
> put it in a for loop and do x number of database queries, but I was
> hoping there was a faster way since I know that DB queries are the
> bottleneck.  Thanks
> Patrick



Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Jacques Le Roux

Yes, that's a problem indeed

Jacques

From: "Patrick" 

I guess you can't have a groovy file with the same name as your java
class file  :(

On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum  wrote:

Make sure the update method is public, and that it takes no arguments and
returns a number.

-Adrian

Patrick wrote:


I made a little java class but it won't execute for me in groovy, I
can execute other classes

orh = new OrderReadHelper(); //i can execute this

z = new NextPickupDateUpdater(); //this is my class, it doesn't
complain, but it doesn't execute, inspecting the value gives a memory
address,
numdays = z.update(); //here it breaks


org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#main-decorator]:
groovy.lang.MissingMethodException: No signature of method:
NextPickupDateUpdater.update() is applicable for argument types: ()
values: {} (No signature of method: NextPickupDateUpdater.update() is
applicable for argument types: () values: {})









given a list of facilityIds can I do a DB query and get a list of corresponding facility entities

2010-04-12 Thread Patrick
I have a list of facilityIds and I want the entities.   I know I could
put it in a for loop and do x number of database queries, but I was
hoping there was a faster way since I know that DB queries are the
bottleneck.  Thanks
Patrick


Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I guess you can't have a groovy file with the same name as your java
class file  :(

On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum  wrote:
> Make sure the update method is public, and that it takes no arguments and
> returns a number.
>
> -Adrian
>
> Patrick wrote:
>>
>> I made a little java class but it won't execute for me in groovy, I
>> can execute other classes
>>
>> orh = new OrderReadHelper(); //i can execute this
>>
>> z = new NextPickupDateUpdater();  //this is my class, it doesn't
>> complain, but it doesn't execute, inspecting the value gives a memory
>> address,
>> numdays = z.update();  //here it breaks
>>
>>
>> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
>> [component://ecommerce/widget/CommonScreens.xml#main-decorator]:
>> groovy.lang.MissingMethodException: No signature of method:
>> NextPickupDateUpdater.update() is applicable for argument types: ()
>> values: {} (No signature of method: NextPickupDateUpdater.update() is
>> applicable for argument types: () values: {})
>>
>


Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Adrian Crum
Make sure the update method is public, and that it takes no arguments 
and returns a number.


-Adrian

Patrick wrote:

I made a little java class but it won't execute for me in groovy, I
can execute other classes

orh = new OrderReadHelper(); //i can execute this

z = new NextPickupDateUpdater();  //this is my class, it doesn't
complain, but it doesn't execute, inspecting the value gives a memory
address,
numdays = z.update();  //here it breaks


org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#main-decorator]:
groovy.lang.MissingMethodException: No signature of method:
NextPickupDateUpdater.update() is applicable for argument types: ()
values: {} (No signature of method: NextPickupDateUpdater.update() is
applicable for argument types: () values: {})



any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I made a little java class but it won't execute for me in groovy, I
can execute other classes

orh = new OrderReadHelper(); //i can execute this

z = new NextPickupDateUpdater();  //this is my class, it doesn't
complain, but it doesn't execute, inspecting the value gives a memory
address,
numdays = z.update();  //here it breaks


org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#main-decorator]:
groovy.lang.MissingMethodException: No signature of method:
NextPickupDateUpdater.update() is applicable for argument types: ()
values: {} (No signature of method: NextPickupDateUpdater.update() is
applicable for argument types: () values: {})


Re: e-commerce affiliate programs

2010-04-12 Thread Ruth Hoffman

Hello Varun:

Good introduction to promotions in my books. There are no "pointers" to 
code as these books are intended for end-users. However, you can get a 
really good feel for how things work and if OFBiz compares favorably to 
your other candidates. Both books discuss out-of-the-box support for 
promotions. The Catalog Manager talks about how to set up some simple 
promotional scenarios.


Books available at http://www.myofbiz.com
Regards,
Ruth

Help support the effort to document OFBiz, buy my books!
ruth.hoff...@myofbiz.com

Varun Bhansaly wrote:

Hi Jacques,
Would be of great help if you could give some pointers on the "existing pieces".
BTW forgot to mention an important condition -
"Discount vouchers may not be used in conjunction with any other offers."

Thanks,

On Mon, Apr 12, 2010 at 6:39 PM, Jacques Le Roux [via OFBiz]
 wrote:
  

Yes, it's possible but not OOTB, you would have to assemble existing pieces.
I let you track them, should not be too hard.

Jacques
From: "Varun Bhansaly" <[hidden email]>


Hi,

I am evaluating a variety of ecommerce engines like magento, spree,
oscommerce & of cource ofbiz e-commerce.
There would be variety of promotions as well as affiliate programs, for
eg.
�
Refer a friend. An email will be sent to the friend(s) and offer them a YY
discount voucher off their first order.
If they place an order, referrer account will be credited with £XX to use
on
next order.
�

Please let me know if its possible to implement such scenario, if yes then
please let me know as to how to configure the same in ofbiz e-commerce OR
the amount of customization required, so that i can evaluate the user
friendliness & ease of configuration.

Thanks,
--
View this message in context:
http://n4.nabble.com/e-commerce-affiliate-programs-tp1836600p1836600.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

  



View message @
http://n4.nabble.com/e-commerce-affiliate-programs-tp1836600p1837094.html
To unsubscribe from e-commerce affiliate programs, click here.






  


Re: e-commerce affiliate programs

2010-04-12 Thread Varun Bhansaly

Hi Jacques,
Would be of great help if you could give some pointers on the "existing pieces".
BTW forgot to mention an important condition -
"Discount vouchers may not be used in conjunction with any other offers."

Thanks,

On Mon, Apr 12, 2010 at 6:39 PM, Jacques Le Roux [via OFBiz]
 wrote:
> Yes, it's possible but not OOTB, you would have to assemble existing pieces.
> I let you track them, should not be too hard.
>
> Jacques
> From: "Varun Bhansaly" <[hidden email]>
>> Hi,
>>
>> I am evaluating a variety of ecommerce engines like magento, spree,
>> oscommerce & of cource ofbiz e-commerce.
>> There would be variety of promotions as well as affiliate programs, for
>> eg.
>> ”
>> Refer a friend. An email will be sent to the friend(s) and offer them a YY
>> discount voucher off their first order.
>> If they place an order, referrer account will be credited with £XX to use
>> on
>> next order.
>> ”
>>
>> Please let me know if its possible to implement such scenario, if yes then
>> please let me know as to how to configure the same in ofbiz e-commerce OR
>> the amount of customization required, so that i can evaluate the user
>> friendliness & ease of configuration.
>>
>> Thanks,
>> --
>> View this message in context:
>> http://n4.nabble.com/e-commerce-affiliate-programs-tp1836600p1836600.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
>
>
> 
> View message @
> http://n4.nabble.com/e-commerce-affiliate-programs-tp1836600p1837094.html
> To unsubscribe from e-commerce affiliate programs, click here.
>



-- 
Regards,
Varun Bhansaly

-- 
View this message in context: 
http://n4.nabble.com/e-commerce-affiliate-programs-tp1836600p1837371.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Wiki is down

2010-04-12 Thread Adrian Crum

Apache is aware of it and they are working on it. Thanks.

-Adrian

Jeroen van der Wal wrote:

All links on http://ofbiz.apache.org/ to the Wiki are dead.

-Jeroen



Re: Wiki is down

2010-04-12 Thread Olivier Tremblay
The server responds with the default fresh-install "It works!".

http://cwiki.apache.org/

Le 2010-04-12 à 11:37, Jeroen van der Wal a écrit :

> All links on http://ofbiz.apache.org/ to the Wiki are dead.
> 
> -Jeroen



Re: Ofbiz demo product elimination

2010-04-12 Thread Jacques Le Roux

I think you want to use ant run-install-seed
You may also try to use ant -p
to list all targets

But best would certainly to begin by looking into the documentation. Unfortutnately, due to an attack to an ASF server last week, 
it's still not available.

Should be soon, refer to this link to follow 
http://monitoring.apache.org/status/#SERVICEDOWNTIME

Jacques

From: 

hello
   i have configured my ofbiz appplication pointing to MYSQL. Now
everytime i run 'ant run-install' it adds all the demo products to ofbiz
database as mentioned in build file. Please help me to configure my
application such that those service wont be called which adds demo products
to database even if i run ant run-install. Thanks in advance for your kind
suggestion.
--
View this message in context: 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1836946.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






Wiki is down

2010-04-12 Thread Jeroen van der Wal
All links on http://ofbiz.apache.org/ to the Wiki are dead.

-Jeroen


Ofbiz demo product elimination

2010-04-12 Thread asitkumar....@tcs.com

hello 
i have configured my ofbiz appplication pointing to MYSQL. Now
everytime i run 'ant run-install' it adds all the demo products to ofbiz
database as mentioned in build file. Please help me to configure my
application such that those service wont be called which adds demo products
to database even if i run ant run-install. Thanks in advance for your kind
suggestion. 
-- 
View this message in context: 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1836946.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Ofbiz demo product elimination

2010-04-12 Thread asitkumar....@tcs.com

hello
i have configured my ofbiz appplication pointing to MYSQL. Now
everytime i run 'ant run-install' it adds all the demo products to ofbiz
database as mentioned in build file. Please help me to configure my
application such that those service wont be called which adds demo products
to database even if i run ant run-install. Thanks in advance for your kind
suggestion. 
-- 
View this message in context: 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836871p1836871.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Hi, New to ofbiz, Please help

2010-04-12 Thread sumit pandit
Oops !! Sorry from me as well.



On Mon, Apr 12, 2010 at 6:50 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Sorry I should have replied in user ML, please don't use dev for questions
> like that
>
> Jacques
>
> From: "Jacques Le Roux" 
>
>  Look for uploadFileInterface
>>
>> Jacques
>>
>> From: "amit kumar" 
>> Hi,
>>
>> I have to upload a image file on server,
>> And i didn't get the attribute type (*) for the file:
>>
>> > location="com.myClass.UploadLogo"
>> invoke="uploadMerchantLogo" auth="true">
>> Update Merchant Logo
>> > optional="false" /> 
>>
>>
>> Is there any other way to upload a file, or from where i can get help?
>>
>>
>>
>> Regards,
>> Amit Baliyan
>>
>>
>>
>>
>>
>


-- 
Thanks and Regards
Sumit Pandit


Re: remove a foreign key dependency

2010-04-12 Thread Patrick
I just used a SQL command in the webform to alter a table, that
worked.  Thanks for your help. :)

On Mon, Apr 12, 2010 at 8:28 AM, Patrick  wrote:
> I ran a check, and it removed the dependency from webtools entity
> reference, eg. searching for ORDER_HDR_OFAC gives no results, but when
> I try to update an OrderHeader it still breaks saying INSERT on table
> 'ORDER_HEADER' caused a violation of foreign key constraint
> 'ORDER_HDR_OFAC' for key (10061)  Do you have any suggestions ?
>
> On Mon, Apr 12, 2010 at 8:03 AM, Jacques Le Roux
>  wrote:
>> Look for "Check/Update Database" in Webtools
>>
>> Jacques
>>
>> From: "Patrick" 
>>>
>>> When I place an order I want to remove the facility dependency, so I
>>> commented out the following: and did a restart, but when I place an
>>> order it still requires the dependency so I guess it didn't update.
>>> Is there a special command to verify and update the DB from a modified
>>> entitymodel.xml file ?   Thanks
>>>
>>>  >>           package-name="org.ofbiz.order.order"
>>>           never-cache="true"
>>>           title="Order Header Entity">
>>>
>>>    
>>>
>>
>>
>


Re: remove a foreign key dependency

2010-04-12 Thread Patrick
I ran a check, and it removed the dependency from webtools entity
reference, eg. searching for ORDER_HDR_OFAC gives no results, but when
I try to update an OrderHeader it still breaks saying INSERT on table
'ORDER_HEADER' caused a violation of foreign key constraint
'ORDER_HDR_OFAC' for key (10061)  Do you have any suggestions ?

On Mon, Apr 12, 2010 at 8:03 AM, Jacques Le Roux
 wrote:
> Look for "Check/Update Database" in Webtools
>
> Jacques
>
> From: "Patrick" 
>>
>> When I place an order I want to remove the facility dependency, so I
>> commented out the following: and did a restart, but when I place an
>> order it still requires the dependency so I guess it didn't update.
>> Is there a special command to verify and update the DB from a modified
>> entitymodel.xml file ?   Thanks
>>
>>  >           package-name="org.ofbiz.order.order"
>>           never-cache="true"
>>           title="Order Header Entity">
>>
>>    
>>
>
>


Santosh Malviya wants to chat

2010-04-12 Thread Santosh Malviya
---

Santosh Malviya wants to stay in better touch using some of Google's coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-44ba4b9f7d-d183e77080-808109438f4747c3
You'll need to click this link to be able to chat with Santosh Malviya.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Santosh Malviya, visit:
http://mail.google.com/mail/a-44ba4b9f7d-d183e77080-808109438f4747c3

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into "conversations"
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).


Re: Hi, New to ofbiz, Please help

2010-04-12 Thread Jacques Le Roux

Sorry I should have replied in user ML, please don't use dev for questions like 
that

Jacques

From: "Jacques Le Roux" 

Look for uploadFileInterface

Jacques

From: "amit kumar" 
Hi,

I have to upload a image file on server,
And i didn't get the attribute type (*) for the file:


Update Merchant Logo
 




Is there any other way to upload a file, or from where i can get help?



Regards,
Amit Baliyan








Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Jacques Le Roux

Can you reproduce on demo server? If yes please fill a Jira to help us help you.

Jacques

From: "Anurag Walia" 

Hi all,


I am facing a problem regarding purchase requirement inside order module.
when i clicked on "prepare order" inside "Approved Requirements By vendor" 
then detail page of  supplier product is coming when i am trying to 
"Purchase Order Quick Entry" after selecting the check box for the required

product.
then 
The Following Errors Occurred:

SupplierProduct not found

is coming.

I think some configuration setting is still missing.
Please help me out if u have any solution

Thanks
Anurag Walia
--
View this message in context: 
http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1836706.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: e-commerce affiliate programs

2010-04-12 Thread Jacques Le Roux

Yes, it's possible but not OOTB, you would have to assemble existing pieces. I 
let you track them, should not be too hard.

Jacques
From: "Varun Bhansaly" 

Hi,

I am evaluating a variety of ecommerce engines like magento, spree,
oscommerce & of cource ofbiz e-commerce.
There would be variety of promotions as well as affiliate programs, for eg.
”
Refer a friend. An email will be sent to the friend(s) and offer them a YY
discount voucher off their first order.
If they place an order, referrer account will be credited with £XX to use on
next order.
”

Please let me know if its possible to implement such scenario, if yes then
please let me know as to how to configure the same in ofbiz e-commerce OR
the amount of customization required, so that i can evaluate the user
friendliness & ease of configuration.

Thanks,
--
View this message in context: 
http://n4.nabble.com/e-commerce-affiliate-programs-tp1836600p1836600.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






Re: purchasse order and round in calcul

2010-04-12 Thread Jacques Le Roux

You could try to change the currency-amount and currency-precise type of field, 
look in fieldtype*.xml files

Jacques

From: "joseph kesse" 
Hello,
i have a mistake in my purchasse order i have price like 0.012352 for an article and i see in the result that all the number are not 
use in the calcul.

Is there anybody who could say me in what part of the code i can find what is 
used to do the calcul. Besause i need to modify it.
thanks you
Fabrice







Re: remove a foreign key dependency

2010-04-12 Thread Jacques Le Roux

Look for "Check/Update Database" in Webtools

Jacques

From: "Patrick" 

When I place an order I want to remove the facility dependency, so I
commented out the following: and did a restart, but when I place an
order it still requires the dependency so I guess it didn't update.
Is there a special command to verify and update the DB from a modified
entitymodel.xml file ?   Thanks

  







remove a foreign key dependency

2010-04-12 Thread Patrick
When I place an order I want to remove the facility dependency, so I
commented out the following: and did a restart, but when I place an
order it still requires the dependency so I guess it didn't update.
Is there a special command to verify and update the DB from a modified
entitymodel.xml file ?   Thanks