Re: second website

2013-04-26 Thread Heidi Dehaes
Hello,

Thanks for your reply.

I have two IP addresses available and configured in Debian Linux.

In ofbiz 11.0.4 i have in the content / websites page configured the following:

- WebStoreClone   with IP 46.18.32.177  and http port 80 with
productstore Onlinekinderwinkel with Theme EC Default..

- OfbizSite   with IP 46.18.32.178 and http port 80 with
productstore Olagos with theme MultiFlex.

However no difference appears if i take the one or the other ip
address in the browser.

What do i miss?

Regards,
Eric



2013/4/26 Atul Vani atul.v...@hotwaxmedia.com:
 Didn't get your purpose but a small thing to do would be to have something
 like ecommerce clone app. Override only what needs to be changed and use a
 different theme. With this both sites can be kept on the same server.

 To have them on different servers, you can just use the same database by as
 mentioned by Jacques.


 On Tue, 23 Apr 2013 17:47:53 +0530, Heidi Dehaes info.ola...@gmail.com
 wrote:

 Hi,

 And i have to copy the ecommerce subdirectory with files to a second
 mount point, i guess?

 Eric, Heidi

 2013/4/23 Jacques Le Roux jacques.le.r...@les7arts.com:

 Hi Heidi,

 It's as easy as setting the entittyengine.xml fil to point to the same DB

 Jacques

 From: Heidi Dehaes info.ola...@gmail.com

 Hello,

 I have a ofbiz11.0.4 version on Debian Linux with one database.

 I want to know how to setup a second website (webshop) with the same
 database only a different layout.

 I have a second IP address available.

 Regards,
 Eric

 --
 Olagos bvba
 http://www.olagos.eu
 http://www.olagos.com
 http://www.olagos.be
 http://www.olagos.nl
 Olagos team
 Kerkstraat 34
 2570 Duffel
 Belgium






 --
 Using Opera's revolutionary email client: http://www.opera.com/mail/



-- 
Olagos bvba
http://www.olagos.eu
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Kerkstraat 34
2570 Duffel
Belgium


Re: second website

2013-04-26 Thread Heidi Dehaes
Hello Atul,

I tried to find a solution. So i took the ofbiz-containers.xml file
under /framework/base/config  in ofbiz11.0.4.

As i read in the documentation from Tomcat is must be possible to
define two engine objects and two http-connector objects.
I defined a default-server where default-host = 46.18.32.177
and a second default-server2 where default-host = 46.18.32.178

I defined two http-connectors , one connected with parameter address
= 46.18.32.177 and a second one with parameter address =
46.18.32.178

The whole configuration in ofbiz-containers.xml was:

property name=default-server value=engine
property name=default-host value=46.18.32.177/
property name=jvm-route value=jvm1/
property name=access-log-pattern
property-value%h %l %u %t %r %s %b %{Referer}i
%{User-Agent}i/property-value
/property
property name=access-log-resolve value=true/
property name=access-log-rotate value=true/
property name=access-log-prefix value=access_log./
property name=access-log-dir value=runtime/logs/
property name=enable-request-dump value=false/
!-- uncomment for cluster support
property name=default-server-cluster value=cluster
property name=rep-valve-filter

property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
/property
property name=manager-class
value=org.apache.catalina.ha.session.DeltaManager/
property name=debug value=5/
property name=replication-mode
value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
property name=tcp-listen-host value=auto/
property name=tcp-listen-port value=4001/
property name=tcp-sector-timeout value=100/
property name=tcp-thread-count value=6/
property name=mcast-bind-addr value=192.168.2.1/
property name=mcast-addr value=228.0.0.4/
property name=mcast-port value=45564/
property name=mcast-freq value=500/
property name=mcast-drop-time value=3000/
/property
--
!-- property name=ssl-accelerator-port value=8443/ --
property name=enable-cross-subdomain-sessions value=false/
/property



property name=default-server2 value=engine
property name=default-host value=46.18.32.178/
property name=jvm-route value=jvm1/
property name=access-log-pattern
property-value%h %l %u %t %r %s %b %{Referer}i
%{User-Agent}i/property-value
/property
property name=access-log-resolve value=true/
property name=access-log-rotate value=true/
property name=access-log-prefix value=access_log./
property name=access-log-dir value=runtime/logs/
property name=enable-request-dump value=false/
!-- uncomment for cluster support
property name=default-server-cluster value=cluster
property name=rep-valve-filter

property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
/property
property name=manager-class
value=org.apache.catalina.ha.session.DeltaManager/
property name=debug value=5/
property name=replication-mode
value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
property name=tcp-listen-host value=auto/
property name=tcp-listen-port value=4001/
property name=tcp-sector-timeout value=100/
property name=tcp-thread-count value=6/
property name=mcast-bind-addr value=192.168.2.1/
property name=mcast-addr value=228.0.0.4/
property name=mcast-port value=45564/
property name=mcast-freq value=500/
property name=mcast-drop-time value=3000/
/property
--
!-- property name=ssl-accelerator-port value=8443/ --
property name=enable-cross-subdomain-sessions value=false/
/property



property name=http-connector value=connector
!-- see
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for
reference --
property name=allowTrace value=false/
property name=emptySessionPath value=false/
property name=enableLookups value=false/
property name=maxPostSize value=2097152/
property name=protocol value=HTTP/1.1/
property name=proxyName value=/
property name=proxyPort value=/
property name=redirectPort value=/
property name=scheme value=http/
property name=secure value=false/
property 

