You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Deepak Nigam <de...@gmail.com> on 2020/05/04 06:31:01 UTC
Offline data management in OFBiz web POS
Hello all,
I hope everyone is doing well in this tough time of the global pandemic.
Is there any support for managing the data offline in OFBiz web POS?
Suppose the scenario wherein the internet connectivity got dropped for a
few minutes, still, the business wants to use the POS system and continue
its operations. Any possibility of achieving this requirement?
Thanks & Regards
--
Deepak Nigam
Re: Offline data management in OFBiz web POS
Posted by Girish Vasmatkar <gi...@hotwaxsystems.com>.
Hi Deepak -
Is rmiregistry running on the remote OFBiz server? Secondly, the remote
server must allow incoming remote connections on default 1099 port (if at
all this is the port rmiregistry is started on). Try to do telnet on the
port and see if it is even allowing connections.
Best,
Girish
On Tue, May 5, 2020 at 1:48 PM Deepak Nigam <de...@gmail.com>
wrote:
> Hello all,
>
> Is there any document for enabling RMI in OFBiz? As per OFBIZ-6942
> <https://issues.apache.org/jira/browse/OFBIZ-6942>, RMI was disabled due
> to
> Java serialization issues. I also tried to revert the changes on local by
> referring to https://markmail.org/message/dukv5glk3elilo5z, but it seems
> that the file/code structure has been changed now.
>
> I can trigger the RMI service host on the same machine (localhost:1099)
> successfully, but it is giving connection error for OFBiz another server
> deployed in the same LAN. I have confirmed that another server is
> accessible for my machine.
>
> Thanks in advance.
>
> Regards
> --
> Deepak Nigam
>
>
> On Mon, May 4, 2020 at 4:23 PM Deepak Nigam <de...@gmail.com>
> wrote:
>
> > Thanks, Pierre and Deepak.
> >
> > Thanks & Regards
> > --
> > Deepak Nigam
> >
> > On Mon, May 4, 2020 at 12:32 PM Deepak Dixit <de...@hotwax.co>
> > wrote:
> >
> >> Hi Deepak,
> >>
> >> You can refer following document
> >>
> >>
> https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example
> >>
> >> >>Is there any support for managing the data offline in OFBiz web POS?
> >>
> >> I think we don't have any support for offline order taking, if you want
> to
> >> use offline for the web, you can use serviceworker.
> >>
> >>
> >> Kind Regards,
> >> Deepak Dixit
> >> DIRECTOR OF PRODUCT ENGINEERING
> >> mobile: +91 9826754548
> >> email: deepak.dixit@hotwax.co
> >> *www.hotwax.co <http://www.hotwax.co/>*
> >>
> >>
> >> On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <
> deepak.nigam1990@gmail.com>
> >> wrote:
> >>
> >> > Hello all,
> >> >
> >> > I hope everyone is doing well in this tough time of the global
> pandemic.
> >> >
> >> > Is there any support for managing the data offline in OFBiz web POS?
> >> > Suppose the scenario wherein the internet connectivity got dropped
> for a
> >> > few minutes, still, the business wants to use the POS system and
> >> continue
> >> > its operations. Any possibility of achieving this requirement?
> >> >
> >> > Thanks & Regards
> >> > --
> >> > Deepak Nigam
> >> >
> >>
> >
> >
> >
> >
>
Re: Offline data management in OFBiz web POS
Posted by Girish Vasmatkar <gi...@hotwaxsystems.com>.
It certainly looks like it is still trying to connect to the local server.
I would suggest using a debugger inside RmiServiceEngine and then try to
see what values the variables hold at the runtime.
Best,
Girish
On Tue, May 5, 2020 at 2:21 PM Deepak Nigam <de...@gmail.com>
wrote:
> Thanks Girish.
>
> Yes rmi-registry is running on the remote service. I have also verified
> that the port 1099 is open on the remote server. I am getting the following
> error on running the 'testRmi' service from my local machine:
>
> The Following Errors Occurred:
>
> Service dispatcher threw an exception:RMI Invocation Error (Connection
> refused to host: 127.0.1.1; nested exception is: <br/>
> java.net.ConnectException: Connection refused (Connection refused))
>
> I have made changes necessary changes in serviceengine.xml for main-rmi and
> entity-sync-rmi service location i.e. replaced localhost by remote server's
> IP address. However from the above error it seems that it is still pointing
> to 127.0.1.1.
>
> Regards
> --
> Deepak Nigam
>
>
>
>
> On Tue, May 5, 2020 at 2:10 PM Pierre Smits <pi...@apache.org>
> wrote:
>
> > Hi Deepak,
> >
> > A search in the OFBiz wiki will go a long way. Here is the uri:
> > https://cwiki.apache.org/confluence/display/OFBIZ
> >
> > Met vriendelijke groet,
> >
> > Pierre Smits
> > *Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/>
> since
> > 2008 (without privileges)
> >
> > *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> > *Apache Directory <https://directory.apache.org>, PMC Member*
> > Apache Incubator <https://incubator.apache.org>, committer
> > Apache Steve <https://steve.apache.org>, committer
> >
> >
> > On Tue, May 5, 2020 at 10:18 AM Deepak Nigam <deepak.nigam1990@gmail.com
> >
> > wrote:
> >
> > > Hello all,
> > >
> > > Is there any document for enabling RMI in OFBiz? As per OFBIZ-6942
> > > <https://issues.apache.org/jira/browse/OFBIZ-6942>, RMI was disabled
> due
> > > to
> > > Java serialization issues. I also tried to revert the changes on local
> by
> > > referring to https://markmail.org/message/dukv5glk3elilo5z, but it
> seems
> > > that the file/code structure has been changed now.
> > >
> > > I can trigger the RMI service host on the same machine (localhost:1099)
> > > successfully, but it is giving connection error for OFBiz another
> server
> > > deployed in the same LAN. I have confirmed that another server is
> > > accessible for my machine.
> > >
> > > Thanks in advance.
> > >
> > > Regards
> > > --
> > > Deepak Nigam
> > >
> > >
> > > On Mon, May 4, 2020 at 4:23 PM Deepak Nigam <
> deepak.nigam1990@gmail.com>
> > > wrote:
> > >
> > > > Thanks, Pierre and Deepak.
> > > >
> > > > Thanks & Regards
> > > > --
> > > > Deepak Nigam
> > > >
> > > > On Mon, May 4, 2020 at 12:32 PM Deepak Dixit <deepak.dixit@hotwax.co
> >
> > > > wrote:
> > > >
> > > >> Hi Deepak,
> > > >>
> > > >> You can refer following document
> > > >>
> > > >>
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example
> > > >>
> > > >> >>Is there any support for managing the data offline in OFBiz web
> POS?
> > > >>
> > > >> I think we don't have any support for offline order taking, if you
> > want
> > > to
> > > >> use offline for the web, you can use serviceworker.
> > > >>
> > > >>
> > > >> Kind Regards,
> > > >> Deepak Dixit
> > > >> DIRECTOR OF PRODUCT ENGINEERING
> > > >> mobile: +91 9826754548
> > > >> email: deepak.dixit@hotwax.co
> > > >> *www.hotwax.co <http://www.hotwax.co/>*
> > > >>
> > > >>
> > > >> On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <
> > > deepak.nigam1990@gmail.com>
> > > >> wrote:
> > > >>
> > > >> > Hello all,
> > > >> >
> > > >> > I hope everyone is doing well in this tough time of the global
> > > pandemic.
> > > >> >
> > > >> > Is there any support for managing the data offline in OFBiz web
> POS?
> > > >> > Suppose the scenario wherein the internet connectivity got dropped
> > > for a
> > > >> > few minutes, still, the business wants to use the POS system and
> > > >> continue
> > > >> > its operations. Any possibility of achieving this requirement?
> > > >> >
> > > >> > Thanks & Regards
> > > >> > --
> > > >> > Deepak Nigam
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > > >
> > >
>
Re: Offline data management in OFBiz web POS
Posted by Deepak Nigam <de...@gmail.com>.
Thanks Girish.
Yes rmi-registry is running on the remote service. I have also verified
that the port 1099 is open on the remote server. I am getting the following
error on running the 'testRmi' service from my local machine:
The Following Errors Occurred:
Service dispatcher threw an exception:RMI Invocation Error (Connection
refused to host: 127.0.1.1; nested exception is: <br/>
java.net.ConnectException: Connection refused (Connection refused))
I have made changes necessary changes in serviceengine.xml for main-rmi and
entity-sync-rmi service location i.e. replaced localhost by remote server's
IP address. However from the above error it seems that it is still pointing
to 127.0.1.1.
Regards
--
Deepak Nigam
On Tue, May 5, 2020 at 2:10 PM Pierre Smits <pi...@apache.org> wrote:
> Hi Deepak,
>
> A search in the OFBiz wiki will go a long way. Here is the uri:
> https://cwiki.apache.org/confluence/display/OFBIZ
>
> Met vriendelijke groet,
>
> Pierre Smits
> *Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since
> 2008 (without privileges)
>
> *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> *Apache Directory <https://directory.apache.org>, PMC Member*
> Apache Incubator <https://incubator.apache.org>, committer
> Apache Steve <https://steve.apache.org>, committer
>
>
> On Tue, May 5, 2020 at 10:18 AM Deepak Nigam <de...@gmail.com>
> wrote:
>
> > Hello all,
> >
> > Is there any document for enabling RMI in OFBiz? As per OFBIZ-6942
> > <https://issues.apache.org/jira/browse/OFBIZ-6942>, RMI was disabled due
> > to
> > Java serialization issues. I also tried to revert the changes on local by
> > referring to https://markmail.org/message/dukv5glk3elilo5z, but it seems
> > that the file/code structure has been changed now.
> >
> > I can trigger the RMI service host on the same machine (localhost:1099)
> > successfully, but it is giving connection error for OFBiz another server
> > deployed in the same LAN. I have confirmed that another server is
> > accessible for my machine.
> >
> > Thanks in advance.
> >
> > Regards
> > --
> > Deepak Nigam
> >
> >
> > On Mon, May 4, 2020 at 4:23 PM Deepak Nigam <de...@gmail.com>
> > wrote:
> >
> > > Thanks, Pierre and Deepak.
> > >
> > > Thanks & Regards
> > > --
> > > Deepak Nigam
> > >
> > > On Mon, May 4, 2020 at 12:32 PM Deepak Dixit <de...@hotwax.co>
> > > wrote:
> > >
> > >> Hi Deepak,
> > >>
> > >> You can refer following document
> > >>
> > >>
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example
> > >>
> > >> >>Is there any support for managing the data offline in OFBiz web POS?
> > >>
> > >> I think we don't have any support for offline order taking, if you
> want
> > to
> > >> use offline for the web, you can use serviceworker.
> > >>
> > >>
> > >> Kind Regards,
> > >> Deepak Dixit
> > >> DIRECTOR OF PRODUCT ENGINEERING
> > >> mobile: +91 9826754548
> > >> email: deepak.dixit@hotwax.co
> > >> *www.hotwax.co <http://www.hotwax.co/>*
> > >>
> > >>
> > >> On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <
> > deepak.nigam1990@gmail.com>
> > >> wrote:
> > >>
> > >> > Hello all,
> > >> >
> > >> > I hope everyone is doing well in this tough time of the global
> > pandemic.
> > >> >
> > >> > Is there any support for managing the data offline in OFBiz web POS?
> > >> > Suppose the scenario wherein the internet connectivity got dropped
> > for a
> > >> > few minutes, still, the business wants to use the POS system and
> > >> continue
> > >> > its operations. Any possibility of achieving this requirement?
> > >> >
> > >> > Thanks & Regards
> > >> > --
> > >> > Deepak Nigam
> > >> >
> > >>
> > >
> > >
> > >
> > >
> >
Re: Offline data management in OFBiz web POS
Posted by Pierre Smits <pi...@apache.org>.
Hi Deepak,
A search in the OFBiz wiki will go a long way. Here is the uri:
https://cwiki.apache.org/confluence/display/OFBIZ
Met vriendelijke groet,
Pierre Smits
*Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since
2008 (without privileges)
*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
Apache Steve <https://steve.apache.org>, committer
On Tue, May 5, 2020 at 10:18 AM Deepak Nigam <de...@gmail.com>
wrote:
> Hello all,
>
> Is there any document for enabling RMI in OFBiz? As per OFBIZ-6942
> <https://issues.apache.org/jira/browse/OFBIZ-6942>, RMI was disabled due
> to
> Java serialization issues. I also tried to revert the changes on local by
> referring to https://markmail.org/message/dukv5glk3elilo5z, but it seems
> that the file/code structure has been changed now.
>
> I can trigger the RMI service host on the same machine (localhost:1099)
> successfully, but it is giving connection error for OFBiz another server
> deployed in the same LAN. I have confirmed that another server is
> accessible for my machine.
>
> Thanks in advance.
>
> Regards
> --
> Deepak Nigam
>
>
> On Mon, May 4, 2020 at 4:23 PM Deepak Nigam <de...@gmail.com>
> wrote:
>
> > Thanks, Pierre and Deepak.
> >
> > Thanks & Regards
> > --
> > Deepak Nigam
> >
> > On Mon, May 4, 2020 at 12:32 PM Deepak Dixit <de...@hotwax.co>
> > wrote:
> >
> >> Hi Deepak,
> >>
> >> You can refer following document
> >>
> >>
> https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example
> >>
> >> >>Is there any support for managing the data offline in OFBiz web POS?
> >>
> >> I think we don't have any support for offline order taking, if you want
> to
> >> use offline for the web, you can use serviceworker.
> >>
> >>
> >> Kind Regards,
> >> Deepak Dixit
> >> DIRECTOR OF PRODUCT ENGINEERING
> >> mobile: +91 9826754548
> >> email: deepak.dixit@hotwax.co
> >> *www.hotwax.co <http://www.hotwax.co/>*
> >>
> >>
> >> On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <
> deepak.nigam1990@gmail.com>
> >> wrote:
> >>
> >> > Hello all,
> >> >
> >> > I hope everyone is doing well in this tough time of the global
> pandemic.
> >> >
> >> > Is there any support for managing the data offline in OFBiz web POS?
> >> > Suppose the scenario wherein the internet connectivity got dropped
> for a
> >> > few minutes, still, the business wants to use the POS system and
> >> continue
> >> > its operations. Any possibility of achieving this requirement?
> >> >
> >> > Thanks & Regards
> >> > --
> >> > Deepak Nigam
> >> >
> >>
> >
> >
> >
> >
>
Re: Offline data management in OFBiz web POS
Posted by Deepak Nigam <de...@gmail.com>.
Hello all,
Is there any document for enabling RMI in OFBiz? As per OFBIZ-6942
<https://issues.apache.org/jira/browse/OFBIZ-6942>, RMI was disabled due to
Java serialization issues. I also tried to revert the changes on local by
referring to https://markmail.org/message/dukv5glk3elilo5z, but it seems
that the file/code structure has been changed now.
I can trigger the RMI service host on the same machine (localhost:1099)
successfully, but it is giving connection error for OFBiz another server
deployed in the same LAN. I have confirmed that another server is
accessible for my machine.
Thanks in advance.
Regards
--
Deepak Nigam
On Mon, May 4, 2020 at 4:23 PM Deepak Nigam <de...@gmail.com>
wrote:
> Thanks, Pierre and Deepak.
>
> Thanks & Regards
> --
> Deepak Nigam
>
> On Mon, May 4, 2020 at 12:32 PM Deepak Dixit <de...@hotwax.co>
> wrote:
>
>> Hi Deepak,
>>
>> You can refer following document
>>
>> https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example
>>
>> >>Is there any support for managing the data offline in OFBiz web POS?
>>
>> I think we don't have any support for offline order taking, if you want to
>> use offline for the web, you can use serviceworker.
>>
>>
>> Kind Regards,
>> Deepak Dixit
>> DIRECTOR OF PRODUCT ENGINEERING
>> mobile: +91 9826754548
>> email: deepak.dixit@hotwax.co
>> *www.hotwax.co <http://www.hotwax.co/>*
>>
>>
>> On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <de...@gmail.com>
>> wrote:
>>
>> > Hello all,
>> >
>> > I hope everyone is doing well in this tough time of the global pandemic.
>> >
>> > Is there any support for managing the data offline in OFBiz web POS?
>> > Suppose the scenario wherein the internet connectivity got dropped for a
>> > few minutes, still, the business wants to use the POS system and
>> continue
>> > its operations. Any possibility of achieving this requirement?
>> >
>> > Thanks & Regards
>> > --
>> > Deepak Nigam
>> >
>>
>
>
>
>
Re: Offline data management in OFBiz web POS
Posted by Deepak Nigam <de...@gmail.com>.
Thanks, Pierre and Deepak.
Thanks & Regards
--
Deepak Nigam
On Mon, May 4, 2020 at 12:32 PM Deepak Dixit <de...@hotwax.co> wrote:
> Hi Deepak,
>
> You can refer following document
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example
>
> >>Is there any support for managing the data offline in OFBiz web POS?
>
> I think we don't have any support for offline order taking, if you want to
> use offline for the web, you can use serviceworker.
>
>
> Kind Regards,
> Deepak Dixit
> DIRECTOR OF PRODUCT ENGINEERING
> mobile: +91 9826754548
> email: deepak.dixit@hotwax.co
> *www.hotwax.co <http://www.hotwax.co/>*
>
>
> On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <de...@gmail.com>
> wrote:
>
> > Hello all,
> >
> > I hope everyone is doing well in this tough time of the global pandemic.
> >
> > Is there any support for managing the data offline in OFBiz web POS?
> > Suppose the scenario wherein the internet connectivity got dropped for a
> > few minutes, still, the business wants to use the POS system and continue
> > its operations. Any possibility of achieving this requirement?
> >
> > Thanks & Regards
> > --
> > Deepak Nigam
> >
>
--
*Deepak Nigam*
*Director of Technology*
*NOI Technologies (P) Limited*
*https://www.noitechnologies.com <https://www.noitechnologies.com/>*
*Mob: +91 9907313454*
*SkypeId: deepak.nigam9*
M-7&10, RIICO Software Building, EPIP, Sitapura Industrial Area, Jaipur,
Rajasthan, India - 302022
Re: Offline data management in OFBiz web POS
Posted by Deepak Dixit <de...@hotwax.co>.
Hi Deepak,
You can refer following document
https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example
>>Is there any support for managing the data offline in OFBiz web POS?
I think we don't have any support for offline order taking, if you want to
use offline for the web, you can use serviceworker.
Kind Regards,
Deepak Dixit
DIRECTOR OF PRODUCT ENGINEERING
mobile: +91 9826754548
email: deepak.dixit@hotwax.co
*www.hotwax.co <http://www.hotwax.co/>*
On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <de...@gmail.com>
wrote:
> Hello all,
>
> I hope everyone is doing well in this tough time of the global pandemic.
>
> Is there any support for managing the data offline in OFBiz web POS?
> Suppose the scenario wherein the internet connectivity got dropped for a
> few minutes, still, the business wants to use the POS system and continue
> its operations. Any possibility of achieving this requirement?
>
> Thanks & Regards
> --
> Deepak Nigam
>
Re: Offline data management in OFBiz web POS
Posted by Pierre Smits <pi...@apache.org>.
Hi Deepak,
One solution could be to run the OFBiz instance that is used to host the
WebPOS component in a LAN.
Met vriendelijke groet,
Pierre Smits
*Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since
2008 (without privileges)
*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
Apache Steve <https://steve.apache.org>, committer
On Mon, May 4, 2020 at 8:31 AM Deepak Nigam <de...@gmail.com>
wrote:
> Hello all,
>
> I hope everyone is doing well in this tough time of the global pandemic.
>
> Is there any support for managing the data offline in OFBiz web POS?
> Suppose the scenario wherein the internet connectivity got dropped for a
> few minutes, still, the business wants to use the POS system and continue
> its operations. Any possibility of achieving this requirement?
>
> Thanks & Regards
> --
> Deepak Nigam
>