test of Seaside as a Windows NT service

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

test of Seaside as a Windows NT service

Postby PhotonDemon » Mon Jan 17, 2011 9:18 am

Hi All,

I have managed to package an XD image of a very simple Seaside demo as a Windows NT service. The package looks clean and installs as an NT service without a problem. When I start the NT service, the following is logged:

Snip...
The following error(s) were detected during the startup sequence which may interfere with correct operation:

1) MessageNotUnderstood: GreaseVASTPreload class>>defined
2) MessageNotUnderstood: GreaseCore class>>defined
3) MessageNotUnderstood: GreaseCoreExceptions class>>defined
Snip...
Process reportError: MessageNotUnderstood: GreaseVASTPreload class>>defined
Dumping Stack File KscSea01.sdf ...
...Finished Dumping Stack File KscSea01.sdf


I have cut the standard stuff logged by the VM when a service starts. The above entries are new to me. They look like something is being initialized and maybe logged somewhere and that results in the "MessageNotUnderstood:" entries (I cut about 30 of them). Then I think the VM gives up and the NT service fails to finish starting.

I think this problem has more to do with Seaside than trying to run it as an NT service. Is there something else I need to include? Is there something I need to do to Seaside before I package it? Any ideas at all will be appreciated.

I also plan to try to package this test Seaside app for Linux but I know very little about how to do that, so I'm trying to get this working first.

Lou
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
PhotonDemon
[|]
 
Posts: 176
Joined: Thu Dec 20, 2007 1:45 pm

Re: test of Seaside as a Windows NT service

Postby marten » Mon Jan 17, 2011 1:48 pm

Hey Louis,

I (and you also was member of that) had a very long thread about this special problem in this forum and I posted the specific solution to that - just read that thread and look if the solutuon mentioned is ok for you ...

The thread:

http://forums.instantiations.com/viewtopic.php?f=12&t=5573

and the special posting with that error:

http://forums.instantiations.com/viewtopic.php?f=12&t=5573#p17944

I think it will help you ...
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: test of Seaside as a Windows NT service

Postby marten » Mon Jan 17, 2011 2:23 pm

PhotonDemon wrote:
I also plan to try to package this test Seaside app for Linux but I know very little about how to do that, so I'm trying to get this working first.

Lou


Before going to Linux - try to package the application under Windows as a headless (console !) application, which is not the same as a NT Service. A headless application under Windows should be started under Windows in a console window and you see the TTY outputs of the server application (I think I used esvio.exe to test my image under Windows).

When I managed this, there was actually no real problem to do the same under Linux - but I had still two packaging classes though: one for Windows and one for Linux with minor differences.

Marten
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: test of Seaside as a Windows NT service

Postby PhotonDemon » Tue Jan 18, 2011 7:06 am

Hi Marten,

Thanks, Marten, you are quite right, I did follow that thread but I must not have paid much attention to the errors you listed (I'm also trying to do two things at once and need a vacation). They probably didn't mean too much to me at the time, as I wasn't far enough along to know what they meant. Also, I don't remember anything like them when I did this the first time (almost two years ago) with V8.0.0.

I followed your suggestions (haven't made a configuration map yet, not exactly sure how) and now get these errors:

The following error(s) were detected during the startup sequence which may interfere with correct operation:

1) MessageNotUnderstood: UndefinedObject>>addToStartUpList:
2) MessageNotUnderstood: UndefinedObject>>newRandom
3) MessageNotUnderstood: UndefinedObject>>isPublic
4) MessageNotUnderstood: UndefinedObject>>isPublic
Process reportError: MessageNotUnderstood: UndefinedObject>>addToStartUpList:


Lou
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
PhotonDemon
[|]
 
Posts: 176
Joined: Thu Dec 20, 2007 1:45 pm

Re: test of Seaside as a Windows NT service

Postby marten » Tue Jan 18, 2011 7:49 am

PhotonDemon wrote:
The following error(s) were detected during the startup sequence which may interfere with correct operation:

1) MessageNotUnderstood: UndefinedObject>>addToStartUpList:
2) MessageNotUnderstood: UndefinedObject>>newRandom
3) MessageNotUnderstood: UndefinedObject>>isPublic
4) MessageNotUnderstood: UndefinedObject>>isPublic
Process reportError: MessageNotUnderstood: UndefinedObject>>addToStartUpList:


Lou


These methods are located in the Grease layer !? Just to give you a hint, how my Seaside-application packaging looks like:

