|
From: Mark M. <MMo...@gl...> - 2006-07-24 13:14:08
|
Hi Leif, Here's our current wrapper.conf file... Several of our problems have been resolved with hunt-and-peck/trial-and-error. The CC wiki page on the subject is missing a number of key points. For example, the CC jmx stuff wasn't working with just the wrapper.working.dir=3D setting, but we eventually found the CC -cchome parameter (telling cc where it's living). When we specified that, the jmx stuff started working. I haven't tried it yet, but I'm guessing that using -cchome we could probably *not* use wrapper.working.dir. The CC documentation says that -cchome is supposed to default to ".", so it remains a mystery why the wrapper.working.dir wouldn't work for the jmx stuff but at least we got it working. Some of the compilation issues turned out to come from another person in our group's attempt to get this working; he'd copied the cc jars all over the place and they ended up getting in the ant pool where they didn't play well. One thing that still doesn't make sense with the config file below - the wrapper.logfile=3D setting appears to be ignored. Instead = of having the logfile appear where specified, it's coming out in $wrapper.working.dir/wrapper.log. Thanks -Mark =20 This e-mail message, and any attachments, is intended only for the use = of the individual or entity identified in the alias address of this = message and may contain information that is confidential, privileged and = subject to legal restrictions and penalties regarding its unauthorized = disclosure and use. Any unauthorized review, copying, disclosure, use or = distribution is strictly prohibited. If you have received this e-mail = message in error, please notify the sender immediately by reply e-mail = and delete this message, and any attachments, from your system. Thank = you.=20 -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: Friday, July 21, 2006 8:34 PM To: wra...@li... Subject: Re: [Wrapper-user] using JavaServiceWrapper with CruiseControl - help? Mark, The wrapper decides on a working directory long before the JVM is ever=20 launched. Could you post your wrapper.conf file? Maybe one of our Cruise Control=20 users or myself can see the problem. I know that several other users are using the wrapper with Cruise=20 Control. I know that some have had problems initially, but the ones I am aware of have=20 all gotten up and running. Cheers, Leif Mark Modrall wrote: > > Hi... > > I've been trying to use JavaServiceWrapper to get CruiseControl=20 > running on windows xp and so far it's been reasonably painful. Turns=20 > out most of the problems are due to implicit internal dependencies=20 > inside CC using relative paths and assuming a particular working=20 > directory/file system hierarchy. After figuring that out, I found the > > Wrapper.working.dir=3D > > config element. That was very helpful but there seems to be something=20 > funky in the way JavaServiceWrapper is implementing it. > > For one thing, CC spits out a cruisecontrol.log file for the sysout=20 > output. Even though the code appears to be running in the cc home=20 > directory (it would fall right over if it wasn't), when it's run by=20 > JavaServiceWrapper cruisecontrol.log appears in the directory of=20 > wrapper.exe. > > For another thing, CC has some jmx implementation to do remote=20 > controls for the program. Whatever environment the jmx thread's using, > it appears to be back in the wrapper.exe directory. The cc jmx=20 > implementation is also using a lot of relative paths and when the web=20 > control page tries to invoke a jmx method, it's crapping out. The log=20 > file says it's failing because it's looking for a subdirectory under=20 > the cc home directory it can't find. > > So how come wrapper.working.dir can get the main thread running using=20 > the right pwd while the jmx thread's not? > > Thanks > > -Mark > ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |