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
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.
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.