Re: POS on a Android tablet?

2013-04-26 Thread Ted Byers
On Thu, Apr 25, 2013 at 6:19 PM, Mauricio Tavares raubvo...@gmail.comwrote:

 On Thu, Apr 25, 2013 at 5:41 PM, Ted Byers r.ted.by...@gmail.com wrote:
  Thanks Mauricio,
 
  I'd apreciate that.  I hadn't actually thought about a card reader, but
  you're right.  For the POS side of it, we'd need (and really should only
  use) an encrypted card reader, to handle the credit ar and debit
  transactions.  That said, though, what this thread started as involved
 bar
  code reading (in POS that would identify what has been bought and look up
  the price from the DB), and of course in inventory management (both POS
 and
  taking inventory) the idea is to read the products' bar codes, to
 identify
  the products bought ot in stock, and then enter the quantity, and adjust
  the amount represented in the DB as being available for sale or use
  (depending on whether we're talking a contractor or a vendor).
 
   For the bar code scanner, I have seen a program called
 out-of-milk in the android which seems to scan bar codes rather nicely
 with the onboard camera (you hold product so bar code is inside its
 border. When it is successful the border goes green) and then search
 for them up somehow (google? built-in db? I dunno). Most of the time
 it finds the product. I take there has to be examples on making such a
 reader out there. Or talk to the guy who wrote it and see if you two
 can do something together.

 Can you provide contact information for this guy?  I had found a rather
good bar code scanner software product from S4BB, but they ignored my
request for contact and information.  It reads the bar codes very well, but
when it has done so, it sends the data hme and the browser on my Blackberry
opens with product information.  And, it is cross platform, so there are
versions that run on just about any smart phone.  All the apps I found that
read bar codes work like this, building their own database of products,
manufacturers and retailers for each bar code.  Thus some are more useful
than others as it takes time to build such a database.  I'd expact that
such a database would get so large that it can not be stored on a smart
phone.



  That said, a question that perhaps ought to branch off to a distinct
  thread, is Are you aware of an encrypted card reader that a consumer
 could

   We probably should do that.

  plug into his own computer or mobile device, to transform ecommerce sales
  into card present transactions (something I am sure processing banks
 would
  prefer over card not present transactions).  A part of much of my work
  these days is investigation and development of fraud prevention
  technologies, and such a device would be of tremendous value, especially
 if
  at a price point a consumer wouldn't think twice about buying one.
 
   I just asked the programmer who usually integrate those readers.
 Off the top of his head, we have used one by honeywell and another by
 infinite peripherals, but those are for IOS. He did not remember which
 one we played with for the android.


So, I ought to be able to get further informatin from Honeywell (a little
name recognition wouldn't hurt in promoting the idea to consumers).


 I wonder who makes the ones used by paypal and by squareup (I think

that's its name).

  As I have several decades of software development experience in a variety
  of programming languages, I am sure I could develop something using a
 same
  SDK, but as all my apps have been either intended for a desktop or for
  application servers, and I have yet to develop something for any mobile
  device, it would be good if I could connect to someone with mobile device
  app development experience if I have to go the route of developing
  something like that.  If the programmers you know who do this sort of
 thing
  hate those SDKs, I think I might prefer to hire someone to deal with it
  than take it on myself (when my budget allows me to do so).
 
   Also, one of the sucky parts is that after you get it to work
 you then have to certify it with your payment processor. There are
 ways around that: I just talked to my boss and he said a POS (like
 ofbiz!) does not deal with the card reading. Instead it tells out
 software bitch, I want to charge $19. Yay or Nay? and the program
 talks to card reader and then to the processor, and then says whether
 transaction is approved or denied. POS takes that info and does what
 it needs to do. This way the POS does not need to be PCI compliant; it
 is out of the card-handling loop. So, it instead can focus on the
 other aspects like inventory control and providing an interface that
 does not make your end user want to scream.

 That is a great way to enhance the security and fraud prevention methods.
I have developed my own API (in Perl) for taking ecommerce data and
submitting it to a merchant's processing bank.  And, I am investigating
incorporating a suite of Perl packages into my API, so that I can support a
great many more 

Re: POS on a Android tablet?

2013-04-26 Thread Ted Byers
On Thu, Apr 25, 2013 at 10:20 PM, Richard Siddall 
richard.sidd...@elirion.net wrote:

 Ted Byers wrote:

 This is an important question.

 I too have potential clients who want to use their smart phones for POS,
 as
 well as to take inventory (both within their warehouse and on remote job

 sites).  I have found bar code reader hardware that will put the barcode
 data into whatever field in whatever form has focus (regardless of whether
 the application is a web app, with which the user is interacting via a

 browser, or a dedicated app).  Obviously, I want to have the user working
 with both the POS and inventory components via the web browser.[snip]


 I did a quick search and it looks like the ASL-licensed ZXing (
 http://code.google.com/p/**zxing/ http://code.google.com/p/zxing/)
 works on Blackberry as well as on Android.  It wasn't obvious you could use
 it to enter text into an arbitrary web application running on the mobile
 device.  Seems like you have to use it within a custom application.

 Richard.



 Thanks  Richard.  I will investigate this.  They seem to have a discussion
forum, so I can ask, there, how to use it within OFBiz.  It is, after all,
a Java library, but I do not know, yet, if it can be embedded in a web page
app, or if it would need an app to install on the user's smart phone
(acceptable on a merchant or contractor's smart phone, but potentially
problematic on a consumer's smart phone.

Thanks

Ted