facebook

MyEclipse v7.5 – SVN connection problems (Snow Leopard)

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #302483 Reply

    mauck
    Member

    I am unable to get the Subversive client to work consistently in MyEclipse 7.5. I get ‘<error occurred while accessing the repository>’ in the dialog box and the following errors are reported in the Error Log.

    I tested the same Subversive plugin in a ‘regular’ Eclipse 3.4.2 install and it worked perfectly …. Any ideas??

    ML

    eclipse.buildId=unknown
    java.version=1.6.0_15
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
    Command-line arguments: -os macosx -ws carbon -arch x86 -clean -clean

    Error
    Wed Sep 16 20:46:57 PDT 2009
    SVN: ‘0x00400107: Get Repository Resource Revision’ operation finished with error

    Error
    Wed Sep 16 20:46:57 PDT 2009
    Get repository resource revision operation failed.

    org.eclipse.team.svn.core.connector.SVNConnectorException: svn: Invalid argument
    svn: OPTIONS request failed on ‘/svn/test’
    at org.polarion.team.svn.connector.svnkit.SVNKitConnector.handleClientException(SVNKitConnector.java:1401)
    at org.polarion.team.svn.connector.svnkit.SVNKitConnector.info(SVNKitConnector.java:1057)
    at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.info(ThreadNameModifier.java:698)
    at org.eclipse.team.svn.core.utility.SVNUtility.info(SVNUtility.java:364)
    at org.eclipse.team.svn.core.svnstorage.SVNRepositoryContainer.getRevisionImpl(SVNRepositoryContainer.java:109)
    at org.eclipse.team.svn.core.svnstorage.SVNRepositoryResource.getRevision(SVNRepositoryResource.java:97)
    at org.eclipse.team.svn.ui.operation.GetRemoteResourceRevisionOperation.runImpl(GetRemoteResourceRevisionOperation.java:39)
    at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77)
    at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
    at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:94)
    at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77)
    at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:38)
    at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
    at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
    at org.eclipse.team.svn.ui.utility.DefaultCancellableOperationWrapper.run(DefaultCancellableOperationWrapper.java:55)
    at org.eclipse.team.svn.ui.utility.ScheduledOperationWrapper.run(ScheduledOperationWrapper.java:37)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: org.tigris.subversion.javahl.ClientException: svn: Invalid argument
    svn: OPTIONS request failed on ‘/svn/test’
    at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:724)
    at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1929)
    at org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientImpl.java:2272)
    at org.polarion.team.svn.connector.svnkit.SVNKitConnector.info(SVNKitConnector.java:1054)
    … 15 more
    Caused by: org.tmatesoft.svn.core.SVNException: svn: Invalid argument
    svn: OPTIONS request failed on ‘/svn/test’
    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:103)
    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:87)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:635)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:274)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:262)
    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:449)
    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97)
    at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:665)
    at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:172)
    at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:479)
    at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:848)
    at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:531)
    at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2349)
    at org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientImpl.java:2282)
    at org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientImpl.java:2263)
    … 16 more

    [/img]

    #302496 Reply

    Riyad Kalla
    Member

    Caused by: org.tigris.subversion.javahl.ClientException: svn: Invalid argument
    svn: OPTIONS request failed on ‘/svn/test’
    at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:724)
    at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1929)
    at org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientImpl.java:2272)
    at org.polarion.team.svn.connector.svnkit.SVNKitConnector.info(SVNKitConnector.java:1054)
    … 15 more
    Caused by: org.tmatesoft.svn.core.SVNException: svn: Invalid argument
    svn: OPTIONS request failed on ‘/svn/test’

    Hrrmmm, I am rusty with my SVN, but do Subversive and Subclipse use different JavaHL libraries? It looks like Subversive is trying to use Subclipse’s. I would suggest making sure that all of the optional Subversion and Subclipse components are uninstall, and then just installing the default Subversive bundle from our dashboard OR if you want to control the optional components you can go to Help > Software Update > Add/Remove and add it from there, when you add it to your install, Pulse will ask you which optional components you want to add, and you can choose to install SVN Kit for example for the comm layer.

    Then go to the Window > Prefs > Team > SVN settings and in the client library dropdown, make sure the right one you want to use is chosen and hit OK.

    I think the reason this worked in plain Eclipse is because nothing else was installed and the plugin did all the default configuration, you might just need to tweak your SVN client library settings in MyEclipse and should be good.

    #302651 Reply

    mauck
    Member

    I fixed the problem. It looks like it was/is a JDK issue — I did two things but I think the second is the real fix:

    1) Uninstalled the Subversive installed using the MyEclipse dashboard and then installed Subversive manually from the update sites – this removed all references to the JavaHL connectors but it still did not work

    2) I was also experiencing problems with debugging the tomcat server and found the following reference that shows you how to install JDK 1.5.0 onto Snow Leopard — this seems to have solved the problem. NOTE: I had to do a ‘restart’ to make the changes take full effect (don’t know why!?!)

    http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard

    #302782 Reply

    support-joy
    Member

    mauck,

    Thanks a bundle for taking time out to post the fix. This will help other forum users.

    #303645 Reply

    edbelisle
    Member

    This message has not been recovered.

    #303651 Reply

    support-joy
    Member

    This message has not been recovered.

    #303874 Reply

    edbelisle
    Member

    This message has not been recovered.

    #303885 Reply

    edbelisle
    Member

    This message has not been recovered.

    #303895 Reply

    support-joy
    Member

    This message has not been recovered.

    #304277 Reply

    edbelisle
    Member

    SVNKit 1.3.2 is availbe through eclispe software updates and seems to fix the problem once and for all.

    I’ve changed my default JVM back to 1.6, and my 1.5.0 symlink once again points to 1.6.0.

    #304280 Reply

    support-joy
    Member

    edbelisle,

    Good to hear you are all set.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: MyEclipse v7.5 – SVN connection problems (Snow Leopard)

You must be logged in to post in the forum log in