Code: Select all
....
aRuleCreationInterface doNotReduceSubApplicationNamed: #'MSKCouchDB'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'JavascriptCoreApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'RaphaelJSLibraryCoreApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'ScriptaculousCoreApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideAdaptorsSst'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideAdaptorsSstApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCanvasTags'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCanvas'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCanvasApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreUtilities'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreServer'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreRequestHandling'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreRendering'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreLibraries'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreHTTP'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreFilter'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreExceptions'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreDocumentElements'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreDocument'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreConfiguration'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreCallbacks'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreCache'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreBacktracking'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCore'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideCoreApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideRenderLoop'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideRenderLoopApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideSessionFilter'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideSession'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideSessionApp'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SstHttpServletSupport'.
aRuleCreationInterface doNotReduceSubApplicationNamed: #'SeasideVASTCoreApp'.
...


and
Code: Select all
applicationNamesToPackage

^((OrderedCollection new)
   add: #'AbtImageSupportApp';
   add: #'EsStackDumperSupport';
   add: #'ElectionSystemApp';
   add: #'EmImageSupport';
   add: #'SeasideVASTCoreApp';
   yourself)


and:

Code: Select all
actualIncludedSubApplicationNames

^((Array basicNew: 153)
   at: 1 put: #'CommonFileSystem';
   at: 2 put: #'CfsImplementationESWin';
   at: 3 put: #'CfsImplementationPMWin';
   at: 4 put: #'CfsPaths';
   at: 5 put: #'CfsStreams';
   at: 6 put: #'SstHttpCommunications';
   at: 7 put: #'SstDefaultPlatformHttpSupport';
   at: 8 put: #'SstServerSupport';
   at: 9 put: #'ElectionSystemApp';
   at: 10 put: #'AbtRunNonVisualApp';
   at: 11 put: #'EswStreamExtensionsCFS';
   at: 12 put: #'AbtKernelExtensions';
   at: 13 put: #'AbtOperationsApp';
   at: 14 put: #'SstTcpCommunications';
   at: 15 put: #'SstEnhancedSelect';
   at: 16 put: #'SstEnhancedSelectWIN';
   at: 17 put: #'AbtMD5AlgorithmApp';
   at: 18 put: #'AbtCLDTAdditions';
   at: 19 put: #'EsStackDumpDebugSupport';
   at: 20 put: #'AbtRunCommonPartsApp';
   at: 21 put: #'EswMutationSupport';
   at: 22 put: #'EswCrossloadingToES';
   at: 23 put: #'SeasideCanvasApp';
   at: 24 put: #'SeasideCanvas';
   at: 25 put: #'SeasideCanvasTags';
   at: 26 put: #'SstMarshaling';
   at: 27 put: #'AbtImageConfigurationApp';
   at: 28 put: #'AbtCodePageUtilitiesApp';
   at: 29 put: #'AbtWinCodePageUtilitiesSubApp';
   at: 30 put: #'RaphaelJSLibraryCoreApp';
   at: 31 put: #'MSKRaphaelExtensions';
   at: 32 put: #'AbtRunInterfacesApp';
   at: 33 put: #'MSKCLDTExtension';
   at: 34 put: #'PlatformInterface';
   at: 35 put: #'WindowsCompatiblePlatformInterface';
   at: 36 put: #'WindowsObsoletePlatformInterface';
   at: 37 put: #'WindowsPlatformAccessors';
   at: 38 put: #'WindowsPlatformExtensions';
   at: 39 put: #'WindowsPlatformFunctions';
   at: 40 put: #'AbtBaseApp';
   at: 41 put: #'AbtBaseSwapperCrossloading';
   at: 42 put: #'EsBatchSupport';
   at: 43 put: #'SstKernelExtensions';
   at: 44 put: #'SstWindowsUnicodeConversion';
   at: 45 put: #'SeasideRenderLoopApp';
   at: 46 put: #'SeasideRenderLoop';
   at: 47 put: #'SstHttpServerSupport';
   at: 48 put: #'SstCommunications';
   at: 49 put: #'AbtPrimitiveBaseApp';
   at: 50 put: #'AbtPrimitiveBaseSwapperCrossloading';
   at: 51 put: #'MSKSeasideBrowserSpecificApp';
   at: 52 put: #'EmImageSupport';
   at: 53 put: #'Swapper';
   at: 54 put: #'Swapper40';
   at: 55 put: #'SocketFrameworkApp';
   at: 56 put: #'EsMemoryModel';
   at: 57 put: #'SciSslSocketInterface';
   at: 58 put: #'SciSslOpenSSLInterface';
   at: 59 put: #'AbtImageSupportApp';
   at: 60 put: #'AbtWsBatchImageCfsSupportSupApp';
   at: 61 put: #'AbtWsBatchImageSupportSubApp';
   at: 62 put: #'PlatformFramework';
   at: 63 put: #'WindowsAndPMPlatformFramework';
   at: 64 put: #'WindowsPlatformFramework';
   at: 65 put: #'WindowsOlePlatformFramework';
   at: 66 put: #'SeasideSessionApp';
   at: 67 put: #'SeasideSession';
   at: 68 put: #'SeasideSessionFilter';
   at: 69 put: #'SstHttpsCommunications';
   at: 70 put: #'SeasideAdaptorsSstApp';
   at: 71 put: #'SeasideAdaptorsSst';
   at: 72 put: #'GreaseVASTCoreApp';
   at: 73 put: #'GreaseVASTCore';
   at: 74 put: #'SeasideCoreApp';
   at: 75 put: #'SeasideCore';
   at: 76 put: #'SeasideCoreBacktracking';
   at: 77 put: #'SeasideCoreCache';
   at: 78 put: #'SeasideCoreCallbacks';
   at: 79 put: #'SeasideCoreConfiguration';
   at: 80 put: #'SeasideCoreDocument';
   at: 81 put: #'SeasideCoreDocumentElements';
   at: 82 put: #'SeasideCoreExceptions';
   at: 83 put: #'SeasideCoreFilter';
   at: 84 put: #'SeasideCoreHTTP';
   at: 85 put: #'SeasideCoreLibraries';
   at: 86 put: #'SeasideCoreRendering';
   at: 87 put: #'SeasideCoreRequestHandling';
   at: 88 put: #'SeasideCoreServer';
   at: 89 put: #'SeasideCoreUtilities';
   at: 90 put: #'SeasideVASTCoreApp';
   at: 91 put: #'Kernel';
   at: 92 put: #'CLDT';
   at: 93 put: #'CLIM';
   at: 94 put: #'Core';
   at: 95 put: #'CPM';
   at: 96 put: #'DM';
   at: 97 put: #'EmApplicationSupport';
   at: 98 put: #'EsTTYTools';
   at: 99 put: #'CorePI';
   at: 100 put: #'SstMethodInvocation';
   at: 101 put: #'EswStreamExtensions';
   at: 102 put: #'SstSocketCommunications';
   at: 103 put: #'MSKPlatformExtension';
   at: 104 put: #'MSKPlatformWInExtension';
   at: 105 put: #'AbtNlsKernelApp';
   at: 106 put: #'GreaseCoreApp';
   at: 107 put: #'GreaseCore';
   at: 108 put: #'GreaseCoreCollections';
   at: 109 put: #'GreaseCoreExceptions';
   at: 110 put: #'GreaseCoreText';
   at: 111 put: #'GreaseCoreUtilities';
   at: 112 put: #'ScriptaculousCoreApp';
   at: 113 put: #'ScriptaculousCore';
   at: 114 put: #'ScriptaculousCoreControls';
   at: 115 put: #'ScriptaculousCoreDragging';
   at: 116 put: #'ScriptaculousCoreLibraries';
   at: 117 put: #'SstSessionManagement';
   at: 118 put: #'SstSslCommunications';
   at: 119 put: #'SocketCommunicationsInterface';
   at: 120 put: #'SciComBlocking';
   at: 121 put: #'SciComPolled';
   at: 122 put: #'SciComWIN';
   at: 123 put: #'SciPolledWinApp';
   at: 124 put: #'JavascriptCoreApp';
   at: 125 put: #'JavascriptCore';
   at: 126 put: #'JavascriptCoreDecorations';
   at: 127 put: #'JavascriptCoreJSON';
   at: 128 put: #'AbtRecordStructureBaseApp';
   at: 129 put: #'AbtRecordStructureClientSubApp';
   at: 130 put: #'AbtRunPartsApp';
   at: 131 put: #'AbtConverterBaseApp';
   at: 132 put: #'PrototypeCoreApp';
   at: 133 put: #'PrototypeCore';
   at: 134 put: #'PrototypeCoreAjax';
   at: 135 put: #'PrototypeCoreElements';
   at: 136 put: #'PrototypeCoreLibraries';
   at: 137 put: #'PrototypeCoreObservers';
   at: 138 put: #'SstHttpServletSupport';
   at: 139 put: #'EswSwapperCFSSupport';
   at: 140 put: #'MSKJSONWrapperApp';
   at: 141 put: #'MSKJSONWindowsWrapperApp';
   at: 142 put: #'SeasideToolsCoreApp';
   at: 143 put: #'SeasideToolsCore';
   at: 144 put: #'EsAsynchronousCallout';
   at: 145 put: #'EsStackDumperSupport';
   at: 146 put: #'MSKCouchDB';
   at: 147 put: #'AbtThreadsApp';
   at: 148 put: #'AbtThreadsBatchSubApp';
   at: 149 put: #'AbtThreadsThreadedSubApp';
   at: 150 put: #'SeasideComponentApp';
   at: 151 put: #'SeasideComponent';
   at: 152 put: #'SeasideComponentTasks';
   at: 153 put: #'SeasideComponentVisitors';
   yourself)


And between Windows and Linux only the #actualIncludedSubApplicationNames methods are different - that is not optimal, but I guess that concerning the actual size of the resulting image (3 MB) I do not need to spend much more time here right now.

Marten
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron