Re: Windows Service problems, just exits with no errors

Doug Breaux <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
On 12/16/2010 11:30 AM, Antoine Levy-Lambert wrote:
> On 12/15/2010 4:56 PM, Doug Breaux wrote:
>> Running a Windows Server 2003 VMware image, the CruiseControl 2.8.4 Windows
>> service starts up just fine on one instance but exits *without error* on
>> another. Exact same wrapper.conf, config.xml, tool versions, etc. (since both
>> systems came from same the VM image).
>>
>> If I leave my wrapper.conf and dashboard.xml files in place but revert to the
>> default install config.xml, it runs fine.
>>
>> But if I switch to my custom config.xml, which simply sets a few properties
>> and imports my real config.xml from my projects' home directory, the service
>> exits. But the exact same config.xml files run fine from the command-line
>> batch file.
>>
> Is it possible that the user running the service (LOCAL_ADMIN) does not
> have read access to the modified config.xml ?
>
> Regards,
>
> Antoine

Good question, but it is running as the same user that I'm using to 
successfully start it from the batch file.

However, somewhat related is the fact that it's using a product which mounts a 
WebDAV server as a drive letter (really wishing for a CruiseControl WebDav 
plugin), and *that* product needs to do some special stuff to enable Services 
to access the drive it mounts.

We had to tweak that setup to get it working initially, and this VMware image 
does include that tweaking, but when I commented out the subset of the 
config.xml which uses that mounted drive, the Service remained running and 
seemed to be working for all the other projects.

So while the symptom is entirely different that it was on the other instance 
running this image, it seems related to that web drive setup. Still investigating.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.