Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Unnecessary SVN server access?
Unnecessary SVN server access? [message #13892] Mon, 03 March 2008 20:58 Go to next message
Pavel Zuev is currently offline Pavel ZuevFriend
Messages: 2
Registered: July 2009
Junior Member
Subversive tries to connect to SVN server even when that's unnecessary -
for example, when it initializes popup menu for a project. That slows
things down and can even completely freeze Eclipse when network becomes
inaccessible.

See this stack trace, for example. It was obtained with jstack tool from
completely frozen Eclipse instance:
-------------------------------
"SVN-Y9QS0" prio=6 tid=0x00985400 nid=0xee4 runnable
[0x0012d000..0x0012fc54]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
- locked <0x108a91a8> (a java.net.SocksSocketImpl)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at
org.tmatesoft.svn.core.internal.util.SVNSocketFactory.create PlainSocket(SVNSocketFactory.java:54)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.c onnect(HTTPConnection.java:146)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r equest(HTTPConnection.java:272)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r equest(HTTPConnection.java:235)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r equest(HTTPConnection.java:223)
at
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doPropf ind(DAVConnection.java:97)
at
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getProperties (DAVUtil.java:57)
at
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourcePr operties(DAVUtil.java:62)
at
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getStartingPr operties(DAVUtil.java:92)
at
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingP roperties(DAVUtil.java:113)
at
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselinePr operties(DAVUtil.java:197)
at
org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineIn fo(DAVUtil.java:160)
at
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLate stRevision(DAVRepository.java:150)
at
org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(S VNBasicClient.java:348)
at
org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBas icClient.java:462)
at
org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SV NBasicClient.java:418)
at
org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SV NBasicClient.java:382)
at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.jav a:1973)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientI mpl.java:1205)
at
org.polarion.team.svn.connector.svnkit.SVNKitConnector.info( SVNKitConnector.java:710)
at
org.eclipse.team.svn.core.extension.factory.ThreadNameModifi er.info(ThreadNameModifier.java:675)
at
org.eclipse.team.svn.core.utility.SVNUtility.info(SVNUtility .java:288)
at
org.eclipse.team.svn.core.svnstorage.SVNRepositoryLocation$2 .runImpl(SVNRepositoryLocation.java:570)
at
org.eclipse.team.svn.core.operation.AbstractActionOperation. run(AbstractActionOperation.java:72)
at
org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doT ask(ProgressMonitorUtility.java:103)
at
org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doT askExternal(ProgressMonitorUtility.java:89)
at
org.eclipse.team.svn.core.svnstorage.SVNRepositoryLocation.f etchRepoInfo(SVNRepositoryLocation.java:550)
at
org.eclipse.team.svn.core.svnstorage.SVNRepositoryLocation.f etchRepoInfo(SVNRepositoryLocation.java:542)
at
org.eclipse.team.svn.core.svnstorage.SVNRepositoryLocation.g etRepositoryRootUrl(SVNRepositoryLocation.java:154)
at
org.eclipse.team.svn.core.svnstorage.SVNRepositoryLocation.i sArgumentsCorrect(SVNRepositoryLocation.java:525)
at
org.eclipse.team.svn.core.svnstorage.SVNRepositoryLocation.a sRepositoryContainer(SVNRepositoryLocation.java:223)
at
org.eclipse.team.svn.core.svnstorage.SVNRepositoryLocation.a sRepositoryContainer(SVNRepositoryLocation.java:215)
at
org.eclipse.team.svn.core.SVNTeamProvider.uploadRepositoryRe source(SVNTeamProvider.java:243)
at
org.eclipse.team.svn.core.SVNTeamProvider.connectToProject(S VNTeamProvider.java:169)
- locked <0x30e8a1b8> (a java.lang.Class for
org.eclipse.team.svn.core.SVNTeamProvider)
at
org.eclipse.team.svn.core.SVNTeamProvider.getRepositoryResou rce(SVNTeamProvider.java:70)
- locked <0x1514f7c0> (a org.eclipse.team.svn.core.SVNTeamProvider)
at
org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.loadLo calResourcesSubTreeSVNImpl(SVNRemoteStorage.java:595)
at
org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.loadLo calResourcesSubTree(SVNRemoteStorage.java:479)
at
org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.asLoca lResource(SVNRemoteStorage.java:283)
- locked <0x14d809a0> (a
org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage)
at
org.eclipse.team.svn.core.utility.FileUtility.checkForResour cesPresence(FileUtility.java:328)
at
org.eclipse.team.svn.ui.action.FilterManager.checkForResourc esPresence(FilterManager.java:105)
at
org.eclipse.team.svn.ui.action.FilterManager.checkForResourc esPresenceRecursive(FilterManager.java:68)
at
org.eclipse.team.svn.ui.action.AbstractLocalTeamAction.check ForResourcesPresenceRecursive(AbstractLocalTeamAction.java:5 8)
at
org.eclipse.team.svn.ui.action.local.EditConflictsAction.isE nabled(EditConflictsAction.java:34)
at
org.eclipse.team.internal.ui.actions.TeamAction.setActionEna blement(TeamAction.java:284)
at
org.eclipse.team.internal.ui.actions.TeamAction.selectionCha nged(TeamAction.java:269)
at
org.eclipse.team.svn.ui.action.AbstractSVNTeamAction.selecti onChanged(AbstractSVNTeamAction.java:103)
at
org.eclipse.ui.internal.PluginAction.refreshEnablement(Plugi nAction.java:211)
at
org.eclipse.ui.internal.PluginAction.selectionChanged(Plugin Action.java:282)
at
org.eclipse.ui.internal.ObjectActionContributor$1.run(Object ActionContributor.java:156)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.ObjectActionContributor.contributeOb jectActions(ObjectActionContributor.java:159)
at
org.eclipse.ui.internal.ObjectActionContributorManager.contr ibuteObjectActions(ObjectActionContributorManager.java:96)
at
org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(P opupMenuExtender.java:261)
at
org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(Po pupMenuExtender.java:337)
at
org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuMan ager.java:290)
at
org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuM anager.java:395)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.ja va:391)
at
org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager .java:417)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.jav a:3981)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3698 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291)
at
org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1554)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1753)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351 )
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:228)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3708)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3287)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
--------------------------------
Re: Unnecessary SVN server access? [message #13936 is a reply to message #13892] Tue, 04 March 2008 16:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Dear Pavel,


Thank you for reporting this issue. We already have corresponding item on
our tracker. So, you can track state of this task using URL below:

211391: Minimize repository root access
https://bugs.eclipse.org/bugs/show_bug.cgi?id=211391
Re: Unnecessary SVN server access? [message #15051 is a reply to message #13936] Wed, 26 March 2008 20:42 Go to previous message
Eclipse UserFriend
Originally posted by: jackdimm.gmail.com

Alexander Gurov wrote:
> Dear Pavel,
>
> Thank you for reporting this issue. We already have corresponding item
> on our tracker. So, you can track state of this task using URL below:
>
> 211391: Minimize repository root access
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=211391
>

I don't know if this is related but I think I have the same problem. At
my workplace we have Apache's httpd server providing access to the
subversion repositories using mod_svn; we are using mod_sspi to let
Active Directory handle authentication with the workplace domain. On
first trying to connect an existing working copy to the repository I got
the credentials dialog. I only attempted to enter my username and
password twice (using both 'domain\username' and 'username' forms of my
username, I am pretty sure I typed the password in correctly...); the
third time the dialog popped up I checked the apache error logs. It
showed that in the space of 2 seconds there were about 20 attempts to
use the credentials and my domain account was promptly locked out.

I'm using version 0.7.0.20080321 with the Native JavaHL 1.4.5 (rev
25188, jni 0.9.0) connector. I have not been able to test which
combinations cause a lock out because I have to coordinate with our
domain admins to keep unlocking my account.

Is this the same issue, is it a known issue, and are there any work arounds?

Thanks
Previous Topic:SVNKit 1.1.6
Next Topic:How to browse deleted directories?
Goto Forum:
  


Current Time: Fri Apr 26 20:21:58 GMT 2024

Powered by FUDForum. Page generated in 0.02752 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top