Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Migrating jobs to latest hudson ( trouble with changing config page )(Migrating jobs to latest hudson ( trouble with changing config page ))
Migrating jobs to latest hudson ( trouble with changing config page ) [message #902126] Thu, 16 August 2012 05:19 Go to next message
vishal chugh is currently offline vishal chugh
Messages: 9
Registered: July 2012
Junior Member
Hi,

We are using Hudson 1.396 under Apache tomcat and it is working fine . All setup is on Linux CentOS machine.

We want to have latest hudson 2.2.1 and that too on RHEL machine now.

( We came across the option of copying over jobs from old hudson to new hudson : A approach followed by few )

First , We installed tomcat and deployed hudson 2.2.1 on it and Hudson URL comes up fine on it .
Secondly , we installed all plugins here also , which we used to have in our old hudson setup .
Third , as a test , we took the one job ( from jobs folder of old hudson) and placed it under , the jobs folder of new hudson and restarted the hudson .

Build for this trial job finishes fine.

Now the trouble part :

We cant modify anything on config page of this job . Whenever we try to do so , it gives an exception :



Can some one please advise urgently!!!


Also , is copying over jobs from old hudson to new hudson is advisable ?

Thanks,
Vishal
Re: Migrating jobs to latest hudson ( trouble with changing config page ) [message #902127 is a reply to message #902126] Thu, 16 August 2012 05:22 Go to previous messageGo to next message
vishal chugh is currently offline vishal chugh
Messages: 9
Registered: July 2012
Junior Member
HTTP Status 500 - java.lang.RuntimeException: Failed to instantiate class hudson.scm.SubversionSCM from {"value":"2","locations":{"remote":"xhttp:\\abc-repo.xyz.com/svn/testing/test/trunk","local":"","depthOption":"infinity","ignoreExternalsOption":false},"":["0","3"],"workspaceUpdater":{"stapler-class":"hudson.scm.subversion.UpdateUpdater"},"browser":{"stapler-class":"hudson.scm.browsers.FishEyeSVN","url":"xhttp:\\abc-fisheye:8060/browse/testingc/","rootModule":""},"excludedRegions":"","includedRegions":"","excludedUsers":"","excludedCommitMessages":"","excludedRevprop":""}


Re: Migrating jobs to latest hudson ( trouble with changing config page ) [message #902128 is a reply to message #902127] Thu, 16 August 2012 05:23 Go to previous messageGo to next message
vishal chugh is currently offline vishal chugh
Messages: 9
Registered: July 2012
Junior Member
Had to modify the URLs ( renamed http to xhttp and replaced // with \\ ) . Exception , we got is pasted as above .
Re: Migrating jobs to latest hudson ( trouble with changing config page ) [message #902132 is a reply to message #902128] Thu, 16 August 2012 05:56 Go to previous messageGo to next message
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

I don't believe xhttp is a valid protocol for SCM. The url should actually be: "http://abc-repo.xyz.com/svn/testing/test/trunk"

Also, what version of the subversion plugin are you using?


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */

[Updated on: Thu, 16 August 2012 05:57]

Report message to a moderator

Re: Migrating jobs to latest hudson ( trouble with changing config page ) [message #902134 is a reply to message #902132] Thu, 16 August 2012 06:12 Go to previous messageGo to next message
vishal chugh is currently offline vishal chugh
Messages: 9
Registered: July 2012
Junior Member
It was not allowing me to paste the exception message over here , due to presence of http URLs in the exception message . So to paste here exception message , i had to rename http with xhttp .

Its actually what you have pasted below.


I see , we have "Hudson Subversion Plug-in" 2.3.2 installed .


Re: Migrating jobs to latest hudson ( trouble with changing config page ) [message #902137 is a reply to message #902134] Thu, 16 August 2012 06:18 Go to previous messageGo to next message
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

Email me the stacktrace schristou88@gmail.com.

/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Re: Migrating jobs to latest hudson ( trouble with changing config page ) [message #902138 is a reply to message #902134] Thu, 16 August 2012 06:19 Go to previous message
vishal chugh is currently offline vishal chugh
Messages: 9
Registered: July 2012
Junior Member
While modifying the config page it throws the above exception . Additionally , in tomcat logs i see message :

Aug 16, 2012 1:13:25 AM hudson.scm.SubversionReleaseSCM$DescriptorImpl$2 check
INFO: Failed to access subversion repository xhttp:\\abc-repo.ptcnet.ptc.com/svn/testing/test/trunk
org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled



P.S : to paste the exception message here , i replaced http with xhttp and backward slashes with forward slashes after http in URL



Previous Topic:Workspace management
Next Topic:Problem with Hudson Dashboard "All" view
Goto Forum:
  


Current Time: Sun Oct 26 09:46:20 GMT 2014

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

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