This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Using wrapper.exe, I configured my JBoss server to work as native windows service.
In this JBoss server, I have deployed hudson, but the hudson jobs configured are unable to do a CVS checkout
Every time I get the same error:
Started by user anonymous
[Saitech Donation] $ d:\cvsnt\cvs.exe -Q -z3 -d :pserver:cts\124872@ctsinpunvdev:/saitech co -P -d workspace -D "Monday, November 22, 2010 5:04:08 AM UTC" it/saitech/applications/donation
cvs checkout: Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: authorization failed: server ctsinpunvdev rejected access to /saitech for user cts\124872
FATAL: CVS failed. exit code=1
Finished: FAILURE
We use CVSNT on a Windows 2K server with widnows domain users, no specific CVS user are defined.
I tried the following
1. Creating an empty .CVSPASS file in the users home directory (C:\Document and Settings\Default User)
2. Defined an environment varibale HUDSON_HOME to a specific folder on D:\
3. Changed the properties of the JBoss-Windows-service to interact with desktop / logIN as a specific user
and specified my windows domain credentials
but none helped resolved the error.
Any clues will be appreciated.
PS:
When logged in interactively into the win2k server sa a local 'Administrator' I could use WinCVS to checkIN/ checkOUT
Ofcourse, for the first time, I had to do a "cvs login" using my domain credentials
which created a registry entry HKCU\Software\Cvsnt\cvspass
I configured my JBoss server to work as native windows service.
What account are you using to run JBoss AS as a service? Make sure that, when logged in as that exact same account, that you can do the CVS checkout. Also, where are you setting the env vars? Make sure that you set them at the system level, not at the user level - user level env vars usually do not show up for services.
The JBossService that I have configured using wrapper.exe runs as "Local system account"
'wrapper.exe' show up in Task Manager as running under the system account.
But I can only log in (via mstsc/ remote desktop), interactively as the computers local 'Administrator' (in which I have done a cvs login and so now I can do cvs ckeckOut)
What should I do?
PS: I have attached the screen shot.
Also, all environment variables are set @ system level (only TEMP and TMP are set @ user level)
As I could login to the windows 2K m/c using mstsc and Adminstrator credentials,
I had used WinCVS to to checkOUT from CVS into a working folder ... in the process had done a CVS login
So when logged in Administrator, using regedit I copied the HKEY_CURRENT_USER\Software\Cvsnt\cvspass into
HKEY_USERS\.DEFAULT\Software\Cvsnt
That resolved my my problem .... hudson could checkOUT from CVS
HTH others with similar problems.
~Jeevan
Jeevan Sunkersett
Ranch Hand
Joined: Jul 03, 2007
Posts: 71
posted
0
and I guess,
ever time my network password chnages,
I will need to do a CVS login, to refresh HKEY_CURRENT_USER\Software\Cvsnt\cvspass
and copy that entry into HKEY_USERS\.DEFAULT\Software\Cvsnt\cvspass