User defined network service issue with VASmalltalk 8.5.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

User defined network service issue with VASmalltalk 8.5.2

tad kamal

At Chubb, I have an issue while running a packaged VA Smalltalk 8.5.2 image as a User defined network service. Your help on this issue will be appreciated.

I could successfully test a packaged VA Smalltalk 8.5.2 image (AnApp.icx) for my application (AnApp.exe) on Windows 7 machine. However, I am not able to test this packaged image (AnApp.icx) as a User defined network service (AService) using "Windows 2003 Server Resource Development Kit". A packaged VA Smalltalk 7.0 image for the same application is already running as User defined network service on another machine (Machine B). I tried it on Machine B as well without much success.

Here are the few steps I followed:
1. AnApp as a standalone application worked fine
start AnApp.exe -wc:webconn1.cfg

2. To create AService
pause create AService using instsrv.exe
set instsrv=C:\Program Files (x86)\Windows Resource Kits\Tools\instsrv.exe
set srvany=C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe
%instsrv% AService %srvany%

3. Result of edited AService registry
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AService]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,\
  20,00,46,00,69,00,6c,00,65,00,73,00,20,00,28,00,78,00,38,00,36,00,29,00,5c,\
  00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,52,00,65,00,73,00,6f,00,\
  75,00,72,00,63,00,65,00,20,00,4b,00,69,00,74,00,73,00,5c,00,54,00,6f,00,6f,\
  00,6c,00,73,00,5c,00,73,00,72,00,76,00,61,00,6e,00,79,00,2e,00,65,00,78,00,\
  65,00,00,00
"DisplayName"="AService"
"WOW64"=dword:00000001
"ObjectName"="LocalSystem"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AService\Parameters]
"App"="c:\\ServiceRun\\AnApp.exe"
"AppParameters"="-wc:webconn1.cfg"
"AppDirectory"="c:\\ServiceRun"

4. To start AService
net start AService

Transcript.log was produced as a result of the above command line statement (-ltranscript.log was added as additional parameter)
---------------------------------------------------------------------------------------------------------------------
VA Smalltalk, Version 8.5.2
VM Timestamp: 4.0,(NC) 8/7/2012 (84)
(C) Copyright Instantiations 1994, 2012.  All rights reserved.
(C) Copyright International Business Machines Corp. 1994, 2006.  All rights reserved.
Virtual Machine PID: 7904
Commandline args {
 -wc:webconn1.cfg
 -lTRANSCRIPT.LOG
 }

VM Options {
  }

Windows CommonControls failed to initialize properly.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: User defined network service issue with VASmalltalk 8.5.2

SebastianHC
Hi Tamal,

so you try to package and start a headless vast image which includes UI?
Did you just update recently to 8.5.2?

The last line of the log ("Windows CommonControls failed to initialize
properly.") seems to show issues regarding the intialization of components.
Since I do not know you application you might check if the image was
packaged right.

You may find some interesting information here, too:
http://forum.world.st/Windows-CommonControls-failed-to-initialize-properly-td4645591.html

Good luck,
Sebastian

Am 09.01.2014 10:25, schrieb tad kamal:

>
> At Chubb, I have an issue while running a packaged VA Smalltalk 8.5.2
> image as a User defined network service. Your help on this issue will
> be appreciated.
>
> I could successfully test a packaged VA Smalltalk 8.5.2 image
> (AnApp.icx) for my application (AnApp.exe) on Windows 7 machine.
> However, I am not able to test this packaged image (AnApp.icx) as a
> User defined network service (AService) using "Windows 2003 Server
> Resource Development Kit". A packaged VA Smalltalk 7.0 image for the
> same application is already running as User defined network service on
> another machine (Machine B). I tried it on Machine B as well without
> much success.
>
> Here are the few steps I followed:
> 1. AnApp as a standalone application worked fine
> start AnApp.exe -wc:webconn1.cfg
>
> 2. To create AService
> pause create AService using instsrv.exe
> set instsrv=C:\Program Files (x86)\Windows Resource Kits\Tools\instsrv.exe
> set srvany=C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe
> %instsrv% AService %srvany%
>
> 3. Result of edited AService registry
> Windows Registry Editor Version 5.00
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AService]
> "Type"=dword:00000010
> "Start"=dword:00000002
> "ErrorControl"=dword:00000001
> "ImagePath"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,\
> 20,00,46,00,69,00,6c,00,65,00,73,00,20,00,28,00,78,00,38,00,36,00,29,00,5c,\
> 00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,52,00,65,00,73,00,6f,00,\
> 75,00,72,00,63,00,65,00,20,00,4b,00,69,00,74,00,73,00,5c,00,54,00,6f,00,6f,\
> 00,6c,00,73,00,5c,00,73,00,72,00,76,00,61,00,6e,00,79,00,2e,00,65,00,78,00,\
>   65,00,00,00
> "DisplayName"="AService"
> "WOW64"=dword:00000001
> "ObjectName"="LocalSystem"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AService\Parameters]
> "App"="c:\\ServiceRun\\AnApp.exe"
> "AppParameters"="-wc:webconn1.cfg"
> "AppDirectory"="c:\\ServiceRun"
>
> 4. To start AService
> net start AService
>
> Transcript.log was produced as a result of the above command line
> statement (-ltranscript.log was added as additional parameter)
> ---------------------------------------------------------------------------------------------------------------------
> VA Smalltalk, Version 8.5.2
> VM Timestamp: 4.0,(NC) 8/7/2012 (84)
> (C) Copyright Instantiations 1994, 2012.  All rights reserved.
> (C) Copyright International Business Machines Corp. 1994, 2006.  All
> rights reserved.
> Virtual Machine PID: 7904
> Commandline args {
>  -wc:webconn1.cfg
>  -lTRANSCRIPT.LOG
>  }
>
> VM Options {
>   }
>
> Windows CommonControls failed to initialize properly.
>
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [hidden email].
> To post to this group, send email to [hidden email].
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: User defined network service issue with VASmalltalk 8.5.2

