Other RDC connected to two different databases

Adilson Jacinto

Active Member
Licensed User
Longtime User
Hi there,


I trying to connect my RDC to two different databases, how can I chage the config.properties file to have both databases there?


Thanks
 

DonManfred

Expert
Licensed User
Longtime User
I think you need to setup two rdc. I dont think it can work with two databases at once
 
Upvote 0

Adilson Jacinto

Active Member
Licensed User
Longtime User
the same way you did for the one you already configured. Use a different folder (using different config files)

Thanks for this, just one more question though, I am aware to run RDC RunRLC.bat file needs to run, I currently testing on windows but when I move the files to Linux, how can I run this file automatically on the server?

Thanks
 
Upvote 0

Adilson Jacinto

Active Member
Licensed User
Longtime User
Ok, I just di what you told me to do, I created a different folder for the second RDC then check both connection for port 1718
B4X:
    If FirstTime Then
        reqManager.Initialize(Me, "http://192.168.0.2:17178")
        reqManager.Initialize(Me, "http://192.168.0.2:17179")
    End If
179 and then in my application I have

Then when it reaches the Job.Done I get an error server error.
 
Upvote 0

Adilson Jacinto

Active Member
Licensed User
Longtime User
i think it will not work. Use TWO different requestmanager

I just tried that, the first one works but the second when gets to job.done gives error server not found, do I need to create another DBRequestManager file?

reqManager.Initialize(Me, "http://192.168.0.2:17178")
reqManager2.Initialize(Me, "http://192.168.0.2:17179")


Sorry It is sorted now, I had to restart the .bat files again


Thanks
 
Upvote 0
Top