RE: RMI Error ( Connection Refused to Host) on JBoss while data sync
Hi Pardeep, It's an SSL problem. Your SSL connection hasn't been setup. You have to use a domain name for OFBiz server, setup a DNS service in your intranet to resolve your local domain name and use TinyCA2 to sign your certificates. Good luck, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-23二的 11:50 +0530,Pardeep Ruhil写道: Hi Shi, Thanks for reply. I have to test that without using a domain name. Is their a workaround to test this ? I have two machines each having jboss4.2.2 with ofbiz deployed on it. I have generated sepearte keystores file for the two machines and then when I tried the data sync I am getting the same exception. Is it releated to keystore problem or ssl certificate ? Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai -Original Message- From: Shi Jinghai [mailto:sh...@langhua.cn] Sent: Tuesday, March 23, 2010 10:55 AM To: user@ofbiz.apache.org Subject: Re: RMI Error ( Connection Refused to Host) on JBoss while data sync We tested OFBiz RMI client on JBoss Portal 2.7.2 which embedded in JBoss 4.2.3GA. It works fine. I saw your error message mentioned an ip address 172.17.88.209. You should use a domain name in your certification and configuration. Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-23二的 08:18 +0530,Pardeep Ruhil写道: Hi, I am working on the OFBiz webposs and trying to sync data from POS to MCS. I had tested data sync on Tomcat and it is working fine. Now we are trying the same thing on Jboss 4.2.2 server and we are getting the following exception Exception calling remote pull and report EntitySync service with name: remotePullAndReportEntitySyncDataRmi; org.ofbiz.service. GenericServiceException: RMI Error (Connection refused to host: 172.17.88.209; nested exception is: java.net.ConnectException: Connection refused: connect) Exception: org.ofbiz.service.GenericServiceException Is any one there who tried data sync on JBoss4.2.2 server ? What is the solution of this problem ? Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai 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. __ __ 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. __
Anyone using Javamailcontainer settings for Gmail?
Hello, Probably before 1 year I have used JavaMail container settings for gmail account without any issues. But as I tried to use gmail settings today then I observed that it is not working. It is giving connection timeout error. Here is the console message: 2010-03-23 13:41:54,245 (main) [ GenericDispatcher.java:62 :INFO ] Creating new dispatcher [JavaMailDispatcher] (main) 2010-03-23 13:41:54,264 (main) [ ServiceMcaUtil.java:91 :INFO ] Loaded 1 Service MCA definitions from file:/home/ashish/ofbiz_dev/testing/framework/common/servicedef/smcas_test.xml 2010-03-23 13:41:54,266 (main) [ ServiceMcaUtil.java:91 :INFO ] Loaded 2 Service MCA definitions from file:/home/ashish/ofbiz_dev/testing/applications/party/servicedef/mcas.xml 2010-03-23 13:41:54,269 (main) [ ServiceMcaUtil.java:91 :INFO ] Loaded 1 Service MCA definitions from file:/home/ashish/ofbiz_dev/testing/applications/content/servicedef/mca.xml DEBUG: JavaMail version 1.4ea DEBUG: java.io.FileNotFoundException: /opt/jdk6/jre/lib/javamail.providers (No such file or directory) DEBUG: !anyLoaded DEBUG: not loading resource: /META-INF/javamail.providers DEBUG: successfully loaded resource: /META-INF/javamail.default.providers DEBUG: Tables of loaded providers DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map DEBUG: !anyLoaded DEBUG: not loading resource: /META-INF/javamail.address.map DEBUG: java.io.FileNotFoundException: /opt/jdk6/jre/lib/javamail.address.map (No such file or directory) DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc] DEBUG: mail.imap.fetchsize: 16384 DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc] DEBUG: mail.imap.fetchsize: 16384 2010-03-23 13:42:08,835 (org.ofbiz.service.jms.jmslistenerfact...@9ce3e0) [ JmsListenerFactory.java:74 :INFO ] JMS Listener Factory Thread Finished; All listeners connected. 2010-03-23 13:45:03,335 (main) [ JavaMailContainer.java:188:ERROR] Unable to connect to mail store : imaps://myacco...@gmail.com : Connection timed out 2010-03-23 13:45:04,956 (main) [ GenericDispatcher.java:62 :INFO ] Creating new dispatcher [oagismgr] (main) Here is my java mail container setting from ofbiz-container.xml file: container name=javamail-container class=org.ofbiz.service.mail.JavaMailContainer property name=delegator-name value=default/ property name=dispatcher-name value=JavaMailDispatcher/ property name=run-as-user value=system/ property name=poll-delay value=10/ property name=delete-mail value=false/ property name=maxSize value=10/ property name=default-listener value=store-listener property name=mail.store.protocol value=imaps/ property name=mail.host value=gmail.com/ property name=mail.user value=myaccount/ property name=mail.pass value=mypassword/ property name=mail.debug value=true/ /property /container Please let me know if anyone else in the community is using gmail settings for Javamail to fetch all the incoming emails. I am using trunk r924786. Thanks! -- Ashish
Re: Domain Name and Multiple Stores in ofbiz
How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance in any way having so many entries in the same web.xml. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 msnhammadafrid...@hotmail.com yahoo!hammadafr...@yahoo.com --- On Tue, 3/23/10, Raj Saini rajsa...@gmail.com wrote: From: Raj Saini rajsa...@gmail.com Subject: Re: Domain Name and Multiple Stores in ofbiz To: user@ofbiz.apache.org Date: Tuesday, March 23, 2010, 4:09 AM Hi Hammad, Yes it is possible to point different domain to each store. Stores are attached to websites. Website ID is configured in the web.xml of each website. Therefore, if you are going to have different website with different stores, you are going to multiple websites (similar to the demo e-commerce site). You can map your domain to store either using Apache web server virtual hosting or Tomcat (Tomcat is embedded in OFBiz). Thanks, Raj Hammad Afridi wrote: HI All, I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 MSN hammadafrid...@hotmail.com Yahoo! hammadafr...@yahoo.com
Re: Anyone using Javamailcontainer settings for Gmail?
Please discard my previous email. It worked by doing following changes: property name=mail.host value=imap.gmail.com/ -- Ashish On Tue, Mar 23, 2010 at 1:49 PM, Ashish Vijaywargiya vijaywargiya.ash...@gmail.com wrote: Hello, Probably before 1 year I have used JavaMail container settings for gmail account without any issues. But as I tried to use gmail settings today then I observed that it is not working. It is giving connection timeout error. Here is the console message: 2010-03-23 13:41:54,245 (main) [ GenericDispatcher.java:62 :INFO ] Creating new dispatcher [JavaMailDispatcher] (main) 2010-03-23 13:41:54,264 (main) [ ServiceMcaUtil.java:91 :INFO ] Loaded 1 Service MCA definitions from file:/home/ashish/ofbiz_dev/testing/framework/common/servicedef/smcas_test.xml 2010-03-23 13:41:54,266 (main) [ ServiceMcaUtil.java:91 :INFO ] Loaded 2 Service MCA definitions from file:/home/ashish/ofbiz_dev/testing/applications/party/servicedef/mcas.xml 2010-03-23 13:41:54,269 (main) [ ServiceMcaUtil.java:91 :INFO ] Loaded 1 Service MCA definitions from file:/home/ashish/ofbiz_dev/testing/applications/content/servicedef/mca.xml DEBUG: JavaMail version 1.4ea DEBUG: java.io.FileNotFoundException: /opt/jdk6/jre/lib/javamail.providers (No such file or directory) DEBUG: !anyLoaded DEBUG: not loading resource: /META-INF/javamail.providers DEBUG: successfully loaded resource: /META-INF/javamail.default.providers DEBUG: Tables of loaded providers DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map DEBUG: !anyLoaded DEBUG: not loading resource: /META-INF/javamail.address.map DEBUG: java.io.FileNotFoundException: /opt/jdk6/jre/lib/javamail.address.map (No such file or directory) DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc] DEBUG: mail.imap.fetchsize: 16384 DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc] DEBUG: mail.imap.fetchsize: 16384 2010-03-23 13:42:08,835 (org.ofbiz.service.jms.jmslistenerfact...@9ce3e0) [ JmsListenerFactory.java:74 :INFO ] JMS Listener Factory Thread Finished; All listeners connected. 2010-03-23 13:45:03,335 (main) [ JavaMailContainer.java:188:ERROR] Unable to connect to mail store : imaps://myacco...@gmail.com : Connection timed out 2010-03-23 13:45:04,956 (main) [ GenericDispatcher.java:62 :INFO ] Creating new dispatcher [oagismgr] (main) Here is my java mail container setting from ofbiz-container.xml file: container name=javamail-container class=org.ofbiz.service.mail.JavaMailContainer property name=delegator-name value=default/ property name=dispatcher-name value=JavaMailDispatcher/ property name=run-as-user value=system/ property name=poll-delay value=10/ property name=delete-mail value=false/ property name=maxSize value=10/ property name=default-listener value=store-listener property name=mail.store.protocol value=imaps/ property name=mail.host value=gmail.com/ property name=mail.user value=myaccount/ property name=mail.pass value=mypassword/ property name=mail.debug value=true/ /property /container Please let me know if anyone else in the community is using gmail settings for Javamail to fetch all the incoming emails. I am using trunk r924786. Thanks! -- Ashish
RE: RMI Error ( Connection Refused to Host) on JBoss while data sync
Hi Shi, Thanks again. My scenario is such that. I have three machine. One MCS and two POS. When I am running all the machines on embedded Tomcat server, data syncs properly without any error. Now when I run my POS machines on JBoss Server and MCS machine on embedded Tomcat server, still data syncs properly, without giving any errors. But when I rum my MCS on JBoss server, it gives me the same exception Exception : 5:15:56,090 ERROR [ServiceDispatcher] --- exception report -- ervice [remoteStoreEntitySyncDataRmiWsp] threw an unexpected exception/error xception: org.ofbiz.service.GenericServiceException essage: RMI Error (Connection refused to host: 172.17.89.68; nested exception is: java.net.ConnectException: Connection refused: connect) --- cause - xception: java.rmi.ConnectException essage: Connection refused to host: 172.17.89.68; nested exception is: java.net.ConnectException: Connection refused: connect --- cause - xception: java.net.ConnectException essage: Connection refused: connect --- stack trace --- java.net.ConnectException: Connection refused: connect Now as you said , I have to use SSL certificate and a domain name for OFbBiz server (DNS) , but I think DNS is not needed in local network. I want to test data sync initially on my local network and then on internet. But in my local network it is giving me this exception. Please help me in this. Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai -Original Message- From: Shi Jinghai [mailto:sh...@langhua.cn] Sent: Tuesday, March 23, 2010 12:12 PM To: Pardeep Ruhil Cc: user@ofbiz.apache.org Subject: RE: RMI Error ( Connection Refused to Host) on JBoss while data sync Hi Pardeep, It's an SSL problem. Your SSL connection hasn't been setup. You have to use a domain name for OFBiz server, setup a DNS service in your intranet to resolve your local domain name and use TinyCA2 to sign your certificates. Good luck, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-23二的 11:50 +0530,Pardeep Ruhil写道: Hi Shi, Thanks for reply. I have to test that without using a domain name. Is their a workaround to test this ? I have two machines each having jboss4.2.2 with ofbiz deployed on it. I have generated sepearte keystores file for the two machines and then when I tried the data sync I am getting the same exception. Is it releated to keystore problem or ssl certificate ? Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai -Original Message- From: Shi Jinghai [mailto:sh...@langhua.cn] Sent: Tuesday, March 23, 2010 10:55 AM To: user@ofbiz.apache.org Subject: Re: RMI Error ( Connection Refused to Host) on JBoss while data sync We tested OFBiz RMI client on JBoss Portal 2.7.2 which embedded in JBoss 4.2.3GA. It works fine. I saw your error message mentioned an ip address 172.17.88.209. You should use a domain name in your certification and configuration. Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-23二的 08:18 +0530,Pardeep Ruhil写道: Hi, I am working on the OFBiz webposs and trying to sync data from POS to MCS. I had tested data sync on Tomcat and it is working fine. Now we are trying the same thing on Jboss 4.2.2 server and we are getting the following exception Exception calling remote pull and report EntitySync service with name: remotePullAndReportEntitySyncDataRmi; org.ofbiz.service. GenericServiceException: RMI Error (Connection refused to host: 172.17.88.209; nested exception is: java.net.ConnectException: Connection refused: connect) Exception: org.ofbiz.service.GenericServiceException Is any one there who tried data sync on JBoss4.2.2 server ? What is the solution of this problem ? Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai 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. __ __ 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. __ __ This Email may contain confidential or privileged information for the intended recipient (s) If you are
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
use of the empty @element macro
hello everybody, while i was browsing ftl files to dig some information about macros i found that the following files:- /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/content/ftl /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/topic/ftl /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/tree/ftl etc contain an empty macro #macro @element /#macro i was wondering why is it placed there and what is its use.
Re: Domain Name and Multiple Stores in ofbiz
So does that mean that I need to have separate front application for each store as youy are saying that I need separate web.xml ?? My requirements is to have a single ofbiz application running on tomcat with multiple stores in it. BUt each store should have a separate domain name and hence domain poitned to that store in the same application. Is this possible ? Hope you understandd my requirement.Thanks for your replies. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 msnhammadafrid...@hotmail.com yahoo!hammadafr...@yahoo.com --- On Tue, 3/23/10, Raj Saini rajsa...@gmail.com wrote: From: Raj Saini rajsa...@gmail.com Subject: Re: Domain Name and Multiple Stores in ofbiz To: user@ofbiz.apache.org Date: Tuesday, March 23, 2010, 4:43 PM You cant have 1000's of store id in web.xml. Each web.xml will have just one site id. However, system can have 1000's of store depending on the hardware you are using. Look for virtual hosts in Tomcat. In OFbiz, the file you will need to edit is ${ofbiz.home}/framework/base/ofbiz-containers.xml. Thanks, Raj Hammad Afridi wrote: How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance in any way having so many entries in the same web.xml. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 MSN hammadafrid...@hotmail.com Yahoo! hammadafr...@yahoo.com --- On Tue, 3/23/10, Raj Saini rajsa...@gmail.com wrote: From: Raj Saini rajsa...@gmail.com Subject: Re: Domain Name and Multiple Stores in ofbiz To: user@ofbiz.apache.org Date: Tuesday, March 23, 2010, 4:09 AM Hi Hammad, Yes it is possible to point different domain to each store. Stores are attached to websites. Website ID is configured in the web.xml of each website. Therefore, if you are going to have different website with different stores, you are going to multiple websites (similar to the demo e-commerce site). You can map your domain to store either using Apache web server virtual hosting or Tomcat (Tomcat is embedded in OFBiz). Thanks, Raj Hammad Afridi wrote: HI All, I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 MSN hammadafrid...@hotmail.com Yahoo! hammadafr...@yahoo.com
Re: use of the empty @element macro
Hi Atul, http://freemarker.org/docs/xgui_declarative_details.html Jacques From: Atul Vani atul.v...@hotwaxmedia.com hello everybody, while i was browsing ftl files to dig some information about macros i found that the following files:- /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/content/ftl /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/topic/ftl /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/tree/ftl etc contain an empty macro #macro @element /#macro i was wondering why is it placed there and what is its use.
Re: Domain Name and Multiple Stores in ofbiz
Yes thats what I want.I want to have multiple stores with common catalog and each store owner will have thier separate admin page. all the data will be common and the data which is not supposed to be shared we will handle that through application ourselves. Yes I had a look at the catalog manager where we can have multiple stores but the onyl thing I am not sure how can I have each store mapped to one unique domain. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 msnhammadafrid...@hotmail.com yahoo!hammadafr...@yahoo.com --- On Tue, 3/23/10, Raj Saini rajsa...@gmail.com wrote: From: Raj Saini rajsa...@gmail.com Subject: Re: Domain Name and Multiple Stores in ofbiz To: user@ofbiz.apache.org Date: Tuesday, March 23, 2010, 5:02 PM I don't think it is possible out of the box. It looks to me you are looking for multi tenant system. If all the stores have single owner and there is no issue of mixing data, you may do this at Catalog level. You can create multiple catalogs and then map each catalog to a domain from Apache Web server. Of course, there will be no data partition among the stores. All stores will share the same back end catalog manager, customers, orders etc. Thanks, Raj Hammad Afridi wrote: So does that mean that I need to have separate front application for each store as youy are saying that I need separate web.xml ?? My requirements is to have a single ofbiz application running on tomcat with multiple stores in it. BUt each store should have a separate domain name and hence domain poitned to that store in the same application. Is this possible ? Hope you understandd my requirement.Thanks for your replies. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 MSN hammadafrid...@hotmail.com Yahoo! hammadafr...@yahoo.com --- On Tue, 3/23/10, Raj Saini rajsa...@gmail.com wrote: From: Raj Saini rajsa...@gmail.com Subject: Re: Domain Name and Multiple Stores in ofbiz To: user@ofbiz.apache.org Date: Tuesday, March 23, 2010, 4:43 PM You cant have 1000's of store id in web.xml. Each web.xml will have just one site id. However, system can have 1000's of store depending on the hardware you are using. Look for virtual hosts in Tomcat. In OFbiz, the file you will need to edit is ${ofbiz.home}/framework/base/ofbiz-containers.xml. Thanks, Raj Hammad Afridi wrote: How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance in any way having so many entries in the same web.xml. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 MSN hammadafrid...@hotmail.com Yahoo! hammadafr...@yahoo.com --- On Tue, 3/23/10, Raj Saini rajsa...@gmail.com wrote: From: Raj Saini rajsa...@gmail.com Subject: Re: Domain Name and Multiple Stores in ofbiz To: user@ofbiz.apache.org Date: Tuesday, March 23, 2010, 4:09 AM Hi Hammad, Yes it is possible to point different domain to each store. Stores are attached to websites. Website ID is configured in the web.xml of each website. Therefore, if you are going to have different website with different stores, you are going to multiple websites (similar to the demo e-commerce site). You can map your domain to store either using Apache web server virtual hosting or Tomcat (Tomcat is embedded in OFBiz). Thanks, Raj Hammad Afridi wrote: HI All, I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks. Regards, Hammad Ali Khan Afridi Mobile 0044 7534171187 MSN hammadafrid...@hotmail.com Yahoo! hammadafr...@yahoo.com
Re: use of the empty @element macro
Thanks Jacques, Those links were of great help. Jacques Le Roux wrote: Hi Atul, http://freemarker.org/docs/xgui_declarative_details.html Jacques From: Atul Vani atul.v...@hotwaxmedia.com hello everybody, while i was browsing ftl files to dig some information about macros i found that the following files:- /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/content/ftl /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/topic/ftl /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/tree/ftl etc contain an empty macro #macro @element /#macro i was wondering why is it placed there and what is its use.
RE: RMI Error ( Connection Refused to Host) on JBoss while data sync
Hi Pradeep, Here is the Server Authentication of SSL protocal: http://docs.sun.com/source/816-6156-10/contents.htm#1041643 See step 4 in the chart. I don't know what MCS mean. If it's a Linux, it's easy to config a domain name by named service. Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-23二的 15:32 +0530,Pardeep Ruhil写道: Hi Shi, Thanks again. My scenario is such that. I have three machine. One MCS and two POS. When I am running all the machines on embedded Tomcat server, data syncs properly without any error. Now when I run my POS machines on JBoss Server and MCS machine on embedded Tomcat server, still data syncs properly, without giving any errors. But when I rum my MCS on JBoss server, it gives me the same exception Exception : 5:15:56,090 ERROR [ServiceDispatcher] --- exception report -- ervice [remoteStoreEntitySyncDataRmiWsp] threw an unexpected exception/error xception: org.ofbiz.service.GenericServiceException essage: RMI Error (Connection refused to host: 172.17.89.68; nested exception is: java.net.ConnectException: Connection refused: connect) --- cause - xception: java.rmi.ConnectException essage: Connection refused to host: 172.17.89.68; nested exception is: java.net.ConnectException: Connection refused: connect --- cause - xception: java.net.ConnectException essage: Connection refused: connect --- stack trace --- java.net.ConnectException: Connection refused: connect Now as you said , I have to use SSL certificate and a domain name for OFbBiz server (DNS) , but I think DNS is not needed in local network. I want to test data sync initially on my local network and then on internet. But in my local network it is giving me this exception. Please help me in this. Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai -Original Message- From: Shi Jinghai [mailto:sh...@langhua.cn] Sent: Tuesday, March 23, 2010 12:12 PM To: Pardeep Ruhil Cc: user@ofbiz.apache.org Subject: RE: RMI Error ( Connection Refused to Host) on JBoss while data sync Hi Pardeep, It's an SSL problem. Your SSL connection hasn't been setup. You have to use a domain name for OFBiz server, setup a DNS service in your intranet to resolve your local domain name and use TinyCA2 to sign your certificates. Good luck, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-23二的 11:50 +0530,Pardeep Ruhil写道: Hi Shi, Thanks for reply. I have to test that without using a domain name. Is their a workaround to test this ? I have two machines each having jboss4.2.2 with ofbiz deployed on it. I have generated sepearte keystores file for the two machines and then when I tried the data sync I am getting the same exception. Is it releated to keystore problem or ssl certificate ? Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai -Original Message- From: Shi Jinghai [mailto:sh...@langhua.cn] Sent: Tuesday, March 23, 2010 10:55 AM To: user@ofbiz.apache.org Subject: Re: RMI Error ( Connection Refused to Host) on JBoss while data sync We tested OFBiz RMI client on JBoss Portal 2.7.2 which embedded in JBoss 4.2.3GA. It works fine. I saw your error message mentioned an ip address 172.17.88.209. You should use a domain name in your certification and configuration. Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-23二的 08:18 +0530,Pardeep Ruhil写道: Hi, I am working on the OFBiz webposs and trying to sync data from POS to MCS. I had tested data sync on Tomcat and it is working fine. Now we are trying the same thing on Jboss 4.2.2 server and we are getting the following exception Exception calling remote pull and report EntitySync service with name: remotePullAndReportEntitySyncDataRmi; org.ofbiz.service. GenericServiceException: RMI Error (Connection refused to host: 172.17.88.209; nested exception is: java.net.ConnectException: Connection refused: connect) Exception: org.ofbiz.service.GenericServiceException Is any one there who tried data sync on JBoss4.2.2 server ? What is the solution of this problem ? Thanks Regards Pradeep Ruhil L T Infotech Mahape, Vashi Mumbai 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. __ __ This
Re: Accounting Features in 9.04 and Trunk
The BigDecimal conversion was done prior to the 9.04 release branch. Regards Scott HotWax Media http://www.hotwaxmedia.com On 22/03/2010, at 10:09 AM, BJ Freeman wrote: Jacopo is the most knowledgeable about this. if you have followed best practices in modifying code, you should be able to copy and paste you code to any version. part of the trunk upgrade was to move to big decimal and java ver 1.6 this makes a lot of code in the trunk not able to move back to 1.5 you should be able to run 9.04 with java 1.6, though. you can go through the commit mail list since 9.04 was released and find all the commits to applications/accounting, to review what can be added to 9.04 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 Koon Sang sent the following on 3/22/2010 5:08 AM: Hello, We are customizing OFBIZ for a customer. We started with OFBIZ 9.04 and have done quite a fair bit of customization. We realized that there are quite some enhancements in Trunk for accounting application and now we are weighing whether to switch to the Trunk version to take advantage of the enhancements in accounting application. Of course, that will mean we have to re-do the customization in the Trunk version, not to mention about the time that we may need to spend in fixing minor bugs/problems with the Trunk version. Anyone can let us know how much enhancements are done in the Trunk version as compared to 9.04 or perhaps how mature is the accounting application in 9.04 such as covering 60% or 70% of the accounting needs? Really need your help and advice in this. Thank you very much. smime.p7s Description: S/MIME cryptographic signature
Re: Custome Promos
The system generated numbers are the productPromoIds, you can specify a name in the Promo Name field when creating a new promotion. Regards Scott HotWax Media http://www.hotwaxmedia.com On 22/03/2010, at 10:02 AM, su2 wrote: Is there any way i can specify the custom promo name instead of system generated numbers 12345? -- View this message in context: http://n4.nabble.com/Custome-Promos-tp1677827p1677827.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: old ofbiz versions
if you get the first version of the current svn that is 3.2 http://svn.apache.org/viewvc/ofbiz/trunk/?pathrev=490457 I also have a copy of the incubator http://www.businessesnetwork.com/customerSupport/ofbiz/ofbiz_incubator_trunk.zip it is 45mb. = 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/23/2010 3:49 AM: 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
Account Analysis
Hi! How to do the analysis of accounts in Ofbiz? I'm checking The Data Model Resource Book V1 and I don't see this topic In other ERP use the concept of dimensions or reference's fields Thanks, Jhanneth Andrade Sajami Consultora | Sinergium S.A.C |www.sinergium.net | jandr...@sinergium.net
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
Re: Subscription and ContactListParty
Hi Hans Thank you. What I am seeing makes sense now. :) Suresh On Mon, Mar 22, 2010 at 7:57 PM, Hans Bakker mailingl...@antwebsystems.comwrote: Hi Suresh, the contactlist is for (e)mailinglists Subscription is for repeating orders of 'subscription' products like paid magazines or repeating services periods which are valid for a certain period. Regards, Hans -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com http://twitter.com/hansbak%0AAntwebsystems.com: Quality services for competitive rates. On Mon, 2010-03-22 at 19:38 -0500, Suresh Yellamaraju wrote: Hi What is the distinction (of purpose) between the entities Subscription and ContactListParty? IOW, when would I use one over the other? TIA Suresh
Re: ant create-component and websiteId
Depends on the web-app, for the backend it typically just indicates the themes and information for URL generation. For ecomm apps it also points to the product store in use. For create-component it should really be parameterized. Regards Scott HotWax Media http://www.hotwaxmedia.com On 23/03/2010, at 3:36 PM, Christopher Snow wrote: 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 smime.p7s Description: S/MIME cryptographic signature
Re: how to host the ofbiz server
For light duty, you may not need a dedicated server, and virtual hardware might suffice. I use Linode for several other services, but have not put OFbiz on it, as I will host that locally. Their virtual servers give root access, centos, ubuntu, debian, or others, for $20 a month. On Mon, 2010-03-22 at 14:10 -0400, manoj sadangi wrote: so only for ecommerce hosting is it a good idea to go with ofbiz when other ecommerce hosting platform (e.g oscommerce) cost less than $5 for month? can somebody please provide a comparison between php platform-ecommerce and ofbiz and is it beneficial in the long run? On Mon, Mar 22, 2010 at 1:02 PM, BJ Freeman bjf...@free-man.net wrote: Look for a host that has dedicated servers for Unbutu, CentoS V the lowest one I found goes for about $90 a month. if you want more control of your sever, like: • remote power off/on • hardware Firewall, • Intel Core2 Quad, 2.66GHz, 6MB Cache • 500GB SATA II Enterprise Hard Drive • 2GB DDR2-800 SDRAM • 3,000GB Monthly Transfer • 100Mbps Non-Capped Network Connection • 4 IP Addresses then you can expect about $145 a month. == 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 manoj sadangi sent the following on 3/22/2010 8:53 AM: Hi After developing the ecommerce site using ofbiz what will cheapest and best option to host? I was looking at godaddy and hostgator but they said they don't support ofbiz. thanks, manoj. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc.
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 all people are using Apache OFBiz!
Is there really no one else out there who's using OFBiz and would like to help push this section of the site forward? Cheers, Ruppert On Mar 19, 2010, at 9:40 AM, Ruth Hoffman wrote: Hi Tim: Please add to your list: OFBiz Learning Resource Center: myOFBiz.com http://www.myofbiz.com Thanks much! Ruth Tim Ruppert wrote: All, as we're doing changes to the home page of OFBiz, I'd like to solicit people to provide links to: 1. Websites you've created that are running on Apache OFBiz 2. Products you've built that are based on Apache OFBiz 3. Other Media that are talking about OFBiz - probably non-News Related since those are on the home page - This would be blog posts, Twitter accounts, etc - things we are making happen. I'll be trying to update these over the next little bit with #1 and #2 going on the home page - and #3 making it's way into an organized place in Confluence. Thanks in advance. Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595
Re: draft of ofbiz gwt integration tutorial
Definitely useful !! Heidi 2010/3/24 Christopher Snow sno...@snowconsulting.co.uk I have started drafting a tutorial at: http://cwiki.apache.org/confluence/x/GAri Please let me know if this is useful
Accounting Software
Hi, Has any one implemented OFBiz with a commercial accounting software? Any recommendation for a suitable accounting software that I can look into it? Regards, James -- View this message in context: http://n4.nabble.com/Accounting-Software-tp1679980p1679980.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Accounting Software
I use Quicken home and business expor fron ofbiz in qif format http://web.intuit.com/support/quicken/2002/win/1181.html you can also use quickbooks which is more business oriented. = 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 james_sg sent the following on 3/23/2010 7:17 PM: Hi, Has any one implemented OFBiz with a commercial accounting software? Any recommendation for a suitable accounting software that I can look into it? Regards, James
Re: Accounting Software
I have been looking at how to use the webconnect http://fi.intuit.com/ofximplementation/dl/wc_spec.pdf = 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 BJ Freeman sent the following on 3/23/2010 7:44 PM: I use Quicken home and business expor fron ofbiz in qif format http://web.intuit.com/support/quicken/2002/win/1181.html you can also use quickbooks which is more business oriented. = 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 james_sg sent the following on 3/23/2010 7:17 PM: Hi, Has any one implemented OFBiz with a commercial accounting software? Any recommendation for a suitable accounting software that I can look into it? Regards, James
Catalog Questions
I'm trying to set up a catalog for a printing business. The goal is to have a drill-down selection process - the customer first selects the paper type (recycled or not). Based on that selection, they get the next level of possibilities: glossy or matte, for example. There are some more levels of drill-down until we get to the point that we can identify a unique SKU for the paper order. Question - how do I do this? -Adrian
Re: Catalog Questions
Hi Adrian, That just sounds like regular category navigation except you're displaying lists of options (categories) instead of a tree of options, i.e. just a different face on the same ol' thing. What is it that you're not sure how to do? Regards, Scott HotWax Media http://www.hotwaxmedia.com On 23/03/2010, at 9:15 PM, Adrian Crum wrote: I'm trying to set up a catalog for a printing business. The goal is to have a drill-down selection process - the customer first selects the paper type (recycled or not). Based on that selection, they get the next level of possibilities: glossy or matte, for example. There are some more levels of drill-down until we get to the point that we can identify a unique SKU for the paper order. Question - how do I do this? -Adrian smime.p7s Description: S/MIME cryptographic signature
Re: Catalog Questions
Each choice affects the next set of choices. Each choice limits the next set of choices and it also affects the price. I'm thinking this might be some kind of configurator setup. -Adrian --- On Tue, 3/23/10, Scott Gray scott.g...@hotwaxmedia.com wrote: From: Scott Gray scott.g...@hotwaxmedia.com Subject: Re: Catalog Questions To: user@ofbiz.apache.org Date: Tuesday, March 23, 2010, 8:32 PM Hi Adrian, That just sounds like regular category navigation except you're displaying lists of options (categories) instead of a tree of options, i.e. just a different face on the same ol' thing. What is it that you're not sure how to do? Regards, Scott HotWax Media http://www.hotwaxmedia.com On 23/03/2010, at 9:15 PM, Adrian Crum wrote: I'm trying to set up a catalog for a printing business. The goal is to have a drill-down selection process - the customer first selects the paper type (recycled or not). Based on that selection, they get the next level of possibilities: glossy or matte, for example. There are some more levels of drill-down until we get to the point that we can identify a unique SKU for the paper order. Question - how do I do this? -Adrian