|
From: Mark M. <MMo...@gl...> - 2006-07-21 18:22:47
|
Hi...
=20
I've been trying to use JavaServiceWrapper to get
CruiseControl running on windows xp and so far it's been reasonably
painful. Turns out most of the problems are due to implicit internal
dependencies inside CC using relative paths and assuming a particular
working directory/file system hierarchy. After figuring that out, I
found the
=20
Wrapper.working.dir=3D
=20
config element. That was very helpful but there seems to be something
funky in the way JavaServiceWrapper is implementing it.
=20
For one thing, CC spits out a cruisecontrol.log file for the
sysout output. Even though the code appears to be running in the cc
home directory (it would fall right over if it wasn't), when it's run by
JavaServiceWrapper cruisecontrol.log appears in the directory of
wrapper.exe.
=20
For another thing, CC has some jmx implementation to do
remote controls for the program. Whatever environment the jmx thread's
using, it appears to be back in the wrapper.exe directory. The cc jmx
implementation is also using a lot of relative paths and when the web
control page tries to invoke a jmx method, it's crapping out. The log
file says it's failing because it's looking for a subdirectory under the
cc home directory it can't find.
=20
So how come wrapper.working.dir can get the main thread
running using the right pwd while the jmx thread's not?
=20
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.
|