IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Error in subversion configuration

  • 1.  Error in subversion configuration

    Posted Fri December 06, 2013 10:56 AM

    Hi All,

    We are trying to implement the version control system for the webMethods Developer.

    The following steps i followed:

    SVN installed in the UNIX on which my IS is installed.

    1.>svnadmin create home/unixusername/repos
    2.>vi authz.config
    Administrator = rw
    admin =rw
    3.>vi passwd.config
    Administrator =manage
    admin=admin
    4.>vi svnserve.conf
    anon-access = none
    auth-access = write
    password-db = passwd
    5.>svn import file:///home/unixusername/repos -m “Intial Import”
    6.>svnserve -d
    7.>svn co svn://hostname/home/unixusername/repos

    1. In webMthods 8.2 IS,
      select Version Control System=Subbersion
      sub version repository location =svn://hostname/unixusername/repos

    when i give svn location i am getting error " Error in subversion configuration"

    but From TortoiesSVN i am able to connect Repository
    Repo-Browser URL : SVN://hostname/home/unixusername/repos

    Please help me to resolve.

    Thanks in advance


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Error in subversion configuration

    Posted Fri December 06, 2013 12:00 PM

    Please check this article:

    webMethods Integration Server - Error in subversion configuration.

    KB #: 1737514 Operating System Family: PC
    Product: webMethods Integration Server (PIE) Operating System: All
    Version:
    Last Updated: 12-JUN-2012
    Description:

    The customer is not able to connect to subversion.

    Resolution:

    Please have the customer verify that they have the WM_HOME variable set in the server.bat.

    • Shutdown IS.
    • Add -DWM_HOME=%IS_DIR% in the JAVA_OPTS for Windows or
      -DWM_HOME=${IS_DIR} for UNIX.
    • Start IS using server.bat(sh).

    Also please check the Empower KB and search with keyword " Error in subversion configuration" there are tons of results came up.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Error in subversion configuration

    Posted Mon December 09, 2013 04:49 AM

    Hi,

    Thanks for the response.

    I don’t have access to the Empower.

    I have checked the server.sh file as you suggested my configuration were same.

    WM_HOME=${IS_DIR}/…
    -DWM_HOME=${WM_HOME}

    I created a repository inside the IS/packges location and tried to access from IS giving the following URl
    svn://localhost/repos/SVNFolder

    but still I am getting same error.

    SVN Version 1.3.2

    Kindly advice me how to proceed further.


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Error in subversion configuration

    Posted Mon December 09, 2013 10:32 AM

    Please reach out to SAG support since this is on 8.2.x issue.

    Thanks,
    RMG


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Error in subversion configuration

    Posted Tue January 07, 2014 12:16 PM

    Finally i configured the SVN repository URL in the IS.

    but, When i checkout the service from developer I am getting below error

    Default/Default:test: [ISS.0132.9117] error running command [svn, lock, --username, xxx, --password, ********]; exit value: 1; output: [svn: ‘/apps/unixusername/instance/IntegrationServer/packages/Default/ns/Default/test’ is not a working copy]

    Please help me to resolve.


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Error in subversion configuration

    Posted Tue January 14, 2014 05:45 AM

    “… is not a working copy” is standard subversion behavior. If you use subversion you need to check in your directory and then make a complete fresh checkout of the dir you are working on. Just inserting the SVN server URL in the IS admin console is not sufficient. The webMethods product guide describes what to do for setting up versioning with subversion on the IS side. If you follow the instructions there carefully this error should not occur.


    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Error in subversion configuration

    Posted Wed January 15, 2014 04:29 AM

    Thanks for your reply.

    Its working for me now .

    This is where I went wrong, once I imported all the packages into subversion, I forgot to move the packages into some location.

    I followed these steps and its working fine.

    1.> cd …/IntegrationServer/packages
    2. >svn import file:///home/unixusername/repos -m “Intial Import” /Importing all the packages into repository/
    3. >mv packages …/IntegratonServer/replicate/salvage /*move/archive the packages into some location */
    4.>svnserve -d
    5.>svn co svn://hostname/home/unixusername/repos /checkout the repository/
    6.>restart the IS
    7.> In IS Consol page
    select Version Control System=Subbersion
    sub version repository location =svn://hostname/unixusername/repos /repository location/
    8.> restart the IS

    But the performance very slow. Its taking so long to checkout and checkin.


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Error in subversion configuration

    Posted Wed January 15, 2014 10:20 AM

    Glad to hear it resolved now :smiley: …and thanks for sharing the update info in the thread back.


    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Error in subversion configuration

    Posted Thu January 16, 2014 07:49 AM

    Hi All,

    I configured subversion successfully and I am able to check out and check in the existing services.

    But when I try to create a new flow service, I am getting below error.

    Could not create ‘SVNTest:Untitled’.

    com.wm.app.b2b.server.ServiceException: [ISS.0132.9117] error running command [svn, lock, --username, Administrator, --password, ********]; exit value: 1; output: [svn: ‘flow.xml’ is not under version control]

    Kindly help me to resolve.


    #Integration-Server-and-ESB
    #webMethods


  • 10.  RE: Error in subversion configuration

    Posted Thu January 16, 2014 10:19 AM

    Can you please check on this resolution?

    Resolution:

    The customer was using the proper 1.6 version of the SVN server, but found out that they were using a 1.7 version of an SVN client on the Integration Server. This 1.7 version was replaced with Collabnet Subversion Client 1.6.19 and everything works fine.

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB


  • 11.  RE: Error in subversion configuration

    Posted Thu January 23, 2014 02:31 AM

    Thanks for the information @rmg
    Sorry for the delayed response.
    I am having same version of svn server & client .
    I have tried following commands in my UNIX box.

    1.>svn --version
    svn, version 1.3.2 (r19776)
    2.>svnserve --version
    svnserve, version 1.3.2 (r19776)
    3.>svnadmin --version
    svnadmin, version 1.3.2 (r19776)

    So I assume I need to install latest SVN in my machine,is my assumption correct?


    #webMethods
    #Integration-Server-and-ESB


  • 12.  RE: Error in subversion configuration

    Posted Thu January 23, 2014 10:36 PM

    @Charles,

    Please get in touch with Pradeep, pradeep4u4u@gmail.com who worked extensively in designing SVN solutions on webMethods.

    Thanks,
    Rankesh


    #Integration-Server-and-ESB
    #webMethods


  • 13.  RE: Error in subversion configuration

    Posted Thu February 13, 2014 02:19 PM

    @Charles,

    i will suggest avoid using WmVCS if you can. it is deprecated and have lot of issues.

    Try looking at other solution like Designer workstation.


    #webMethods
    #Integration-Server-and-ESB


  • 14.  RE: Error in subversion configuration

    Posted Thu February 13, 2014 05:03 PM

    Yes a good note to consider it that option as well…


    #webMethods
    #Integration-Server-and-ESB


  • 15.  RE: Error in subversion configuration

    Posted Tue April 14, 2015 08:03 AM

    Hi Charles,

    Is it necessary to have IS,SVN server and SVN client on same machine for webMethods SVN to work?


    #webMethods
    #Integration-Server-and-ESB


  • 16.  RE: Error in subversion configuration

    Posted Tue April 14, 2015 10:13 AM

    Hi All,

    Getting below while configuring svn repository location on IS

    ISS.0132.9117] error running command [svn, mkdir, -m, Initial Import, http://punitp310146D.ad.infosys.com/svn/webMthods_SVN//packages]; exit value: 1; output: [svn: Server sent unexpected return value (405 Method Not Allowed) in response to MKCOL request for ‘/svn/webMthods_SVN/!svn/wrk/5362287d-f224-402a-acb4-80e69c4bfb53/packages’]

    Any clue what exactly that could be?

    Best Regards,
    Ankit


    #Integration-Server-and-ESB
    #webMethods


  • 17.  RE: Error in subversion configuration

    Posted Wed April 15, 2015 07:59 AM

    Hi Ankit,

    I don’t have idea about whether IS,SVN server and SVN client need to be on same machine.

    In my case they are on same machine.

    I have followed these steps and it was working fine.


    #webMethods
    #Integration-Server-and-ESB


  • 18.  RE: Error in subversion configuration

    Posted Wed April 15, 2015 01:05 PM

    Ankit,

    As we have a working scenario better have it all on the same maching and worth a try.

    If this is not possible in your env…open a ticket with SAG support and they can assist and troubleshoot a alternative solution.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods


  • 19.  RE: Error in subversion configuration

    Posted Thu April 16, 2015 12:16 PM

    The Subversion server itself definitely does NOT have to be on the same server as the IS. In fact, in most companies, that will not be the case. The Subversion client DOES since it needs to be loaded where the files that you’re trying to check-in and check-out are present.

    By the way, as others have indicated here, I would refrain from using WmVCS-based solutions. When it comes to VCS integration, your best bet is doing local development, where each developer has the files loaded locally and they can each use whatever plugin they like. Designer Workstation is the most common option here.

    If that’s not possible, I would still avoid WmVCS and opt for a more “hands on” approach where developers issue SVN client commands directly. WmVCS has a number of issues, which is one reason why Software AG moved away from it.

    Percio


    #webMethods
    #Integration-Server-and-ESB


  • 20.  RE: Error in subversion configuration

    Posted Thu July 02, 2015 09:59 AM

    ====================
    Hi Charles Antony,

    You said, finally you have configured SVN repository URL in IS Console…Could you tell us what went wrong earlier? as We are also getting the same error “Error in subversion configuration” while configuring repository URL on WMVCS package.


    #Integration-Server-and-ESB
    #webMethods


  • 21.  RE: Error in subversion configuration

    Posted Fri July 03, 2015 08:26 AM

    Hi Janardhan,

    Please read my previous posts where I have included all the details.

    Kindly let me know if any queries.


    #Integration-Server-and-ESB
    #webMethods


  • 22.  RE: Error in subversion configuration

    Posted Tue July 07, 2015 11:15 AM

    ====================
    Thanks for the reply Charles Antony!!

    This is regarding the below two points,

    1. mv packages …/IntegratonServer/replicate/salvage /*move/archive the packages into some location */
      4.>svnserve -d

    3-> Do we need to move the packages?
    4-> what this command do here? We have SVN on a different machine.

    Let me explain my scenario…

    • I have created my repository as http://*****/myrepo and created a folder DEV97 for development environment.
      -I went to packages folder and ran >> svn import http://XXXXX/myrepo/DEV97 -m “Intial Import”, then all the packages imported to DEV97 folder in SVN
      -Then I ran >> svn co http://XXXXX/myrepo/DEV97..After running this, I can see there is a folder created with DEV97 under packages and DEV97 have all the packages which are imported…So both /IntegrationServer/instances/default/packages and /IntegrationServer/instances/default/packages/DEV97 having all the packages.
    • Restarted IS and configured repository URL on admin console. then restarted again.

    When I do checkout from designer, It gets hung up and nothing happening and no errors in the logs…

    Is this right way of configuring or Do we need to execute "mv"and "svnserve -d"steps as well?


    #webMethods
    #Integration-Server-and-ESB


  • 23.  RE: Error in subversion configuration

    Posted Mon July 13, 2015 05:24 AM

    Hi Janardhan,

    Sorry for the late reply.

    Please refer the readme.txt in the WmSubversion package.

    Regarding your query,
    3. >mv packages …/IntegratonServer/replicate/salvage
    –Just for backup purpose.
    4.>svnserve -d
    – sorry I forgot why I included this query.
    –I think it is to run svnserve.

    Moreover It was not working properly,got error when creating new element(error message as mentioned in my previous mail chain) and took long time during check-in and check-out so I left it in middle.

    Kindly check with the experts.


    #Integration-Server-and-ESB
    #webMethods


  • 24.  RE: Error in subversion configuration

    Posted Mon July 13, 2015 05:44 AM


  • 25.  RE: Error in subversion configuration

    Posted Mon July 13, 2015 05:54 AM

    Thanks Charles Antony…Np… I have configured SVN successfully. Now I’m able to check in and check out successfully. I don’t see any slowness during check-in/check-outs. Let me explore some more time, so that I can share my experience…

    Once again thanks for your response.


    #webMethods
    #Integration-Server-and-ESB