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 <[email protected]>
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 <[email protected]>
> 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 <[email protected]
> >
> > 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 <
> [email protected]>
> > > wrote:
> > >
> > > > Thanks, Pierre and Deepak.
> > > >
> > > > Thanks & Regards
> > > > --
> > > > Deepak Nigam
> > > >
> > > > On Mon, May 4, 2020 at 12:32 PM Deepak Dixit <[email protected]
> >
> > > > 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: [email protected]
> > > >> *www.hotwax.co <http://www.hotwax.co/>*
> > > >>
> > > >>
> > > >> On Mon, May 4, 2020 at 12:01 PM Deepak Nigam <
> > > [email protected]>
> > > >> 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
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > > >
> > >
>

Reply via email to