I have my laptop connected to a STS repository on my desktop machine. If
I suspend my laptop when Dolphin is open, I get STS walkbacks when browsing/compiling after I resume. Could STS detect this failure, and reconnect by itself? Currently, I must disconnect manually by evaluating "StsManager shutdown". Also, both the Load Edition and Import Into Repository options are enabled when I'm not connected to a repository. Selecting the Load Edition results in a dialog warning, but the Import gives a walkback. I'd prefer all STS options be enabled, but if you aren't connected, then it should prompt for a repository to connect to. Finally, could the system browser not lose my package selection if I load a project? It is annoying to have to reselect the package. John Brant |
> I have my laptop connected to a STS repository on my desktop machine. If
> I suspend my laptop when Dolphin is open, I get STS walkbacks when > browsing/compiling after I resume. Could STS detect this failure, and > reconnect by itself? Currently, I must disconnect manually by evaluating > "StsManager shutdown". > ... These are all +1's for me. I use the same setup as John with a desktop machine serving out repositories, and I roam around the house on the laptop. I have to remember to close down any images before I suspend or else I get the delayed write errors/Dolphin Walkbacks. You can work around it, but it would be _really_ nice to not have to worry about it. Is there a way to catch a notification that the machine is going into hibernation/suspension? |
In reply to this post by John Brant
On Wed, 04 Jan 2006 22:28:04 GMT, John Brant <[hidden email]>
wrote: >I have my laptop connected to a STS repository on my desktop machine. If >I suspend my laptop when Dolphin is open, I get STS walkbacks when >browsing/compiling after I resume. Could STS detect this failure, and >reconnect by itself? Currently, I must disconnect manually by evaluating >"StsManager shutdown". > >Also, both the Load Edition and Import Into Repository options are >enabled when I'm not connected to a repository. Selecting the Load >Edition results in a dialog warning, but the Import gives a walkback. >I'd prefer all STS options be enabled, but if you aren't connected, then >it should prompt for a repository to connect to. > >Finally, could the system browser not lose my package selection if I >load a project? It is annoying to have to reselect the package. > > >John Brant I often use my laptop connected wirelessly to the STS repository on my server. Sometimes I also connect to my repository via a VPN. Unfortunately my wireless connection occasionally disconnects/reconnects which breaks to connection to the STS repository and the VPN connection sometimes goes down due to ISP issues. It is annoying to have to keep doing a StsManager startUpOn: <path> when the connection breaks. Perhaps STS should make a small number of reconnection attempts before giving up the ghost. I agree with John that it would be very nice if the System browser didn't lose the current package selection when you load a project/edition. The Brave Sir Robin. |
OmniBase currently does not support automatic database reconnect when
network connection breaks down. This would also be quite complicated to do on the database level because there are many files opened each with its state, etc. The simplest thing to do in such case is to evaluate: StsManager current disconnectFromDatabase; connectToDatabase This is better than doing #shutdown, #startUpOn: because this will retain links between the code in the image and code in the repository (versions of packages and classes loaded in the image are cached for faster versioning and comparing). This could also be done automatically but I first need to find out what error code I get from Windows when network share becomes unavailable, plus implement some exception handling... Best regards, David Gorisek The Brave Sir Robin wrote: > On Wed, 04 Jan 2006 22:28:04 GMT, John Brant <[hidden email]> > wrote: > > >>I have my laptop connected to a STS repository on my desktop machine. If >>I suspend my laptop when Dolphin is open, I get STS walkbacks when >>browsing/compiling after I resume. Could STS detect this failure, and >>reconnect by itself? Currently, I must disconnect manually by evaluating >>"StsManager shutdown". >> >>Also, both the Load Edition and Import Into Repository options are >>enabled when I'm not connected to a repository. Selecting the Load >>Edition results in a dialog warning, but the Import gives a walkback. >>I'd prefer all STS options be enabled, but if you aren't connected, then >>it should prompt for a repository to connect to. >> >>Finally, could the system browser not lose my package selection if I >>load a project? It is annoying to have to reselect the package. >> >> >>John Brant > > > I often use my laptop connected wirelessly to the STS repository on my > server. Sometimes I also connect to my repository via a VPN. > Unfortunately my wireless connection occasionally > disconnects/reconnects which breaks to connection to the STS > repository and the VPN connection sometimes goes down due to ISP > issues. > > It is annoying to have to keep doing a StsManager startUpOn: <path> > when the connection breaks. Perhaps STS should make a small number of > reconnection attempts before giving up the ghost. > > I agree with John that it would be very nice if the System browser > didn't lose the current package selection when you load a > project/edition. > > > The Brave Sir Robin. > |
Free forum by Nabble | Edit this page |