SebastianHC
In reply to this post by tad kamal
Sorry, Tad Kamal not Tamal,... there was a little hang here...

Maybe you also have to check your packaging instructions and related
extend special rules and exemptions by newely introduced CommonControls
http://www.instantiations.com/docs/readmes/readme852.htm

Sebastian


Am 09.01.2014 10:25, schrieb tad kamal:

>
> At Chubb, I have an issue while running a packaged VA Smalltalk 8.5.2
> image as a User defined network service. Your help on this issue will
> be appreciated.
>
> I could successfully test a packaged VA Smalltalk 8.5.2 image
> (AnApp.icx) for my application (AnApp.exe) on Windows 7 machine.
> However, I am not able to test this packaged image (AnApp.icx) as a
> User defined network service (AService) using "Windows 2003 Server
> Resource Development Kit". A packaged VA Smalltalk 7.0 image for the
> same application is already running as User defined network service on
> another machine (Machine B). I tried it on Machine B as well without
> much success.
>
> Here are the few steps I followed:
> 1. AnApp as a standalone application worked fine
> start AnApp.exe -wc:webconn1.cfg
>
> 2. To create AService
> pause create AService using instsrv.exe
> set instsrv=C:\Program Files (x86)\Windows Resource Kits\Tools\instsrv.exe
> set srvany=C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe
> %instsrv% AService %srvany%
>
> 3. Result of edited AService registry
> Windows Registry Editor Version 5.00
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AService]
> "Type"=dword:00000010
> "Start"=dword:00000002
> "ErrorControl"=dword:00000001
> "ImagePath"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,\
> 20,00,46,00,69,00,6c,00,65,00,73,00,20,00,28,00,78,00,38,00,36,00,29,00,5c,\
> 00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,52,00,65,00,73,00,6f,00,\
> 75,00,72,00,63,00,65,00,20,00,4b,00,69,00,74,00,73,00,5c,00,54,00,6f,00,6f,\
> 00,6c,00,73,00,5c,00,73,00,72,00,76,00,61,00,6e,00,79,00,2e,00,65,00,78,00,\
>   65,00,00,00
> "DisplayName"="AService"
> "WOW64"=dword:00000001
> "ObjectName"="LocalSystem"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AService\Parameters]
> "App"="c:\\ServiceRun\\AnApp.exe"
> "AppParameters"="-wc:webconn1.cfg"
> "AppDirectory"="c:\\ServiceRun"
>
> 4. To start AService
> net start AService
>
> Transcript.log was produced as a result of the above command line
> statement (-ltranscript.log was added as additional parameter)
> ---------------------------------------------------------------------------------------------------------------------
> VA Smalltalk, Version 8.5.2
> VM Timestamp: 4.0,(NC) 8/7/2012 (84)
> (C) Copyright Instantiations 1994, 2012.  All rights reserved.
> (C) Copyright International Business Machines Corp. 1994, 2006.  All
> rights reserved.
> Virtual Machine PID: 7904
> Commandline args {
>  -wc:webconn1.cfg
>  -lTRANSCRIPT.LOG
>  }
>
> VM Options {
>   }
>
> Windows CommonControls failed to initialize properly.
>
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [hidden email].
> To post to this group, send email to [hidden email].
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: User defined network service issue with VASmalltalk 8.5.2

Wayne Johnston
In reply to this post by SebastianHC
FYI the "Windows CommonControls failed to initialize properly." message was discussed previously:  https://groups.google.com/forum/#!topic/va-smalltalk/V86CJn7exDU

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.