RE: [Draconet-users] Shhh! Sleeping Draco.....
Hi Nick, Thanks very much for the response. I intend to look into Nant as soon as I have draco happy, but I don't know how it works yet. I was using Buildit, but its a bit cranky too. Some feedback on your comments: 1. Yes, I confirm you understand it, except that in step 7, it has been happy to run most of the day, and hangs only later, after some succesful builds. 2. I Confirm that running {DEVENV "E:\SOURCESAFE PROJECTS\APPLICATION PORTAL PROJECT\Source Code\Portal.sln" /build "Debug" /out} on the build server, successfully builds all 30 projects 3. Running {DEVENV Portal.sln /build "Debug" /out} on the build server, does not work - cannot find project file. 4. Changing the solutionfile setting to portal.sln means the build fails and I get the error "Portal.sln could not be found and will not be loaded." The tage specifies the argument for the GET doesn't it? and the specifies the argument for the build. But they are seperate processes, surely. First you get the latest version of the source, then you build that local version. So, how does devenv know where Portal.sln is if we dont tell it? It must dynamically create a temp folder. I notice every time it has crashed out, the temp folder is left behind with the downloaded sourcecode. !? So I've gone back to the full path to the Portal.sln on the E: drive. It is running again today, with some successful builds. I expect it to crash out again at some stage though. Thanks again, I will keep you posted. Andrew -Original Message- From: Nick Robinson [mailto:[EMAIL PROTECTED] Sent: 17 October 2003 17:45 To: [EMAIL PROTECTED] Subject: Re: [Draconet-users] Shhh! Sleeping Draco. Hi Andrew, Can I just confirm I understand the problem: 1. Draco Service runs on a different machine to DracoCli? 2. Draco Service runs and tries to build Portal, but simply hangs? 3. You stop Draco Service and then you cannot restart the service 4. You reboot 5. Once reboot, Draco Service restarts 6. You then use the draco client to kick start the build 7. The build begins with project Portal, and then Draco Service hangs? 8. You reboot the Draco service server Whats wrong with your bloody Dev Solution! ;-) I am running Draco Service here to build a web solution which has 5 projects in it and have no problems. However (this is possibly the problem), I use the NAnt support of Draco.NET. Something must be amiss with the something to do with that type of build. The params etc passed to DEVENV also look like they are correct. Andy, can you go to a console window on the machine running Draco Service, and enter the following (making sure you have checked the Portal project out to the current dir): DEVENV "E:\SOURCESAFE PROJECTS\APPLICATION PORTAL PROJECT\Source Code\Portal.sln" /build "Debug" /out Ah...I dont think you should be putting in the full path to the solution Andy. It should look something like this I believe: DEVENV Portal.sln /build "Debug" /out The idea is that you tell Draco to do a GET from the root project. So if you have your project checked into this project in source safe: $/SOURCESAFEPROJECTS/APPLICATIONPORTALPROJECT/SourceCode then you would have something like this in the config file: portal.sln .. $/SOURCESAFEPROJECTS/APPLICATIONPORTALPROJECT/SourceCode ... ... Try that. Nick. "COOTE, Andrew" <[EMAIL PROTECTED]> wrote: > Hi there, > Draco newbie here with problem no. 1. > Multi-project solution in SS. Build server boots, Draco starts up, detects > changes, rebuilds, and then after a few rebuilds, quietly goes to sleep... > Here's part of the logfile up to when it stopped: > > 06/10/2003 17:27:18 - Portal : Checking module for changes > 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00 > 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00 > 06/10/2003 17:27:18 - Detected path: C:\Program Files\Microsoft Visual > Studio\VSS\win32 > 06/10/2003 17:27:18 - HISTORY arguments: history "$/SourceSafe > Projects/Application Portal Project/" -R -I-N -Y"CooteA" > -Vd"06/10/2003;17:27~06/10/2003;16:10" > [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE12.tmp > 06/10/2003 17:27:18 - Setting SSDIR environment variable to: > \\A629uk06\WebTeam > 06/10/2003 17:28:00 - Check: 4 > 06/10/2003 17:28:00 - Portal : Detected 4 change(s) to module > 06/10/2003 17:28:00 - Portal : Entering 60 second sleep period > 06/10/2003 17:29:00 - Check again: 06/10/2003 16:10:00 > 06/10/2003 17:29:00 - Detected path: C:\Program Files\Microsoft Visual > Studio\VSS\win32 > 06/10/2003 17:29:00 - HISTORY arguments: history "$/SourceSafe > Projects/Application Portal Project/" -R -I-N -Y"CooteA" > -Vd"06/10/2003;17:29~06/10/2003;16:10" > [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE13.tmp > 06/10/2003 17:29:00 - Setting SSDIR environment variable to: > \\A629uk06\WebTeam > 06/10/2003 17:29:35 - Check again: 4 > 06/10/2003 17:29:35 - Portal : Detected 0 additional modification(s) > 06/10/2003 17:29:35 - Portal : Building modu
RE: [Draconet-users] Shhh! Sleeping Draco.....
Hi Vincent, Many thanks for the reply. I think this would be a solution to a remoting problem, but my client works fine. I am just having problems with the build hanging. Thanks anyway, Andrew -Original Message- From: Vincent Labatut [mailto:[EMAIL PROTECTED] Sent: 17 October 2003 17:30 To: [EMAIL PROTECTED] Subject: RE: [Draconet-users] Shhh! Sleeping Draco. hi, i'm just a draco user and i often get this error, the tcp port draco is listening to seems not to be correctly released, you could try the following : - change the port draco is listening to (remoting) before restarting the service (works for me) - wait 1 minute before restarting the service for the port to be correctly released - remove the channel node in the config (if you're not using remoting) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of COOTE, Andrew Sent: vendredi 17 octobre 2003 17:09 To: [EMAIL PROTECTED] Subject: [Draconet-users] Shhh! Sleeping Draco. Hi there, Draco newbie here with problem no. 1. Multi-project solution in SS. Build server boots, Draco starts up, detects changes, rebuilds, and then after a few rebuilds, quietly goes to sleep... Here's part of the logfile up to when it stopped: 06/10/2003 17:27:18 - Portal : Checking module for changes 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00 06/10/2003 17:27:18 - Detected path: C:\Program Files\Microsoft Visual Studio\VSS\win32 06/10/2003 17:27:18 - HISTORY arguments: history "$/SourceSafe Projects/Application Portal Project/" -R -I-N -Y"CooteA" -Vd"06/10/2003;17:27~06/10/2003;16:10" [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE12.tmp 06/10/2003 17:27:18 - Setting SSDIR environment variable to: \\A629uk06\WebTeam 06/10/2003 17:28:00 - Check: 4 06/10/2003 17:28:00 - Portal : Detected 4 change(s) to module 06/10/2003 17:28:00 - Portal : Entering 60 second sleep period 06/10/2003 17:29:00 - Check again: 06/10/2003 16:10:00 06/10/2003 17:29:00 - Detected path: C:\Program Files\Microsoft Visual Studio\VSS\win32 06/10/2003 17:29:00 - HISTORY arguments: history "$/SourceSafe Projects/Application Portal Project/" -R -I-N -Y"CooteA" -Vd"06/10/2003;17:29~06/10/2003;16:10" [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE13.tmp 06/10/2003 17:29:00 - Setting SSDIR environment variable to: \\A629uk06\WebTeam 06/10/2003 17:29:35 - Check again: 4 06/10/2003 17:29:35 - Portal : Detected 0 additional modification(s) 06/10/2003 17:29:35 - Portal : Building module 06/10/2003 17:29:35 - Detected path: C:\Program Files\Microsoft Visual Studio\VSS\win32 06/10/2003 17:29:35 - GET arguments: get "$/SourceSafe Projects/Application Portal Project/" -R -I-N -Y"CooteA" -W 06/10/2003 17:29:35 - Setting SSDIR environment variable to: \\A629uk06\WebTeam 06/10/2003 17:31:18 - DEVENV arguments: "E:\SOURCESAFE PROJECTS\APPLICATION PORTAL PROJECT\Source Code\Portal.sln" /build "Debug" /out C:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE26.tmp 08/10/2003 15:58:41 - Stopping Draco.NET 08/10/2003 17:00:05 - Starting Draco.NET I stopped the service, and it will not restart - gives me error - "Could not start the Draco.Net service on Local Computer. Error 1067: The process terminated unexpectedly." Here's the Event log output: Draco.NET failed to initialise. The following exception was thrown: System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data) at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel() at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider) at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider) --- End of inner exception stack trace --- at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(C hannelEntry entry) at System.Runtime.Remoting.RemotingConfigHandler.C
RE: [Draconet-users] Shhh! Sleeping Draco.....
yep, I realized I have read your mail a bit too fast... as always (sigh)... ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of COOTE, Andrew Sent: lundi 20 octobre 2003 17:52 To: [EMAIL PROTECTED] Subject: RE: [Draconet-users] Shhh! Sleeping Draco. Hi Vincent, Many thanks for the reply. I think this would be a solution to a remoting problem, but my client works fine. I am just having problems with the build hanging. Thanks anyway, Andrew -Original Message- From: Vincent Labatut [mailto:[EMAIL PROTECTED] Sent: 17 October 2003 17:30 To: [EMAIL PROTECTED] Subject: RE: [Draconet-users] Shhh! Sleeping Draco. hi, i'm just a draco user and i often get this error, the tcp port draco is listening to seems not to be correctly released, you could try the following : - change the port draco is listening to (remoting) before restarting the service (works for me) - wait 1 minute before restarting the service for the port to be correctly released - remove the channel node in the config (if you're not using remoting) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of COOTE, Andrew Sent: vendredi 17 octobre 2003 17:09 To: [EMAIL PROTECTED] Subject: [Draconet-users] Shhh! Sleeping Draco. Hi there, Draco newbie here with problem no. 1. Multi-project solution in SS. Build server boots, Draco starts up, detects changes, rebuilds, and then after a few rebuilds, quietly goes to sleep... Here's part of the logfile up to when it stopped: 06/10/2003 17:27:18 - Portal : Checking module for changes 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00 06/10/2003 17:27:18 - Detected path: C:\Program Files\Microsoft Visual Studio\VSS\win32 06/10/2003 17:27:18 - HISTORY arguments: history "$/SourceSafe Projects/Application Portal Project/" -R -I-N -Y"CooteA" -Vd"06/10/2003;17:27~06/10/2003;16:10" [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE12.tmp 06/10/2003 17:27:18 - Setting SSDIR environment variable to: \\A629uk06\WebTeam 06/10/2003 17:28:00 - Check: 4 06/10/2003 17:28:00 - Portal : Detected 4 change(s) to module 06/10/2003 17:28:00 - Portal : Entering 60 second sleep period 06/10/2003 17:29:00 - Check again: 06/10/2003 16:10:00 06/10/2003 17:29:00 - Detected path: C:\Program Files\Microsoft Visual Studio\VSS\win32 06/10/2003 17:29:00 - HISTORY arguments: history "$/SourceSafe Projects/Application Portal Project/" -R -I-N -Y"CooteA" -Vd"06/10/2003;17:29~06/10/2003;16:10" [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE13.tmp 06/10/2003 17:29:00 - Setting SSDIR environment variable to: \\A629uk06\WebTeam 06/10/2003 17:29:35 - Check again: 4 06/10/2003 17:29:35 - Portal : Detected 0 additional modification(s) 06/10/2003 17:29:35 - Portal : Building module 06/10/2003 17:29:35 - Detected path: C:\Program Files\Microsoft Visual Studio\VSS\win32 06/10/2003 17:29:35 - GET arguments: get "$/SourceSafe Projects/Application Portal Project/" -R -I-N -Y"CooteA" -W 06/10/2003 17:29:35 - Setting SSDIR environment variable to: \\A629uk06\WebTeam 06/10/2003 17:31:18 - DEVENV arguments: "E:\SOURCESAFE PROJECTS\APPLICATION PORTAL PROJECT\Source Code\Portal.sln" /build "Debug" /out C:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE26.tmp 08/10/2003 15:58:41 - Stopping Draco.NET 08/10/2003 17:00:05 - Starting Draco.NET I stopped the service, and it will not restart - gives me error - "Could not start the Draco.Net service on Local Computer. Error 1067: The process terminated unexpectedly." Here's the Event log output: Draco.NET failed to initialise. The following exception was thrown: System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data) at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel() at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider) at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider) --- End of inner exception stack trace --- at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Ac