RTC Eclipse client connections to local host and enterprise JTS
I installed the Windows 7 JTS/RTC 4.0.1 download on my local workstation. So locally, I'm running the JTS in Windows 7 on top of the Apache derby DB, Tomcat, etc. I also installed the RTC eclipse client on that same workstation.
What I found early on is that I could only make a JTS connection from the RTC eclipse client if I turned my wifi off and/or disconnected my network cable to the network. If I had any valid network connection to my workstation, I could not connect to the local JTS even though it was started up. I could toggle the JTS connection on and off by simply enabling or disabling a valid network connection on my workstation. I believe my RTC eclipse client "Network Connections" were set to the "Active Provider" of "Native".
Later, when adding a new repository connection to our enterprise JTS, I found that I could only make that connection work if I switched the RTC eclipse client "Network Connections" setting to the "Active Provider" of "Direct". With the "Direct" setting and after restarting the RTC eclipse client, I found that the behavior described above for local JTS connections didn't change.
My question is how can this be configured so that my RTC eclipse client can access the local repository and the enterprise repository at the same time while maintaining a constant, valid network connection to my workstation?
Accepted answer
One other answer
I always connected to my enterprise RTC and localhost with the same eclipse client at the same time.
(enterprise system connected via vpn).
Comments
I'm also connecting to the enterprise JTS via VPN. I think an enterprise firewall may have had something to do with the fact that I had to use the "Direct" RTC eclipse client Network Connections setting.
If I do have a local firewall that is blocking local access, does it make sense that the local firewall doesn't block access when there is no valid network connection but it does when there is a valid network connection?
i don't know. I have a local home lan. I also have RTC running on my personal system (where I do exploratory development of all kinds)..
when I am vpn connected to work, I cannot access my home lan AT ALL, except for print, to a specific IP address range.
but RTC running on the vpn connected machine is accessible as well as the vpn connected servers.
localhost should ALWAYS exist.. even on a network of 1 machine.
localhost should be 127.0.0.1 always
Thanks for nudging me in the direction of the local hosts file as well!